/* =============================================
   MotoZone — Help Center Page
   Palette matches contact.css: Ink · Stone · Off-white
   ============================================= */

/* ---------- Tokens (mirror contact.css) ---------- */
:root {
  --ink:       #111111;
  --ink-soft:  #444444;
  --ink-muted: #888888;
  --rule:      #e0e0e0;
  --stone:     #f2f0eb;
  --white:     #ffffff;
  --radius:    4px;
  --mono:      'Source Code Pro', monospace;
  --sans:      'Mulish', sans-serif;
}

/* ---------- Max-width 1440px ---------- */
.hc-breadcrumb .container,
.hc-hero .container,
.hc-categories .container,
.hc-popular .container,
.hc-trust .container,
.hc-cta .container {
  max-width: 1440px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 48px;
  padding-right: 48px;
}

/* ---------- Breadcrumb ---------- */
.hc-breadcrumb {
  background: var(--stone);
  border-bottom: 1px solid var(--rule);
  padding: 12px 0;
}

.hc-breadcrumb__list {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: var(--ink-muted);
}

.hc-breadcrumb__list a {
  color: var(--ink-muted);
  text-decoration: none;
  transition: color 120ms ease;
}

.hc-breadcrumb__list a:hover {
  color: var(--ink);
}

.hc-breadcrumb__sep {
  margin: 0 8px;
  color: var(--rule);
}

/* ---------- Hero ---------- */
.hc-hero {
  background-color: var(--ink);
  background-image: linear-gradient(to right, rgba(0,0,0,0.82) 40%, rgba(0,0,0,0.45) 100%), url('https://attachments.gorgias.help/3RBN0xMVQE4649GJ/hc/lrg3N7AO1k6DnR8K/2025070110-d63d1fb5-078a-4921-98f8-eddce994d8ce-banner-shopthelook-d-skwal.jpg');
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  padding: 72px 0 56px;
  border-bottom: 3px solid var(--white);
  text-align: left;
}

.hc-hero__title {
  font-family: var(--sans);
  font-size: clamp(2.8rem, 8vw, 5rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--white);
  line-height: 0.95;
  margin-bottom: 16px;
}

.hc-hero__sub {
  font-family: var(--sans);
  font-size: 0.9375rem;
  font-weight: 300;
  color: var(--ink-muted);
  margin-bottom: 36px;
  line-height: 1.7;
}

/* ---------- Search ---------- */
.hc-search-wrap {
  position: relative;
  max-width: 560px;
}

.hc-search__icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ink-muted);
  pointer-events: none;
}

.hc-search__input {
  width: 100%;
  font-family: var(--sans);
  font-size: 0.9375rem;
  color: var(--white);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  padding: 14px 16px 14px 48px;
  outline: none;
  transition: border-color 140ms ease, background 140ms ease;
  appearance: none;
}

.hc-search__input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.hc-search__input:focus {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.1);
}

/* ---------- Section Label ---------- */
.hc-section-label {
  font-family: var(--mono);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--rule);
}

/* ---------- Category Grid ---------- */
.hc-categories {
  background: var(--stone);
  padding: 56px 0 48px;
}

.hc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}

.hc-card {
  background: var(--white);
  padding: 32px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-decoration: none;
  position: relative;
  border-left: 3px solid transparent;
  transition: border-left-color 140ms ease, background 140ms ease;
}

.hc-card:hover {
  background: #fafaf8;
  border-left-color: var(--ink);
}

.hc-card__icon {
  display: block;
  color: var(--ink);
  opacity: 0.45;
  margin-bottom: 12px;
  transition: opacity 140ms ease;
}

.hc-card:hover .hc-card__icon {
  opacity: 0.8;
}

.hc-card__title {
  font-family: var(--sans);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--ink);
  display: block;
}

.hc-card__sub {
  font-family: var(--sans);
  font-size: 0.8125rem;
  font-weight: 300;
  color: var(--ink-muted);
  display: block;
}

.hc-card__arrow {
  display: block;
  color: var(--ink-muted);
  margin-top: auto;
  padding-top: 16px;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 140ms ease, transform 140ms ease;
}

.hc-card:hover .hc-card__arrow {
  opacity: 1;
  transform: translateX(0);
}

/* ---------- Popular Articles ---------- */
.hc-popular {
  background: var(--white);
  padding: 56px 0 64px;
  border-top: 1px solid var(--rule);
}

.hc-popular__inner {
  max-width: 680px;
}

.hc-articles {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hc-article {
  border-bottom: 1px solid var(--rule);
}

.hc-article.is-hidden {
  display: none;
}

.hc-article__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  font-family: var(--sans);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  transition: color 120ms ease;
}

.hc-article__link:hover {
  color: var(--ink-soft);
}

.hc-article__arrow {
  color: var(--rule);
  flex-shrink: 0;
  transition: color 120ms ease, transform 120ms ease;
}

.hc-article__link:hover .hc-article__arrow {
  color: var(--ink-muted);
  transform: translateX(3px);
}

.hc-no-results {
  font-family: var(--sans);
  font-size: 0.875rem;
  color: var(--ink-muted);
  padding: 24px 0;
  margin: 0;
}

.hc-no-results a {
  color: var(--ink);
  font-weight: 600;
}

/* ---------- Trust Bar ---------- */
.hc-trust {
  background: var(--stone);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 0;
}

.hc-trust__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.hc-trust__item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 24px 20px;
  border-right: 1px solid var(--rule);
}

.hc-trust__item:last-child {
  border-right: none;
}

.hc-trust__icon {
  color: var(--ink);
  opacity: 0.4;
  flex-shrink: 0;
}

.hc-trust__text {
  font-family: var(--sans);
  font-size: 0.8125rem;
  color: var(--ink-muted);
  line-height: 1.5;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.hc-trust__text strong {
  font-weight: 700;
  color: var(--ink);
  font-size: 0.8125rem;
}

/* ---------- CTA ---------- */
.hc-cta {
  background: var(--ink);
  padding: 48px 0;
}

.hc-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.hc-cta__left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.hc-cta__icon {
  color: var(--white);
  opacity: 0.3;
  flex-shrink: 0;
}

.hc-cta__title {
  font-family: var(--sans);
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--white);
  margin: 0 0 4px;
  letter-spacing: -0.02em;
}

.hc-cta__sub {
  font-family: var(--sans);
  font-size: 0.8125rem;
  font-weight: 300;
  color: var(--ink-muted);
  margin: 0;
}

.hc-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius);
  font-family: var(--sans);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color 140ms ease, background 140ms ease;
}

.hc-cta__btn:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
  .hc-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .hc-trust__item:nth-child(2) {
    border-right: none;
  }

  .hc-trust__item:nth-child(3) {
    border-top: 1px solid var(--rule);
  }

  .hc-trust__item:nth-child(4) {
    border-top: 1px solid var(--rule);
    border-right: none;
  }
}

@media (max-width: 767px) {
  .hc-hero {
    padding: 48px 0 40px;
  }

  .hc-grid {
    grid-template-columns: 1fr;
  }

  .hc-trust__list {
    grid-template-columns: 1fr;
  }

  .hc-trust__item {
    border-right: none;
    border-bottom: 1px solid var(--rule);
  }

  .hc-trust__item:last-child {
    border-bottom: none;
  }

  .hc-cta__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition: none !important;
  }
}