﻿html {
  scroll-behavior: smooth;
}
 * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            margin: 0;
          font-family: 'SB Sans Text', Arial, sans-serif;
            background-color: #1D2633;
            color: #ffffff;
        }

        .wrapper {
            background-color: #ffffff;
            color: #1D2633;
            border-radius: 25px;
            /* overflow: hidden; */
            overflow: visible;
            max-width: 1200px;
            margin: 20px auto;
            padding: 35px;
            position: relative;
        }

        .container {
            padding: 0 20px;
        }
@media (max-width: 992px) {
 .wrapper {
    max-width: 95%;        
    margin: 10px auto;     
    padding: 20px;         
    border-radius: 20px;   
  }

  .container {
    padding: 0 10px;
  }

  .benefits-grid {
    grid-template-columns: 1fr; /* Одна колонка */
    gap: 16px;
  }

  .benefit-card {
    width: 100%;
    min-height: auto;
    box-shadow: 2px 2px 0 var(--dark);
  }
}


:root {
  --primary: #1D2633;
  --dark: #1D2633;
  --transition: 0.3s ease;
}

 header {
  padding: 20px 0;
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1200px;
  background-color: #ffffff;
  z-index: 1000;
  border-radius: 25px 25px 0 0;
  transition: top 0.3s, border-radius 0.3s, background-color 0.3s;
  box-shadow: none; /* Без теней */
}

       header.scrolled {
  top: 0;
  border-radius: 0;
  background-color: #fff;
}

        .nav {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0 20px;
        }

        .logo-container {
            display: flex;
            align-items: center;
            gap: 16px;
            background-color: #1D2633;
            padding: 10px 20px;
            border-radius: 8px;
             min-height: 46px;
        }

        .logo {
            height: 48px;
            width: auto;
            transition: transform 0.3s;
        }

        .logo:hover {
            transform: scale(1.05);
        }

        .vertical-divider {
            width: 2px;
            height: 45px;
            background-color: #ffffff;
            margin: 0 8px;
        }

        .nav-links {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 32px;
  transition: var(--transition);
}

.nav-links a {
  text-decoration: none;
  color: var(--dark);
  font-weight: 600;
  font-size: 15px;
  position: relative;
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-links a:not(.btn)::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -6px;
  left: 50%;
  background: var(--primary);
  transition: var(--transition);
  transform: translateX(-50%);
}

.nav-links a:not(.btn):hover::after {
  width: 100%;
}

/* ---------- Кнопка ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  /* padding: 14px 40px; */
    padding: 0 32px; /* ← только горизонтальные отступы */
  min-height: 55px; /* ← высота, как у логотипов */
  background: var(--primary);
  color: #fff !important;
 text-decoration: none;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  border: none;
  cursor: pointer;
  /* transition: background-color var(--transition), transform var(--transition); */
}

.btn:hover {
  background-color: #333c4a;
  transform: translateY(-2px);
}


/* ---------- Мобильное меню ---------- */

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: var(--dark);
  transition: transform 0.3s;
}

.mobile-menu-btn.active {
  transform: rotate(90deg);
}

/* ---------- Мобильная адаптация ---------- */

@media (max-width: 900px) {
  .btn-desktop {
      display: none !important;;
  }

  .mobile-menu-btn {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 20px;  /* Отступ слева, как у .container */
    right: 20px; /* Отступ справа */
    flex-direction: column;
    background: #fff;
    padding: 20px 0;
    border-radius: 0 0 25px 25px;
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
  }
    @media (max-width: 600px) {
    .nav-links {
      left: 10px;
      right: 10px;
      padding: 16px;
    }
  }

  .nav-links.active {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
  }

  .nav-links li {
    margin: 10px 0;
  }

  .nav-register-mobile {
    display: block;
  }
}

@media (min-width: 901px) {
  .nav-register-mobile {
     display: none !important;
  }
}

 /* header мобильная версия */
@media (max-width: 992px) {
  header {
    top: 10px;               /* меньше отступ сверху */
    width: 95%;              /* как у .wrapper */
    max-width: none;          /* убираем ограничение 1200px */
    border-radius: 20px 20px 0 0;
    left: 50%;
    transform: translateX(-50%);
  }

  header.scrolled {
    top: 0;
    border-radius: 0;
  }
}


/* ---------- ОБУЧЕНИЕ, КОТОРОЕ ДАЁТ РЕАЛЬНЫЕ РЕЗУЛЬТАТЫ---------- */
        .section-title {
            background-color: #1D2633;
            color: #ffffff;
            padding: 10px 20px;
            text-align: center;
            font-size: 24px;
            font-weight: bold;
            margin-bottom: 20px;
        }

        .benefits-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 20px;
            padding: 20px 0;
            background-color: #ffffff;
            border-radius: 0 0 25px 25px;
        }

        .benefit-card {
            background-color: #ffffff;
            color: var(--dark);
            font-weight:600;
            padding: 20px;
            border-radius: 25px;
            border: 1px solid var(--dark);
           box-shadow:  4px 4px 0 var(--dark); /* Заменил var(--shadow) на конкретное значение, так как переменная не определена */
            position: relative; /* Для позиционирования иконки */
            text-align: center;
            min-height: 200px; /* Минимальная высота для размещения иконки */
        }

        .benefit-card img {
            max-width: 100px;
            position: absolute;
            bottom: 20px;
            right: 20px;
            margin: 0; /* Убрал margin-bottom, так как иконка теперь в углу */
        }

        .benefit-card-content {
             text-align: left;
            padding-right: 70px; /* Пространство для иконки справа */
        }
        .benefit-card-content p {
            font-weight:400;
        }
        .hero {
            padding: 50px 0 50px;/*отступ от меню первого экрана*/
        }

        .hero-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 20px;
        }

        .hero-left {
            max-width: 50%;
        }

        .hero-title {
            font-size: 48px;
            font-weight: 600;
            line-height: 1.2;
            margin-bottom: 20px;
            position: relative;
        }

        .hero-subtitle {
            font-size: 24px;
            font-weight: 600;
            margin-bottom: 20px;
        }

        .hero-description {
            font-size: 18px;
            line-height: 1.5;
            margin-bottom: 30px;
        }

        .hero-start {
            font-size: 24px;
            font-weight: bold;
            margin-bottom: 20px;
        }

        .hero-image {
            max-width: 40%;
        }

        .hero-image img {
            width: 100%;
            height: auto;
        }
.mobile-break1 {
    display: none;
}

@media (max-width: 374px) {
    .mobile-break1 {
        display: block;
    }
}
       @media (max-width: 992px) {
  header {
    top: 0;
    border-radius: 0;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
    border-radius: 0 0 15px 15px;
  }

  .benefit-card {
    min-height: 150px;
  }

  .benefit-card img {
    bottom: 10px;
    right: 10px;
  }

  .hero-content {
    flex-direction: column; /* ставим текст и картинку вертикально */
    text-align: center;
    gap: 30px;
  }

  .hero-left,
  .hero-image {
    max-width: 100%;
  }

  .hero-title {
    font-size: 36px;
    line-height: 1.2;
    word-wrap: break-word;
    word-break: break-word;
    white-space: normal;
  }

  .hero-subtitle {
    font-size: 20px;
  }

  .hero-description {
    font-size: 16px;
    margin-bottom: 25px;
  }

  .hero-start {
    font-size: 18px;
  }

  .hero-image img {
    max-width: 80%;
    height: auto;
    margin: 0 auto;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 26px;
    line-height: 1.2;
  }

  .hero-subtitle {
    font-size: 18px;
  }

  .hero-description {
    font-size: 15px;
  }
}

.for-whom {
            background: var(--dark);
            color: #fff;
            padding: 10px 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .for-whom h1 {
            margin: 0;
            font-size: 24px;
        }
        .tabs {
            display: flex;
            gap: 10px;
        }
        .tab {
            padding: 5px 15px;
            cursor: pointer;
            background: #333;
            border-radius: 5px;
        }
        .tab.active {
            background: #fff;
            color: #000;
        }
        .duck {
            display: flex;
            gap: 5px;
        }
        .duck img {
            width: 20px;
            height: 20px;
        }
        .title {
            background: #00FFAF;
            color: #fff;
            text-align: center;
            padding: 10px;
            font-size: 20px;
            font-weight: bold;
        }
        .content {
            padding: 20px;
            text-align: center;
        }
        .options {
            display: flex;
            justify-content: space-around;
            margin-top: 20px;
        }
        .option {
            background: #00FFAF;
            color: #fff;
            padding: 15px;
            border-radius: 10px;
            width: 20%;
            box-sizing: border-box;
            position: relative;
        }
        .option p {
            margin: 0;
            font-size: 14px;
        }
        .lines {
            position: absolute;
            top: -20px;
            left: 50%;
            transform: translateX(-50%);
            width: 0;
            height: 0;
            border-left: 2px dashed #00FFAF;
            border-right: 2px dashed #00FFAF;
        }
        .for-whom-footer {
            text-align: center;
            padding: 10px;
            background: var(--dark);
            color: #fff;
            margin-top: 20px;
        }
        .for-whom-footer button {
            background:#00FFAF;
            border: none;
            padding: 10px 20px;
            color: #fff;
            border-radius: 5px;
            cursor: pointer;
        }

        /* Mobile Styles */
        @media (max-width: 768px) {
            .options {
                flex-direction: column;
                gap: 20px;
            }
            .option {
                width: 100%;
            }
            .lines {
                display: none;
            }
        }
      
.footer {
            
            color: var(--dark);
            padding: 20px 40px;
             /* border-top: 4px solid #2c3e50; 
            border-bottom: 4px solid #2c3e50; */
            display: flex;
            flex-direction: column;
            align-items: center;
            position: relative;
        }



        .footer-top {
            display: flex;
            justify-content: space-between;
            align-items: center;
            width: 100%;
            max-width: 1200px;
            margin-bottom: 15px;
        }



       

    .legal-wrapper {
  display: flex;
  justify-content: flex-end; /* прижимаем к правому краю */
  gap: 20px; /* расстояние между параграфами */
}

.legal-text {
  font-size: 14px;
  color: #1D2633;
  margin: 0;
}
.contact-section {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 10px 0;
}

.contact-links {
    display: flex;
    gap: 8px; /* расстояние между двумя чёрными боксами */
}

.contact-link {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    background-color: #1D2633;
    padding: 8px 12px;
    font-size: 14px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background-color 0.2s;
}

.contact-link:hover {
    background-color: #ecf0f1;
    color: #1D2633;
}

        .copyright {
            font-size: 14px;
            text-align: center;
            color: #1D2633;
            margin: 0;
            width: 100%;
            max-width: 1200px;
        }

        /* Responsive adjustments */
        @media (max-width: 768px) {
            .footer-top {
                flex-direction: column;
                gap: 10px;
                text-align: center;
            }

            .legal-text {
                order: 3;
            }

           .contact-section {
        order: 2;
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
    
    .contact-links {
        flex-direction: column;
        gap: 5px;
    }
}

        

/* --- ДЛЯ КОГО ЭТА ПРОГРАММА? --- */
.program-for {
  background: #fff;
  border-radius: 30px;
  padding: 60px 40px 80px;
  color: var(--dark);
  max-width: 1200px;
  margin: 0 auto;
}

.program-title {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 30px;
}

.program-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 15px;
  padding: 6px 6px;
  border: 2px solid #1D2633;
  background: #1D2633;
  border-radius: 30px;
}

.tag {
  background: #fff;
  border-radius: 30px;
  padding: 8px 14px;
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap; /* чтобы не переносилось */
}

.icons {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto; /* прижать вправо */
}

.icon {
  background: #1D2633; /* совпадает с фоном блока */
  border-radius: 12px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.program-note {
  font-weight: 600;
  margin: 25px 0 40px;
}

.program-section {
  position: relative; /* ключевой момент! */
  margin-bottom: 20px;
}


.space-address1 {
  background: #00FFAF;
  border-radius: 12px;
  text-align: center;
  font-weight: 600;
  font-size: 16px;
  padding: 12px 0;
   margin-top: 10px;
  /* margin-bottom: 30px; */
  border: 2px solid var(--dark);
  box-shadow: 4px 4px 0 var(--dark);
}

/* Нити */
.threads {
  position: absolute;
  top: 69px; /* регулируешь высоту относительно блока */
  left: 0;
  right: 0;
  height: 160px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 60px;
  z-index: 1;
  pointer-events: none;
}

/* .thread-img {
  width: 180px;
  height: auto;
} */
.thread-img {
  width: 40%;
  aspect-ratio: 3 / 1;
  object-fit: contain;
}
/* Контент */
.program-main {
  position: relative;
  text-align: center;
  z-index: 2; /* теперь контент поверх стрелок */
  padding-top: 10px;
}

.program-cards {
  margin-top:77px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.card {
  background: #00FFAF;
  border: 2px solid var(--dark);
  border-radius: 25px;
  padding: 28px 22px;
  font-weight: 400;
  box-shadow: 4px 4px 0 var(--dark);
  font-size: 15px;
  line-height: 1.4;
}

/* адаптив */
@media (max-width: 992px) {
  .threads {
    display: none;
  }

  .program-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .program-cards {
    grid-template-columns: 1fr;
  }
}



/* footer */
.program-footer {
  display: flex;
  justify-content: center;
    margin-top: 80px;
}

.register-btn {
  background: var(--dark);
  color: #fff;
  padding: 14px 40px;
  font-weight: 600;
  border-radius: 10px;
  border: none;
  text-decoration: none;
  font-size: 14px;
  box-shadow: 0 4px 0 var(--dark);
  transition: transform 0.2s;
}

.register-btn:hover {
  transform: translateY(-2px);
}

/* адаптив */
@media (max-width: 992px) {
  .program-cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .thread { stroke-width: 2.5; }
}

@media (max-width: 600px) {
  .program-cards {
    grid-template-columns: 1fr;
  }
  .program-heading {
    font-size: 17px;
    padding: 14px 24px;
  }
  .program-for {
    padding: 40px 20px;
  }
}
/* --- ЭТАПЫ ОБУЧЕНИЯ --- */
.stage-title {
  background: #00FFAF;
  color: var(--dark);
  text-align: center;
  font-weight: 600;
  padding: 14px 0;
  border-radius: 10px;
  font-size: 21px;
  margin-bottom: 85px;
  border: 2px solid var(--dark);
    box-shadow: 4px 4px 0 var(--dark);
}

.stages-section {
  background-color: #00FFAF;
  border-radius: 20px;
  padding: 60px 20px 80px;
  font-family: 'Pixelify Sans', sans-serif;
  position: relative;
  color: var(--dark) ;
}

.stages-title {
  text-align: center;
  font-size: 28px;
  margin-bottom: 50px;
}

.stages-flow {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  
}

.stage {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 120px;
  position: relative;
  z-index: 2;
}



/* --- Чередование лево/право --- */
.stage-left {
  flex-direction: row;
  margin-left: 40px;
}

.stage-right {
  flex-direction: row-reverse;
   margin-right: 40px;
}

/* --- Карточки --- */
.stage-card {
  background: #fff;
  border: 2px solid var(--dark);
  border-radius: 16px;
  padding: 25px 30px 40px;
  width: 70%;
  box-shadow: 0 5px 0 #861BE3;
  position: relative;
  z-index: 1;
}

.stage-card h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.stage-date {
  display: inline-block;
  background: #7D2DF8;
  color: #fff;
  font-size: 12px;
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 10px;
}

/* --- Иконка поверх карточки --- */
.stage-img {
  width: 200px;
  height: auto;
  position: absolute;
  bottom: -15px;
  z-index: 2;
}

/* Лево/право позиционирование иконок */
.stage-left .stage-img {
  right: -50px;
}

.stage-right .stage-img {
  left: -50px;
}
.stage-right .stage-card {
  text-align: right;
}
/* --- Номера этапов --- */
.stage-number {
  position: absolute;
  background: #fff;
  border: 3px solid var(--dark);
  border-radius: 50%;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  /* box-shadow: 2px 2px 0 var(--dark); */
  z-index: 5;

}

.stage-right .stage-number {

  right: -30px;
  top: -50px;
  
}
.stage-left .stage-number {
  left: -30px;
  /* right: -10px; */
  top: -50px;
  
}

.stage-left .stage-label {
  top: -45px;
  
}

.stage-right .stage-label {
  top: -45px;
  
}

.stage-arrow {
  position: absolute;
  width: 60px;
  height: auto;
  z-index: 1;
  pointer-events: none;
  transform: rotate(3deg) scale(0.80); 
}

.arrow1 {
  top: 295px;
  left: 72%;
}

.arrow2 {
  top: 572px;
  left: 19%;
}

.arrow3 {
  top: 890px;
  left: 70%;
}

/* --- Кнопка --- */
.stages-btn-wrap {
  text-align: center;
  margin-top: 40px;
}

.stages-btn {
  display: inline-block;
  background: #fff;
  border: 2px solid var(--dark);
  border-radius: 8px;
  padding: 20px 46px;
  font-weight: 600;
  font-size: 14px;
  color: var(--dark);
  text-decoration: none;
  box-shadow: 3px 3px 0 #7D2DF8;
  transition: transform 0.1s ease-in-out;margin-bottom: 20px;
}

.stages-btn:hover {
  transform: translateY(-2px);
}



/* ---------- Вынесенные названия этапов (лайт-лейбл над карточкой) ---------- */
.stage-label {
  position: absolute;
  top: -26px;                 /* вынос над карточкой */
  /* left: 10px;                 отступ слева для .stage-left */
  background: #fff;
  border: 3px solid var(--dark);
  border-radius: 6px;
  padding: 6px 20px;
  font-weight: 700;
  font-size: 14px;
  /* box-shadow: 4px 4px 0 var(--dark); */
  z-index: 4;                 /* над карточкой, но под номером (номер z-index:3 уже) */
  white-space: nowrap;
}
.mobile-break {
    display: inline; /* На десктопе показываем в строке */
}

@media (max-width: 768px) {
    .mobile-break {
        display: block; /* Показываем как блок на мобилке */
    }
}


/* --- Мобильная адаптация (до 768px) --- */
@media (max-width: 768px) {
  /* каждый этап — колонкой по центру */
  .stage {
    flex-direction: column !important;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin: 0 auto 80px;
    width: 100%;pri
  }

  /* сбрасываем смещения с десктопа */
  /* .stage-left,
  .stage-right {
    margin-left: 0 !important;
    margin-right: 0 !important;
  } */


  .stage-left .stage-card,
  .stage-right .stage-card {
    text-align: center !important;
  }



  /* карточка по центру */
  .stage-card {
    width: 100%;
    padding: 20px;
    text-align: center;
    margin: 0 auto;
    box-sizing: border-box;
  }

  /* иконки — по центру */
  .stage-left .stage-img,
  .stage-right .stage-img,
  .stage-img {
    position: static;
    margin: 20px auto 0;
    display: block;
    max-width: 180px;
    height: auto;
  }

  /* номера этапов */
  .stage-number {
    position: static;
    margin: 0 auto 10px;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  /* названия этапов */
  .stage-label {
    position: static;
    display: inline-block;
    margin: 0 auto 12px;
    box-shadow: 4px 4px 0 var(--dark);
    text-align: center;
  }

  /* убираем стрелки */
  .stage-arrow {
    display: none !important;
  }

  /* общий контейнер */
  .stages-flow {
    max-width: 100%;
    margin: 0 auto;
  }

  .stages-section {
    border-radius: 0;
    padding: 40px 15px 60px;
  }

  /* кнопка “Регистрация” центрируется автоматически */
  .stages-btn-wrap {
    text-align: center;
    margin-top: 20px;
  }

  .stages-btn {
    width: auto;
    display: inline-block;
  }
}

/* --- МОДУЛИ ПРОГРАММЫ ОБУЧЕНИЯ --- */
.modules-section {
  background: #fff;
  border-radius: 25px;
  padding: 0px 40px 80px;
  max-width: 1200px;
  margin: 0 auto;
  color: var(--dark);
  position: relative;
}

.modules-title {
  text-align: center;
  background:var(--dark);
  color: #fff;
  padding: 14px 0;
  border-radius: 10px;
  font-weight: 600;
  font-size: 21px;
  margin-bottom: 50px;
}

.modules-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: auto auto;
  gap: 60px 50px;
  position: relative;
}

.module-card {
  border: 2px solid var(--dark);
  border-radius: 20px;
  padding: 25px 30px;
  box-shadow: 4px 4px 0 var(--dark);
  background: #fff;
  position: relative;
}

.module-header {
  display: inline-block;
  background: #00FFAF;
  font-weight: 800;
  font-size: 15px;
  padding: 4px 12px;
  border-radius: 5px;
  margin-bottom: 8px;
}

.module-duration {
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 15px;
}

.module-list {
  list-style: none;
  padding: 0;
  margin: 0 0 15px;
  
}

.module-list li,
.sub-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 8px;
}

.module-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 4px;
}

.sub-icon {
  width: 6px;
  height: 6px;
  flex-shrink: 0;
  margin-top: 6px;
}

.module-text {
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 10px;
}

/* центральная иконка */
.modules-icon-center {
  position: absolute;
  width: 50px;
  height: auto;
  left: 50%;
  top: 52%;
transform: translate(-50%, -50%) translate(5%, 100%);;
  z-index: 2;
}

/* адаптив */
@media (max-width: 900px) {
  .modules-section {
    padding: 20px 15px 60px;
    max-width: 100%;        
  }

  .modules-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    width: 100%;            
  }
  .module-card {
    width: 100%;
    padding: 20px;
   
    box-sizing: border-box;  
  }

  .modules-icon-center {
    display: none;
  }
}
/* --- КАМПУС --- */

.space-section {
  background: #fff;
  border-radius: 25px;
  padding: 0px 40px 80px;
  max-width: 1200px;
  margin: 0 auto;
  font-family: 'Inter', sans-serif;
  color: #000;
}

.space-title {
  background: #00FFAF;
  color: var(--dark);
  text-align: center;
  font-weight: 600;
  padding: 14px 0;
  border-radius: 10px;
  font-size: 21px;
  margin-bottom: 45px;
  border: 2px solid var(--dark);
    box-shadow: 4px 4px 0 var(--dark);
}

.space-subtitle {
  text-align: center;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.4;
  margin-bottom: 40px;
}

/* Сетка основной части */
.space-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  align-items: start;
  gap: 40px;
  margin-bottom: 40px;
}

/* Левая колонка */
.space-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.space-item {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 2px solid var(--dark);
  border-radius: 20px;
  padding: 12px 20px;
  box-shadow: 4px 4px 0 var(--dark);
  font-weight: 700;
  font-size: 14px;
}

.space-item img {
  width: 32px;
  height: 32px;
}

/* Правая часть — фон */
.space-main {
  background: url('6screencampus1.jpg') center/cover no-repeat;
  min-height: 400px;
  border-radius: 20px;
  border: 2px solid #000;
  box-shadow: 4px 4px 0 var(--dark);
  position: relative;
  overflow: hidden;
}

/* Адрес */
.space-address {
  background: #00FFAF;
  border-radius: 12px;
  text-align: center;
  font-weight: 600;
  font-size: 16px;
  padding: 12px 0;
  margin-bottom: 30px;
  border: 2px solid var(--dark);
  box-shadow: 4px 4px 0 var(--dark);
}

/* Нижняя галерея — фоновые блоки */
.space-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.space-gallery-item {
  border-radius: 20px;
  border: 2px solid #000;
  box-shadow: 4px 4px 0 #000;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 300px;
  width: 100%;
}

/* Адаптив */
@media (max-width: 900px) {
  .space-grid {
    grid-template-columns: 1fr;
  }

  .space-section {
    padding: 20px 15px 60px; /* уменьшили боковые отступы */
    max-width: 100%;         /* сняли ограничение ширины */
    border-radius: 0;        /* можно, если хочешь «во всю ширину» экрана */
  }

  .space-grid {
    grid-template-columns: 1fr; /* уже есть */
    gap: 20px;
    width: 100%;
  }

  .space-main {
    min-height: 250px;
  }

  .space-gallery {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .space-gallery-item {
    min-height: 220px;
  }

  .space-item {
    font-size: 13px;
    padding: 10px 14px;
  }
}
/* ПАРТНЕРЫ */
.partners-section {
  background: #fff;
  border-radius: 30px;
  padding: 0px 40px 80px;
  color: var(--dark);
  
}

.partners-title {
  text-align: left;
  font-size: 24px;
  font-weight: 900;
  margin-bottom: 30px;
}

.partners-highlight {
  background: #00FFAF;
  border: 2px solid var(--dark);
  border-radius: 20px;
  padding: 20px 25px;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.4;
  margin-bottom: 40px;
  box-shadow: 0 4px 0 var(--dark);
}

.partners-content {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.partners-points {
  flex: 1;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.partners-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  line-height: 1.4;
  font-weight: 600;
}

.partners-item img {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

/* .partners-logos {
  position: relative;
  flex: 0 0 280px;
  text-align: center;
} */

.partners-logos img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.partners-plus {
  display: block;
  font-size: 42px;
  font-weight: 900;
  margin: 10px 0;
}

/* Мобильная адаптация */
@media (max-width: 768px) {
  .partners-section {
    padding: 40px 20px 60px;
  }

  .partners-content {
    flex-direction: column;
    align-items: center;
  }


  .partners-logos {
    width: 100%;
    max-width: 320px;
    display: flex;
    justify-content: center;
    margin: 20px auto 0;
  }
}

/* РЕГИСТРАЦИЯ */
.registration-section {
  background-color: #00ffaf;
  /* border-radius: 24px; */
  padding: 0px 30px;
  text-align: center;
  /* box-shadow: inset 0 0 0 4px #000; */
}

.section-title {
  background: #fff;
  border: 3px solid var(--dark);
  border-radius: 10px;
  display: inline-block;
  padding: 10px 30px;
  font-weight: 700;
  font-size: 20px;
  text-transform: uppercase;
  margin-bottom: 20px;
   box-shadow: inset 0 0 0 4px var(--dark); 
}

.section-subtitle {
  color: var(--dark);
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 40px;
}

.registration-form {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 25px;
  text-align: left;
  position: relative;
}

.input-label {
  font-weight: 700;
  text-transform: uppercase;
  background: #fff;
  display: inline-block;
  padding: 2px 8px;
  border: 3px solid var(--dark);
  border-radius: 5px;
  font-size: 12px;
  margin-bottom: 6px;
}

.input-wrapper {
  position: relative;
}

.input-wrapper input {
  width: 100%;
  border-radius: 20px;
  border: 3px solid var(--dark);
  padding: 15px 55px 15px 15px;
  font-size: 16px;
  font-weight: 500;
  box-shadow: 3px 5px var(--dark);
}

.input-icon {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
}
.field-error {
  color: red;
  font-size: 13px;
  margin-top: 5px;
}
.checkbox-wrapper {
  background: var(--dark);
  color: #fff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  padding: 12px;
  font-size: 12px;
  gap: 10px;
  box-shadow: 3px 4px var(--dark);
}

.checkbox-wrapper input {
  width: 20px;
  height: 20px;
}

.checkbox-label a {
  color: #00ffaf;
  text-decoration: underline;
}

.btn1 {
  background: #fff;
  border: 3px solid var(--dark);
  border-radius: 10px;
  padding: 12px 30px;
  text-transform: uppercase;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 3px 5px var(--dark);
  transition: transform 0.2s;
}

.btn1:hover {
  transform: translateY(-2px);
}

@media (max-width: 600px) {
  .registration-section {
    padding: 40px 20px;
  }
  .section-title {
    font-size: 18px;
  }
  .input-wrapper input {
    font-size: 14px;
  }
  .input-icon {
    width: 22px;
    height: 22px;
  }
}

/* ОТВЕТЫ НА ВОПРОСЫ */

#faq {
  background: #fff;
  border-radius: 30px;
  padding: 0px 40px;
  color: var(--dark);

}



.faq-content {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 40px;
  align-items: start;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.faq-item {
  background: #fff;
  border: 2px solid #000;
  border-radius: 14px;
  box-shadow: 0 3px 0 #000;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-question {
  position: relative;
  cursor: pointer;
  padding: 20px 50px 20px 25px;
  font-weight: 600;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.faq-toggle {
  position: absolute;
  right: 25px;
  width: 18px;
  height: 18px;
}
.faq-toggle::before,
.faq-toggle::after {
  content: '';
  position: absolute;
  top: 8px;
  left: 0;
  width: 18px;
  height: 2px;
  background: #9400FF;
  transition: transform 0.3s ease;
}
.faq-toggle::after {
  transform: rotate(90deg);
}
.faq-item.active .faq-toggle::after {
  transform: rotate(0deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  background: #00FFAF;
  transition: max-height 0.4s ease;
  padding: 0 25px;
  font-weight: 600;
  font-size: 15px;
}

.faq-item.active .faq-answer {
  max-height: 400px;
  padding: 20px 25px;
}

.faq-illustration img {
  width: 80%;
  max-width: 300px;
  display: block;
  margin: 0 auto;
  height: auto;
}

/* Мобильная версия */
@media (max-width: 900px) {
  .faq-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .faq-illustration img {
    max-width: 250px;
  }
}

@media (max-width: 600px) {
  #faq {
    padding: 40px 20px;
  }

  .faq-title {
    font-size: 18px;
    padding: 8px 20px;
  }

  .faq-question {
    font-size: 15px;
    padding: 18px 45px 18px 20px;
  }

  .faq-answer {
    font-size: 14px;
  }
}