.sp-page {
  background: #ffffff;
  color: #2d3436;
}

.sp-hero {
  padding: 16px 0 6px;
}

.sp-hero-inner {
  min-height: 180px;
  display: flex;
  align-items: center;
  gap: 18px;
  border: 2px solid #f1c40f;
  border-radius: 20px;
  padding: 22px;
  background: linear-gradient(135deg, #ffffff 0%, #f8fefb 100%);
}

.sp-hero-badge {
  width: 128px;
  height: 128px;
  border: 3px solid #f1c40f;
  border-radius: 50%;
  background: #2c3e50;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 52px;
  flex: 0 0 128px;
}

.sp-hero-copy h1 {
  margin: 0;
  color: #2c3e50;
  font-size: 32px;
  line-height: 1.24;
  font-weight: 700;
}

.sp-hero-copy p {
  margin: 10px 0 0;
  color: #2d3436;
  font-size: 16px;
  max-width: 760px;
}

.sp-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.sp-hero-tags span {
  border: 1px solid #2ecc71;
  color: #2c3e50;
  background: #ffffff;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  padding: 7px 12px;
}

.sp-main {
  padding: 10px 0 30px;
}

.sp-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 18px;
}

.sp-card {
  background: #ffffff;
  border: 1px solid #deebf2;
  border-radius: 14px;
  padding: 20px;
  margin-bottom: 14px;
}

.sp-card h2 {
  margin: 0 0 10px;
  color: #2c3e50;
  font-size: 24px;
}

.sp-card h3 {
  margin: 16px 0 8px;
  color: #2c3e50;
  font-size: 19px;
}

.sp-card p {
  margin: 0 0 10px;
  color: #2d3436;
  line-height: 1.7;
}

.sp-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.sp-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
  line-height: 1.6;
}

.sp-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2ecc71;
}

.sp-aside-card {
  background: #ffffff;
  border: 1px solid #deebf2;
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 14px;
}

.sp-aside-card h3 {
  margin: 0 0 10px;
  color: #2c3e50;
  font-size: 18px;
}

.sp-aside-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.sp-aside-links li {
  margin-bottom: 8px;
}

.sp-aside-links a {
  color: #2c3e50;
  font-weight: 600;
}

.sp-aside-links a:hover {
  color: #2ecc71;
}

.sp-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.sp-field {
  margin-bottom: 12px;
}

.sp-field label {
  display: block;
  font-size: 13px;
  color: #2c3e50;
  font-weight: 600;
  margin-bottom: 6px;
}

.sp-field input,
.sp-field textarea {
  width: 100%;
  border: 1px solid #cfe0ea;
  border-radius: 10px;
  min-height: 44px;
  padding: 10px 12px;
  color: #2d3436;
  font-family: inherit;
  font-size: 14px;
  background: #ffffff;
}

.sp-field textarea {
  min-height: 130px;
  resize: vertical;
}

.sp-field input:focus,
.sp-field textarea:focus {
  outline: 0;
  border-color: #2ecc71;
  box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.18);
}

.sp-btn {
  border: 0;
  border-radius: 10px;
  background: #2ecc71;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  padding: 12px 20px;
  cursor: pointer;
}

.sp-btn:hover {
  background: #2c3e50;
}

.sp-alert {
  border-radius: 10px;
  padding: 10px 12px;
  margin-bottom: 12px;
  font-size: 14px;
}

.sp-alert-success {
  border: 1px solid #2ecc71;
  background: #f1fff7;
  color: #2c3e50;
}

.sp-alert-error {
  border: 1px solid #f1c40f;
  background: #fffbea;
  color: #2c3e50;
}

.sp-note {
  color: #2c3e50;
  font-weight: 600;
}

@media (max-width: 980px) {
  .sp-layout {
    grid-template-columns: 1fr;
  }

  .sp-hero-inner {
    flex-direction: column;
    text-align: center;
  }

  .sp-hero-tags {
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .sp-hero-copy h1 {
    font-size: 25px;
  }

  .sp-hero-badge {
    width: 100px;
    height: 100px;
    flex: 0 0 100px;
    font-size: 38px;
  }

  .sp-form-grid {
    grid-template-columns: 1fr;
  }
}
