/* ═══════════════════════════════════════════
   support.css — Fitcore Support: contactpagina
   ═══════════════════════════════════════════ */

/* ── PAGE HEADER OVERRIDE ── */
.page-header {
  padding-bottom: 56px;
}

/* ── FORM MESSAGE BANNER ── */
.form-message {
  margin-bottom: 20px;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  font-size: 14px;
  line-height: 1.5;
}

.form-message[hidden] {
  display: none;
}

.form-message--success {
  background: rgba(90, 125, 74, 0.08);
  border: 1px solid rgba(90, 125, 74, 0.25);
  color: #3d5733;
}

.form-message--error {
  background: rgba(184, 66, 51, 0.06);
  border: 1px solid rgba(184, 66, 51, 0.25);
  color: #8a3024;
}

.form-message--warning {
  background: rgba(212, 149, 111, 0.12);
  border: 1px solid rgba(212, 149, 111, 0.35);
  color: #7a4f30;
}

/* Turnstile widget spacing */
.cf-turnstile {
  margin: 8px 0 16px;
}

.page-header__subtitle {
  max-width: 480px;
}

/* ── BUTTON OVERRIDE ── */
.btn {
  padding: 13px 28px;
}

/* ── STATUS BAR ── */
.status-bar {
  max-width: 1200px;
  margin: 0 auto 48px;
  padding: 0 24px;
}

.status-bar__inner {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 16px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.status-bar__metric {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.status-bar__metric-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--accent);
}

.status-bar__metric-icon svg {
  width: 20px;
  height: 20px;
}

.status-bar__metric-text {
  min-width: 0;
}

.status-bar__metric-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.4;
  margin-bottom: 2px;
}

.status-bar__metric-value {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
}

/* ── MAIN LAYOUT ── */
.support-layout {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 80px;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  align-items: start;
}

/* ── CONTACT FORM ── */
.form-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
}

.form-card__title {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 400;
  margin-bottom: 6px;
}

.form-card__desc {
  font-size: 14px;
  opacity: 0.5;
  margin-bottom: 32px;
  line-height: 1.6;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 7px;
  letter-spacing: 0.01em;
}

.form-group label .required {
  color: var(--error);
  margin-left: 2px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 14.5px;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  outline: none;
  transition: border-color var(--duration-base) var(--easing), box-shadow var(--duration-base) var(--easing);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text);
  opacity: 0.3;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(130,86,57,0.08);
  background: #fff;
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%232A2521' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
  cursor: pointer;
}

.form-textarea {
  min-height: 140px;
  resize: vertical;
  line-height: 1.6;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-hint {
  font-size: 12px;
  opacity: 0.4;
  margin-top: 6px;
}

.form-file {
  position: relative;
}

.form-file__input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.form-file__label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px;
  background: var(--bg);
  border: 2px dashed var(--border);
  border-radius: var(--radius-md);
  font-size: 13.5px;
  opacity: 0.5;
  transition: border-color var(--duration-base), opacity var(--duration-base);
  cursor: pointer;
}

.form-file__label:hover,
.form-file__input:focus + .form-file__label {
  border-color: var(--accent);
  opacity: 0.75;
}

.form-file__label svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.form-actions {
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.form-note {
  font-size: 12.5px;
  opacity: 0.4;
}

/* ── SIDEBAR ── */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sidebar-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
}

.sidebar-card__icon-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.sidebar-card__icon {
  width: 40px;
  height: 40px;
  background: var(--surface);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sidebar-card__icon svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
}

.sidebar-card__title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 400;
}

.sidebar-card__text {
  font-size: 14px;
  line-height: 1.65;
  opacity: 0.55;
  margin-bottom: 16px;
}

.sidebar-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--accent-strong);
  text-decoration: none;
  transition: gap var(--duration-base) var(--easing);
}

.sidebar-card__link:hover {
  gap: 10px;
}

.sidebar-card__link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

.sidebar-card__link svg {
  width: 14px;
  height: 14px;
}

/* ── RESPONSE CHANNELS ── */
.channels {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.channel {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: var(--bg);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--text);
  transition: background var(--duration-base) var(--easing);
}

.channel:hover {
  background: var(--surface);
}

.channel:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.channel__icon {
  width: 36px;
  height: 36px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.channel__icon svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
}

.channel__text {
  flex: 1;
  min-width: 0;
}

.channel__name {
  font-size: 13.5px;
  font-weight: 600;
}

.channel__detail {
  font-size: 12px;
  opacity: 0.45;
  margin-top: 1px;
}

/* ── DARK SIDEBAR CARD ── */
.sidebar-card--dark {
  background: var(--bg-dark);
  border-color: var(--border-dark);
  color: var(--text-light);
}

.sidebar-card--dark .sidebar-card__icon {
  background: var(--surface-dark);
}

.sidebar-card--dark .sidebar-card__icon svg {
  color: var(--accent-warm);
}

.sidebar-card--dark .sidebar-card__text {
  opacity: 0.45;
}

.sidebar-card--dark .sidebar-card__link {
  color: var(--accent-warm);
}

/* ── TRUST STRIP ── */
.trust {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 80px;
}

.trust__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.trust__item {
  text-align: center;
  padding: 28px 16px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.trust__icon {
  width: 40px;
  height: 40px;
  margin: 0 auto 14px;
  background: var(--surface);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.trust__icon svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
}

.trust__label {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
}

.trust__desc {
  font-size: 12.5px;
  opacity: 0.45;
  line-height: 1.5;
}

/* ── FORM CALLOUT ── */
.form-callout {
  background: var(--bg);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  margin-bottom: 12px;
}

.form-callout__title {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
  opacity: 0.7;
}

/* ── EMAIL LINK HOVER ── */
.channel__detail {
  transition: color var(--duration-fast);
}

.channel:hover .channel__detail {
  color: var(--accent-strong);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-callout__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.form-callout__list li {
  font-size: 13px;
  opacity: 0.55;
  padding-left: 14px;
  position: relative;
  line-height: 1.5;
}

.form-callout__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.5;
}

/* ── FORM NOTES ── */
.form-notes {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* ── SUPPORT SCOPE ── */
.support-scope {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.support-scope__title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 12px;
}

.support-scope__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.support-scope__list li {
  font-size: 13.5px;
  line-height: 1.5;
  opacity: 0.55;
  padding-left: 14px;
  position: relative;
}

.support-scope__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.5;
}

.support-scope__column--muted {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
}

/* ── ANIMATIONS ── */
@media (prefers-reduced-motion: no-preference) {
  .page-header__title,
  .page-header__subtitle {
    opacity: 0;
    transform: translateY(16px);
    animation: fadeUp 0.5s var(--easing) forwards;
  }
  .page-header__subtitle { animation-delay: 0.1s; }
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .support-layout {
    grid-template-columns: 1fr;
  }

  .sidebar {
    order: -1;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .trust__grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 540px) {
  .status-bar__inner {
    grid-template-columns: 1fr;
  }

  .trust__grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .form-card {
    padding: 28px 20px;
  }

  .footer__inner {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}
