/* ─── Shared Form Sections ───────────────────────────────────────────────── */

.norrma-form-section {
  padding: 96px 0;
  background: #F7F6F2;
  border-top: 1px solid #E8E6E0;
}

.norrma-form-section--mauve {
  background: #5B4BC4;
  border-top-color: rgba(255, 255, 255, 0.12);
}

.norrma-form-section__container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 32px;
}

.norrma-form-section__eyebrow {
  margin: 0 0 20px;
  font-family: 'Manrope', sans-serif;
  font-size: 11px;
  font-weight: 600;
  line-height: 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5B4BC4;
}

.norrma-form-section__title {
  margin: 0;
  font-family: 'Manrope', sans-serif;
  font-size: clamp(34px, 4.2vw, 56px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: #11111A;
}

.norrma-form-section__body {
  max-width: 720px;
  margin: 18px 0 0;
  font-family: 'Manrope', sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 30px;
  color: #606078;
}

.norrma-form-section__note {
  margin: 18px 0 0;
  font-family: 'Manrope', sans-serif;
  font-size: 13px;
  font-weight: 500;
  line-height: 22px;
  color: #606078;
}

.norrma-form-section--mauve .norrma-form-section__eyebrow,
.norrma-form-section--mauve .norrma-form-section__title,
.norrma-form-section--mauve .norrma-form-section__body,
.norrma-form-section--mauve .norrma-form-section__note {
  color: #F7F6F2;
}

.norrma-form-section .wpcf7 {
  margin-top: 40px;
}

.norrma-form-section .wpcf7 form {
  display: grid;
  gap: 18px;
}

.norrma-form-section .wpcf7-form p {
  margin: 0;
}

.norrma-form-section .wpcf7-form-control-wrap {
  display: block;
}

.norrma-form-section .wpcf7-form-control:not(.wpcf7-submit):not(.wpcf7-acceptance),
.norrma-form-section input[type="text"],
.norrma-form-section input[type="email"],
.norrma-form-section input[type="tel"],
.norrma-form-section input[type="url"],
.norrma-form-section input[type="number"],
.norrma-form-section select,
.norrma-form-section textarea {
  width: 100%;
  box-sizing: border-box;
  max-width: 100%;
  border: 1px solid #DCD8CF;
  border-radius: 0;
  background: #FFFFFF;
  padding: 16px 18px;
  font-family: 'Manrope', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: #11111A;
  transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.norrma-form-section textarea {
  min-height: 160px;
  resize: vertical;
}

.norrma-form-section .wpcf7-form-control:focus,
.norrma-form-section input:focus,
.norrma-form-section select:focus,
.norrma-form-section textarea:focus {
  outline: none;
  border-color: #5B4BC4;
  box-shadow: 0 0 0 3px rgba(91, 75, 196, 0.12);
}

.norrma-form-section--mauve .wpcf7-form-control:not(.wpcf7-submit):not(.wpcf7-acceptance),
.norrma-form-section--mauve input[type="text"],
.norrma-form-section--mauve input[type="email"],
.norrma-form-section--mauve input[type="tel"],
.norrma-form-section--mauve input[type="url"],
.norrma-form-section--mauve input[type="number"],
.norrma-form-section--mauve select,
.norrma-form-section--mauve textarea {
  border-color: rgba(255, 255, 255, 0.36);
  background: rgba(247, 246, 242, 0.96);
}

.norrma-form-section--mauve .wpcf7-form-control:focus,
.norrma-form-section--mauve input:focus,
.norrma-form-section--mauve select:focus,
.norrma-form-section--mauve textarea:focus {
  border-color: #F7F6F2;
  box-shadow: 0 0 0 3px rgba(247, 246, 242, 0.16);
}

.norrma-form-section--mauve .wpcf7-acceptance input[type="checkbox"] {
  accent-color: #F7F6F2;
  outline: 1px solid rgba(247, 246, 242, 0.6);
  outline-offset: 0;
}

.norrma-form-section .wpcf7-list-item {
  margin: 0 18px 0 0;
}

.norrma-form-section .wpcf7-list-item-label {
  font-family: 'Manrope', sans-serif;
  font-size: 15px;
  line-height: 1.5;
  color: #11111A;
}

.norrma-form-section--mauve .wpcf7-list-item-label {
  color: #F7F6F2;
}

.norrma-form-section .wpcf7-acceptance label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.norrma-form-section .wpcf7-acceptance input {
  margin-top: 3px;
}

.norrma-form-section .wpcf7-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid #11111A;
  background: #11111A;
  padding: 16px 22px;
  font-family: 'Manrope', sans-serif;
  font-size: 11px;
  font-weight: 700;
  line-height: 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #F7F6F2;
  cursor: pointer;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.norrma-form-section .wpcf7-submit:hover {
  background: #5B4BC4;
  border-color: #5B4BC4;
  transform: translateY(-1px);
}

.norrma-form-section--mauve .wpcf7-submit {
  background: #F7F6F2;
  border-color: #F7F6F2;
  color: #5B4BC4;
}

.norrma-form-section--mauve .wpcf7-submit:hover {
  background: #FFFFFF;
  border-color: #FFFFFF;
  color: #5B4BC4;
}

.norrma-form-section .wpcf7-not-valid-tip {
  margin-top: 8px;
  font-family: 'Manrope', sans-serif;
  font-size: 13px;
  line-height: 20px;
  color: #A73535;
}

.norrma-form-section--mauve .wpcf7 label {
  color: #F7F6F2;
}

.norrma-form-section--mauve .wpcf7-not-valid-tip {
  color: #FFB3AE;
}

.norrma-form-section .wpcf7-response-output {
  margin: 10px 0 0;
  padding: 14px 16px;
  border: 1px solid #DCD8CF;
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  line-height: 22px;
  color: #11111A;
}

.norrma-form-section .wpcf7 form.sent .wpcf7-response-output {
  border-color: rgba(91, 75, 196, 0.28);
  background: rgba(91, 75, 196, 0.06);
}

.norrma-form-section--mauve .wpcf7-response-output {
  border-color: rgba(247, 246, 242, 0.26);
  color: #F7F6F2;
}

.norrma-form-section--mauve .wpcf7 form.sent .wpcf7-response-output {
  border-color: rgba(247, 246, 242, 0.34);
  background: rgba(247, 246, 242, 0.08);
}

@media (max-width: 767px) {
  .norrma-form-section {
    padding: 64px 0;
  }

  .norrma-form-section__container {
    padding: 0 20px;
  }

  .norrma-form-section__body {
    font-size: 17px;
    line-height: 28px;
  }

  .norrma-form-section .wpcf7 {
    margin-top: 32px;
  }

  .norrma-form-section .wpcf7-submit {
    width: 100%;
  }

  .norrma-form-section .wpcf7-acceptance input[type="checkbox"] {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
  }
}
