/* ----- Courses ----- */
.section-courses {
  padding: var(--space-section-top) 24px var(--space-section-bottom);
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(760px circle at 82% -10%, rgba(15, 86, 182, 0.1) 0%, rgba(15, 86, 182, 0) 62%),
    linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.courses-header {
  max-width: 640px;
  margin: 0 auto var(--space-header-bottom);
  text-align: center;
}

.courses-title {
  margin: 0 0 18px;
  font-size: clamp(1.7rem, 3.8vw, 2.2rem);
  font-weight: 800;
  color: transparent;
  background: linear-gradient(90deg, #0b1f3d 0%, #114a93 50%, #0f62d0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  letter-spacing: 0.03em;
}

.courses-lead {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.9;
  color: #5d6e85;
}

.courses-grid {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-grid-gap);
  position: relative;
  z-index: 1;
}

@media (min-width: 900px) {
  .courses-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-grid-gap);
  }
}

.course-card {
  background: linear-gradient(180deg, #f2f7ff 0%, #edf4ff 100%);
  border: 1px solid rgba(15, 86, 182, 0.12);
  border-radius: 24px;
  padding: var(--space-card-y) var(--space-card-x) calc(var(--space-card-y) + 2px);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.08), 0 4px 12px rgba(15, 23, 42, 0.04);
  transition: box-shadow 0.28s var(--ease), transform 0.28s var(--ease), border-color 0.28s var(--ease);
}

.course-card:hover {
  border-color: rgba(15, 86, 182, 0.2);
  box-shadow: 0 24px 52px rgba(15, 23, 42, 0.1), 0 10px 24px rgba(15, 23, 42, 0.05);
  transform: translateY(-4px);
}

.course-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(145deg, #1f4a93 0%, #123b78 60%, #0f62d0 100%);
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 10px 20px rgba(15, 54, 112, 0.30), inset 0 1px 0 rgba(255, 255, 255, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
}

.course-icon svg {
  width: 28px;
  height: 28px;
  color: var(--white);
  stroke-width: 1.85;
}

.course-head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 18px;
}

.course-head-text {
  flex: 1;
  min-width: 0;
}

.course-title {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 800;
  color: #0b1f3d;
  line-height: 1.4;
}

.course-price {
  margin: 8px 0 0;
  font-size: 1.02rem;
  font-weight: 800;
  color: #0f62d0;
  line-height: 1.4;
}

.course-desc {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.9;
  color: #55657d;
}

.courses-footnote {
  max-width: 1120px;
  margin: clamp(28px, 3vw, 40px) auto 0;
  padding: 0 8px;
  text-align: center;
  font-size: 0.875rem;
  line-height: 1.8;
  color: #5f6e83;
}
