/* ========== БАЗОВЫЙ СБРОС ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ========== ГЕРОЙ (HERO SECTION) ========== */
.hero-section {
  background: #fafafa;
}

.hero-image {
  max-width: 800px;
}

/* ========== ИКОНКИ (FEATURE ICONS) ========== */
.feature-icon {
  width: 48px;
  height: 48px;
}

/* ========== ЦВЕТА И ФОНЫ ========== */
.bg-black {
  background-color: #111 !important;
}

.bg-light {
  background-color: #f8f9fa !important;
}

.bg-white {
  background-color: #fff !important;
}

.text-white {
  color: white !important;
}

.text-dark {
  color: #212529 !important;
}

.text-center {
  text-align: center !important;
}

/* ========== ТЕКСТ ========== */
h1, h2 {
  color: black;
  line-height: 1.2;
}

/* ========== ЗАКЛЮЧИТЕЛЬНЫЙ CTA (Final Call to Action) ========== */
.final-cta {
  background: url('final-cta-bg.jpg') center/cover no-repeat;
}

/* ========== СЕКЦИЯ WELCOME ========== */
.welcome-section {
  background-color: #111;
  color: white;
  padding: 110px 20px;
}

.welcome-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.welcome-left {
  flex: 1;
  min-width: 250px;
}

.welcome-left h2 {
  font-size: 2.5rem;
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 0;
  color: white;
}

.welcome-right {
  flex: 1;
  min-width: 250px;
}

.welcome-right p {
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 500px;
}

/* ========== FOOTER ========== */
.footer {
  background-color: #111 !important;
  color: white !important;
  text-align: center;
  padding: 40px 0;
  font-size: 0.875rem;
}

/* ========== НАША КОМАНДА (OUR TEAM SECTION) ========== */
.our-team-section {
  background-color: #f8f9fa;
}

.team-member {
  cursor: pointer;
  transition: transform 0.3s ease;
  margin-bottom: 30px;
}

.team-member:hover {
  transform: scale(1.05);
}

.team-photo {
  width: 220px;
  height: 220px;
  object-fit: cover;
  border-radius: 50%;
  border: 5px solid #000;
  transition: border-color 0.3s ease;
  display: block;
  margin: 0 auto;
}

.team-member:hover .team-photo {
  border-color: #fff;
}

.team-modal {
  border-radius: 15px;
  animation: flipIn 0.5s ease-in-out;
  background: #fff;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.2);
}

.team-modal-photo {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #000;
  margin: 0 auto;
}

@keyframes flipIn {
  from {
    transform: rotateY(90deg);
    opacity: 0;
  }
  to {
    transform: rotateY(0);
    opacity: 1;
  }
}

/* ========== ИНСТРУКЦИИ / GUIDE PAGE ========== */
.guide-block h2 {
  font-weight: 600;
}

.guide-box {
  border-radius: 6px;
  background: #fff;
}

/* ========== АДАПТАЦИЯ ДЛЯ МОБИЛЬНЫХ ========== */
@media (max-width: 767px) {
  .hero-image {
    max-width: 370px; 
  }

  .feature-icon {
    width: 36px;
    height: 36px;
  }

  .welcome-container {
    flex-direction: column;
    text-align: center;
  }

  .welcome-left h2 {
    font-size: 2rem;
  }

  .welcome-right p {
    margin-top: 20px;
  }

  .team-photo,
  .team-modal-photo {
    width: 220px;
    height: 220px;
  }

  .our-team-section .row > div {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .our-team-section h2 {
    font-size: 1.8rem;
  }
}
