/* ========================================= 
   1. VARIABLES & RESET 
========================================= */
:root {
  --text: #fff;
  --bg: #000;
  --accent1: #bfcecb;
  --accent2: #3a4342;
  --accent3: #85918f;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  scroll-behavior: smooth;
  overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg);
}
::-webkit-scrollbar-thumb {
  background: var(--accent2);
  border-radius: 8px;
  border: 2px solid var(--bg);
  transition: all 0.4s ease-in-out;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent1);
  box-shadow: 0 0 8px var(--accent1);
}

/* ========================================= 
   2. TYPOGRAPHY & GLOBALS 
========================================= */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.title_main {
  margin: 0;
  font-size: 34px;
}

.intro-page {
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

/* ========================================= 
   3. BUTTONS 
========================================= */
.main_button {
  background: var(--accent1);
  color: var(--bg);
  text-transform: uppercase;
  font-weight: 600;
  border: none;
  padding: 14px 40px;
  border-radius: 8px;
  font-size: 1.3rem;
  cursor: pointer;
  transition: all 0.4s ease-in-out;
}

.main_button:hover {
  background: var(--accent3);
  color: var(--accent1);
  transform: scale(1.01);
  box-shadow: 0 0 20px var(--accent3);
}

.secondary_button {
  background: transparent;
  color: var(--accent1);
  text-transform: uppercase;
  font-weight: 600;
  border: 2px solid var(--accent1);
  padding: 12px 38px;
  border-radius: 8px;
  font-size: 1.3rem;
  cursor: pointer;
  transition: all 0.4s ease-in-out;
}

.secondary_button:hover {
  background: rgba(191, 206, 203, 0.1);
  box-shadow: 0 0 15px rgba(191, 206, 203, 0.3);
  transform: scale(1.01);
}

.price-button {
  background: var(--accent1);
  color: var(--bg);
  font-weight: bold;
  border: none;
  border-radius: 0;
  width: 100%;
  padding: 0.8rem;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}

.price-button:hover {
  background: var(--accent3);
  color: var(--accent1);
  box-shadow: 0 0 12px var(--accent3);
}

.price-button:disabled {
  background: #222;
  color: #555;
  cursor: not-allowed;
}

.full-width {
  width: 100%;
  margin-top: 10px;
}

/* ========================================= 
   4. HEADER & NAVIGATION 
========================================= */
.site-header {
  background: var(--bg);
  color: var(--text);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all 0.4s ease-in-out;
  border-bottom: 1px solid var(--accent1);
}

.site-header:hover {
  box-shadow: 0 0 10px rgba(191, 206, 203, 0.3);
}

/* --- ВЕРХНИЙ БЛОК (БЛОК 1) --- */
.header-top {
  border-top: 1px solid rgba(191, 206, 203, 0.14); /* Разделитель между двумя блоками хедера */
  padding: 10px 0;
  background: #050505;
}

.header-top .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.top-contact {
  display: flex;
  align-items: center;
}

.header-phone {
  margin-left: 15px;
  color: #fff;
  font-size: 1.15rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
  letter-spacing: 0.5px;
}

.header-phone:hover {
  color: var(--accent1);
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 25px;
  flex-wrap: wrap;
}

/* Переопределяем скрытие соцсетей в шапке (чтобы они не пропадали на мобилках) */
.header-top .social-links {
  display: flex !important; 
  gap: 15px;
  margin: 0;
}

.header-top .social-links svg {
  width: 24px;
  height: 24px;
}

/* Компактная версия кнопки для шапки */
.header-btn {
  padding: 8px 24px;
  font-size: 0.95rem;
  border-radius: 6px;
}

/* --- НИЖНИЙ БЛОК (БЛОК 2) --- */
.header-bottom {
  padding: 10px 0;
}

.header-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between; /* Логотип слева, кнопка меню справа */
  width: 100%;
}

.main-link a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--accent1);
  font-weight: bold;
  font-size: 1.2rem;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.4s ease-in-out;
}

.main-link span {
  font-size: 1.5rem;
}

.main-link a:hover {
  color: var(--text);
  text-shadow: 0 0 8px var(--accent1);
}

.main-link a:hover .logo {
  transform: scale(1.1);
  filter: drop-shadow(0 0 8px var(--accent1));
}

.logo {
  height: 60px;
  margin-right: 10px;
  vertical-align: middle;
  transition: all 0.4s ease-in-out;
}

.menu {
  display: flex;
  list-style: none;
  margin: 0 0 0 25px;
  padding: 0;
  gap: 20px;
}

.menu a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.4s ease-in-out;
  padding: 20px 10px;
}

.menu a:hover {
  color: var(--accent1);
  text-shadow: 0 0 8px var(--accent1);
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  transition: all 0.4s ease-in-out;
}

.social-links svg {
  width: 33px;
  height: 33px;
  fill: var(--accent1);
  transition: all 0.4s ease-in-out;
}

.social-links a:hover svg {
  transform: scale(1.15);
  filter: drop-shadow(0 0 8px var(--accent2));
  fill: var(--accent2);
}

.open-mobile {
  display: none;
}

/* ========================================= 
   5. SECTIONS 
========================================= */

/* --- HERO --- */
#hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-bottom: 1px solid var(--accent1);
}
.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: brightness(0.4); /* УДАЛЯЕМ ЭТУ СТРОКУ */
}

/* --- HERO ОВЕРЛЕЙ И Z-INDEX --- */
#hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.1);
  z-index: 1;
}

#hero .hero-content {
  position: relative;
  z-index: 2; /* Поднимаем контент над оверлеем */
}

/* --- МОБИЛЬНЫЙ АДАПТИВ HERO (< 768px) --- */
@media (max-width: 768px) {
  #hero .hero-content h1 {
    font-size: 2rem;
  }
  
  #hero .hero-content p,
  #hero .hero-content span {
    font-size: 1.1rem;
  }
  
  #hero .hero-buttons {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 15px;
  }
  
  #hero .hero-buttons button {
    width: 100%;
  }
}

.hero-content {
  position: relative;
  z-index: 2; /* МЕНЯЕМ z-index с 1 на 2, чтобы текст был поверх оверлея */
  color: var(--text);
  max-width: 800px;
  padding: 0 20px;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--accent1);
  text-transform: uppercase;
  letter-spacing: 2px;
  animation: fadeInDown 1.2s ease;
  text-shadow: 0 0 10px rgba(191, 206, 203, 0.3);
}

.hero-content span {
  color: var(--accent1);
  text-shadow: 0 0 10px rgba(191, 206, 203, 0.3);
}

.hero-content p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  color: var(--accent1);
  animation: fadeInUp 1.2s ease;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  margin-top: 30px;
  justify-content: center;
  flex-wrap: wrap;
}

#hero .main_button {
  width: fit-content;
}

/* --- TRUST --- */
#trust {
  padding: 80px 0;
  background: #050505;
  border-bottom: 1px solid #222;
}

#trust h2 {
  text-align: center;
  font-size: 2.4rem;
  color: var(--accent1);
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.trust-subtitle {
  text-align: center;
  color: #aaa;
  max-width: 800px;
  margin: 0 auto 3rem auto;
  font-size: 1.1rem;
  line-height: 1.6;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
}

.trust-item {
  background: #0f0f0f;
  padding: 30px 20px;
  border-radius: 12px;
  text-align: center;
  border: 1px solid #1a1a1a;
  transition: all 0.3s ease;
}

.trust-item:hover {
  border-color: var(--accent1);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.trust-icon {
  font-size: 3rem;
  margin-bottom: 15px;
}

.trust-item h3 {
  color: var(--text);
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.trust-item p {
  color: #888;
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
}

/* --- PROGRAMS --- */
#programs {
  padding: 80px 0;
  background: var(--bg);
}

.programs-header {
  text-align: center;
  margin-bottom: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.programs-header h2 {
  font-size: 2.4rem;
  color: var(--accent1);
  text-transform: uppercase;
}

.programs-header p {
  color: #ccc;
  font-size: 1.1rem;
  line-height: 1.6;
}

.programs-list {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.program-full-card {
  display: flex;
  gap: 40px;
  align-items: center;
  background: #0a0a0a;
  border: 1px solid #222;
  border-radius: 16px;
  overflow: hidden;
  padding: 30px;
  transition: all 0.3s ease;
}

.program-full-card:hover {
  border-color: var(--accent2);
  box-shadow: 0 0 40px rgba(191, 206, 203, 0.05);
}

.program-full-card.reverse {
  flex-direction: row-reverse;
}

.program-video {
  flex: 1;
  min-width: 300px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.8);
}

.program-info {
  flex: 1.2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.program-info h3 {
  font-size: 2rem;
  color: var(--accent1);
  margin: 0 0 15px 0;
  text-transform: uppercase;
  width: 100%;
}

.program-info .main_button {
  margin-top: 15px;
  margin-left: auto;  /* Центрируем кнопку */
  margin-right: auto; /* Центрируем кнопку */
  display: block;
}

.program-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.program-tags span {
  background: #1a1a1a;
  color: #aaa;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  border: 1px solid #333;
}

.program-text-content {
  color: #ddd;
  line-height: 1.6;
  margin-bottom: 20px;
  font-size: 1rem;
}

.program-text-content p {
  margin-bottom: 12px;
}

.program-details {
  list-style: none;
  padding: 0;
  margin: 0 0 25px 0;
  background: #111;
  padding: 15px 20px;
  border-radius: 8px;
  width: 100%;
}

.program-details li {
  margin-bottom: 8px;
  color: #ccc;
  font-size: 0.95rem;
}

.program-details li:last-child {
  margin-bottom: 0;
}

.program-details strong {
  color: var(--accent1);
}

/* Base Program Card (Legacy compatibility) */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin: 0 auto;
}

.program-card {
  background: #111;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 15px rgba(191, 206, 203, 0.2);
  transition: all 0.4s ease-in-out;
  display: flex;
  flex-direction: column;
  position: relative;
  padding-bottom: 3rem;
}

.program-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 25px rgba(191, 206, 203, 0.6);
  filter: brightness(1.1);
}

.program-card img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-bottom: 1px solid var(--accent1);
}

.program-card h3 {
  margin: 0;
  padding: 10px 0;
  color: var(--accent1);
  font-size: 1.6rem;
  position: absolute;
  left: auto;
  width: -webkit-fill-available;
  background: #bfcecb44;
}

.program-desc {
  color: #ddd;
  font-size: 0.95rem;
  padding: 0.5rem 1.2rem;
  text-align: left;
}

.program-desc p {
  margin: 0.4rem 0;
  line-height: 1.4;
}

.program-price {
  display: none;
  background: var(--accent1);
  color: #000;
  font-weight: bold;
  font-size: 1.1rem;
  padding: 0.8rem;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: all 0.4s ease-in-out;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}

.program-price:hover {
  background: var(--accent3);
  color: var(--accent1);
}
/* ========================================= 
   ОБЩИЕ СТИЛИ ДЛЯ НОВЫХ СЕКЦИЙ
========================================= */
.premium-section {
  padding: 100px 0;
  background: var(--bg);
  border-top: 1px solid #1a1a1a;
}

.section-title {
  text-align: center;
  font-size: 2.6rem;
  color: var(--accent1);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-subtitle {
  text-align: center;
  color: #999;
  max-width: 700px;
  margin: 0 auto 4rem auto;
  font-size: 1.15rem;
  line-height: 1.6;
}

/* --- ДОП. УСЛУГИ (SERVICES) --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.service-card {
  background: #0a0a0a;
  padding: 40px 30px;
  border-radius: 16px;
  border: 1px solid #1f1f1f;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent1);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  border-color: #333;
  box-shadow: 0 15px 30px rgba(0,0,0,0.8), 0 0 20px rgba(191, 206, 203, 0.1);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  font-size: 3rem;
  margin-bottom: 20px;
  filter: grayscale(100%) brightness(1.5);
  transition: filter 0.4s ease;
}

.service-card:hover .service-icon {
  filter: grayscale(0%);
}

.service-card h3 {
  color: var(--text);
  font-size: 1.4rem;
  margin-bottom: 15px;
}

.service-card p {
  color: #888;
  line-height: 1.6;
  font-size: 0.95rem;
  margin: 0;
}

/* --- КАК МЫ РАБОТАЕМ (WORKFLOW) --- */
.workflow-bg {
  background: #050505;
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  position: relative;
}

/* Линия соединяющая шаги (только для ПК) */
@media (min-width: 900px) {
  .workflow-grid::before {
    content: "";
    position: absolute;
    top: 35px;
    left: 50px;
    right: 50px;
    height: 2px;
    background: #1a1a1a;
    z-index: 0;
  }
}

.workflow-step {
  position: relative;
  z-index: 1;
  background: #0f0f0f;
  padding: 40px 30px;
  border-radius: 16px;
  border: 1px solid #1a1a1a;
  transition: all 0.3s ease;
}

.workflow-step:hover {
  border-color: var(--accent2);
  background: #111;
}

.step-marker {
  width: 70px;
  height: 70px;
  background: var(--bg);
  border: 2px solid var(--accent1);
  color: var(--accent1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  font-weight: bold;
  margin-bottom: 25px;
  box-shadow: 0 0 15px rgba(191, 206, 203, 0.1);
  transition: all 0.3s ease;
}

.workflow-step:hover .step-marker {
  background: var(--accent1);
  color: var(--bg);
  box-shadow: 0 0 20px var(--accent1);
}

.workflow-step h4 {
  color: #fff;
  font-size: 1.3rem;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.workflow-step p {
  color: #999;
  line-height: 1.6;
  margin: 0;
}

/* Адаптив для новых секций */
@media (max-width: 768px) {
  .premium-section {
    padding: 60px 0;
  }
  .section-title {
    font-size: 2rem;
  }
}

/* --- ABOUT --- */
#about {
  position: relative;
  background: var(--bg);
  color: var(--text);
  padding: 80px 120px;
  border-top: 1px solid var(--accent1);
  border-bottom: 1px solid var(--accent1);
  overflow: hidden;
}

#about::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(191,206,203,0.12), transparent 70%);
  animation: glow 6s ease-in-out infinite alternate;
  z-index: 0;
}

.about-container {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  z-index: 1;
}

#about h2 {
  font-size: 2.4rem;
  color: var(--accent1);
  text-transform: uppercase;
  margin-bottom: 2rem;
  text-shadow: 0 0 10px rgba(191, 206, 203, 0.3);
}

.about-content {
  font-size: 1.1rem;
  color: #ddd;
  line-height: 1.7;
  text-align: justify;
}

.about-content p {
  margin-bottom: 1.2rem;
}

/* --- SAFETY (from DEEP RESEARCH) --- */
#safety {
  padding: 60px 0;
  background: #080808;
  border-top: 1px solid var(--accent2);
}

.safety-container h2 {
  text-align: center;
  font-size: 2.2rem;
  color: var(--accent1);
  margin-bottom: 2rem;
}

.safety-content {
  background: #111;
  padding: 40px;
  border-radius: 12px;
  max-width: 800px;
  margin: 0 auto;
  color: #ddd;
  line-height: 1.6;
}

.safety-list {
  padding-left: 20px;
  margin: 20px 0;
}

.safety-list li {
  margin-bottom: 10px;
  position: relative;
}

.safety-list li::marker {
  color: var(--accent1);
}

/* --- CONTACTS & FORM --- */
#contacts {
  background: var(--bg);
  text-align: center;
  padding: 60px 0;
  width: 90%;
  margin: 0 auto;
}

#contacts h2 {
  font-size: 2.2rem;
  color: var(--accent1);
  margin-bottom: 2rem;
  text-shadow: 0 0 10px rgba(191, 206, 203, 0.3);
}

.contacts-desc {
  color: var(--accent1);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.lead-form {
  max-width: 600px;
  margin: 0 auto;
  background: #0f0f0f;
  padding: 40px;
  border-radius: 16px;
  border: 1px solid #222;
  display: flex;
  flex-direction: column;
}

.form-row {
  display: flex;
  gap: 15px;
}

.lead-form input,
.lead-form textarea,
#contacts input,
#contacts textarea {
  width: 100%;
  margin-bottom: 15px;
  background: #1a1a1a;
  border: 1px solid #333;
  color: #fff;
  border-radius: 8px;
  padding: 12px 15px;
  font-size: 1rem;
  transition: all 0.4s ease-in-out;
}

.lead-form input:focus,
.lead-form textarea:focus,
#contacts input:focus,
#contacts textarea:focus {
  border-color: var(--accent1);
  box-shadow: 0 0 10px var(--accent1);
  outline: none;
}
/* Улучшаем поле для сообщения */
.lead-form textarea {
  min-height: 120px;
  resize: vertical; /* Разрешаем растягивать только по высоте */
  font-family: inherit;
}

/* Делаем кнопку отправки внутри формы полноэкранной и выравниваем */
.lead-form .main_button {
  width: 100%;
  margin-top: 10px;
}

/* Фикс для мобилок: чтобы форма не прилипала к краям экрана */
@media (max-width: 600px) {
  .lead-form {
    padding: 25px 20px;
  }
}
.consent-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: #777;
  text-align: left;
  margin-bottom: 15px;
  margin-top: -5px;
  cursor: pointer;
}

.consent-label input {
  width: auto !important;
  margin: 0 !important;
  padding: 0;
}

.social-block {
  margin-top: 30px;
}

.social-block p {
  color: var(--accent1);
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.contacts-phones {
  margin: 20px 0 30px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contacts-phones a {
  font-size: 20px;
  font-weight: 500;
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contacts-phones a:hover {
  color: var(--accent3);
}

/* ========================================= 
   6. FOOTER 
========================================= */
.site-footer p {
  text-align: center;
  color: var(--accent1);
}

.site-footer p a {
  transition: all 0.4s ease-in-out;
  color: var(--accent1);
}

.site-footer p a:hover {
  color: var(--accent3);
}

/* ========================================= 
   7. MODALS & VIDEO 
========================================= */
.modal_overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.55);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 20px;
  box-sizing: border-box;
  overflow-y: auto; /* высокая модалка прокручивается, а не вылезает за экран */
}

.modal_overlay.active {
  display: flex;
}

.modal_container {
  background: #0f0f0fef;
  border: 1px solid var(--accent1);
  border-radius: 10px;
  width: 100%;
  max-width: 600px;
  max-height: calc(100vh - 40px); /* не выше видимой области (учёт padding оверлея) */
  overflow-y: auto;               /* внутренняя прокрутка содержимого */
  margin: auto;
  position: relative;
  animation: modalAppear 0.7s ease-in-out;
}

.modal_header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid var(--accent1);
}

.modal_header .button {
  padding: 0;
}

.modal_body {
  padding: 20px;
}

.modal_body p {
  margin-top: 0;
  font-size: 20px;
}

.form_buttons {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.form_buttons .button {
  margin-bottom: 20px;
}

.form_buttons .button_link {
  background: none;
  border: none;
  cursor: pointer;
}

/* Video Thumbnails */
.video-thumb {
  position: relative;
  cursor: pointer;
  overflow: hidden;
}

.video-thumb img {
  width: 100%;
  display: block;
  transition: transform 0.4s ease;
}

.play-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.play-icon::before {
  content: '';
  width: 70px;
  height: 70px;
  background: rgba(0, 0, 0, 0.65);
  border-radius: 50%;
  position: relative;
}

.play-icon::after {
  content: '';
  position: absolute;
  border-left: 18px solid #fff;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  margin-left: 4px;
}

.video-thumb:hover img {
  transform: scale(1.05);
}

.video-thumb:hover .play-icon::before {
  background: rgba(255, 80, 0, 0.85);
}

/* Video Modal Specific */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
}

.video-modal.active {
  display: flex;
}

.video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
}
.video-content {
  position: relative;
  width: 80%;
  max-width: 1000px;
  aspect-ratio: 16/9;
  z-index: 1;
}

.video-content video,
.video-content iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 12px;
  background: #000;
  border: none;
  object-fit: contain; /* Чтобы локальное видео не обрезалось */
}

.video-close {
  z-index: 50;
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  line-height: 1;
}

.video-close:hover {
  opacity: 0.7;
}

/* ========================================= 
   8. ANIMATIONS 
========================================= */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes modalAppear {
  from { opacity: 0; transform: translateY(-50px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes glow {
  from { opacity: 0.5; }
  to { opacity: 1; }
}

/* ========================================= 
   9. MEDIA QUERIES 
========================================= */
@media (max-width: 1100px) {
  .open-mobile {
    display: block;
  }
  
  .mobile-btn {
    background: none;
    border: none;
    color: var(--accent1);
    font-size: 2rem;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
  }
  
  .mobile-btn:hover {
    color: var(--text);
    text-shadow: 0 0 8px var(--accent1);
  }

  .menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: #111;
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 30px;
    gap: 25px;
    box-shadow: -2px 0 10px rgba(0,0,0,0.5);
    transition: right 0.4s ease-in-out;
    z-index: 10000;
  }

  .menu.opened {
    right: 0;
  }

  .menu .close-mobile {
    position: absolute;
    top: 20px;
    right: 25px;
  }

  .menu a {
    color: var(--accent1);
    font-size: 1.3rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
  }

  .menu a:hover {
    color: var(--text);
    text-shadow: 0 0 10px var(--accent1);
  }

  body.no-scroll {
    overflow: hidden;
  }

  .site-header .social-links {
    display: none;
  }
}

@media (max-width: 900px) {
  .program-full-card, 
  .program-full-card.reverse {
    flex-direction: column;
    padding: 20px;
  }
  
  .program-video {
    width: 100%;
    min-width: 0; /* сброс min-width:300px, иначе flex-блок не сжимается на узких экранах */
  }

  .form-row {
    flex-direction: column;
    gap: 0;
  }
}

@media (max-width: 768px) {
  #hero {
    height: auto;
    min-height: 100vh;
    min-height: 100svh; /* реальная высота вьюпорта на iOS/мобиле — контент не обрезается */
  }

  .hero-content h1 {
    font-size: 2rem;
  }
  
  .hero-content p {
    font-size: 1.1rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  
  .secondary_button {
    width: 100%;
  }

  #about {
    padding: 60px 30px;
  }
  
  #about h2 {
    font-size: 2rem;
  }
  
  .about-content {
    font-size: 1rem;
  }

  .effect-card:hover {
    transform: translateX(0) scale(1.02);
  }
}

@media (max-width: 600px) {
  .main-link span {
    display: none;
  }

  .hero-content h1 {
    font-size: 1.6rem;
    letter-spacing: 1px;
  }

  .logo {
    height: 50px;
  }

  .menu a {
    font-size: 1.2rem;
  }
  
  .hero-buttons {
    flex-direction: column;
  }
  
  .secondary_button {
    width: 100%;
  }

  #trust h2, 
  .programs-header h2, 
  #effects h2, 
  .turnkey-container h2, 
  #contacts h2,
  .safety-container h2 {
    font-size: 1.8rem;
  }
  
  .lead-form {
    padding: 20px;
  }
}

/* --- ИНТЕРАКТИВНАЯ КАРТА (SAFETY MAP) --- */
.interactive-map {
  position: relative;
  width: 100%;
  max-width: 800px;
  height: 400px;
  margin: 0 auto;
  background: #111; /* Заглушка, пока нет картинки */
  border: 1px solid #333;
  border-radius: 12px;
  border-radius: 16px;
  overflow: visible;
}

.map-background {
  width: 100%;
  height: 100%;
  /* background-image: url('/assets/images/stage-map.svg'); */
  background-size: cover;
  background-position: center;
  opacity: 0.5;
}

.hotspot {
  position: absolute;
  width: 24px;
  height: 24px;
  transform: translate(-50%, -50%);
  cursor: pointer;
  z-index: 10;
}

.hotspot .pulse {
  width: 100%;
  height: 100%;
  background: var(--accent1);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent1);
  animation: pulseAnim 2s infinite;
}

.hotspot .tooltip {
  position: absolute;
  bottom: 150%;
  left: 50%;
  transform: translateX(-50%);
  background: #0f0f0f;
  border: 1px solid var(--accent1);
  padding: 15px;
  border-radius: 8px;
  width: 250px;
  color: #fff;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  pointer-events: none;
  text-align: left;
  z-index: 20;
}

.hotspot:hover .tooltip {
  opacity: 1;
  visibility: visible;
  bottom: 120%;
}

.tooltip strong {
  color: var(--accent1);
  display: block;
  margin-bottom: 5px;
  font-size: 1.1rem;
}

.tooltip p {
  margin: 0;
  font-size: 0.9rem;
  color: #aaa;
  line-height: 1.4;
}

@keyframes pulseAnim {
  0% { box-shadow: 0 0 0 0 rgba(191, 206, 203, 0.7); }
  70% { box-shadow: 0 0 0 15px rgba(191, 206, 203, 0); }
  100% { box-shadow: 0 0 0 0 rgba(191, 206, 203, 0); }
}

/* --- МЕТЕО-ПРОТОКОЛ --- */
.meteo-controls {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
}

.meteo-btn {
  background: transparent;
  border: 2px solid #333;
  color: #888;
  padding: 12px 30px;
  border-radius: 30px;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

.meteo-btn.active, .meteo-btn:hover {
  border-color: var(--accent1);
  color: var(--text);
  box-shadow: 0 0 15px rgba(191, 206, 203, 0.2);
}

.meteo-content {
  display: none;
  animation: fadeInUp 0.5s ease;
}

.meteo-content.active {
  display: block;
}

/* --- ДОКУМЕНТЫ --- */
.doc-card {
  cursor: pointer;
}

.doc-card:hover {
  background: rgba(191, 206, 203, 0.05);
}

/* Безопасные отступы для iPhone (в самом низу сайта / футере) */
.footer {
  padding-bottom: calc(20px + env(safe-area-inset-bottom));
}
/* Адаптив для интерактивной карты */
@media (max-width: 768px) {
  .hotspot .tooltip {
    /* На мобильных подсказки фиксируем, чтобы не вылезали за экран */
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 300px;
  }
  .meteo-controls {
    flex-direction: column;
    gap: 10px;
  }
  #hero .video-thumb {
    display: block !important;
    width: 100%;
  }
  
  #hero .video-thumb .main_button {
    width: 100%;
  }
  /* Адаптив для новой шапки: на телефонах оставляем только иконки телефона/
     почты/соцсетей + кнопку «Заказать шоу», текст номера и почты прячем */
  .header-top .container {
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px 18px;
  }

  .top-contact {
    justify-content: center;
    gap: 18px;
  }

  .top-actions {
    justify-content: center;
    gap: 18px;
  }

  /* Прячем текстовый номер телефона и почту — остаётся только иконка */
  .header-phone .contact-label {
    display: none;
  }

  .header-phone {
    margin-left: 0;
    padding: 10px; /* тап-зона ~44px (24px иконка + 2×10) — удобно пальцем */
  }

  .header-phone svg {
    margin-right: 0 !important;
    width: 24px;
    height: 24px;
  }

  .header-btn {
    width: auto;
    padding: 8px 22px;
  }

  .header-bottom {
    padding: 8px 0;
  }
}

/* Исправление бага с зависанием :hover на мобильных устройствах */
@media (hover: hover) {
  .doc-card:hover {
    background: rgba(191, 206, 203, 0.05);
  }
}

/* =========================================
   10. REVIEWS
========================================= */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 25px;
}

.review-card {
  background: #0a0a0a;
  border: 1px solid #1a1a1a;
  border-radius: 14px;
  padding: 30px;
  transition: all 0.3s ease;
}

.review-card:hover {
  border-color: var(--accent2);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.6);
}

.review-stars {
  color: var(--accent1);
  font-size: 1.15rem;
  letter-spacing: 3px;
  margin-bottom: 15px;
}

.review-text {
  color: #ccc;
  font-size: 0.95rem;
  line-height: 1.65;
  font-style: italic;
  margin: 0 0 20px;
}

.reviewer-info {
  color: #888;
  font-size: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.reviewer-info strong {
  color: #fff;
  font-size: 1rem;
}

.review-tag {
  display: inline-block;
  background: #1a1a1a;
  color: #aaa;
  padding: 3px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  border: 1px solid #333;
  width: fit-content;
}

/* =========================================
   11. FAQ
========================================= */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
}

.faq-item.active .faq-answer {
  max-height: 600px;
}

.faq-item {
  border-top: 1px solid #1e1e1e;
}

.faq-item:last-child {
  border-bottom: 1px solid #1e1e1e;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 22px 0;
  color: var(--text);
  font-size: 1.05rem;
  font-family: inherit;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  transition: color 0.3s;
}

.faq-question:hover {
  color: var(--accent1);
}

.faq-icon {
  font-size: 1.4rem;
  color: var(--accent1);
  flex-shrink: 0;
  line-height: 1;
  font-style: normal;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-answer p {
  color: #999;
  font-size: 1rem;
  line-height: 1.65;
  padding: 0 0 22px;
  margin: 0;
}

/* =========================================
   12. PROGRAM PAGE EXTRAS
========================================= */
.ideal-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  max-width: 700px;
  margin: 0 auto;
}

.ideal-tag {
  background: #111;
  border: 1px solid var(--accent2);
  color: var(--accent1);
  padding: 10px 22px;
  border-radius: 30px;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.ideal-tag:hover {
  background: var(--accent2);
}

.included-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  max-width: 900px;
  margin: 0 auto;
}

.included-item {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #ccc;
  font-size: 1rem;
  line-height: 1.4;
}

.included-icon {
  color: var(--accent1);
  font-size: 1.2rem;
  font-weight: bold;
  flex-shrink: 0;
}

.cta-section {
  padding: 80px 0;
  background: #0a0a0a;
  border-top: 1px solid var(--accent2);
}

.cta-box {
  background: linear-gradient(145deg, #111, #0d0d0d);
  border: 1px solid var(--accent2);
  border-radius: 16px;
  padding: 50px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
}

.cta-info h2 {
  color: var(--text);
  font-size: 1.8rem;
  margin: 0 0 12px;
  text-transform: uppercase;
}

.cta-price {
  color: var(--accent1);
  font-size: 1.8rem;
}

.cta-desc {
  color: #888;
  font-size: 0.95rem;
  margin: 6px 0 0;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 15px;
  flex-shrink: 0;
  min-width: 200px;
}

.other-programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
  margin-bottom: 40px;
}

.other-prog-card {
  display: block;
  text-decoration: none;
  background: #0f0f0f;
  border: 1px solid #1a1a1a;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.other-prog-card:hover {
  border-color: var(--accent1);
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.7);
}

.other-prog-card img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}

.other-prog-info {
  padding: 18px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.other-prog-info h3 {
  color: var(--accent1);
  margin: 0;
  font-size: 1.2rem;
  text-transform: uppercase;
}

.other-prog-info span {
  color: #888;
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .cta-box {
    flex-direction: column;
    padding: 30px 25px;
    text-align: center;
  }

  .cta-actions {
    width: 100%;
    min-width: unset;
  }

  .cta-actions a {
    display: block;
    text-align: center;
  }
}

/* =========================================
   13. HERO PROMO PILL
========================================= */
.hero-promo-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(191, 206, 203, 0.12);
  border: 1px solid rgba(191, 206, 203, 0.35);
  color: var(--accent1);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  padding: 7px 18px;
  border-radius: 100px;
  margin-bottom: 22px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  flex-wrap: wrap;
  justify-content: center;
}

.hero-promo-pill .promo-flame {
  font-size: 1rem;
  line-height: 1;
}

/* Основная фраза акции не должна рваться посередине */
.hero-promo-pill .promo-main {
  white-space: nowrap;
}

/* Акцентный чип «на любую дату»: залитый фирменным цветом, тёмный текст.
   На узких экранах переносится на отдельную строку под фразой (flex-wrap). */
.hero-promo-pill .promo-anydate {
  background: var(--accent1);
  color: var(--accent2);
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 3px 12px;
  border-radius: 100px;
  white-space: nowrap;
}

/* =========================================
   14. NAV DROPDOWN
========================================= */
.section-sub {
  text-align: center;
  color: #888;
  font-size: 1.05rem;
  margin: -10px auto 40px;
  max-width: 680px;
}

.has-dropdown {
  position: relative;
}

.drop-arrow {
  font-size: 0.75rem;
  opacity: 0.7;
  margin-left: 3px;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 5px);
  left: 50%;
  transform: translateX(-50%);
  background: #111;
  border: 1px solid #252525;
  border-radius: 10px;
  padding: 8px 0;
  min-width: 250px;
  z-index: 10001;
  box-shadow: 0 12px 30px rgba(0,0,0,0.7);
  list-style: none;
  margin: 0;
}

.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 6px solid #252525;
}

.dropdown-menu li a {
  display: block;
  padding: 10px 22px;
  font-size: 0.95rem;
  color: #ccc !important;
  text-transform: none;
  letter-spacing: 0;
}

.dropdown-menu li a:hover {
  color: var(--accent1) !important;
  background: rgba(191,206,203,0.06);
}

.has-dropdown:hover .dropdown-menu {
  display: block;
}

/* =========================================
   15. TRUST BADGES
========================================= */
.trust-badges-section {
  background: #0a0a0a;
  border-bottom: 1px solid #151515;
  padding: 50px 0;
}

.trust-badges-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.trust-badge {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.trust-badge-icon {
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 4px;
}

.trust-badge strong {
  color: var(--accent1);
  font-size: 1rem;
  font-weight: 600;
}

.trust-badge span {
  color: #888;
  font-size: 0.88rem;
  line-height: 1.5;
}

/* =========================================
   16. LP PROGRAMS GRID (свадьба / корпоратив)
========================================= */
.lp-programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.lp-prog {
  background: #0a0a0a;
  border: 1px solid #1a1a1a;
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
}

.lp-prog:hover {
  border-color: var(--accent2);
  box-shadow: 0 12px 40px rgba(0,0,0,0.6);
}

.lp-prog.featured {
  border-color: var(--accent3);
  box-shadow: 0 0 0 1px rgba(191,206,203,0.15);
  position: relative;
}

.lp-prog-label {
  background: var(--accent1);
  color: #000;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 6px 16px;
  text-align: center;
}

.lp-prog-video {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  cursor: pointer;
}

.lp-prog-video img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.lp-prog-video:hover img {
  transform: scale(1.04);
}

.lp-prog-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.35);
  color: rgba(255,255,255,0.9);
  font-size: 2.5rem;
  transition: background 0.3s;
}

.lp-prog-video:hover .lp-prog-play {
  background: rgba(0,0,0,0.55);
}

.lp-prog-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.lp-prog-body h3 {
  font-size: 1.5rem;
  color: var(--accent1);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 12px;
}

.lp-prog-body p {
  color: #aaa;
  font-size: 0.95rem;
  line-height: 1.65;
  margin: 0 0 16px;
  flex: 1;
}

.lp-prog-tags {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.lp-prog-tags li {
  background: rgba(58,67,66,0.5);
  color: #aaa;
  font-size: 0.8rem;
  padding: 4px 12px;
  border-radius: 100px;
  border: 1px solid #2a2a2a;
}

.lp-prog-price {
  color: var(--accent1);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 20px;
}

/* =========================================
   ЦЕНА СО СКИДКОЙ (старая зачёркнутая + новая)
   Разметку выдаёт PHP-хелпер rs_price()
========================================= */
.price-wrap {
  display: inline-flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
}
.price-old {
  color: #777;
  text-decoration: line-through;
  text-decoration-color: rgba(200, 80, 80, 0.7);
  font-weight: 500;
  font-size: 0.7em;
  white-space: nowrap;
}
.price-new {
  color: var(--accent1);
  font-weight: 800;
  white-space: nowrap;
}
.price-suffix {
  color: #888;
  font-weight: 500;
  font-size: 0.7em;
}

.lp-prog-actions {
  display: flex;
  gap: 12px;
}

.lp-prog-actions .secondary_button,
.lp-prog-actions .main_button {
  flex: 1;
  text-align: center;
  font-size: 0.9rem;
  padding: 10px 16px;
}

/* =========================================
   17. LICENSE BLOCK
========================================= */
.license-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.license-text h2 {
  color: var(--accent1);
  font-size: 1.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 20px;
}

.license-text p {
  color: #aaa;
  line-height: 1.7;
  margin: 0 0 16px;
}

.lic-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 30px;
  background: #0a0a0a;
  border: 1px solid #1a1a1a;
  border-radius: 14px;
}

.lic-item {
  color: #ccc;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.lic-item::before {
  content: '';
}

/* =========================================
   19. BLOG GRID
========================================= */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-top: 40px;
}

.blog-card {
  display: flex;
  flex-direction: column;
  background: #0a0a0a;
  border: 1px solid #1a1a1a;
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}

.blog-card:hover {
  border-color: var(--accent2);
  box-shadow: 0 12px 40px rgba(0,0,0,0.6);
  transform: translateY(-4px);
}

.blog-card-cover {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-card-icon {
  font-size: 3.5rem;
  opacity: 0.7;
}

.blog-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-card-tag {
  display: inline-block;
  background: rgba(58,67,66,0.5);
  color: var(--accent3);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 12px;
  border-radius: 100px;
  border: 1px solid #2a2a2a;
  margin-bottom: 14px;
  align-self: flex-start;
}

.blog-card-body h2 {
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.4;
  margin: 0 0 12px;
  text-transform: none;
  letter-spacing: 0;
  flex: 1;
}

.blog-card-body p {
  color: #888;
  font-size: 0.88rem;
  line-height: 1.6;
  margin: 0 0 16px;
}

.blog-card-read {
  color: var(--accent1);
  font-size: 0.9rem;
  font-weight: 500;
  margin-top: auto;
}

/* =========================================
   20. ARTICLE PAGE
========================================= */
.article-container {
  max-width: 780px;
  margin: 0 auto;
}

.breadcrumb {
  font-size: 0.88rem;
  color: #555;
  margin-bottom: 12px;
}

.breadcrumb a {
  color: #666;
  text-decoration: none;
  transition: color 0.2s;
}

.breadcrumb a:hover {
  color: var(--accent1);
}

.breadcrumb span {
  color: #444;
}

.article-page h1 {
  font-size: 2.2rem;
  color: var(--accent1);
  text-transform: none;
  letter-spacing: 0;
  line-height: 1.3;
  margin: 16px 0 20px;
}

.article-lead {
  font-size: 1.15rem;
  color: #bbb;
  line-height: 1.7;
  margin: 0 0 20px;
  border-left: 3px solid var(--accent2);
  padding-left: 20px;
}

.article-meta {
  display: flex;
  gap: 10px;
  color: #555;
  font-size: 0.88rem;
  flex-wrap: wrap;
  align-items: center;
}

.article-body h2 {
  color: var(--accent1);
  font-size: 1.5rem;
  text-transform: none;
  letter-spacing: 0;
  margin: 40px 0 16px;
}

.article-body h3 {
  color: #ddd;
  font-size: 1.15rem;
  margin: 24px 0 10px;
  text-transform: none;
}

.article-body p {
  color: #aaa;
  line-height: 1.75;
  margin: 0 0 16px;
}

.article-ul {
  color: #aaa;
  line-height: 1.75;
  padding-left: 22px;
  margin: 0 0 20px;
}

.article-ul li {
  margin-bottom: 8px;
}

.article-steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 20px 0 30px;
}

.article-step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: #0a0a0a;
  border: 1px solid #1a1a1a;
  border-radius: 12px;
  padding: 20px 24px;
}

.article-step-num {
  min-width: 42px;
  height: 42px;
  background: var(--accent2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent1);
  flex-shrink: 0;
}

.article-step-body h3 {
  margin: 0 0 8px;
  color: var(--text);
}

.article-step-body p {
  margin: 0;
  font-size: 0.95rem;
}

.article-cta {
  background: #0a0a0a;
  border: 1px solid #1a1a1a;
  border-radius: 14px;
  padding: 30px;
  margin: 40px 0;
}

.article-cta p {
  color: #ccc;
  font-size: 1.05rem;
  margin: 0;
}

.article-nav {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px;
  padding-top: 30px;
  border-top: 1px solid #1a1a1a;
  margin-top: 40px;
}

.article-nav-link {
  color: var(--accent1);
  text-decoration: none;
  font-size: 0.95rem;
  transition: opacity 0.2s;
}

.article-nav-link:hover {
  opacity: 0.75;
}

/* =========================================
   21. REQUIREMENTS TABLE (blog-place)
========================================= */
.requirements-table {
  border: 1px solid #1a1a1a;
  border-radius: 12px;
  overflow: hidden;
  margin: 20px 0 30px;
}

.req-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 0;
  border-bottom: 1px solid #151515;
}

.req-row:last-child {
  border-bottom: none;
}

.req-row span {
  padding: 13px 18px;
  color: #aaa;
  font-size: 0.95rem;
}

.req-row.header span {
  color: #666;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: #080808;
  font-weight: 600;
}

.req-row span:first-child {
  border-right: 1px solid #151515;
}

.req-row:not(.header) span:nth-child(2) {
  color: var(--accent3);
  border-right: 1px solid #151515;
}

.req-row:not(.header) span:nth-child(3) {
  color: var(--accent1);
}

/* Two-column requirements table */
.req-row.two-col {
  grid-template-columns: 2fr 1fr;
}

/* =========================================
   22. CALCULATOR (конфигуратор)
========================================= */
.calc-body {
  display: grid;
  grid-template-columns: 1fr 1fr 280px;
  gap: 30px;
  align-items: start;
  margin-top: 40px;
}

.calc-programs {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.calc-prog {
  background: #0a0a0a;
  border: 1px solid #1a1a1a;
  border-radius: 12px;
  padding: 16px 20px;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: inherit;
}

.calc-prog:hover {
  border-color: var(--accent2);
}

.calc-prog.active {
  border-color: var(--accent1);
  background: rgba(191,206,203,0.06);
}

.calc-prog-name {
  color: var(--accent1);
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.calc-prog-sub {
  color: #666;
  font-size: 0.82rem;
}

.calc-prog-price {
  color: #ccc;
  font-size: 1rem;
  font-weight: 600;
  margin-top: 4px;
}

.calc-prog.active .calc-prog-price {
  color: var(--accent1);
}

.calc-opts {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.calc-opt {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #0a0a0a;
  border: 1px solid #1a1a1a;
  border-radius: 10px;
  padding: 14px 18px;
  cursor: pointer;
  transition: border-color 0.2s;
}

.calc-opt:hover {
  border-color: var(--accent2);
}

.calc-opt input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--accent1);
  flex-shrink: 0;
  cursor: pointer;
}

.calc-opt-name {
  color: #ccc;
  font-size: 0.95rem;
  flex: 1;
}

.calc-opt-price {
  color: var(--accent3);
  font-size: 0.9rem;
  white-space: nowrap;
}

.calc-opt:has(input:checked) {
  border-color: var(--accent2);
  background: rgba(58,67,66,0.2);
}

.calc-opt:has(input:checked) .calc-opt-name {
  color: #fff;
}

.calc-total-block {
  background: #0a0a0a;
  border: 1px solid #1a1a1a;
  border-radius: 14px;
  padding: 28px 24px;
  text-align: center;
  position: sticky;
  top: 100px;
}

.calc-total-label {
  color: #666;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.calc-total-old {
  color: #777;
  text-decoration: line-through;
  text-decoration-color: rgba(200, 80, 80, 0.7);
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 4px;
}

.calc-total-price {
  color: var(--accent1);
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
}

.calc-total-save {
  color: var(--accent1);
  font-size: 0.8rem;
  font-weight: 600;
  margin-top: 8px;
  opacity: 0.85;
}

/* =========================================
   23. MOBILE — новые элементы
========================================= */
@media (max-width: 1100px) {
  .calc-body {
    grid-template-columns: 1fr;
  }

  .calc-total-block {
    position: static;
  }

  /* Dropdown в мобильном меню — показываем как обычные ссылки */
  .dropdown-menu {
    position: static;
    display: block;
    transform: none;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0 0 0 20px;
    min-width: unset;
  }

  .dropdown-menu::before {
    display: none;
  }

  .dropdown-menu li a {
    padding: 8px 0;
    font-size: 1.1rem !important;
    color: #aaa !important;
  }

  .drop-arrow {
    display: none;
  }

  .has-dropdown > a.drop-parent {
    font-size: 0.95rem;
    color: #666 !important;
    cursor: default;
    pointer-events: none;
  }

  .trust-badges-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .lp-programs-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }

  .license-block {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .blog-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 40px auto 0;
  }
}

@media (max-width: 768px) {
  .trust-badges-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .lp-prog-actions {
    flex-direction: column;
  }

  .license-block {
    gap: 24px;
  }

  .article-page h1 {
    font-size: 1.7rem;
  }

  .article-step {
    flex-direction: column;
    gap: 12px;
  }

  .requirements-table {
    font-size: 0.85rem;
  }

  .req-row {
    grid-template-columns: 1.5fr 1fr 1fr;
  }

  .req-row span {
    padding: 10px 12px;
    font-size: 0.82rem;
  }

  .req-row.two-col {
    grid-template-columns: 1.5fr 1fr;
  }

  .hero-promo-pill {
    font-size: 0.82rem;
    padding: 6px 14px;
  }

  .section-sub {
    font-size: 0.95rem;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .article-nav {
    flex-direction: column;
  }
}

/* =========================================
   24. IDEAL EVENT CARDS (страницы программ)
========================================= */
.ideal-event-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px;
  max-width: 950px;
  margin: 0 auto;
}

.ideal-event-card {
  background: #0f0f0f;
  border: 1px solid #1f1f1f;
  border-radius: 14px;
  padding: 32px 20px 28px;
  text-align: center;
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}

.ideal-event-card::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent1), transparent);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.ideal-event-card:hover {
  border-color: var(--accent2);
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.7);
  background: #111;
}

.ideal-event-card:hover::after {
  transform: scaleX(1);
}

.ideal-event-icon {
  font-size: 2.5rem;
  margin-bottom: 14px;
  display: block;
  filter: grayscale(20%);
  transition: filter 0.35s ease, transform 0.35s ease;
}

.ideal-event-card:hover .ideal-event-icon {
  filter: grayscale(0%);
  transform: scale(1.1);
}

.ideal-event-card h3 {
  color: var(--accent1);
  font-size: 0.9rem;
  font-weight: 600;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  line-height: 1.4;
}

@media (max-width: 768px) {
  .ideal-event-grid {
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 14px;
  }
}

/* =========================================
   25. INCLUDED CARDS (что входит)
========================================= */
.included-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(285px, 1fr));
  gap: 18px;
  max-width: 960px;
  margin: 0 auto;
}

.included-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  background: #0f0f0f;
  border: 1px solid #1a1a1a;
  border-radius: 14px;
  padding: 24px;
  transition: all 0.3s ease;
}

.included-card:hover {
  border-color: var(--accent2);
  background: #111;
  box-shadow: 0 8px 25px rgba(0,0,0,0.5);
  transform: translateY(-2px);
}

.included-card-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  background: rgba(191, 206, 203, 0.06);
  border: 1px solid rgba(191, 206, 203, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.included-card:hover .included-card-icon {
  background: rgba(191, 206, 203, 0.1);
  border-color: rgba(191, 206, 203, 0.22);
  transform: scale(1.05);
}

.included-card-body {
  flex: 1;
}

.included-card-body h4 {
  color: var(--accent1);
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0 0 7px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.included-card-body p {
  color: #888;
  font-size: 0.88rem;
  line-height: 1.55;
  margin: 0;
}

@media (max-width: 768px) {
  .included-cards-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================
   26. SECTION LABEL
========================================= */
.section-label {
  display: inline-block;
  background: rgba(191, 206, 203, 0.07);
  border: 1px solid rgba(191, 206, 203, 0.17);
  color: var(--accent3);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  padding: 5px 16px;
  border-radius: 100px;
  margin-bottom: 16px;
}

/* =========================================
   27. GEO LINK CARD HOVER FIX
========================================= */
.geo-link-card:hover {
  border-color: var(--accent2) !important;
  box-shadow: 0 8px 20px rgba(0,0,0,0.5);
}

/* =========================================
   28. PREMIUM SECTION HEADER CENTERED
========================================= */
.section-head {
  text-align: center;
  margin-bottom: 50px;
}

.section-head .section-label {
  margin-bottom: 16px;
}

.section-head .section-title {
  margin-bottom: 12px;
}

.section-head .section-subtitle {
  margin-bottom: 0;
}

/* =========================================
   29. PROGRAM HERO MINIMAL OVERLAY
========================================= */
.program-hero .hero-video {
  filter: brightness(0.35);
}

/* =========================================
   30. TRUST BADGE BORDER BOTTOM
========================================= */
.trust-badges-section {
  border-bottom: 1px solid #111;
}
