.rncontact-wrapper {
  --rncontact-navy: #102f42;
  --rncontact-blue: #167d8d;
  --rncontact-green: #2fa84f;
  --rncontact-ink: #16303c;
  --rncontact-muted: #60727a;
  --rncontact-line: #dce6e9;
  font-family: inherit;
}

.rncontact-form { margin-top: 22px; }
.rncontact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.rncontact-field { margin: 0 0 18px; }
.rncontact-field label {
  display: block;
  margin-bottom: 7px;
  color: var(--rncontact-navy);
  font-size: .92rem;
  font-weight: 750;
}
.rncontact-optional {
  color: var(--rncontact-muted);
  font-size: .8rem;
  font-weight: 500;
}
.rncontact-field input,
.rncontact-field textarea {
  box-sizing: border-box;
  width: 100%;
  border: 1px solid var(--rncontact-line);
  border-radius: 11px;
  background: #fff;
  color: var(--rncontact-ink);
  font: inherit;
  line-height: 1.45;
  padding: 13px 14px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.rncontact-field textarea { min-height: 155px; resize: vertical; }
.rncontact-field input:focus,
.rncontact-field textarea:focus {
  border-color: var(--rncontact-blue);
  box-shadow: 0 0 0 3px rgba(22,125,141,.12);
  outline: 0;
}
.rncontact-submit {
  appearance: none;
  width: 100%;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(115deg, var(--rncontact-green) 0%, #1b96ab 52%, var(--rncontact-blue) 100%);
  box-shadow: 0 12px 28px rgba(22,125,141,.20);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  padding: 15px 24px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.rncontact-submit:hover,
.rncontact-submit:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(22,125,141,.28);
}
.rncontact-privacy {
  margin: 12px 0 0;
  color: var(--rncontact-muted);
  font-size: .76rem;
  line-height: 1.5;
}
.rncontact-message {
  border-radius: 11px;
  font-size: .9rem;
  margin: 0 0 20px;
  padding: 14px 16px;
}
.rncontact-message--success { background: #e6f7ea; border: 1px solid #a9ddb5; color: #176b34; }
.rncontact-message--error { background: #fff0ed; border: 1px solid #efb5aa; color: #8a2d20; }
.rncontact-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

@media (max-width: 680px) {
  .rncontact-grid { grid-template-columns: 1fr; gap: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .rncontact-submit { transition: none; }
}
