/* ==========================================================
   Naitmoo homepage bottom: FAQ + logo panel
   Loaded after homepage-features.css and commerce.css so the
   original page styles and components remain unchanged.
   ========================================================== */

/* FAQ: desktop layout matches the supplied 1504px-wide reference. */
body .home-faq {
  background: #131313;
  color: #FFFFFF;
  padding: 44px clamp(24px, 4.1vw, 62px) 57px;
}

.home-faq .home-faq-inner {
  width: 100%;
  max-width: 1450px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: clamp(275px, 24.6vw, 370px) minmax(0, 1fr);
  column-gap: clamp(30px, 3.9vw, 58px);
  align-items: start;
}

.home-faq .home-faq-intro {
  padding-top: 18px;
  min-width: 0;
}

.home-faq .home-faq-label {
  margin: 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: 0;
  color: #FFFFFF;
}

.home-faq .home-faq-intro-copy {
  margin-top: 51px;
  margin-left: clamp(0px, 4.12vw, 62px);
}

.home-faq .home-faq-intro-copy h2 {
  margin: 0;
  max-width: 320px;
  color: #FFFFFF;
  font-size: clamp(28px, 2.15vw, 32px);
  line-height: 1.48;
  letter-spacing: -0.035em;
  font-weight: 400;
}

.home-faq .home-faq-intro-copy > p {
  max-width: 305px;
  margin: 15px 0 0;
  font-size: 13px;
  line-height: 22px;
  font-weight: 400;
  color: #FFFFFF;
}

.home-faq .home-faq-list {
  min-width: 0;
}

.home-faq .home-faq-item {
  border: 0;
  border-bottom: 1px solid #565656;
  margin: 0;
  padding: 0;
  background: transparent;
}

.home-faq .home-faq-item:last-child {
  border-bottom: 0;
}

.home-faq .home-faq-item h3 {
  margin: 0;
  padding: 0;
  font-size: inherit;
  font-weight: 400;
  line-height: normal;
  letter-spacing: 0;
}

.home-faq .home-faq-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  min-height: 69px;
  margin: 0;
  padding: 19px 14px 19px 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  color: #FFFFFF;
  font-family: inherit;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: -0.01em;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  outline-offset: 4px;
  -webkit-tap-highlight-color: transparent;
}

.home-faq .home-faq-toggle > span:first-child {
  flex: 1;
  min-width: 0;
}

.home-faq .home-faq-toggle:hover {
  color: #FFFFFF;
}

.home-faq .home-faq-toggle:focus-visible {
  outline: 2px solid #FFFFFF;
}

/* Two thin lines create a centered +; rotating it makes a clear x. */
.home-faq .home-faq-icon {
  position: relative;
  display: block;
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  color: #FFFFFF;
  transform: rotate(0deg);
  transition: transform 280ms cubic-bezier(.2, .8, .2, 1);
}

.home-faq .home-faq-icon::before,
.home-faq .home-faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  background: currentColor;
  border: 0;
  border-radius: 0;
  transform: translate(-50%, -50%);
}

.home-faq .home-faq-icon::before {
  width: 9px;
  height: 1.4px;
}

.home-faq .home-faq-icon::after {
  width: 1.4px;
  height: 9px;
}

.home-faq .home-faq-item.is-open .home-faq-icon {
  transform: rotate(45deg);
}

/* The grid-row transition animates answers of ANY length, without
   brittle fixed max-height values or jump cuts. */
.home-faq .home-faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  min-height: 0;
  max-height: none !important;
  height: auto;
  opacity: 1;
  overflow: hidden;
  visibility: visible;
  padding: 0;
  transition: grid-template-rows 420ms cubic-bezier(.2, .8, .2, 1);
}

.home-faq .home-faq-item.is-open .home-faq-answer {
  grid-template-rows: 1fr;
}

.home-faq .home-faq-clip {
  min-height: 0;
  overflow: hidden;
}

.home-faq .home-faq-copy {
  padding: 0 32px 21px 0;
  color: #FFFFFF;
  font-size: 12px;
  line-height: 20px;
  font-weight: 400;
  opacity: 0;
  transform: translateY(-7px);
  transition: opacity 280ms ease, transform 350ms ease;
}

.home-faq .home-faq-item.is-open .home-faq-copy {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 65ms;
}

.home-faq .home-faq-copy p {
  margin: 0 0 13px;
  color: #FFFFFF;
  font-size: inherit;
  line-height: inherit;
}

.home-faq .home-faq-copy p:last-child { margin-bottom: 0; }
.home-faq .home-faq-copy ol,
.home-faq .home-faq-copy ul { margin: 8px 0 12px; padding-left: 21px; }
.home-faq .home-faq-copy li { margin: 6px 0; }
.home-faq .home-faq-copy li p { margin: 6px 0; }
.home-faq .home-faq-copy li ul { margin: 6px 0 10px; }

/* Large subdued naitmoo artwork beneath the FAQ. */
body .home-brand-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 299px;
  padding: 59px 20px 50px;
  background: #0B100E;
  overflow: hidden;
}

.home-brand-mark {
  position: relative;
  width: min(100%, 980px);
  max-width: 980px;
}

.home-brand-mark img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: .20;
}

/* Reveal a white copy over the original artwork, preserving the exact logo. */
.home-brand-mark .home-brand-fill {
  position: absolute;
  inset: 0;
  opacity: 1;
  pointer-events: none;
  clip-path: inset(0 100% 0 0);
}

.home-brand-mark.is-filled .home-brand-fill {
  animation: home-brand-fill 1.8s cubic-bezier(.22, .61, .36, 1) both;
}

@keyframes home-brand-fill {
  from { clip-path: inset(0 100% 0 0); }
  to { clip-path: inset(0 0 0 0); }
}

/* Tablet and mobile: keep FAQ readable without horizontal scrolling. */
@media (max-width: 980px) {
  body .home-faq { padding: 55px 32px 62px; }
  .home-faq .home-faq-inner {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 40px;
  }
  .home-faq .home-faq-intro { padding-top: 0; }
  .home-faq .home-faq-intro-copy { margin-top: 22px; margin-left: 0; }
  .home-faq .home-faq-intro-copy h2 { font-size: 32px; line-height: 1.3; }
  .home-faq .home-faq-intro-copy > p { max-width: 510px; }
  body .home-brand-panel { min-height: 220px; padding: 44px 25px; }
  .home-brand-mark { width: min(100%, 740px); }
}

@media (max-width: 600px) {
  body .home-faq { padding: 42px 20px 52px; }
  .home-faq .home-faq-inner { row-gap: 24px; }
  .home-faq .home-faq-intro-copy h2 { font-size: 30px; line-height: 1.25; }
  .home-faq .home-faq-intro-copy > p { font-size: 13px; line-height: 21px; }
  .home-faq .home-faq-toggle {
    gap: 12px;
    padding: 19px 2px 19px 0;
    min-height: 68px;
    font-size: 15px;
  }
  .home-faq .home-faq-copy { padding-right: 4px; font-size: 12px; line-height: 20px; }
  body .home-brand-panel { min-height: 150px; padding: 36px 17px; }
}

@media (prefers-reduced-motion: reduce) {
  .home-brand-mark .home-brand-fill {
    clip-path: inset(0 0 0 0);
    animation: none !important;
  }

  .home-faq .home-faq-answer,
  .home-faq .home-faq-copy,
  .home-faq .home-faq-icon {
    transition: none !important;
  }
}
