/* =========================
   FAQ PAGE
   ========================= */

/* ===== PAGE WIDTH LOCK ===== */
html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

* {
  box-sizing: border-box;
}

img,
video,
iframe {
  max-width: 100%;
}

.page-faq {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

/* ===== NAVBAR ===== */
.page-faq .navbar {
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.page-faq .navbar.solid {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(8px);
}

/* On white pages, keep nav text/logo dark */
.page-faq .nav-links a {
  color: #000;
}

.page-faq .logo {
  filter: brightness(0) invert(0);
}

/* Make burger visible on white background */
@media (max-width: 950px) {
  .page-faq .menu-toggle span {
    background: #000 !important;
  }
}

/* ===== MAIN LAYOUT ===== */
.faq-main {
  width: 100%;
  max-width: 1050px;
  margin: 0 auto;
  padding: 140px 1.5rem 4rem;
  overflow-x: hidden;
}

/* ===== INTRO ===== */
.faq-intro {
  max-width: 820px;
  margin: 0 auto 3rem;
  text-align: center;
}

.faq-intro h1 {
  font-family: "Permanent Marker", cursive;
  font-size: 2.8rem;
  margin-bottom: 0.85rem;
}

.faq-intro p {
  line-height: 1.85;
  color: #222;
}

/* ===== LIST ===== */
.faq-list {
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  width: 100%;
  max-width: 100%;
  background: #f6f6f6;
  border-radius: 18px;
  padding: 1.1rem 1.2rem;
  overflow: hidden;
}

.faq-inline-btn {
  margin-top: 1rem;
}

/* ===== DARK BUTTON ===== */
.faq-btn.faq-btn-dark {
  background: #000;
  color: #fff;
  border: 2px solid #000;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.faq-btn.faq-btn-dark:hover {
  transform: translateY(-2px);
  background: #111;
  color: #fff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

/* ===== INCLUDED BOX ===== */
.included-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.included-box {
  background: #eaeaea;
  border-radius: 18px;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
  cursor: pointer;
}

.included-link:hover .included-box {
  background: #e0e0e0;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

/* ===== SUMMARY ===== */
.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 1px;
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  outline: none;
}

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

.faq-item summary::after {
  content: "+";
  font-size: 1.6rem;
  line-height: 1;
  opacity: 0.8;
}

.faq-item[open] summary::after {
  content: "–";
}

/* ===== ANSWER ===== */
.faq-answer {
  padding-top: 0.85rem;
}

.faq-answer p {
  margin: 0;
  line-height: 1.85;
  color: #222;
}

.faq-answer p + p {
  margin-top: 0.9rem;
}

.faq-answer ul {
  margin: 0.9rem 0 0 1rem;
  padding-left: 0;
}

.faq-answer li {
  margin-bottom: 0.3rem;
  line-height: 1.7;
  color: #222;
}

/* FAQ body links stay black */
.faq-answer a.footer-link {
  color: #000;
  text-decoration: none;
}

.faq-answer a.footer-link:hover {
  text-decoration: underline;
}

/* ===== CTA ===== */
.faq-cta {
  width: 100%;
  max-width: 100%;
  margin-top: 3.5rem;
  background: #000;
  color: #fff;
  border-radius: 22px;
  padding: 2.4rem 1.6rem;
  text-align: center;
  overflow: hidden;
}

.faq-cta h2 {
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 1px;
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
}

.faq-cta p {
  line-height: 1.8;
  opacity: 0.95;
  margin-bottom: 1.35rem;
}

.faq-cta-buttons {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== BUTTONS ===== */
.faq-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 1.4rem;
  border-radius: 999px;
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    color 0.2s ease;
}

.faq-btn:hover:not(.faq-btn-dark) {
  transform: translateY(-2px);
  background: #fff;
  color: #000;
}

/* ===== EXPANDING SIDE PHOTO ===== */
.faq-item.has-photo .faq-body {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.faq-item.has-photo .faq-side-photo {
  height: 100%;
  border-radius: 16px;
  overflow: hidden;
  background: #ddd;
  max-width: 0;
  opacity: 0;
  transform: translateX(10px);
  transition:
    max-width 320ms ease,
    opacity 240ms ease,
    transform 320ms ease;
}

.faq-item.has-photo .faq-side-photo img {
  width: 100%;
  height: 100%;
  min-height: 180px;
  object-fit: cover;
  display: block;
}

@media (min-width: 860px) {
  .faq-item.has-photo[open] .faq-body {
    grid-template-columns: minmax(0, 1fr) 240px;
    align-items: stretch;
  }

  .faq-item.has-photo[open] .faq-side-photo {
    max-width: 240px;
    opacity: 1;
    transform: translateX(0);
  }
}

@media (max-width: 859px) {
  .faq-item.has-photo[open] .faq-side-photo {
    max-width: 100%;
    opacity: 1;
    transform: translateX(0);
  }
}

/* =========================
   FOOTER
   ========================= */

.site-footer {
  width: 100%;
  max-width: 100%;
  background: #000;
  color: #fff;
  text-align: center;
  padding: 1.5rem 1rem 1.8rem;
  margin-top: 4rem;
  overflow: hidden;
}

.footer-legal {
  margin: 0;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  line-height: 1.6;
  text-decoration: none;
  border-bottom: none;
  outline: none;
}

.footer-legal span,
.footer-legal a,
.footer-link {
  text-decoration: none;
  border-bottom: none;
  outline: none;
}

.footer-link {
  color: #fff;
  font-weight: 600;
  white-space: nowrap;
}

.footer-link:hover {
  text-decoration: underline;
}

/* ===== FOOTER PARTNERS ===== */
.footer-partners {
  width: 100%;
  max-width: 100%;
  text-align: center;
  margin-bottom: 1.2rem;
  overflow: visible;
}

.footer-partners-title {
  font-size: 0.85rem;
  letter-spacing: 1px;
  opacity: 0.7;
  margin: 0 0 0.75rem 0;
}

.footer-logos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  width: 100%;
  max-width: 650px;
  margin: 0 auto;
  column-gap: 2rem;
  overflow: visible;
}

.footer-logos a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  overflow: visible;
}

.footer-logos img {
  width: auto;
  max-width: 100%;
  object-fit: contain;
  opacity: 0.9;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
  display: block;
}

.footer-logos img[alt="ION"] {
  height: 155px;
}

.footer-logos img[alt="SolarGuard"] {
  height: 72px;
}

.footer-logos img[alt="ROC Bike Customs"] {
  height: 38px;
}

.footer-logos img:hover {
  opacity: 1;
  transform: translateY(-2px);
}

/* =========================
   MOBILE
   ========================= */

@media (max-width: 700px) {
  html,
  body,
  .page-faq,
  main,
  section,
  details,
  .faq-main,
  .faq-intro,
  .faq-list,
  .faq-item,
  .faq-answer,
  .faq-cta,
  .site-footer {
    max-width: 100%;
    overflow-x: hidden;
  }

  body {
    touch-action: pan-y;
  }

  .faq-main {
    padding: 120px 1rem 3.5rem;
  }

  .faq-intro {
    margin-bottom: 2.4rem;
  }

  .faq-intro h1 {
    font-size: 2.35rem;
    line-height: 1.15;
  }

  .faq-intro p {
    font-size: 0.95rem;
    line-height: 1.7;
  }

  .faq-item {
    padding: 1rem;
  }

  .faq-item summary {
    font-size: 1.35rem;
    line-height: 1.2;
  }

  .faq-answer p,
  .faq-answer li {
    font-size: 0.95rem;
    line-height: 1.7;
  }

  .faq-cta {
    padding: 2rem 1rem;
  }

  .faq-cta h2 {
    font-size: 1.9rem;
  }

  .faq-cta p {
    font-size: 0.95rem;
    line-height: 1.7;
  }

  .faq-btn {
    width: 100%;
    max-width: 260px;
  }

  .footer-logos {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 0.75rem;
    max-width: 100%;
    padding: 0 0.25rem;
  }
}

@media (max-width: 600px) {
  .footer-legal .footer-break {
    display: block;
    height: 0;
  }

  .footer-legal .footer-sep {
    display: none;
  }
}

@media (min-width: 601px) {
  .footer-legal .footer-break {
    display: none;
  }

  .footer-legal .footer-sep {
    display: inline;
  }
}

/* ===== KEEP MOBILE FOOTER LOGO SIZES CONSISTENT ACROSS ALL PAGES ===== */
@media (max-width: 700px) {
  .site-footer .footer-logos img[alt="ION"] {
    height: 76px !important;
    max-height: none !important;
    max-width: 120px !important;
  }

  .site-footer .footer-logos img[alt="SolarGuard"] {
    height: 50px !important;
    max-height: none !important;
    max-width: 110px !important;
  }

  .site-footer .footer-logos img[alt="ROC Bike Customs"] {
    height: 28px !important;
    max-height: none !important;
    max-width: 120px !important;
  }
}

/* ===== MOBILE MENU: STAY VISIBLE AFTER SCROLL ===== */
@media (max-width: 950px) {
  .navbar,
  .navbar.solid,
  .nav-bar {
    overflow: visible !important;
  }

  .navbar.solid {
    backdrop-filter: none !important;
  }

  .mobile-menu {
    position: fixed !important;
    z-index: 99999 !important;
    display: none;
    overflow: visible !important;
  }
}
