* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  line-height: 1.5;
  color: #3e3e4f;
  background: #f9f7fb;
}

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

.hero {
  background: linear-gradient(135deg, #d7e9ff, #f7dff2);
  padding: 56px 0 46px;
}

h1,
h2,
h3 {
  margin-top: 0;
  color: #30304a;
}

.subtitle {
  max-width: 780px;
  font-size: 1.1rem;
}

.event-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.meta-card,
.instructor-card,
.price-card {
  background: #fff9fb;
  border: 1px solid #eddcf0;
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 5px 14px rgba(80, 58, 90, 0.08);
}

.section {
  padding: 54px 0;
}

.section-soft {
  background: #f3f8ff;
}

ul {
  padding-left: 18px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chips span {
  background: #efe9ff;
  color: #3d3a57;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid #dfd4ff;
}

.image-section img {
  display: block;
  width: 100%;
  max-height: 460px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 12px 26px rgba(35, 26, 52, 0.2);
}

.instructors,
.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
}

.prices {
  background: #f7eef9;
}

.price {
  font-size: 1.5rem;
  font-weight: bold;
  margin: 8px 0;
}

.cta-btn {
  margin-top: 22px;
  border: 0;
  border-radius: 12px;
  background: #c77dff;
  color: #fff;
  padding: 13px 24px;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.cta-btn:hover {
  transform: translateY(-1px);
  opacity: 0.92;
}

.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(40, 36, 56, 0.55);
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.modal.open {
  display: flex;
}

.modal-content {
  width: min(520px, 100%);
  background: #fff;
  border-radius: 14px;
  padding: 22px;
  position: relative;
}

.close-btn {
  position: absolute;
  right: 10px;
  top: 6px;
  border: 0;
  background: transparent;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  color: #6f5f7d;
}

form {
  display: grid;
  gap: 10px;
}

input {
  width: 100%;
  border: 1px solid #dacde9;
  border-radius: 9px;
  padding: 10px 12px;
  font-size: 1rem;
}

.form-message {
  margin: 10px 0 0;
  min-height: 1.4em;
}
