/* === ОСНОВНЫЕ НАСТРОЙКИ === */
body {
  margin: 0;
  padding: 0;
  font-family: 'Montserrat', sans-serif;
  background-color: #ffffff;
  color: #333;
  line-height: 1.75;
}

h1, h2, h3, h4 {
  font-family: 'Unbounded', sans-serif;
  color: #333;
}

a {
  color: #266fb5;
  text-decoration: none;
}

button {
  background-color: #266fb5;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  color: white;
  border: none;
  border-radius: 12px;
  padding: 24px 42px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s ease;
}

button:hover {
  background-color: #1e3a8a;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* === ШАПКА === */
.site-header {
  background: #f9f9f9;
  border-bottom: 1px solid #ddd;
  padding: 20px 0;
  font-size: 1.1rem;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* === ГЕРОЙ === */
.hero {
  background: linear-gradient(to right, #e3f2fd, #f8fbff);
  padding: 60px 0;
}

.hero-card {
  background: white;
  border-radius: 20px;
  padding: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
}

.hero-content {
  flex: 1 1 400px;
}

.hero-content h1 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 1.2rem;
  color: #555;
  margin-bottom: 30px;
}

.hero-image {
  flex: 1 1 300px;
  text-align: center;
}

.hero-image img {
  max-width: 100%;
  border-radius: 16px;
}

/* === ПРЕИМУЩЕСТВА === */
.advantages {
  padding: 60px 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.advantages .grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

@media (max-width: 992px) {
  .advantages .grid {
    grid-template-columns: 1fr;
  }
}

.advantage {
  background: linear-gradient(145deg, #e3f2fd, #f8fbff);
  border: 1px solid #bdd7f2;
  border-radius: 20px;
  padding: 30px;
  text-align: center;
}

.advantage .icon {
  font-size: 2rem;
  color: #266fb5;
  margin-bottom: 12px;
}

.advantage h3 {
  color: #266fb5;
  margin-bottom: 10px;
}

/* === О ПРОФЕССИИ === */
.about-profession {
  background: #fff;
  padding: 60px 0;
}

.about-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  align-items: center;
}

.about-wrapper img {
  flex: 1 1 400px;
  max-width: 400px;
  border-radius: 16px;
}

.about-wrapper .text {
  flex: 1 1 400px;
}

/* === НАВЫКИ === */
.skills {
  background: #f1f7ff;
  padding: 60px 0;
  position: relative;
  text-align: center;
  overflow: hidden;
}

.skills h2 {
  font-size: 2rem;
  margin-bottom: 40px;
}

.skills-clean {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 800px;
  text-align: left;
  position: relative;
  z-index: 1;
}

.skills-clean li {
  font-size: 1.25rem;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: #333;
  line-height: 1.9;
}

.skills-clean i {
  font-size: 1.5rem;
  color: #266fb5;
  flex-shrink: 0;
}

.skills-overlay {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 280px;
  opacity: 0.12;
  pointer-events: none;
  z-index: 0;
}

/* === ДЛЯ КОГО === */
.for-whom {
  background: #f0f4ff;
  padding: 60px 0;
  text-align: center;
}

.for-whom .grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.card {
  background: white;
  border-radius: 20px;
  padding: 25px;
  border: 1px solid #bdd7f2;
  position: relative;
  text-align: left;
}

.card .checkmark {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 1.2rem;
  color: #266fb5;
}

.card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.card p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.6;
}

/* === ПРОГРАММА === */
.program {
  background: #fff;
  padding: 60px 0;
  text-align: center;
}

.program-intro {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  margin-bottom: 60px;
}

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

.program-intro .text {
  flex: 1 1 500px;
}

.program-intro .image {
  flex: 1 1 400px;
}

.program-intro .image img {
  width: 80%;
  border-radius: 16px;
}

.program-content {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 30px 0;
}

.module-card {
  flex: 1 1 45%;
  background: linear-gradient(to top right, #e3f2fd, #f8fbff);
  border: 1px solid #bdd7f2;
  border-radius: 16px;
  padding: 20px 24px;
  position: relative;
  text-align: left;
  overflow: hidden;
}

.module-card ul {
  font-size: 1.2rem;
  padding-left: 5px;
  margin-top: 12px;
  list-style-type: none;
}

.module-card li {
  margin-bottom: 16px;
  color: #333;
}

.module-card li i {
  margin-right: 5px;
}

.module-card .corner-img {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 300px;
  transform: translate(20%, 8%);
  pointer-events: none;
}

.program-details {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 40px 0;
}

.info-box {
  flex: 1 1 30%;
  background: #f4f9ff;
  border: 1px solid #bdd7f2;
  border-radius: 14px;
  padding: 20px;
  text-align: left;
}

/* === ЦЕНА === */
.price-centered {
  background: #e3f2fd;
  padding: 60px 20px;
  border-radius: 20px;
  margin: 60px auto;
}

.price-box {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  background: #fff;
  border: 1px solid #bdd7f2;
  border-radius: 20px;
  padding: 40px 30px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.price-subtitle {
  font-size: 1rem;
  color: #666;
  margin-bottom: 10px;
}

.price-title {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #266fb5;
}

.price-big {
  margin-bottom: 20px;
}

.price-amount {
  font-size: 2.5rem;
  font-weight: bold;
  color: #333;
}

.price-note {
  font-size: 1rem;
  color: #666;
  margin: 8px 0;
}

.price-label {
  border: 2px #266fb5 solid;
  color: #266fb5;
  font-weight: 600;
  padding: 6px 12px;
  font-size: 0.9rem;
  border-radius: 8px;
  margin-top: 25px;
  display: inline-block;
}

.price-benefits {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  text-align: left;
  display: inline-block;
}

.price-benefits li {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #333;
  display: flex;
  align-items: center;
}

.price-benefits i {
  font-size: 1.2rem;
  margin-right: 10px;
  color: #266fb5;
}

/* === ЛАБОРАТОРИЯ === */
.lab-highlight {
  background: #e3f2fd;
  padding: 60px 20px;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
}

.lab-highlight .container {
  position: relative;
  z-index: 1;
}

.lab-content {
  max-width: 800px;
  text-align: left;
}

.lab-content h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #333;
}

.lab-content p {
  font-size: 1.25rem;
  color: #333;
  line-height: 1.8;
}

.lab-image {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 300px;
  transform: translate(24%, 50%);
  pointer-events: none;
  z-index: 0;
}

/* === ФОРМА === */
.contact-form {
  background: #f9f9f9;
  padding: 60px 0;
}

.form-card {
  background: #fff;
  border-radius: 20px;
  padding: 30px;
  max-width: 600px;
  margin: 0 auto;
  border: 1px solid #bdd7f2;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.form-card a {
  font-weight: 600;
  color: #266fb5;
}

/* === ФУТЕР === */
footer {
  background: #f1f1f1;
  border-top: 1px solid #ddd;
  padding: 20px;
  text-align: center;
  font-size: 0.9rem;
  color: #777;
}

/* === ОБЩАЯ АДАПТИВНОСТЬ === */
@media (max-width: 1280px) {
  .hero-card {
    margin: 0 20px 0 20px;
  }
}

@media (max-width: 1092px) {
  .lab-image {
    width: 180px; 
  }
}

@media (max-width: 992px) {
  h1 {
    font-size: 2rem;
  }

  .hero-card {
    margin: 10px;
    flex-direction: column;
    padding: 30px;
  }

  .hero-image {
    display: none;
  }

  .hero-content h1 {
    font-size: 1.5rem;
  }

  .program-content {
    flex-direction: column;
  }

  .skills h2,
  .lab-content h2 {
    font-size: 1.75rem;
  }

  .skills-clean li {
    font-size: 1.1rem;
  }

  .lab-image {
    display: none;
  }

  .program-intro .image {
    display: none;
  }

  .about-wrapper .image {
    display: none;
  }
}

@media (max-width: 576px) {
  h1, h2, h3, h4 {
    overflow-wrap: break-word;
  }

  h1 {
    font-size: 1.6rem;
  }

  h2 {
    font-size: 1.4rem;
  }

  .hero-content p,
  .form-card p,
  .price-note,
  .price-subtitle {
    font-size: 1rem;
  }

  .hero-card {
    padding: 20px;
  }

  .form-card {
    padding: 20px;
  }

  .price-box {
    padding: 30px 20px;
  }

  .price-title {
    font-size: 1.2rem;
  }

  .price-benefits {
    margin-top: 5px;
  }

  .price-benefits li {
    font-size: 0.8rem;
  }

  .skills-clean li {
    font-size: 1rem;
    gap: 10px;
  }

  .module-card .corner-img {
    display: none;
  }

  .module-card ul li {
    font-size: 1rem;
  }

  .checkmark i {
    display: none;
  }
}

  /* === ВИДЕО === */
  .video-section {
    background: #f9fbff;
    padding: 30px 0;
    text-align: center;
  }
  
  .video-wrapper {
    margin: 20px auto 0;
    border-radius: 16px;
    overflow: hidden;
    max-width: 800px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  }
  
  .video-wrapper iframe {
    vertical-align: bottom;
  }