.ubc-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 20px;
  color: #2A3550;
}

.ubc-hero {
  background: #FAFAF5;
  border-radius: 24px;
  padding: 48px;
  margin-bottom: 40px;
}

.ubc-hero-inner {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: 40px;
}

.ubc-hero-text {
  min-width: 0;
}

.ubc-hero-image img {
  width: 100%;
  max-width: 760px;
  height: auto;
  display: block;
  margin-left: auto;
  border-radius: 14px;
}

.ubc-label,
.ubc-result-label {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: #2e7d32;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 18px;
}

.ubc-hero h1 {
  margin: 0 0 24px;
  font-size: 38px;
  line-height: 1.45;
  color: #2A3550;
}

.ubc-hero-lead {
  margin-bottom: 18px;
  line-height: 2;
  color: #2A3550;
}

.ubc-form {
  background: #fff;
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 12px 32px rgba(42, 53, 80, 0.08);
}

.ubc-form h2 {
  margin-top: 0;
  font-size: 30px;
  color: #2A3550;
}

.ubc-form-lead {
  margin-bottom: 28px;
  line-height: 1.9;
}

.ubc-field {
  margin-bottom: 24px;
}

.ubc-field label {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
  color: #2A3550;
}

.ubc-field select,
.ubc-field textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 14px;
  border: 1px solid rgba(42, 53, 80, 0.18);
  border-radius: 12px;
  font-size: 16px;
  background-color: #fff;
  color: #2A3550;
}

.ubc-field select {
  appearance: auto;
  -webkit-appearance: menulist;
  min-height: 48px;
}

.ubc-field textarea {
  resize: vertical;
}

.ubc-actions {
  margin-top: 30px;
}

.ubc-button,
.ubc-cta {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 999px;
  border: none;
  background: #2e7d32;
  color: #fff !important;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: 0.2s ease;
}

.ubc-button:hover,
.ubc-cta:hover {
  opacity: 0.86;
}

.ubc-result {
  background: #FAFAF5;
  border-left: 6px solid #2e7d32;
  border-radius: 18px;
  padding: 30px;
  margin-bottom: 32px;
}

.ubc-result h2 {
  margin-top: 0;
  font-size: 25px;
  color: #2A3550;
}

.ubc-result p {
  line-height: 1.9;
}

.ubc-result-box {
  margin: 22px 0;
  padding: 18px 20px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(42, 53, 80, 0.12);
}

.ubc-result-box p {
  margin: 0;
  font-weight: 700;
}

@media (max-width: 768px) {
  .ubc-wrap {
    padding: 24px 16px;
  }

  .ubc-hero,
  .ubc-form,
  .ubc-result {
    padding: 24px 20px;
  }

  .ubc-hero-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .ubc-hero h1 {
    font-size: 28px;
  }

  .ubc-hero-image img {
    max-width: 100%;
    margin: 0 auto;
  }

  .ubc-button,
  .ubc-cta {
    width: 100%;
    text-align: center;
  }
}