/* =========================================
   ГЛОБАЛЬНЫЕ СТИЛИ
   ========================================= */
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  background: linear-gradient(135deg, #1e3c2f 0%, #2d5a45 100%);
  min-height: 100vh;
}

/* =========================================
   УВЕДОМЛЕНИЕ (UIKit-стиль)
   ========================================= */
.compact-warning {
  background-color: #fff0f0;
  color: #cc0000;
  padding: 10px 15px;
  font-size: 14px;
  line-height: 1.4;
  border-bottom: 1px solid #ffcccc;
}

@media (max-width: 640px) {
  .compact-warning {
    padding: 8px 10px;
    font-size: 13px;
  }
}

/* =========================================
   ШАПКА САЙТА
   ========================================= */
.site-header {
  background: #fff;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  padding: 20px 0;
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 70px;
  width: auto;
}

.phones-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.phone-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #1e3c2f;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  transition: color 0.3s;
}

.phone-item:hover {
  color: #2d5a45;
}

.phone-item i {
  color: #c41e3a;
  font-size: 14px;
}

.phone-name {
  color: #666;
  font-size: 14px;
  font-weight: 400;
  margin-left: 5px;
}

.header-contacts {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #1e3c2f;
  text-decoration: none;
  font-size: 15px;
  transition: color 0.3s;
}

.contact-link:hover {
  color: #2d5a45;
}

.contact-link i {
  color: #c41e3a;
}

.social-links {
  display: flex;
  gap: 10px;
}

.social-link {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #1e3c2f;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  transition: all 0.3s;
}

.social-link:hover {
  background: #c41e3a;
  transform: translateY(-2px);
}

.social-link.telegram {
  background: #0088cc;
}

.social-link.telegram:hover {
  background: #006699;
}

.social-link i {
  font-size: 18px;
}

/* =========================================
   СЕКЦИЯ ПРОГРАММ
   ========================================= */
.programs-section {
  padding: 60px 0 80px;
  background: linear-gradient(135deg, #1e3c2f 0%, #2d5a45 100%);
  position: relative;
}

.programs-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
  pointer-events: none;
}

.section-title {
  color: #fff;
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 10px;
  text-align: center;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 1;
}

.section-subtitle {
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 50px;
  text-align: center;
  letter-spacing: 2px;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
  position: relative;
  z-index: 1;
}

.program-card {
  background: linear-gradient(135deg, #c41e3a 0%, #8b1538 100%);
  border-radius: 15px;
  padding: 30px 25px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.program-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s;
}

.program-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.program-card:hover::before {
  opacity: 1;
}

.program-duration {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 15px;
  position: relative;
  z-index: 1;
}

.program-price {
  margin-bottom: 15px;
  position: relative;
  z-index: 1;
}

.price-main {
  font-size: 32px;
  font-weight: 700;
  color: #fff;
  display: block;
}

.program-dates {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 25px;
  line-height: 1.4;
  position: relative;
  z-index: 1;
}

.program-button-container {
  position: relative;
  z-index: 1;
}

.btn-select {
  background: linear-gradient(135deg, #ff6b6b 0%, #ee5a5a 100%) !important;
  color: #fff !important;
  padding: 15px 40px !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  border-radius: 30px !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  box-shadow: 0 5px 15px rgba(238, 90, 90, 0.4);
  transition: all 0.3s ease !important;
  border: none !important;
  cursor: pointer;
}

.btn-select:hover {
  background: linear-gradient(135deg, #ff5252 0%, #e04848 100%) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 20px rgba(238, 90, 90, 0.6) !important;
}

/* =========================================
   АДАПТИВНОСТЬ
   ========================================= */
@media (max-width: 960px) {
  .header-top {
    flex-direction: column;
    align-items: stretch;
  }

  .logo {
    justify-content: center;
  }

  .logo img {
    height: 60px;
  }

  .phones-block {
    align-items: center;
  }

  .header-contacts {
    align-items: center;
  }

  .programs-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .section-title {
    font-size: 36px;
  }

  .section-subtitle {
    font-size: 18px;
  }
}

@media (max-width: 640px) {
  .logo img {
    height: 50px;
  }

  .phone-item {
    font-size: 15px;
  }

  .phone-name {
    font-size: 13px;
  }

  .contact-link {
    font-size: 14px;
  }

  .programs-section {
    padding: 40px 0 60px;
  }

  .section-title {
    font-size: 28px;
  }

  .section-subtitle {
    font-size: 16px;
    margin-bottom: 35px;
  }

  .program-card {
    padding: 25px 20px;
  }

  .program-duration {
    font-size: 20px;
  }

  .price-main {
    font-size: 26px;
  }

  .program-dates {
    font-size: 14px;
  }

  .btn-select {
    padding: 12px 30px !important;
    font-size: 16px !important;
  }
}

/* =========================================
   ИНФОРМАЦИОННЫЕ СЕКЦИИ
   ========================================= */
.info-section {
  padding: 70px 0;
  background: linear-gradient(135deg, #1e3c2f 0%, #2d5a45 100%);
  position: relative;
}

.info-section-alt {
  background: linear-gradient(135deg, #2d5a45 0%, #1e3c2f 100%);
}

.info-section-final {
  background: linear-gradient(135deg, #c41e3a 0%, #8b1538 100%);
  padding: 80px 0;
}

.section-title-white {
  color: #fff;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 40px;
  text-align: center;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.info-block {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.info-subtitle {
  color: #1e3c2f;
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 20px;
  text-align: center;
}

.info-text {
  color: #444;
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 25px;
  text-align: center;
}

.info-text-large {
  color: #1e3c2f;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.6;
  margin-bottom: 20px;
  text-align: center;
}

.info-text-highlight {
  color: #c41e3a;
  font-size: 18px;
  font-weight: 600;
  text-align: center;
  margin-top: 25px;
}

/* Сетка фич */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
  margin: 30px 0;
}

.feature-item {
  display: flex;
  gap: 15px;
  align-items: flex-start;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.feature-item:hover {
  background: #e9ecef;
  transform: translateY(-3px);
}

.feature-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #c41e3a 0%, #8b1538 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-icon i {
  color: #fff;
  font-size: 22px;
}

.feature-content h4 {
  color: #1e3c2f;
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 5px;
}

.feature-content p {
  color: #666;
  font-size: 14px;
  line-height: 1.4;
  margin: 0;
}

/* Список активностей */
.activities-list {
  margin: 30px 0;
}

.activity-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 18px;
  margin-bottom: 15px;
  background: #f8f9fa;
  border-radius: 10px;
  border-left: 4px solid #c41e3a;
  transition: all 0.3s ease;
}

.activity-item:hover {
  background: #e9ecef;
  transform: translateX(5px);
}

.activity-item i {
  font-size: 28px;
  color: #c41e3a;
  flex-shrink: 0;
  margin-top: 3px;
}

.activity-item h4 {
  color: #1e3c2f;
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 3px;
}

.activity-item p {
  color: #666;
  font-size: 14px;
  margin: 0;
}

/* Выделенный блок */
.info-highlight-box {
  background: linear-gradient(135deg, #f0f8fc 0%, #e0f0fa 100%);
  border: 2px solid #c41e3a;
  border-radius: 12px;
  padding: 25px;
  margin-top: 30px;
}

.info-highlight-box p {
  color: #1e3c2f;
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 10px;
}

.info-highlight-box p:last-child {
  margin-bottom: 0;
}

.info-text-block {
  margin-top: 30px;
  padding-top: 30px;
  border-top: 2px dashed #dee2e6;
}

.info-text-block p {
  color: #444;
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 12px;
}

/* Специальные фичи */
.special-features {
  margin: 30px 0;
}

.special-feature {
  display: flex;
  gap: 25px;
  align-items: flex-start;
  padding: 25px;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #fff5f5 0%, #ffe5e5 100%);
  border-radius: 15px;
  border: 2px solid #c41e3a;
  transition: all 0.3s ease;
}

.special-feature:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(196, 30, 58, 0.2);
}

.special-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #c41e3a 0%, #8b1538 100%);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.special-icon i {
  color: #fff;
  font-size: 32px;
}

.special-content h3 {
  color: #1e3c2f;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.special-content p {
  color: #444;
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}

/* Список удобств */
.comfort-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.comfort-list li {
  color: #444;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.comfort-list li i {
  color: #c41e3a;
  font-size: 16px;
  width: 20px;
}

/* Финальный блок */
.final-block {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.final-text {
  color: #fff;
  font-size: 20px;
  line-height: 1.8;
  margin-bottom: 20px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.final-highlight {
  background: rgba(255, 255, 255, 0.2);
  border: 3px solid #fff;
  border-radius: 15px;
  padding: 30px;
  margin: 40px 0;
}

.final-highlight p {
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.6;
  margin: 0;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Кнопки CTA */
.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 40px;
}

.btn-select-large {
  background: linear-gradient(135deg, #fff 0%, #f0f0f0 100%) !important;
  color: #c41e3a !important;
  padding: 18px 50px !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  border-radius: 35px !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease !important;
  border: none !important;
  text-decoration: none;
  display: inline-block;
}

.btn-select-large:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4) !important;
}

.btn-outline-large {
  background: transparent !important;
  color: #fff !important;
  padding: 18px 50px !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  border-radius: 35px !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  border: 3px solid #fff !important;
  transition: all 0.3s ease !important;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-outline-large:hover {
  background: #fff !important;
  color: #c41e3a !important;
  transform: translateY(-3px) !important;
}

/* =========================================
   АДАПТИВНОСТЬ ДЛЯ ИНФО-СЕКСИЙ
   ========================================= */
@media (max-width: 960px) {
  .features-grid {
    grid-template-columns: 1fr;
  }

  .comfort-list {
    grid-template-columns: 1fr;
  }

  .special-feature {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .info-section {
    padding: 50px 0;
  }

  .info-section-final {
    padding: 60px 0;
  }

  .section-title-white {
    font-size: 28px;
    margin-bottom: 30px;
  }

  .info-block {
    padding: 30px 20px;
  }

  .info-subtitle {
    font-size: 22px;
  }

  .info-text,
  .info-text-large {
    font-size: 16px;
  }

  .feature-item,
  .activity-item {
    padding: 15px;
  }

  .special-feature {
    padding: 20px;
  }

  .special-icon {
    width: 60px;
    height: 60px;
  }

  .special-icon i {
    font-size: 28px;
  }

  .final-text {
    font-size: 17px;
  }

  .final-highlight p {
    font-size: 18px;
  }

  .cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .btn-select-large,
  .btn-outline-large {
    padding: 15px 35px !important;
    font-size: 17px !important;
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}