/* ── Support page styles ── */
.support-wrap {
  max-width: 860px;
  margin: 0 auto;
  padding: 0.5rem 0 3rem;
}

/* Page header */
.support-hero {
  text-align: center;
  padding: 2.5rem 1rem 2rem;
  margin-bottom: 2.5rem;
  position: relative;
}
.support-hero::after {
  content: '';
  display: block;
  width: 60px;
  height: 2px;
  background: #B89356;
  margin: 1.5rem auto 0;
}
.support-hero-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #B89356;
  margin-bottom: 0.75rem;
}
.support-hero h1 {
  font-family: 'Playfair Display', 'Georgia', serif;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 600;
  color: #1B262C;
  margin: 0 0 0.6rem;
  line-height: 1.25;
}
.support-hero p {
  font-size: 0.95rem;
  color: #5A6A70;
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Two-column layout */
.support-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 2rem;
  align-items: start;
}
@media (max-width: 760px) {
  .support-layout { grid-template-columns: 1fr; }
}

/* ── FORM card ── */
.support-form-card {
  background: #fff;
  border: 1px solid #E2DDD6;
  border-radius: 12px;
  padding: 2rem 2rem 2.25rem;
  box-shadow: 0 2px 16px rgba(27,38,44,0.06);
}
.support-form-card h2 {
  font-family: 'Playfair Display', 'Georgia', serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: #1B262C;
  margin: 0 0 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #E2DDD6;
}

/* Form groups */
.form-group {
  margin-bottom: 1.2rem;
}
.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5A6A70;
  margin-bottom: 0.4rem;
}
.form-group label .req {
  color: #B89356;
  margin-left: 2px;
}
.form-control {
  width: 100%;
  padding: 0.65rem 0.9rem;
  border: 1px solid #D9D4CC;
  border-radius: 7px;
  font-size: 0.92rem;
  font-family: inherit;
  color: #1B262C;
  background: #FAFAF8;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  box-sizing: border-box;
  outline: none;
  -webkit-appearance: none;
}
.form-control:focus {
  border-color: #B89356;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(184,147,86,0.14);
}
.form-control::placeholder { color: #AAA49C; }

select.form-control {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23B89356' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  padding-right: 2.2rem;
}
textarea.form-control {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}

/* Type badges inside select description */
.type-hint {
  font-size: 11.5px;
  color: #8A9499;
  margin-top: 0.3rem;
  line-height: 1.5;
}

/* File upload */
.file-upload-wrap {
  position: relative;
}
.file-upload-label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 0.9rem;
  border: 1px dashed #C8C0B0;
  border-radius: 7px;
  cursor: pointer;
  background: #FAFAF8;
  font-size: 0.88rem;
  color: #8A9499;
  transition: border-color 0.2s, background 0.2s;
  user-select: none;
}
.file-upload-label:hover {
  border-color: #B89356;
  background: rgba(184,147,86,0.04);
  color: #5A6A70;
}
.file-upload-label svg { flex-shrink: 0; opacity: 0.6; }
.file-upload-label span.file-name { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
input[type="file"].visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(0,0,0,0);
  border: 0;
}

/* Priority selector */
.priority-row {
  display: flex;
  gap: 0.5rem;
}
.priority-btn {
  flex: 1;
  padding: 0.5rem 0.25rem;
  border: 1px solid #D9D4CC;
  border-radius: 7px;
  background: #FAFAF8;
  font-size: 11.5px;
  font-weight: 500;
  color: #5A6A70;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s;
  user-select: none;
}
.priority-btn:hover { border-color: #B89356; color: #1B262C; }
.priority-btn.active-low    { border-color: #5B9E6F; background: rgba(91,158,111,0.1); color: #3A7A50; }
.priority-btn.active-medium { border-color: #B89356; background: rgba(184,147,86,0.1); color: #8A6830; }
.priority-btn.active-high   { border-color: #C0584A; background: rgba(192,88,74,0.1);  color: #963C30; }

/* Consent */
.consent-row {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-top: 0.25rem;
}
.consent-row input[type="checkbox"] {
  margin-top: 3px;
  accent-color: #B89356;
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}
.consent-row label {
  font-size: 12px;
  color: #8A9499;
  line-height: 1.5;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
  cursor: pointer;
}
.consent-row label a { color: #B89356; text-decoration: none; }
.consent-row label a:hover { text-decoration: underline; }

/* ── Success state ── */
.support-success {
  display: none;
  text-align: center;
  padding: 2.5rem 1rem;
}
.support-success.visible { display: block; }
.success-icon {
  width: 56px; height: 56px;
  background: rgba(184,147,86,0.12);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.25rem;
}
.success-icon svg { color: #B89356; }
.support-success h3 {
  font-family: 'Playfair Display', 'Georgia', serif;
  font-size: 1.25rem;
  color: #1B262C;
  margin: 0 0 0.5rem;
}
.support-success p {
  font-size: 0.9rem;
  color: #5A6A70;
  line-height: 1.6;
  margin: 0 0 1.25rem;
}
.btn-reset {
  background: transparent;
  border: 1px solid #D9D4CC;
  border-radius: 7px;
  padding: 0.55rem 1.25rem;
  font-size: 0.87rem;
  color: #5A6A70;
  cursor: pointer;
  font-family: inherit;
  transition: border-color 0.2s, color 0.2s;
}
.btn-reset:hover { border-color: #B89356; color: #1B262C; }

/* ── SIDEBAR ── */
.support-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.sidebar-card {
  background: #fff;
  border: 1px solid #E2DDD6;
  border-radius: 12px;
  padding: 1.4rem 1.5rem;
}
.sidebar-card-title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #B89356;
  margin-bottom: 1rem;
}

/* FAQ list */
.faq-list { list-style: none; padding: 0; margin: 0; }
.faq-item {
  border-bottom: 1px solid #EEE9E0;
  overflow: hidden;
}
.faq-item:last-child { border-bottom: none; }
.faq-q {
  width: 100%;
  background: none;
  border: none;
  padding: 0.7rem 0;
  text-align: left;
  font-size: 0.87rem;
  font-weight: 500;
  color: #1B262C;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-family: inherit;
  transition: color 0.2s;
}
.faq-q:hover { color: #B89356; }
.faq-q svg { flex-shrink: 0; transition: transform 0.25s; color: #B89356; }
.faq-item.open .faq-q svg { transform: rotate(180deg); }
.faq-a {
  font-size: 0.84rem;
  color: #5A6A70;
  line-height: 1.6;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0;
}
.faq-item.open .faq-a { max-height: 200px; padding-bottom: 0.75rem; }

/* Contact card */
.contact-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.7rem; }
.contact-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.875rem;
  color: #1B262C;
}
.contact-icon {
  width: 32px; height: 32px;
  background: rgba(184,147,86,0.1);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-icon svg { color: #B89356; }
.contact-item a { color: #B89356; text-decoration: none; font-weight: 500; }
.contact-item a:hover { text-decoration: underline; }
.contact-meta { font-size: 11px; color: #9A949C; margin-top: 1px; }

/* Type legend */
.type-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.55rem; }
.type-list-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.84rem;
  color: #5A6A70;
}
.type-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* Error / validation */
.form-error {
  font-size: 11.5px;
  color: #C0584A;
  margin-top: 0.3rem;
  display: none;
}
.form-group.has-error .form-control { border-color: #C0584A; }
.form-group.has-error .form-error  { display: block; }

/* Spinner */
@keyframes spin { to { transform: rotate(360deg); } }
.spinner {
  width: 16px; height: 16px;
  border: 2px solid rgba(255,255,255,0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  display: none;
}