/* FitCraft support page — a clear, direct route from problem to person. */

.support-page {
  --support-ink: #12213f;
  --support-navy: #1b2a4a;
  --support-orange: #e8652b;
  --support-mist: #f3f6fa;
  --support-line: #dce3ec;
  --support-green: #3f9b6d;
}

.support-page main { overflow: hidden; }

.support-hero {
  position: relative;
  padding: clamp(132px, 15vw, 190px) 0 clamp(72px, 9vw, 112px);
  background:
    radial-gradient(circle at 82% 18%, rgba(232, 101, 43, .12), transparent 26rem),
    linear-gradient(145deg, #fff 0%, #f7f9fc 58%, #eef2f7 100%);
}

.support-hero::after {
  content: '';
  position: absolute;
  right: -8rem;
  bottom: -13rem;
  width: 30rem;
  height: 30rem;
  border: 1px solid rgba(27, 42, 74, .09);
  border-radius: 50%;
  box-shadow: 0 0 0 52px rgba(27, 42, 74, .025), 0 0 0 104px rgba(27, 42, 74, .018);
  pointer-events: none;
}

.support-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, .75fr);
  gap: clamp(48px, 8vw, 110px);
  align-items: center;
}

.support-intro .breadcrumb { margin-bottom: clamp(42px, 6vw, 72px); }

.support-intro h1 {
  max-width: 720px;
  margin-top: 16px;
  color: var(--support-ink);
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 7.7vw, 7.25rem);
  font-weight: 700;
  line-height: .88;
  letter-spacing: -.065em;
}

.support-lead {
  max-width: 620px;
  margin-top: 30px;
  color: var(--text-muted);
  font-size: clamp(1.08rem, 1.8vw, 1.3rem);
  line-height: 1.6;
}

.contact-card {
  position: relative;
  padding: clamp(28px, 4vw, 44px);
  color: #fff;
  background: var(--support-navy);
  border-radius: 22px;
  box-shadow: 0 26px 70px rgba(18, 33, 63, .22);
}

.contact-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 42px;
  width: 74px;
  height: 4px;
  background: var(--support-orange);
  border-radius: 0 0 4px 4px;
}

.contact-card-heading {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, .66);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.status-dot {
  width: 8px;
  height: 8px;
  background: var(--support-green);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(63, 155, 109, .14);
}

.contact-card h2 {
  max-width: 360px;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1.05;
  letter-spacing: -.035em;
}

.contact-card > p {
  max-width: 390px;
  margin-top: 16px;
  color: rgba(255, 255, 255, .68);
  line-height: 1.55;
}

.support-email {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 34px;
  padding: 18px 19px 18px 21px;
  color: var(--support-ink);
  background: #fff;
  border-radius: 12px;
  font-size: clamp(.96rem, 1.6vw, 1.08rem);
  font-weight: 700;
  line-height: 1.25;
  transition: transform .2s ease, box-shadow .2s ease;
}

.support-email small {
  display: block;
  margin-bottom: 4px;
  color: var(--support-orange);
  font-size: .67rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.support-email svg { flex: 0 0 auto; width: 24px; height: 24px; }

.support-email:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .18);
}

.support-email:focus-visible,
.faq-list summary:focus-visible {
  outline: 3px solid rgba(232, 101, 43, .55);
  outline-offset: 4px;
}

.contact-card .email-note {
  margin-top: 12px;
  color: rgba(255, 255, 255, .45);
  font-size: .78rem;
  text-align: center;
}

.support-details { padding: clamp(72px, 9vw, 116px) 0; background: #fff; }

.support-details-grid {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(420px, 1fr);
  gap: clamp(50px, 9vw, 130px);
  align-items: start;
}

.support-details h2,
.faq-heading h2 {
  max-width: 510px;
  margin-top: 14px;
  color: var(--support-ink);
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.04;
  letter-spacing: -.045em;
}

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

.support-checklist li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  padding: 26px 0;
  border-top: 1px solid var(--support-line);
}

.support-checklist li:last-child { border-bottom: 1px solid var(--support-line); }

.check-number {
  padding-top: 3px;
  color: var(--support-orange);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .12em;
}

.support-checklist strong {
  display: block;
  color: var(--support-ink);
  font-size: 1.08rem;
}

.support-checklist p { margin-top: 5px; color: var(--text-muted); line-height: 1.55; }

.support-faq { padding: clamp(72px, 9vw, 112px) 0; background: var(--support-mist); }

.faq-shell {
  display: grid;
  grid-template-columns: minmax(280px, .72fr) minmax(440px, 1fr);
  gap: clamp(50px, 9vw, 120px);
}

.faq-list { border-top: 1px solid rgba(27, 42, 74, .15); }
.faq-list details { border-bottom: 1px solid rgba(27, 42, 74, .15); }

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 25px 0;
  color: var(--support-ink);
  font-weight: 700;
  line-height: 1.35;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker { display: none; }

.faq-list summary span {
  color: var(--support-orange);
  font-size: 1.5rem;
  font-weight: 400;
  transition: transform .2s ease;
}

.faq-list details[open] summary span { transform: rotate(45deg); }

.faq-list details p {
  max-width: 650px;
  padding: 0 42px 25px 0;
  color: var(--text-muted);
  line-height: 1.65;
}

.faq-list details a {
  color: var(--support-orange);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 860px) {
  .support-hero-grid,
  .support-details-grid,
  .faq-shell { grid-template-columns: 1fr; }

  .support-hero-grid { gap: 50px; }
  .support-intro h1 { max-width: 580px; }
  .contact-card { max-width: 580px; }
  .support-details-grid,
  .faq-shell { gap: 44px; }
}

@media (max-width: 560px) {
  .support-hero { padding-top: 118px; }
  .support-intro .breadcrumb { margin-bottom: 38px; }
  .support-intro h1 { font-size: clamp(3rem, 17vw, 4.25rem); }
  .contact-card { margin: 0 -4px; border-radius: 18px; }
  .support-email { align-items: flex-end; padding: 16px; font-size: .9rem; }
  .support-email svg { width: 21px; height: 21px; }
  .support-details-grid,
  .faq-shell { gap: 36px; }
  .support-checklist li { grid-template-columns: 38px 1fr; gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .support-email,
  .faq-list summary span { transition: none; }
}
