/* =====================================================================
   Computer Xperts — footer page styles (css/info.css)
   Loaded after css/site.css and css/section.css on:
     free_quote.html, customer_testimonials.html, site_map.html, your_thanks.html,
     acceptable_use_policy.html, privacy_statement.html, billing_policies.html,
     icann_policy.html, spam_policy.html, disclaimer.html, faq.html
   Shared parts used here: page hero + label (section.css), quote + video boxes (section.css),
   form card and Company-style side menu (site.css).

   Contents
    1. One-column hero (policy pages, Thank You)
    2. Free Quote: steps, inquiry checkboxes
    3. Policy text
    4. Sitemap groups
    5. F.A.Q: topics with open/close questions
    6. Responsive: 1023px, 640px
   ===================================================================== */


/* 1. One-column hero ------------------------------------------------------ */
.sec-hero--plain .page-hero__inner { grid-template-columns: minmax(0, 1fr); }
.sec-hero--plain .page-hero__title { max-width: 18em; font-size: clamp(34px, 4vw, 54px); }


/* 2. Free Quote ------------------------------------------------------------ */
.quote-steps { display: grid; gap: 10px; margin-bottom: 14px; counter-reset: step; }
.quote-steps li { display: flex; gap: 12px; color: #e6e6e6; font-size: 15.5px; line-height: 1.5; counter-increment: step; }
.quote-steps li::before {
  content: counter(step); flex: none; display: grid; place-items: center; width: 28px; height: 28px;
  border-radius: 50%; background: var(--red); color: var(--white); font-size: 14px; font-weight: 900;
}

.choices { margin: 0; padding: 0; border: 0; }
.choices legend { margin-bottom: 8px; padding: 0; color: var(--ink); font-size: 14px; font-weight: 700; }
.choices__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice span {
  display: flex; align-items: center; gap: 10px; min-height: 46px; padding: 10px 12px; border-radius: 8px;
  border: 1px solid #cfcfcf; background: var(--paper); color: var(--ink); font-size: 15px; line-height: 1.3;
  transition: border-color .2s ease, background-color .2s ease;
}
.choice span::before {   /* the tick box */
  content: ""; flex: none; width: 18px; height: 18px; border-radius: 5px; border: 2px solid #9a9a9a; background: var(--white) center / 12px no-repeat;
}
.choice:hover span { border-color: var(--ink); }
.choice input:checked + span { border-color: var(--red); background: var(--red-tint); font-weight: 700; }
.choice input:checked + span::before {
  border-color: var(--red); background-color: var(--red);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}
.choice input:focus-visible + span { outline: 3px solid var(--red); outline-offset: 2px; }


/* 3. Policy text ----------------------------------------------------------- */
.prose { max-width: 820px; overflow-wrap: anywhere; color: var(--text); font-size: 16.5px; line-height: 1.75; }
.prose > * + * { margin-top: 14px; }
.prose h3,
.prose h4 { margin-top: 32px; color: var(--ink); font-size: 21px; font-weight: 900; line-height: 1.3; }
.prose h3:first-child { margin-top: 0; }
.prose strong { color: var(--ink); }
.prose a { color: var(--red-text); font-weight: 700; overflow-wrap: anywhere; }


/* 4. Sitemap groups -------------------------------------------------------- */
.map-groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: start; }
.map-group { padding: 24px 24px 16px; border-radius: 16px; background: var(--white); border: 1px solid var(--line); }
.map-group h2 { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; color: var(--ink); font-size: 20px; font-weight: 900; }
.map-group__icon,
.faq-group__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--red); color: var(--white); }
.map-group__icon .ic,
.faq-group__icon .ic { width: 20px; height: 20px; }
/* Alibaba group: the real Alibaba.com logo mark, white on Alibaba orange */
.map-group__icon--alibaba,
.faq-group__icon--alibaba { background: #ff6a00; }
.ali-mark { width: 28px; height: auto; filter: brightness(0) invert(1); }
.map-group li { border-bottom: 1px solid var(--line-soft); }
.map-group li:last-child { border-bottom: 0; }
.map-group a { display: block; padding: 9px 0; color: var(--text); font-size: 15.5px; text-decoration: none; transition: color .2s ease; }
.map-group a:hover { color: var(--red-text); }


/* 5. F.A.Q ----------------------------------------------------------------- */
.faq-groups { display: grid; gap: 36px; }
.faq-group { scroll-margin-top: calc(var(--header-h) + 24px); }
.faq-group__title { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; color: var(--ink); font-size: 24px; font-weight: 900; }

/* under the questions: the link to the separate, much longer F.A.Q website */
.faq-more {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 20px; align-items: center;
  padding: 26px 28px; border-radius: 18px; background: var(--ink); color: var(--white);
  scroll-margin-top: calc(var(--header-h) + 24px);
}
.faq-more__icon { align-self: start; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--red); }
.faq-more__icon .ic { width: 28px; height: 28px; stroke-width: 2; }
.faq-more__title { color: var(--white); font-size: 22px; font-weight: 900; line-height: 1.25; }
.faq-more__text { margin-top: 6px; color: #cfcfcf; font-size: 15.5px; line-height: 1.55; }
.faq-more__go { gap: 9px; white-space: nowrap; }
.faq-more__go .ic { width: 18px; height: 18px; }


/* 6. Responsive ------------------------------------------------------------ */
@media (max-width: 1023px) {
  .faq-more { grid-template-columns: auto minmax(0, 1fr); }
  .faq-more__go { grid-column: 1 / -1; justify-self: start; }
  .map-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .faq-more { gap: 14px; padding: 22px 20px; }
  .faq-more__icon { width: 46px; height: 46px; }
  .faq-more__title { font-size: 19px; }
  .faq-more__go { justify-self: stretch; justify-content: center; white-space: normal; }
  .choices__grid, .map-groups { grid-template-columns: 1fr; }
  .faq-group__title { font-size: 20px; }
  .prose { font-size: 16px; }
  .prose h3, .prose h4 { font-size: 19px; }
}
