.rj1-contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: start;
}

.rj1-contact-form-wrap {
  background: #fff;
  border-radius: 20px;
  padding: 40px 44px;
  border: 1px solid rgba(34, 38, 46, 0.08);
  box-shadow: 0 16px 40px -28px rgba(18, 63, 111, 0.3);
}

.rj1-contact-form-title {
  margin-bottom: 8px;
  font-size: 28px;
}

.rj1-contact-form-copy {
  margin: 0 0 28px;
  font-size: 15px;
  color: var(--rj1-body);
}

.rj1-honeypot-field {
  display: none !important;
  position: absolute;
  left: -9999px;
}

#contactForm [hidden],
#privacyChoicesForm [hidden] {
  display: none !important;
}

#contactForm .fields,
#contactForm .field,
#privacyChoicesForm .fields,
#privacyChoicesForm .field {
  display: flex;
  flex-direction: column;
}

#contactForm .fields,
#privacyChoicesForm .fields {
  gap: 20px;
}

#contactForm .field,
#privacyChoicesForm .field {
  gap: 10px;
}

#contactForm fieldset.field,
#privacyChoicesForm fieldset.field {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}

#contactForm .hidden,
#privacyChoicesForm .hidden {
  display: none;
}

#contactForm label,
#contactForm legend,
#privacyChoicesForm label,
#privacyChoicesForm legend {
  font-size: 14px;
  font-weight: 700;
  color: var(--rj1-ink);
}

#contactForm legend,
#privacyChoicesForm legend {
  margin-bottom: 12px;
}

#contactForm .required,
#privacyChoicesForm .required {
  color: #bf5b46;
}

#contactForm input,
#contactForm textarea,
#contactForm select,
#privacyChoicesForm input,
#privacyChoicesForm textarea,
#privacyChoicesForm select {
  width: 100%;
  border: 1.5px solid rgba(34, 38, 46, 0.15);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 15px;
  font-family: inherit;
  color: var(--rj1-ink);
  background: #fafaf8;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  resize: vertical;
  outline: none;
}

#contactForm input:focus,
#contactForm textarea:focus,
#contactForm select:focus,
#privacyChoicesForm input:focus,
#privacyChoicesForm textarea:focus,
#privacyChoicesForm select:focus {
  border-color: var(--rj1-blue);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(66, 111, 196, 0.12);
}

#contactForm input::placeholder,
#contactForm textarea::placeholder,
#privacyChoicesForm input::placeholder,
#privacyChoicesForm textarea::placeholder {
  color: #b8b2ab;
}

#contactForm input:disabled,
#privacyChoicesForm input:disabled {
  opacity: 0.7;
}

.contact-method-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-method {
  border: 1.5px solid rgba(34, 38, 46, 0.12);
  background: #fafaf8;
  color: var(--rj1-ink);
  border-radius: 999px;
  padding: 11px 16px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.btn-method:hover {
  transform: translateY(-1px);
  border-color: rgba(66, 111, 196, 0.32);
}

.btn-method:focus-visible {
  outline: 3px solid rgba(66, 111, 196, 0.18);
  outline-offset: 2px;
}

.btn-method.active {
  border-color: var(--rj1-blue);
  background: var(--rj1-blue);
  color: #fff;
}

#contactForm .form-legal,
#privacyChoicesForm .form-legal {
  margin: 18px 0 0;
  font-size: 13px;
  line-height: 1.6;
  color: #6f695f;
}

#contactForm .form-legal a,
#privacyChoicesForm .form-legal a {
  color: var(--rj1-blue);
}

#contactForm .submit,
#privacyChoicesForm .submit {
  margin-top: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 999px;
  padding: 16px 32px;
  background: var(--rj1-blue);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

#contactForm .submit:hover,
#privacyChoicesForm .submit:hover {
  background: var(--rj1-blue-dark);
  transform: translateY(-2px);
}

#contactForm .indicator,
#privacyChoicesForm .indicator {
  padding: 64px 24px;
  text-align: center;
}

#contactForm .processing,
#privacyChoicesForm .processing {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  font-family: var(--rj1-serif);
  font-size: 22px;
  color: var(--rj1-ink);
}

#contactForm .processing::before,
#privacyChoicesForm .processing::before {
  content: "";
  width: 42px;
  height: 42px;
  border: 4px solid rgba(66, 111, 196, 0.16);
  border-top-color: var(--rj1-blue);
  border-radius: 50%;
  animation: rj1-form-spin 0.8s linear infinite;
}

@keyframes rj1-form-spin {
  to {
    transform: rotate(360deg);
  }
}

#contactForm .errors,
#contactForm .success,
#privacyChoicesForm .errors,
#privacyChoicesForm .success {
  border-radius: 16px;
  padding: 22px 24px;
  margin-bottom: 24px;
}

#contactForm .errors,
#privacyChoicesForm .errors {
  background: #fff2ef;
  border: 1px solid rgba(191, 91, 70, 0.2);
  color: #7a3e33;
}

#contactForm .success,
#privacyChoicesForm .success {
  background: linear-gradient(155deg, #eef5fc 0%, #ffffff 100%);
  border: 1px solid rgba(66, 111, 196, 0.18);
  color: var(--rj1-ink);
}

.success-icon {
  color: var(--rj1-blue);
  margin-bottom: 12px;
}

.success-heading {
  margin: 0 0 8px;
  font-family: var(--rj1-serif);
  font-size: 28px;
  font-weight: 500;
}

.success-body p,
.success-subtitle {
  margin: 0 0 10px;
}

.success-divider {
  margin: 18px 0;
  border: 0;
  border-top: 1px solid rgba(34, 38, 46, 0.08);
}

.success-btn-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.success-btn-group .btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 12px 18px;
  border: 1px solid rgba(66, 111, 196, 0.2);
  background: #fff;
  color: var(--rj1-blue);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
}

.rj1-contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.rj1-contact-card {
  background: #fff;
  border-radius: 18px;
  padding: 28px;
  border: 1px solid rgba(34, 38, 46, 0.08);
  box-shadow: 0 10px 28px -20px rgba(18, 63, 111, 0.22);
}

.rj1-contact-card h3 {
  margin: 0 0 20px;
  font-family: var(--rj1-serif);
  font-size: 20px;
  font-weight: 600;
}

.rj1-contact-card--dark {
  background: linear-gradient(155deg, #163f6f 0%, #0b2545 100%);
  color: #fff;
}

.rj1-contact-card--dark h3 {
  color: #fff;
}

.rj1-contact-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 16px;
}

.rj1-contact-item:last-child {
  margin-bottom: 0;
}

.rj1-contact-item-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.rj1-contact-item-icon--blue {
  background: rgba(66, 111, 196, 0.12);
  color: var(--rj1-blue);
}

.rj1-contact-item-icon--gold {
  background: rgba(184, 138, 30, 0.12);
  color: var(--rj1-gold-deep);
}

.rj1-contact-item strong {
  display: block;
  margin-bottom: 2px;
  font-size: 13px;
  font-weight: 700;
  color: var(--rj1-ink);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.rj1-contact-item a {
  font-size: 15px;
  color: var(--rj1-blue);
  text-decoration: none;
  font-weight: 500;
}

.rj1-contact-item a:hover {
  color: var(--rj1-blue-dark);
}

.rj1-expect-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.rj1-expect-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.rj1-expect-num {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgba(233, 207, 130, 0.14);
  color: #e9cf82;
  font-size: 13px;
  font-weight: 700;
}

.rj1-expect-item strong {
  display: block;
  margin-bottom: 4px;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
}

.rj1-expect-item p {
  margin: 0;
  color: rgba(247, 244, 239, 0.76);
  font-size: 13.5px;
  line-height: 1.55;
}

.rj1-contact-guarantee {
  background: #efe9e0;
  border-radius: 16px;
  padding: 22px 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.rj1-contact-guarantee strong {
  display: block;
  margin-bottom: 4px;
  font-size: 15px;
  font-weight: 700;
}

.rj1-contact-guarantee p {
  margin: 0;
  font-size: 13.5px;
  color: var(--rj1-body);
  line-height: 1.5;
}

@media (max-width: 1024px) {
  .rj1-contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .rj1-contact-form-wrap {
    padding: 26px 22px;
  }

  .contact-method-group,
  .success-btn-group {
    flex-direction: column;
    align-items: stretch;
  }
}
