.ifs-form-section {
  margin-top: clamp(2.5rem, 6vw, 5rem);
  padding: clamp(1.35rem, 4vw, 2.5rem);
  border: 1px solid rgba(18, 51, 74, 0.12);
  border-radius: clamp(1.2rem, 2vw, 1.75rem);
  background: linear-gradient(145deg, #ffffff 0%, #f2f8f8 100%);
  box-shadow: 0 1.15rem 3.25rem rgba(18, 51, 74, 0.09);
}
.ifs-form-section__intro { max-width: 52rem; margin-bottom: 1.5rem; }
.ifs-form-section__intro h2 { margin: 0.35rem 0 0.75rem; }
.ifs-inquiry-form { display: grid; gap: 1.1rem; }
.ifs-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.ifs-form-field { display: grid; gap: 0.45rem; min-width: 0; }
.ifs-form-field--wide { grid-column: 1 / -1; }
.ifs-form-field > span { font-weight: 750; color: #12334a; }
.ifs-form-field input,
.ifs-form-field select,
.ifs-form-field textarea {
  width: 100%;
  min-height: 3.15rem;
  padding: 0.78rem 0.9rem;
  border: 1px solid #b9ccd4;
  border-radius: 0.9rem;
  background: #fff;
  color: #173042;
  font: inherit;
  line-height: 1.4;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
.ifs-form-field textarea { min-height: 9rem; resize: vertical; }
.ifs-form-field input:focus,
.ifs-form-field select:focus,
.ifs-form-field textarea:focus {
  outline: 0;
  border-color: var(--ifs-teal, #168f82);
  box-shadow: 0 0 0 0.22rem rgba(22, 143, 130, 0.16);
}
.ifs-form-check {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  color: #334f60;
  line-height: 1.55;
}
.ifs-form-check input { flex: 0 0 auto; margin-top: 0.3rem; width: 1.1rem; height: 1.1rem; }
.ifs-form-check a { font-weight: 700; }
.ifs-form-privacy-note { margin: -0.25rem 0 0; color: #5c7180; font-size: 0.92rem; }
.ifs-form-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.ifs-form-feedback {
  margin: 0 0 1.25rem;
  padding: 1rem 1.15rem;
  border-radius: 1rem;
  border: 1px solid transparent;
}
.ifs-form-feedback strong { display: block; margin-bottom: 0.2rem; }
.ifs-form-feedback p { margin: 0; }
.ifs-form-feedback--success { background: #eaf7f2; border-color: #9dd8c8; color: #135b51; }
.ifs-form-feedback--warning { background: #fff7df; border-color: #ecd18a; color: #735713; }
.ifs-form-feedback--error { background: #fff0f0; border-color: #e7b4b4; color: #7a2b2b; }
@media (max-width: 44rem) {
  .ifs-form-grid { grid-template-columns: 1fr; }
  .ifs-form-field--wide { grid-column: auto; }
  .ifs-form-section { padding: 1.2rem; }
}


/* Automatically positioned forms inside the structured page flow. */
.ifs-page-stack > .ifs-form-section--embedded {
  margin-top: 0;
  padding: clamp(2rem, 5vw, 3.5rem);
  border-right: 0;
  border-left: 0;
  border-radius: 0;
  background: linear-gradient(180deg, #f8fcfd 0%, #eef7f8 100%);
  box-shadow: none;
}
.ifs-page-stack > .ifs-form-section--embedded .ifs-form-section__intro {
  max-width: 58rem;
}
.ifs-page-stack > .ifs-form-section--embedded .ifs-inquiry-form {
  padding: clamp(1rem, 2.5vw, 1.5rem);
  border: 1px solid rgba(18, 51, 74, 0.12);
  border-radius: 1.25rem;
  background: #fff;
  box-shadow: 0 1rem 2.8rem rgba(18, 51, 74, 0.07);
}
@media (max-width: 44rem) {
  .ifs-page-stack > .ifs-form-section--embedded {
    padding-inline: 0;
  }
  .ifs-page-stack > .ifs-form-section--embedded .ifs-inquiry-form {
    padding: 1rem;
    border-radius: 1rem;
  }
}
