.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.resource-main {
  background: #faf8f5;
  padding: 64px 24px 80px;
}

.resource-container {
  width: min(1080px, 100%);
  margin: 0 auto;
}

.help-search {
  position: relative;
  max-width: 680px;
  margin: 0 auto 38px;
}

.help-search i {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: #835750;
}

.help-search input {
  width: 100%;
  padding: 16px 22px 16px 52px;
  border: 1px solid #e2d8d0;
  border-radius: 999px;
  background: #fff;
  color: #2b211f;
  font: inherit;
  box-shadow: 0 8px 28px rgba(107, 43, 28, 0.07);
}

.help-search input::placeholder,
.support-field input::placeholder,
.support-field textarea::placeholder {
  color: #928783;
}

.help-search input:focus,
.support-field input:focus,
.support-field select:focus,
.support-field textarea:focus {
  border-color: #835750;
  outline: 3px solid rgba(131, 87, 80, 0.14);
}

.topic-grid,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

.topic-card,
.contact-card {
  display: block;
  padding: 26px;
  border: 1px solid #e8e0d8;
  border-radius: 18px;
  background: #fff;
  color: inherit;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.topic-card:hover,
.contact-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 35px rgba(107, 43, 28, 0.09);
}

.resource-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 14px;
  background: #f3ebe5;
  color: #6b2b1c;
  font-size: 19px;
}

.topic-card h3,
.contact-card h3 {
  color: #2b211f;
  font-size: 18px;
  margin-bottom: 8px;
}

.topic-card p,
.contact-card p {
  color: #6b6b6b;
  font-size: 14px;
  line-height: 1.65;
}

.contact-action {
  display: inline-block;
  margin-top: 14px;
  color: #6b2b1c;
  font-size: 14px;
  font-weight: 600;
}

.faq-wrap {
  max-width: 840px;
  margin: 0 auto 64px;
}

.faq-wrap h2 {
  color: #2b211f;
  font-size: 28px;
  margin-bottom: 22px;
  text-align: center;
}

.faq-item {
  margin-bottom: 12px;
  overflow: hidden;
  border: 1px solid #e8e0d8;
  border-radius: 14px;
  background: #fff;
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 20px 22px;
  border: 0;
  background: transparent;
  color: #2b211f;
  font: inherit;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.faq-question i {
  color: #835750;
  transition: transform 0.2s ease;
}

.faq-question[aria-expanded="true"] i {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 22px 20px;
  color: #6b6b6b;
  font-size: 14px;
  line-height: 1.75;
}

.faq-answer a {
  color: #6b2b1c;
  text-decoration: underline;
}

.faq-empty {
  display: none;
  padding: 30px;
  color: #6b6b6b;
  text-align: center;
}

.support-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
  gap: 32px;
  align-items: start;
}

.support-form-card,
.support-info-card {
  padding: 32px;
  border: 1px solid #e8e0d8;
  border-radius: 20px;
  background: #fff;
}

.support-form-card h2,
.support-info-card h2 {
  color: #2b211f;
  font-size: 25px;
  margin-bottom: 10px;
}

.support-form-card > p,
.support-info-card > p {
  color: #6b6b6b;
  font-size: 14px;
  line-height: 1.65;
  margin-bottom: 24px;
}

.support-field {
  margin-bottom: 18px;
}

.support-field label {
  display: block;
  margin-bottom: 8px;
  color: #2b211f;
  font-size: 14px;
  font-weight: 600;
}

.support-field input,
.support-field select,
.support-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ded4cd;
  border-radius: 10px;
  background: #fff;
  color: #2b211f;
  font: inherit;
}

.support-field textarea {
  min-height: 150px;
  resize: vertical;
}

.support-submit {
  width: 100%;
  padding: 13px 20px;
  border: 0;
  border-radius: 999px;
  background: #835750;
  color: #fff;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.support-submit:hover {
  background: #6b2b1c;
}

.form-note,
.form-status {
  margin-top: 12px;
  color: #6b6b6b;
  font-size: 12px;
  line-height: 1.5;
}

.form-status {
  display: none;
  color: #2f6b4f;
  font-size: 14px;
  font-weight: 600;
}

.support-list {
  list-style: none;
}

.support-list li {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid #eee7e1;
}

.support-list li:last-child {
  border-bottom: 0;
}

.support-list i {
  width: 18px;
  margin-top: 3px;
  color: #835750;
}

.support-list strong {
  display: block;
  margin-bottom: 3px;
  color: #2b211f;
  font-size: 14px;
}

.support-list span,
.support-list a {
  color: #6b6b6b;
  font-size: 13px;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .topic-grid,
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }

  .support-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .resource-main {
    padding: 42px 16px 60px;
  }

  .topic-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .support-form-card,
  .support-info-card {
    padding: 24px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .topic-card,
  .contact-card,
  .faq-question i {
    transition: none;
  }
}
