/* FAQ + premium Clay-like footer */

.wp-faq {
  background: #3b5649;
  color: #fff;
  padding: 72px 0 72px;
}

.wp-faq__inner {
  width: 100%;
  max-width: none;
  box-sizing: border-box;
}

.wp-faq__title {
  margin: 0 0 18px;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #fff;
}

.wp-faq__list { width: 100%; }

.wp-faq__item {
  position: relative;
  width: 100%;
}

.wp-faq__item:not(:last-child)::after {
  content: "";
  display: block;
  height: 1px;
  width: 100%;
  background: rgba(255, 255, 255, 0.18);
}

.wp-faq__btn {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  margin: 0;
  padding: 24px 4px 24px 0;
  border: 0;
  background: transparent;
  color: #fff;
  text-align: left;
  cursor: pointer;
  font: inherit;
  box-sizing: border-box;
}

.wp-faq__q {
  flex: 1 1 auto;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: -0.02em;
  transition: color 0.15s ease;
}

.wp-faq__btn:hover .wp-faq__q { color: rgba(255, 255, 255, 0.55); }
.wp-faq__item.is-open .wp-faq__btn:hover .wp-faq__q { color: #fff; }

.wp-faq__icon {
  flex: 0 0 auto;
  display: inline-flex;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.45);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s ease;
}

.wp-faq__item.is-open .wp-faq__icon {
  transform: scaleY(-1);
  color: rgba(255, 255, 255, 0.7);
}

.wp-faq__a {
  display: none;
  padding: 0 12% 28px 0;
  color: #c1dddf;
  font-size: 15px;
  line-height: 1.7;
}

.wp-faq__item.is-open .wp-faq__a { display: block; }
.wp-faq__a p { margin: 0; }
.wp-faq__a a {
  color: #858e97;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ========== Footer ========== */
.wp-ft {
  --ft-ink: #111111;
  --ft-muted: #6b7280;
  --ft-line: rgba(17, 17, 17, 0.08);
  --ft-ease: cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  background-color: #f3f4f6;
  color: var(--ft-ink);
  padding: 72px 0 28px;
  font-family: "Helvetica Neue", Helvetica, Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}

.wp-ft__helix {
  position: absolute;
  z-index: 0;
  top: 8%;
  left: 42%;
  width: min(1200px, 95vw);
  pointer-events: none;
  user-select: none;
}

.wp-ft__helix-img {
  display: block;
  width: 100%;
  height: auto;
  opacity: 0.55;
  mix-blend-mode: multiply;
  animation: wp-ft-helix-drift 80s ease-in-out infinite;
  will-change: transform;
}

@keyframes wp-ft-helix-drift {
  0%   { transform: translate3d(0, 0, 0) rotate(0deg); }
  50%  { transform: translate3d(-2%, 1.5%, 0) rotate(4deg); }
  100% { transform: translate3d(0, 0, 0) rotate(0deg); }
}

.wp-ft__inner {
  position: relative;
  z-index: 2;
}

.wp-ft__top {
  display: grid;
  gap: 48px;
  margin-bottom: 72px;
}

.wp-ft__eyebrow {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: none;
  color: var(--ft-muted);
}

.wp-ft__heading {
  margin: 0 0 28px;
  font-family: "Nunito", "Quicksand", "Varela Round", "PingFang SC", "Hiragino Sans GB", sans-serif;
  font-size: 42px;
  font-weight: 1000 !important;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #fc4a0a;
}

.wp-ft__links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.wp-ft__mail,
.wp-ft__tel {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ft-ink);
  text-decoration: none;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.025em;
  border-bottom: 1px solid transparent;
  transition: color 0.2s var(--ft-ease), border-color 0.2s var(--ft-ease), opacity 0.2s ease;
}

.wp-ft__loc {
  font-style: normal;
  font-weight: 500;
  color: var(--ft-muted);
  margin-right: 6px;
  font-size: 0.72em;
  letter-spacing: 0;
}

.wp-ft__mail:hover,
.wp-ft__tel:hover {
  color: #fc4a0a;
  border-bottom-color: rgba(252, 74, 10, 0.35);
}

.wp-ft__glyph {
  flex: 0 0 auto;
  color: var(--ft-muted);
  opacity: 0.9;
}

.wp-ft__mail:hover .wp-ft__glyph,
.wp-ft__tel:hover .wp-ft__glyph {
  color: #fc4a0a;
}

.wp-ft__nav-wrap {
  min-width: 0;
}

.wp-ft__nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 28px;
  row-gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.wp-ft__nav a {
  display: inline-block;
  color: var(--ft-ink);
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: -0.01em;
  transition: color 0.18s ease, opacity 0.18s ease;
}

.wp-ft__nav a:hover {
  color: #fc4a0a;
}

.wp-ft__mid {
  margin-bottom: 56px;
}

.wp-ft__offices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.wp-ft__office-title {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ft-ink);
}

.wp-ft__office-text {
  margin: 0;
  max-width: 26ch;
  font-size: 13px;
  font-weight: 450;
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: var(--ft-muted);
}

.wp-ft__office-qr .wp-ft__qr {
  width: 108px;
  padding: 8px 8px 10px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  text-align: center;
  box-sizing: border-box;
}

.wp-ft__qr img {
  display: block;
  width: 100%;
  border-radius: 4px;
  background: #fff;
}

.wp-ft__qr p {
  margin: 8px 0 0;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
  color: #333;
}

.wp-ft__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding-top: 22px;
  border-top: 1px solid var(--ft-line);
}

.wp-ft__copy {
  margin: 0;
  font-size: 13px;
  font-weight: 450;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--ft-muted);
}

.wp-ft__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.wp-ft__meta a {
  color: var(--ft-muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 450;
  letter-spacing: -0.01em;
  transition: color 0.18s ease;
}

.wp-ft__meta a:hover {
  color: var(--ft-ink);
}

.friend-links {
  background: #f3f4f6;
  margin: 0;
  padding: 12px 20px 20px;
  text-align: center;
  border-top: none;
  font-size: 12px;
  line-height: 1.7;
  color: #9ca3af;
}

.friend-links,
.friend-links a {
  color: #9ca3af;
}

.friend-links a:hover {
  color: #6b7280;
}

@media (min-width: 768px) {
  .wp-ft {
    padding: 80px 0 32px;
  }

  .wp-ft__helix {
    top: -4%;
    left: 28%;
    width: min(1280px, 88vw);
  }

  .wp-ft__heading {
    font-size: 48px;
  }

  .wp-ft__nav a {
    font-size: 17px;
    line-height: 1.75;
  }

  .wp-ft__mail,
  .wp-ft__tel {
    font-size: 24px;
  }

  .wp-ft__top {
    grid-template-columns: minmax(280px, 1fr) minmax(260px, 380px);
    column-gap: 64px;
    align-items: start;
  }

  .wp-ft__nav-wrap {
    padding-top: 42px;
    justify-self: end;
    width: 100%;
    max-width: 380px;
  }

  .wp-ft__nav {
    column-gap: 24px;
    row-gap: 6px;
  }

  .wp-ft__offices {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px 24px;
  }
}

@media (min-width: 1250px) {
  .wp-faq { padding-top: 88px; }
  .wp-faq__title { font-size: 42px; }
  .wp-faq__q { font-size: 22px; }

  .wp-ft {
    padding: 96px 0 36px;
  }

  .wp-ft__helix {
    left: 34%;
    width: min(1360px, 72vw);
    top: -8%;
  }

  .wp-ft__helix-img {
    opacity: 0.5;
  }

  .wp-ft__top {
    margin-bottom: 96px;
    grid-template-columns: 1.15fr 0.85fr;
    column-gap: 80px;
  }

  .wp-ft__heading {
    font-size: 56px;
    margin-bottom: 32px;
  }

  .wp-ft__mail,
  .wp-ft__tel {
    font-size: 28px;
    gap: 12px;
  }

  .wp-ft__nav-wrap {
    max-width: 420px;
    padding-top: 52px;
  }

  .wp-ft__nav {
    grid-template-columns: 48% 1fr;
    column-gap: 18px;
    row-gap: 8px;
  }

  .wp-ft__nav a {
    font-size: 18px;
    line-height: 1.8;
  }

  .wp-ft__mid {
    margin-bottom: 72px;
  }

  .wp-ft__office-title {
    font-size: 15px;
  }

  .wp-ft__office-text {
    font-size: 14px;
    max-width: 28ch;
  }
}

@media (max-width: 768px) {
  .wp-faq {
    padding: 48px 0 12px;
  }

  .wp-faq__title {
    font-size: 28px;
    margin-bottom: 8px;
  }

  .wp-faq__q { font-size: 17px; }
  .wp-faq__btn { padding: 18px 0; }
  .wp-faq__a {
    padding-right: 4%;
    font-size: 14px;
    padding-bottom: 20px;
  }

  .wp-ft {
    padding: 52px 0 24px;
  }

  .wp-ft__helix {
    top: 18%;
    left: 8%;
    width: 920px;
  }

  .wp-ft__helix-img { opacity: 0.35; }

  .wp-ft__top { margin-bottom: 48px; gap: 36px; }

  .wp-ft__heading {
    font-size: 34px;
    margin-bottom: 20px;
  }

  .wp-ft__mail,
  .wp-ft__tel {
    font-size: 18px;
  }

  .wp-ft__nav a {
    font-size: 15px;
  }

  .wp-ft__mid { margin-bottom: 40px; }

  .wp-ft__offices {
    grid-template-columns: 1fr 1fr;
    gap: 24px 16px;
  }

  .wp-ft__office-qr {
    grid-column: 1 / -1;
  }

  .wp-ft__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wp-ft__helix-img { animation: none; }
}


@media (max-width: 768px) {
  .wp-faq {
    padding: 48px 0 !important;
  }
  .wp-faq__title {
    margin-bottom: 0 !important;
  }
}
