.forms-section {
  padding: 92px clamp(22px, 7vw, 110px);
  background: #eef7fb;
  scroll-margin-top: 82px;
}
.forms-section > .resource-heading,
.forms-section > .forms-grid,
.forms-section > .forms-note {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}
.resource-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 40px;
  margin-bottom: 34px;
}
.resource-heading h2,
.faq-intro h2 {
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1;
  letter-spacing: -0.045em;
  margin: 0;
  color: var(--navy);
}
.resource-heading p:last-child,
.faq-intro p:last-child {
  font-size: 18px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 760px;
}
.current-badge {
  background: #d8f3eb;
  color: #126b52;
  padding: 9px 13px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  white-space: nowrap;
}
.forms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 25px;
  display: flex;
  flex-direction: column;
  gap: 19px;
  min-height: 300px;
}
.form-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 9px;
  background: #e8f1ff;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}
.form-card small {
  font-size: 10px;
  letter-spacing: 0.14em;
  color: #718398;
  font-weight: 800;
}
.form-card h3 {
  font-size: 21px;
  line-height: 1.2;
  color: var(--navy);
  margin: 7px 0 8px;
}
.form-card p {
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}
.form-card a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  background: var(--navy);
  color: #fff;
  text-decoration: none;
  padding: 13px 15px;
  border-radius: 6px;
  font-weight: 700;
}
.form-card a span {
  font-size: 20px;
}
.forms-note {
  margin-top: 18px;
  background: #fff8df;
  border-left: 4px solid #eebc3c;
  border-radius: 7px;
  padding: 16px 19px;
  color: #604b1f;
  line-height: 1.55;
}
.faq-section {
  padding: 92px clamp(22px, 7vw, 110px);
  background: #fff;
  scroll-margin-top: 82px;
}
.faq-intro,
.faq-list {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}
.faq-intro {
  margin-bottom: 35px;
}
.faq-search-panel {
  max-width: 1100px;
  margin: 0 auto 22px;
  padding: 22px;
  border: 1px solid #cbdbea;
  border-radius: 14px;
  background: #f5f9fc;
}
.faq-search-panel > label {
  display: block;
  margin-bottom: 9px;
  color: var(--navy);
  font-size: 15px;
  font-weight: 800;
}
.faq-search-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 0 10px 0 18px;
  border: 2px solid #8aa9c2;
  border-radius: 10px;
  background: #fff;
}
.faq-search-row:focus-within {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(27, 105, 180, 0.14);
}
.faq-search-row > span { color: var(--blue); font-size: 28px; line-height: 1; }
.faq-search-row input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--navy);
  font: inherit;
  font-size: 17px;
}
.faq-search-row button,
.faq-empty button {
  border: 0;
  border-radius: 7px;
  padding: 11px 14px;
  background: var(--navy);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}
.faq-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 15px; }
.faq-filters button {
  border: 1px solid #b9cddd;
  border-radius: 999px;
  padding: 9px 14px;
  background: #fff;
  color: #294861;
  font-size: 14px;
  font-weight: 750;
  cursor: pointer;
}
.faq-filters button.active { border-color: var(--navy); background: var(--navy); color: #fff; }
.faq-results { min-height: 21px; margin: 13px 0 0; color: #536f84; font-size: 14px; font-weight: 700; }
.faq-list {
  display: grid;
  gap: 10px;
}
.faq-list details {
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  overflow: hidden;
}
.faq-list summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 54px 20px 22px;
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  position: relative;
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list summary:after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 15px;
  color: var(--blue);
  font-size: 28px;
  font-weight: 300;
}
.faq-list details[open] summary:after {
  transform: rotate(45deg);
}
.faq-list details[open] summary {
  background: #f5f9fc;
}
.faq-list details div {
  padding: 2px 22px 20px;
  color: var(--muted);
  line-height: 1.65;
}
.faq-list details p {
  margin: 13px 0 0;
}
.faq-list details[hidden] { display: none; }
.faq-empty {
  max-width: 1100px;
  margin: 0 auto;
  padding: 30px;
  border: 1px dashed #9bb4c8;
  border-radius: 12px;
  text-align: center;
  color: var(--muted);
}
.faq-empty strong { color: var(--navy); font-size: 20px; }
.faq-empty p { max-width: 680px; margin: 10px auto 18px; line-height: 1.6; }
.faq-escalation {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 13px;
  max-width: 1100px;
  margin: 20px auto 0;
  padding: 17px 20px;
  border-left: 4px solid #eebc3c;
  border-radius: 8px;
  background: #fff8df;
  color: #604b1f;
  line-height: 1.5;
}
@media (max-width: 900px) {
  .forms-grid {
    grid-template-columns: 1fr;
  }
  .form-card {
    min-height: 0;
  }
  .resource-heading {
    align-items: flex-start;
    flex-direction: column;
  }
}
@media (max-width: 500px) {
  .forms-section,
  .faq-section {
    padding: 65px 18px;
  }
  .faq-list summary {
    font-size: 16px;
    padding-left: 17px;
  }
  .faq-list details div {
    padding-left: 17px;
    padding-right: 17px;
  }
  .faq-search-panel { padding: 16px; }
  .faq-search-row { grid-template-columns: auto 1fr; min-height: 54px; padding-right: 14px; }
  .faq-search-row button { grid-column: 1 / -1; margin: 0 -14px -1px -18px; border-radius: 0 0 8px 8px; }
  .faq-search-row input { font-size: 16px; }
  .faq-filters { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; }
  .faq-filters button { white-space: nowrap; }
  .faq-escalation { grid-template-columns: 1fr; }
}
