.yrd-wrapper {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  padding: 24px;
}

.yrd-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 20px 60px rgba(0,0,0,.08);
  border: 1px solid rgba(31,61,22,.08);
}

.yrd-heading span {
  display: inline-flex;
  padding: 7px 12px;
  border-radius: 999px;
  background: #f2f7ef;
  color: #1f3d16;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 14px;
}

.yrd-heading h2 {
  margin: 0 0 10px;
  color: #111;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.08;
  letter-spacing: -.04em;
}

.yrd-heading p {
  margin: 0 0 28px;
  color: #555;
  font-size: 16px;
  line-height: 1.6;
}

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

.yrd-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.yrd-full { grid-column: 1 / -1; }

.yrd-field label {
  font-size: 14px;
  font-weight: 600;
  color: #222;
}

.yrd-field input,
.yrd-field select,
.yrd-field textarea {
  width: 100%;
  border: 1px solid #e2e2e2;
  border-radius: 14px;
  padding: 14px 15px;
  font-size: 15px;
  color: #111;
  background: #fbfbfb;
  outline: none;
  transition: .2s ease;
  box-sizing: border-box;
}

.yrd-field input:focus,
.yrd-field select:focus,
.yrd-field textarea:focus {
  border-color: #1f3d16;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(31,61,22,.08);
}

.yrd-field input[readonly] {
  background: #f4f4f4;
  cursor: not-allowed;
}

.yrd-consent {
  display: flex !important;
  flex-direction: row !important;
  gap: 10px !important;
  align-items: flex-start !important;
  font-size: 14px !important;
  line-height: 1.5;
}

.yrd-consent input {
  width: auto !important;
  margin-top: 3px;
}

.yrd-hp-field {
  position: absolute !important;
  left: -99999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.yrd-submit {
  margin-top: 24px;
  border: 0;
  border-radius: 999px;
  padding: 15px 28px;
  background: #111;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(0,0,0,.18);
}

.yrd-submit:hover { transform: translateY(-1px); }
.yrd-submit:disabled { opacity: .6; cursor: not-allowed; }

.yrd-message {
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.5;
}
.yrd-message.success { color: #176b2c; }
.yrd-message.error { color: #b42318; }
.yrd-message.info { color: #444; }

@media (max-width:767px) {
  .yrd-wrapper { padding: 14px; }
  .yrd-card { padding: 22px; border-radius: 20px; }
  .yrd-grid { grid-template-columns: 1fr; }
}
