:root {
  --abp-native-navy: #011f46;
  --abp-native-blue: #2b96fc;
  --abp-native-ink: #04295e;
  --abp-native-bg: #f4f8fc;
  --abp-native-line: #d7e3ef;
  --abp-native-muted: #5b7088;
}

.contact-form-shell { width: 100%; }

.native-contact-form {
  position: relative;
  overflow: hidden;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--abp-native-line);
  border-radius: 24px;
  background: linear-gradient(145deg, #fff 0%, var(--abp-native-bg) 100%);
  box-shadow: 0 24px 60px rgba(1, 31, 70, .11);
  color: var(--abp-native-ink);
}

.native-contact-form::before {
  position: absolute;
  top: 0;
  right: 0;
  width: 108px;
  height: 108px;
  border-bottom-left-radius: 100%;
  background: rgba(43, 150, 252, .1);
  content: "";
  pointer-events: none;
}

.native-form-heading { position: relative; max-width: 520px; margin-bottom: 28px; }
.native-form-kicker {
  display: block;
  margin-bottom: 10px;
  color: var(--abp-native-blue);
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .12em;
  line-height: 1.4;
  text-transform: uppercase;
}
.native-form-heading h2 {
  margin: 0;
  color: var(--abp-native-navy);
  font-family: Instrument Serif, Georgia, serif;
  font-size: clamp(2rem, 4vw, 2.85rem);
  font-weight: 400;
  letter-spacing: -.02em;
  line-height: 1.05;
}
.native-form-heading p { margin: 14px 0 0; color: var(--abp-native-muted); font-size: .98rem; line-height: 1.6; }
.native-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; }
.native-field { min-width: 0; }
.native-field-full { grid-column: 1 / -1; }
.native-field > label:not(.native-consent-label) { display: block; margin-bottom: 7px; color: var(--abp-native-navy); font-size: .9rem; font-weight: 700; line-height: 1.4; }
.native-required { color: #1c6dc1; }
.native-field input:not([type="checkbox"]), .native-field select, .native-field textarea {
  width: 100%;
  min-height: 50px;
  border: 1px solid #b8cbe0;
  border-radius: 12px;
  background: #fff;
  color: var(--abp-native-ink);
  font: inherit;
  font-size: 1rem;
  line-height: 1.45;
  padding: 12px 14px;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
.native-field textarea { min-height: 142px; resize: vertical; }
.native-field input::placeholder, .native-field textarea::placeholder { color: #7b8ea4; opacity: 1; }
.native-field input:focus, .native-field select:focus, .native-field textarea:focus { border-color: var(--abp-native-blue); box-shadow: 0 0 0 4px rgba(43, 150, 252, .16); outline: none; }
.native-field .native-has-error { border-color: #b43b3b; }
.native-consent-label { display: flex; align-items: flex-start; gap: 10px; color: var(--abp-native-muted); font-size: .9rem; line-height: 1.5; }
.native-consent-label input[type="checkbox"] { flex: 0 0 auto; width: 19px; height: 19px; margin: 2px 0 0; accent-color: var(--abp-native-blue); }
.native-consent-label a { color: var(--abp-native-navy); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.native-form-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 18px; margin-top: 24px; }
.native-submit { min-height: 50px; border-radius: 999px; background: var(--abp-native-blue); border-color: var(--abp-native-blue); color: var(--abp-native-navy); box-shadow: 0 8px 20px rgba(43, 150, 252, .2); }
.native-submit:hover:not(:disabled) { background: #61adff; border-color: #61adff; }
.native-submit:disabled { cursor: not-allowed; opacity: .58; transform: none; }
.native-form-note, .native-form-status { margin: 0; color: var(--abp-native-muted); font-size: .88rem; line-height: 1.5; }
.native-form-status { min-height: 1.5em; margin-top: 16px; font-weight: 600; }
.native-form-status[data-state="error"] { color: #9b2f36; }
.native-form-status[data-state="success"] { color: #176647; }
.native-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

@media (max-width: 640px) {
  .native-contact-form { padding: 24px 20px; border-radius: 20px; }
  .native-form-grid { grid-template-columns: 1fr; }
  .native-field-full { grid-column: auto; }
  .native-form-actions { align-items: stretch; flex-direction: column; }
  .native-submit { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .native-field input:not([type="checkbox"]), .native-field select, .native-field textarea { transition: none; }
}
