/* Help Centre — Carvana-inspired, DealerCanada colors */

.help-hero {
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(7, 163, 238, 0.16), transparent 55%),
    linear-gradient(180deg, var(--blue-50) 0%, #fff 100%);
  padding: 56px 0 48px;
  text-align: center;
}
.help-hero__inner {
  max-width: 720px;
}
.help-hero__eyebrow {
  margin: 0 0 12px;
  color: var(--blue-400);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.help-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.12;
  color: var(--gray-500);
  letter-spacing: -0.02em;
}
.help-hero__sub {
  margin: 0 auto 28px;
  max-width: 540px;
  color: var(--gray-400);
  font-size: 17px;
  line-height: 1.5;
}

.help-search {
  display: flex;
  align-items: center;
  gap: 0;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 6px 6px 6px 16px;
  box-shadow: 0 8px 28px rgba(7, 154, 223, 0.08);
  text-align: left;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.help-search:focus-within {
  border-color: var(--blue-300);
  box-shadow: 0 8px 28px rgba(7, 154, 223, 0.14);
}
.help-search__icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--blue-400);
  margin-right: 10px;
}
.help-search input {
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--gray-500);
  min-width: 0;
  padding: 12px 0;
}
.help-search input::placeholder {
  color: #9aa3ad;
}
.help-search__btn {
  flex-shrink: 0;
  border-radius: 10px;
  padding: 12px 18px;
  white-space: nowrap;
}
@media (max-width: 560px) {
  .help-search {
    flex-wrap: wrap;
    padding: 12px;
    gap: 10px;
  }
  .help-search__icon { display: none; }
  .help-search input {
    width: 100%;
    padding: 8px 4px;
  }
  .help-search__btn {
    width: 100%;
  }
}

.help-section {
  padding: 48px 0 56px;
  background: #fff;
}
.help-section--muted {
  background: var(--gray-100);
}
.help-section__head {
  text-align: center;
  margin-bottom: 28px;
}
.help-section__head--left {
  text-align: left;
  max-width: 640px;
}
.help-section__head h2 {
  margin: 0 0 8px;
  font-size: clamp(24px, 3vw, 32px);
  color: var(--gray-500);
}
.help-section__head p {
  margin: 0;
  color: var(--gray-400);
  font-size: 16px;
}

.help-topics {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 640px) {
  .help-topics { grid-template-columns: 1fr 1fr; gap: 14px; }
}
@media (min-width: 1000px) {
  .help-topics { grid-template-columns: 1fr 1fr 1fr 1fr; gap: 16px; }
}

.help-topic {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 20px 18px;
  background: #fff;
  border: 1px solid #e8eaed;
  border-radius: 16px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}
.help-section--muted .help-topic,
.help-topics .help-topic {
  background: #fff;
}
.help-topic:hover {
  border-color: var(--blue-300);
  box-shadow: 0 10px 24px rgba(7, 163, 238, 0.1);
  transform: translateY(-1px);
}
.help-topic__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--blue-50);
  color: var(--blue-450);
  display: grid;
  place-items: center;
}
.help-topic__icon svg {
  width: 22px;
  height: 22px;
}
.help-topic__body {
  display: grid;
  gap: 4px;
  min-width: 0;
}
.help-topic__body strong {
  font-size: 15px;
  color: var(--gray-500);
  line-height: 1.3;
}
.help-topic__body span {
  font-size: 13px;
  color: var(--gray-400);
  line-height: 1.4;
}
.help-topic__arrow {
  color: var(--blue-400);
  font-size: 18px;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.15s, transform 0.15s;
}
.help-topic:hover .help-topic__arrow {
  opacity: 1;
  transform: translateX(0);
}

.help-empty {
  margin: 24px 0 0;
  text-align: center;
  color: var(--gray-400);
}

.help-quick {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  max-width: 920px;
  margin: 0 auto;
}
@media (min-width: 800px) {
  .help-quick { grid-template-columns: 1fr 1fr; gap: 14px; }
}
.help-quick__item {
  display: grid;
  gap: 8px;
  padding: 22px 20px;
  background: #fff;
  border: 1px solid #e8eaed;
  border-radius: 16px;
  text-decoration: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.help-quick__item:hover {
  border-color: var(--blue-300);
  box-shadow: 0 8px 20px rgba(7, 163, 238, 0.08);
}
.help-quick__item strong {
  font-size: 16px;
  color: var(--gray-500);
  line-height: 1.35;
}
.help-quick__item span {
  font-size: 14px;
  color: var(--gray-400);
  line-height: 1.5;
}

.help-popular-wrap {
  max-width: 760px;
}
.help-popular {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid #e8eaed;
}
.help-popular li {
  border-bottom: 1px solid #e8eaed;
}
.help-popular a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 4px;
  color: var(--gray-500);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.15s;
}
.help-popular a::after {
  content: "→";
  color: var(--blue-400);
  font-weight: 400;
  opacity: 0.7;
}
.help-popular a:hover {
  color: var(--blue-450);
}

.help-contact {
  background: linear-gradient(135deg, var(--blue-400), var(--blue-500));
  color: #fff;
  padding: 56px 0;
}
.help-contact__grid {
  display: grid;
  gap: 28px;
  align-items: center;
}
@media (min-width: 800px) {
  .help-contact__grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
  }
}
.help-contact h2 {
  margin: 0 0 10px;
  color: #fff;
  font-size: clamp(26px, 3.5vw, 36px);
}
.help-contact p {
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 17px;
  line-height: 1.5;
  max-width: 460px;
}
.help-contact__actions {
  display: grid;
  gap: 10px;
}
.help-contact .btn-hero-light {
  color: var(--blue-500);
  text-align: center;
}
.help-contact__call {
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
  background: transparent;
  text-align: center;
}
.help-contact__call:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
  color: #fff;
}

.help-topic.is-hidden,
.help-quick__item.is-hidden,
.help-popular li.is-hidden {
  display: none;
}

.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;
}
