/* Reset */
html{
  scroll-behavior: smooth; /* Плавная прокрутка */
  overflow-x: hidden;
  width: 100%;
}

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

/* Класс активного состояния — элемент полностью видим и на месте */
.animate-on-scroll.active {
  opacity: 1;
  transform: translateY(0);
}



* {

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

body {
   font-family: 'Inter', sans-serif;
   background-color: #000;
   color: #fff;
   overflow-x: hidden;
   width: 100%;
}



/* Header */
.header {
  position: fixed;
  width: 100%;
  top: 0;
  padding: 20px 40px;
  background: rgba(20, 12, 12, 0.75);
  backdrop-filter: blur(14px);
  box-shadow: 0 2px 15px rgba(217, 72, 72, 0.3);
  border-bottom: 1px solid rgba(217, 72, 72, 0.3);
  z-index: 1000;
  display: flex;
  justify-content: center;
  transition: background-color 0.4s ease;
}

.header:hover {
  background: rgba(40, 16, 16, 0.85);
  border-bottom-color: #d94848;
  box-shadow: 0 4px 30px rgba(217, 72, 72, 0.6);
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1400px;
}

.logo {
  height: 40px;
  filter: drop-shadow(0 0 8px #d94848);
  transition: filter 0.3s ease;
}

.logo:hover {
  filter: drop-shadow(0 0 16px #ff8f8f);
}

.nav a {
  margin-left: 30px;
  text-decoration: none;
  color: #ffffff;
  position: relative;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.04em;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
}

.nav a::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0%;
  height: 2.5px;
  background: #ff8f8f;
  border-radius: 2px;
  transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav a:hover::after {
  width: 100%;
}

.nav a:hover {
  transform: translateY(-3px) scale(1.08);
  color: #ffb9b9;
  text-shadow:
    0 0 6px #ff8f8f,
    0 0 12px #d94848;
  font-weight: 700;
}

.burger {
  display: none; /* по умолчанию скрыт на больших экранах */
  flex-direction: column;
  justify-content: space-between;
  width: 25px;
  height: 20px;
  cursor: pointer;
  z-index: 1100;
}

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

/* Меню по умолчанию - горизонтальное */
.nav {
  display: flex;
  align-items: center;
}

.language-selector {
  position: relative;
  display: inline-block;
  margin-left: 20px;
}

.lang-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  font-size: 15px;
  padding: 6px 12px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  backdrop-filter: blur(5px);
  transition: background 0.3s ease;
}

.lang-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.arrow {
  font-size: 10px;
  transform: rotate(0deg);
  transition: transform 0.3s ease;
}

.language-selector.open .arrow {
  transform: rotate(180deg);
}

.lang-options {
  display: none;
  position: absolute;
  right: 0;
  top: 110%;
  background-color: #1e1e1e;
  border: 1px solid #444;
  border-radius: 10px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.3);
  list-style: none;
  padding: 5px 0;
  z-index: 999;
  min-width: 120px;
  animation: fadeIn 0.3s ease forwards;
}

.lang-options li {
  padding: 10px 15px;
  color: white;
  cursor: pointer;
  transition: background 0.2s ease;
}

.lang-options li:hover {
  background-color: #333;
}

.language-selector.open .lang-options {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Анимация иконки бургер → крестик */
.burger.open span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

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

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


/* Hero */
.hero {
  position: relative;
  margin-top: 100px;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #fff;
}

.hero-bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;              /* Заполняет контейнер, сжимается пропорционально */
  object-position: center center; /* Центрируем содержимое */
  display: block;
  filter: brightness(0.6);
  z-index: 0;
}

.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1;
}

.hero-content {
  position: absolute;
  z-index: 2;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 1200px;
  width: 90%;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 60px;
  padding: 0 20px;
  text-align: left;
}

.hero-left {
  max-width: 60%;
  animation: fadeInLeft 1s ease forwards;
}

.hero-left h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 25px;
  line-height: 1.2;
  text-shadow: 0 2px 6px rgba(0,0,0,0.7);
}

.advantages {
  list-style: none;
  padding: 0;
  margin-bottom: 40px;
  /* Добавим flex и выравнивание */
  display: flex;
  flex-direction: column;
  gap: 15px; /* расстояние между пунктами */
}

.advantages li {
  display: flex;
  align-items: center; /* вертикальный центр текста и точки */
  font-size: 1.25rem;
  font-weight: 600;
  color: #ff4c4c;
  cursor: default;
  user-select: none;
}

/* Точка слева */
.advantages li::before {
  content: "•";
  flex-shrink: 0;
  margin-right: 12px; /* отступ между точкой и текстом */
  font-size: 1.8rem;
  line-height: 1;
  color: #ff4c4c;
}

.cta-buttons {
  display: flex;
  gap: 25px;
}

.btn-glass {
  padding: 12px 30px;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(15px);
  border: 2px solid #ff4c4c;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(255, 76, 76, 0.6);
  transition: all 0.3s ease;
  text-transform: uppercase;
}

.btn-glass:hover {
  background: #ff4c4c;
  box-shadow: 0 6px 20px rgba(255, 76, 76, 0.9);
  color: #fff;
  transform: translateY(-3px);
}

.btn-outline {
  padding: 12px 30px;
  border-radius: 50px;
  border: 2px solid #ff4c4c;
  background: transparent;
  color: #ff4c4c;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  box-shadow: 0 0 10px rgba(255, 76, 76, 0.5);
}

.btn-outline:hover {
  background: #ff4c4c;
  color: #fff;
  box-shadow: 0 6px 20px rgba(255, 76, 76, 0.9);
  transform: translateY(-3px);
}

.hero-right {
  display: flex;
  flex-direction: column;
  gap: 25px;
  align-items: flex-end;
  animation: fadeInRight 1s ease forwards;
  margin-right: 100px;
}

/* Плавная постоянная левитация без hover-эффекта */
.glass-tags {
  display: flex;
  flex-direction: column;
  gap: 25px;
  width: 140px;
}

.glass-btn {
  padding: 14px 0;
  border-radius: 40px;
  background: linear-gradient(135deg, rgba(255,76,76,0.25), rgba(255,76,76,0.1));
  backdrop-filter: blur(12px);
  color: #ff4c4c;
  font-weight: 700;
  border: none;
  text-align: center;
  font-size: 1.2rem;
  cursor: default;
  box-shadow:
    0 4px 10px rgba(255, 76, 76, 0.3),
    0 0 15px rgba(255, 76, 76, 0.15);
  user-select: none;
  animation: levitate 3.5s ease-in-out infinite;
  transition: none; /* убираем hover transition */
}

/* Анимация левитации */
@keyframes levitate {
  0%, 100% {
    transform: translateY(0);
    filter: drop-shadow(0 0 4px rgba(255, 76, 76, 0.3));
  }
  50% {
    transform: translateY(-8px);
    filter: drop-shadow(0 0 12px rgba(255, 76, 76, 0.6));
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}



.services {
  background: #000;
  color: white;
  padding: 100px 40px;
  position: relative;
  z-index: 1;
}

.services-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  gap: 40px;
}

.services-title {
  flex: 1 1 40%;
}

.services-title h2 {
  font-size: 46px;
  text-transform: uppercase;
  line-height: 1.2;
}

.services-title .red {
  color: red;
}

.services-cards {
  flex: 1 1 50%;
  display: grid;
  grid-template-columns: repeat(3, 144px);
  grid-template-rows: repeat(2, 60px);
  gap: 20px;
  justify-content: flex-end;
}

.service-card {
  background: rgba(255, 0, 0, 0.05);
  border: 1px solid rgba(255, 0, 0, 0.3);
  color: white;
  text-align: center;
  line-height: 60px;
  border-radius: 12px;
  font-size: 16px;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
  transform: scale(1.08) rotateX(4deg);
  box-shadow: 0 10px 30px rgba(255, 0, 0, 0.4);
}

/* Фото внизу */
.services-image img {
  margin-top: 40px;
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  
}

/* Modal */
.modal {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.modal-content {
  background: #111;
  padding: 40px;
  border-radius: 20px;
  width: 90%;
  max-width: 500px;
  text-align: center;
  position: relative;
  animation: fadeIn 0.4s ease-in-out;
}

.modal-content h3 {
  font-size: 28px;
  margin-bottom: 20px;
}

.modal-content p {
  font-size: 16px;
  color: #ccc;
  margin-bottom: 30px;
}

.close-btn {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 28px;
  cursor: pointer;
  color: red;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.feature-area {
  width: 100%;
  height: auto;
  margin: 0px auto; /* центрирование по горизонтали + отступ сверху */
  background: rgba(46, 46, 46, 0.4);
  border-radius: 40px;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  position: relative;
  overflow: hidden;
  
}
.feature-wrapper {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}

/* Левая большая карточка */
.feature-left-card {
  flex: 1 1 40%;
  padding: 30px;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: 100%;
}

.main-paragraph {
  font-size: 16px;
  color: #ccc;
  margin-bottom: 20px;
  line-height: 1.6;
}

.highlighted-paragraph {
  font-size: 16px;
  color: #ccc;
  margin-bottom: 40px;
}

.highlighted-paragraph .red {
  color: red;
  font-weight: 600;
}

/* Кнопка "Связаться" */
.btn-contact {
  background: rgba(255, 0, 0, 0.1);
  color: red;
  border: 1px solid red;
  padding: 12px 24px;
  border-radius: 30px;
  font-size: 16px;
  cursor: pointer;
  backdrop-filter: blur(4px);
  transition: all 0.3s ease;
  align-self: flex-start;
}

.btn-contact:hover {
  background: red;
  color: white;
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(255, 0, 0, 0.4);
}

/* Правая сетка 2x2 */
.feature-grid {
  flex: 1 1 50%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

/* Каждая карточка */
.feature-card {
  background: #030712;
  padding: 30px 20px;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s;
  text-align: center;
  text-align: left;
}

.feature-card:hover {
  transform: translateY(-10px) scale(1.03);
}

.card-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 15px;
}

.feature-card h4 {
  font-size: 20px;
  margin-bottom: 10px;
  
}

.feature-card p {
  font-size: 14px;
  color: #bbb;
}

/* Анимированная сфера */
.floating-sphere {
  position: absolute;
  width: 80px;
  height: 80px;
  background: radial-gradient(circle, rgba(255,0,0,0.3), transparent);
  border-radius: 50%;
  top: 20%;
  left: 20%;
  animation: floatSphere 6s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 0;
}

@keyframes floatSphere {
  0% { transform: translate(-10px, -10px) scale(1); opacity: 0.7; }
  50% { transform: translate(30px, 10px) scale(1.1); opacity: 0.9; }
  100% { transform: translate(0px, 40px) scale(0.95); opacity: 0.8; }
}


.about-us {
  padding: 60px 20px;
  color: #fff;
  text-align: center;
  margin-top: 80px;
}

.about-us h2 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.about-us .subtitle {
  font-size: 1.8rem;
  margin-bottom: 60px;
}
.icons-wrapper {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  max-width: 900px;
  margin: 0 auto;
  
}

.icon-item {
  width: 130px;
  height: 160px; 
  cursor: pointer;
  user-select: none;
  outline: none;
  border-radius: 12px;
  padding: 15px 10px 10px 10px;
  background: #222;
  box-shadow: 0 4px 6px rgba(0,0,0,0.4);
  position: relative; 
  transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.icon-item:hover {
  transform: translateY(-6px) scale(1.05);
  box-shadow: 0 8px 12px rgba(0,0,0,0.7);
}

.icon-img {
  width: 80px;
  height: 80px;
  margin: 0 auto;
  display: block;
  transition: filter 0.4s ease, transform 0.3s ease;
  filter: grayscale(60%) brightness(0.8);
  pointer-events: none;
  user-select: none;
}

.icon-title {
  margin-top: 14px;
  font-weight: 600;
  font-size: 1.05rem;
  color: #eee;
  user-select: none;
}

/* Описание сделаем скрытым и абсолютным */
.icon-desc {
  position: absolute;
  bottom: -80px; /* под карточкой */
  left: 50%;
  transform: translateX(-50%);
  width: 220px;
  background: #e63946;
  color: #fff;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 6px 15px rgba(230, 57, 70, 0.6);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease;
  font-size: 0.9rem;
  line-height: 1.3;
  z-index: 100;
  pointer-events: none;
  user-select: text;
  transform-origin: top center;
}

/* Треугольник под описанием */
.icon-desc::after {
  content: "";
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 10px solid #e63946;
}

/* Активное состояние */
.icon-item.active {
  background: #e63946;
  box-shadow: 0 12px 20px rgba(230, 57, 70, 0.7);
  transform: translateY(-8px) scale(1.1);
  z-index: 10;
}

.icon-item.active .icon-img {
  filter: none;
  transform: scale(1);
}

/* Показываем описание */
.icon-item.active .icon-desc {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.about-details {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  margin-top: 80px;
  flex-wrap: wrap;
  padding: 0 108px;
}

.about-left {
  flex: 1 1 500px;
  color: #fff;
  text-align: left;
}

.about-left p {
  font-size: 1.15rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.about-left .highlight {
  color: #e63946;
  font-weight: bold;
}

.icon-3-blocks {
  display: flex;
  gap: 30px;
  margin-top: 40px;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.icon-small {
  text-align: center;
  color: #fff;
  flex: 1 1 140px;
}

.icon-bg {
  width: 60px;
  height: 60px;
  margin: 0 auto 12px auto;
  background: rgba(230, 57, 70, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pulseGlow 3s infinite ease-in-out;
  box-shadow: 0 0 15px rgba(230, 57, 70, 0.2);
  transition: transform 0.3s;
}

.icon-bg img {
  width: 28px;
  height: 28px;
}

.icon-small h4 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.icon-small p {
  font-size: 0.9rem;
  color: #ccc;
}

/* Анимация иконки */
@keyframes pulseGlow {
  0% {
    box-shadow: 0 0 0 rgba(230, 57, 70, 0.2);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 20px rgba(230, 57, 70, 0.4);
    transform: scale(1.05);
  }
  100% {
    box-shadow: 0 0 0 rgba(230, 57, 70, 0.2);
    transform: scale(1);
  }
}


.about-right {
  flex: 0 0 497px;
  position: relative;
}

.about-image {
  position: relative;
  width: 497px;
  height: 523px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(0,0,0,0.8);
  margin: 0 auto;
}

.about-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6), rgba(0,0,0,0));
  z-index: 1;
  pointer-events: none;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-stats {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 16px;
  justify-content: flex-start;
  align-items: center;
  z-index: 2;
  width: 100%;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 0; /* Убираем лишние паддинги */
}

.about-stats::-webkit-scrollbar {
  display: none;
}

.about-stats::before,
.about-stats::after {
  content: "";
  flex: 0 0 10px;  /* ← или 16px, если у тебя gap больше */
}

.about-stats div {
  text-align: center;
  color: white;
  pointer-events: all;
}

.about-stats div span {
  background: #e63946;
  width: 100px;                 /* фикс ширина */
  height: 45px;                 /* фикс высота */
  display: flex;                /* выравниваем по центру */
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0 auto 5px auto;   
}

.about-stats div p {
  font-size: 0.9rem;
  color: #fff;
  margin: 0;
  line-height: 1.2;
}

/* === Общая секция === */
.pricing-section {
  background: #121212;
  color: #ccc;
  padding: 70px 15px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  text-align: center;
  overflow-x: hidden;
}

.pricing-title {
  font-size: 2.7rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #e1a2a2;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.pricing-subtitle {
  font-size: 1.15rem;
  color: #999;
  max-width: 600px;
  margin: 0 auto 50px auto;
  line-height: 1.5;
}

/* === Контейнер карточек === */
.pricing-cards {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

/* === Карточка тарифа === */
.pricing-card {
  background: rgba(30, 30, 30, 0.5);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  box-shadow: 0 10px 40px rgba(255, 90, 90, 0.08);
  width: 320px;
  min-height: 520px;
  padding: 34px 26px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  animation: float 6s ease-in-out infinite;
  transition: transform 0.5s ease, box-shadow 0.5s ease;
  overflow: hidden;
  z-index: 1;
}

.pricing-card::before {
  content: "";
  position: absolute;
  top: -40%;
  left: -30%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at top left, rgba(255, 90, 90, 0.08), transparent);
  animation: pulse-glow 6s ease-in-out infinite;
  z-index: 0;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

@keyframes pulse-glow {
  0%, 100% { opacity: 0.1; }
  50% { opacity: 0.3; }
}

.pricing-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 14px 60px rgba(255, 90, 90, 0.35);
}

.highlighted {
  border: 2px solid #ff6b6b;
  box-shadow: 0 20px 60px rgba(255, 107, 107, 0.4);
}

/* === Внутренний контейнер для контента карточки === */
.card-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

/* === Бейдж === */
.badge {
  background: rgba(255, 90, 90, 0.1);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #ff6b6b;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  z-index: 1;
}

/* === Название тарифа === */
.nameOfprice {
  font-size: 1.9rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
  z-index: 1;
}

.plan-name {
  font-size: 1.2rem;
  font-weight: 500;
  color: #ccc;
  margin-bottom: 14px;
  text-align: center;
  z-index: 1;
}

/* === Описание === */
.plan-desc {
  font-size: 1rem;
  color: #aaa;
  margin-bottom: 26px;
  line-height: 1.6;
  padding: 0 10px;
  text-align: center;
  z-index: 1;
  min-height: 60px;
}

/* === Список фич === */
.plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 28px 0;
  width: 100%;
  color: #ddd;
  font-size: 0.95rem;
  border-top: 1px solid #2c2c2c;
  border-bottom: 1px solid #2c2c2c;
  z-index: 1;
  min-height: 120px;
}

.plan-features li {
  padding: 10px 0;
  border-bottom: 1px solid #2a2a2a;
}

.plan-features li:last-child {
  border-bottom: none;
}

/* === Цена === */
.plan-price {
  font-size: 1.4rem;
  font-weight: 700;
  color: #ff6b6b;
  margin-bottom: 28px;
  z-index: 1;
  min-height: 30px;
}

/* === Кнопка === */
.btn {
  padding: 14px 36px;
  border-radius: 30px;
  border: none;
  background: linear-gradient(135deg, #ff6b6b, #ff4e4e);
  color: #121212;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  user-select: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-width: 160px;
  text-align: center;
  box-shadow: 0 4px 14px rgba(255, 90, 90, 0.3);
  z-index: 1;
}

.btn:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 24px rgba(255, 90, 90, 0.45);
  color: #fff;
}

.contact-section {
  background: #0f0f0f;
  padding: 80px 20px;
  color: white;
}

.contact-container {
  display: flex;
  gap: 60px;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-info {
  flex: 1 1 300px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

a[href^="tel"] {
  color: inherit;
  text-decoration: none;
  font-weight: bold;
}
a[href^="tel"]:hover {
  text-decoration: underline;
}

a[href^="mailto"] {
  color: inherit;
  text-decoration: none;
  font-weight: bold;
}
a[href^="mailto"]:hover {
  text-decoration: underline;
}

.contact-card {
  background: radial-gradient(circle at top left, rgba(230, 57, 70, 0.1), transparent);
  padding: 30px;
  border-radius: 14px;
  box-shadow: 0 0 15px rgba(255,255,255,0.05);
  text-align: center;
  animation: fadeInUp 1s ease forwards;
}

.contact-card .icon-bg {
  width: 60px;
  height: 60px;
  margin: 0 auto 12px auto;
  background: rgba(230, 57, 70, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-card img {
  width: 28px;
  height: 28px;
}

.contact-form {
  flex: 1 1 500px;
  background: rgba(255, 255, 255, 0.03);
  padding: 40px;
  border-radius: 14px;
  box-shadow: 0 0 20px rgba(255,255,255,0.05);
}

.form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

input, select, textarea {
  flex: 1 1 45%;
  padding: 14px;
  border-radius: 8px;
  border: none;
  background: #1f1f1f;
  color: white;
  font-size: 1rem;
  width: 100%;
}

textarea {
  width: 100%;
  height: 120px;
  resize: none;
}

.btn-submit {
  padding: 14px 30px;
  background: #e63946;
  color: white;
  border: none;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
  margin-top: 20px;
}

.btn-submit:hover {
  background: #b72835;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.contact-title {
  color: white;       /* акцентный красный цвет */
  font-size: 2.5rem;    /* крупный размер */
  font-weight: 700;     /* жирный */
  text-align: center;   /* по центру */
  margin-bottom: 40px;  /* отступ снизу */
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Адаптив для мобильных */

@media (max-width: 1024px) {
  .feature-area {
    width: 100%;
    padding: 30px 20px;
    border-radius: 20px;
  }

  .feature-wrapper {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .feature-left-card {
    width: 100%;
    padding: 20px 0;
  }

  .feature-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 карточки в ряд */
    gap: 20px;
  }

  .feature-card {
    padding: 20px;
    border-radius: 16px;
  }

  .card-icon {
    width: 36px;
    height: 36px;
  }
  
  .about-details {
    flex-direction: column;
    align-items: center;
    padding: 0 40px;
  }

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

  .icon-3-blocks {
    justify-content: center;
  }

  .about-right {
    justify-content: center;
  }

  .pricing-cards {
    gap: 20px;
  }

}

@media (max-width: 900px) {
  .nav {
    position: fixed;
    top: 0;
    right: -100%; /* скрыто справа */
    height: 100vh;
    width: 240px;
    background: rgba(20, 12, 12, 0.95);
    backdrop-filter: blur(12px);
    flex-direction: column;
    padding-top: 80px;
    gap: 25px;
    transition: right 0.4s ease;
    box-shadow: -4px 0 20px rgba(217, 72, 72, 0.5);
  }

  .nav.open {
    right: 0;
  }

  .nav a {
    font-size: 1.3rem;
    margin-left: 0;
  }

  .burger {
    display: flex;
  }

  .hero-content {
    flex-wrap: wrap;
    gap: 40px;
    justify-content: left;
    padding: 0 10px;
  }
  .hero-left {
    max-width: 100%;
    text-align: left;
  }
  .hero-right {
    margin-right: 0;
    width: 100%;
    flex-direction: row;
    justify-content: left;
    align-items: center;
    gap: 20px;
  }
  .glass-tags {
    width: auto;
    flex-direction: row;
  }
  .glass-btn {
    font-size: 1rem;
    padding: 10px 20px;
  }
  .cta-buttons {
    justify-content: left;
  }
  .btn-glass, .btn-outline {
    padding: 12px 28px;
    font-size: 1rem;
  }

   .hero-left h1 {
    font-size: 2.8rem;
  }

  .hero-bg {
    object-position: center top;
  }
  
}

@media (max-width: 768px) {
  .services-content {
    flex-direction: column;
    align-items: center;
  }

  .services-title {
    text-align: center;
    flex: 1 1 100%;
  }

  .services-cards {
    flex: 1 1 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 колонки */
    grid-template-rows: repeat(3, auto);  /* 3 строки */
    gap: 20px;
    justify-content: center;
    width: 340px;
    margin: 0 auto;
    
  }

  .service-card {
    width: 100%;
    line-height: 50px;
    font-size: 14px;
  }

  .about-us {
    padding: 40px 15px;
    margin-top: 60px;
  }

  .about-us h2 {
    font-size: 2rem;
  }

  .about-us .subtitle {
    font-size: 1.4rem;
    margin-bottom: 40px;
  }

  .icon-item {
    width: 120px;
    height: 140px;
    
  }

  .icon-img {
    width: 60px;
    height: 60px;
  }

  .icon-title {
    font-size: 0.95rem;
    margin-top: 10px;
  }

  .icon-desc {
    width: 180px;
    font-size: 0.8rem;
    padding: 10px;
  }

  .icon-desc::after {
    top: -8px;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid #e63946;
  }
  
  .about-details {
    padding: 0 20px;
    justify-content: center;
  }

  .icon-small {
    flex: 1 1 45%;
    margin-bottom: 20px;
  }

  .about-image {
    width: 100%
  }

  .about-right {
    flex: 1 1 100%;
    width: 100%;
    justify-content: center;
  }

  .about-image img {
    width: 100%;
    height: 600px;
  }

  .about-stats {
    bottom: 10px;
    padding-bottom: 4px;
    gap: 12px;
    align-items: center;
    justify-content: center;
  }

  .about-stats div span {
    width: 90px;
    height: 40px;
    font-size: 1.2rem;

  }

  .about-stats div p {
    font-size: 0.75rem;
  }

  .pricing-card {
    min-height: auto;
    padding: 30px 20px;
  }

  .pricing-title {
    font-size: 2rem;
  }

  .plan-name {
    font-size: 1.4rem;
  }

  .plan-price {
    font-size: 1.5rem;
  }

  .contact-section {
    padding: 60px 20px;
  }

  .contact-title {
    font-size: 2rem;
    margin-bottom: 30px;
  }

  .contact-container {
    flex-direction: column;
    gap: 40px; /* больше пространства между блоками */
    align-items: center;
  }

  .contact-info,
  .contact-form {
    max-width: 100%;
    width: 100%;
  }

  .form-row {
    flex-direction: column; /* вертикальный стек */
    gap: 18px; /* больше расстояния между полями */
  }

  input, select, textarea {
    flex: 1 1 100%;
    width: 100%;
    padding: 18px 20px; /* увеличенный padding для удобства */
    font-size: 1.1rem;  /* чуть крупнее текст */
    border-radius: 12px; /* более плавные углы */
    background: #2a2a2a;
    transition: background-color 0.3s, box-shadow 0.3s;
  }

  input:focus, select:focus, textarea:focus {
    outline: none;
    background-color: #3b3b3b;
    box-shadow: 0 0 8px #e63946;
  }

  textarea {
    height: 160px; /* чуть выше для удобного ввода */
  }

  .btn-submit {
    width: 100%;
    padding: 18px 0;
    font-size: 1.2rem;
    border-radius: 30px;
    margin-top: 25px;
    box-shadow: 0 4px 10px rgba(230, 57, 70, 0.6);
    transition: background 0.3s, box-shadow 0.3s;
  }

  .btn-submit:hover, .btn-submit:focus {
    background: #b72835;
    box-shadow: 0 6px 15px rgba(230, 57, 70, 0.9);
  }

  .mobile-lang {
    margin-top: 20px;
    display: block;
    text-align: left;
  }

  .mobile-lang .lang-btn {
    width: 100%;
    justify-content: space-between;
  }

  .mobile-lang .lang-options {
    right: auto;
    left: 0;
  }
}

@media (max-width: 600px) {
  .feature-grid {
    grid-template-columns: 1fr; /* по одной карточке в ряд */
  }

  .feature-left-card p {
    font-size: 14px;
  }

  .feature-card h4 {
    font-size: 18px;
  }

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

@media (max-width: 480px) {
  .hero-left h1 {
    font-size: 1.6rem;
  }
  .advantages li {
    font-size: 1rem;
    
  }
  .glass-btn {
    font-size: 0.9rem;
    padding: 8px 16px;
  }
  .btn-glass, .btn-outline {
    padding: 10px 24px;
    font-size: 0.9rem;
  }

   .hero-bg {
    object-position: center center;
  }

  .about-us h2 {
    font-size: 1.6rem;
  }

  .about-us .subtitle {
    font-size: 1.2rem;
  }

  .icon-item {
    width: 90px;
    height: 130px;
  }

  .icon-img {
    width: 50px;
    height: 50px;
  }

  .icon-title {
    font-size: 0.85rem;
  }

  .icon-desc {
    width: 160px;
    font-size: 0.75rem;
  }

  .icon-desc::after {
    top: -6px;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid #e63946;
  }

  .services {
    padding: 80px 20px;
  }

  .services-title h2 {
    font-size: 26px;
  }

  .services-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .service-card {
    font-size: 16px;
    height: 54px;
    line-height: 58px;
    width: 100%;
    padding: 0 10px;
  }

  .modal-content h3 {
    font-size: 22px;
  }

  .modal-content p {
    font-size: 15px;
  }

  .close-btn {
    font-size: 24px;
    top: 10px;
    right: 15px;
  }

  .icon-small {
    flex: 1 1 100%;
  }

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

  .about-stats {
    gap: 8px;
  }

  .about-stats {
    flex-wrap: wrap;
    gap: 12px;
    padding: 0 10px;
    bottom: 16px;
  }

  .about-stats div {
    flex: 1 1 45%;
    min-width: unset;
  }

  .about-stats div span {
    width: 100%;
    height: 40px;
    font-size: 1.2rem;
  }

  .about-stats div p {
    font-size: 0.75rem;
    white-space: normal;
  }

  .btn {
    width: 100%;
  }

  .badge {
    font-size: 0.65rem;
    padding: 3px 10px;
  }

  .plan-features {
    text-align: center;
  }

  .plan-features li {
    padding-left: 0;
  }

  .plan-features li::before {
    display: none;
  }

  .contact-section {
    padding: 40px 15px;
  }

  input, select, textarea {
    font-size: 1rem;
    padding: 16px 18px;
  }

  textarea {
    height: 140px;
  }

  .btn-submit {
    font-size: 1.1rem;
    padding: 16px 0;
  }
}
