/* Clay-inspired FAQ (homepage) + footer helix — PC base + mobile overrides */

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

.wp-faq__inner {
  max-width: 1120px;
}

.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__item {
  position: relative;
}

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

.wp-faq__q {
  flex: 1 1 auto;
  font-size: 20px;
  font-weight: 600;
  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: #858e97;
  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 — Clay "Let's Talk" + helix background */
.wp-ft {
  position: relative;
  overflow: hidden;
  background-color: #161616;
  background-image: url(../images/helix_assimmetry-invert.png);
  background-repeat: no-repeat;
  background-size: 1100px auto;
  background-position: 58% -8%;
  color: #fff;
  padding: 64px 0 calc(36px + env(safe-area-inset-bottom));
}

.wp-ft::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #161616;
}

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

.wp-ft__head {
  margin-bottom: 48px;
}

.wp-ft__logo {
  display: block;
  max-width: 160px;
  height: auto;
}

.wp-ft__heading {
  margin: 28px 0 0;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #fff;
}

.wp-ft__contacts {
  display: grid;
  gap: 40px;
  margin-bottom: 56px;
}

.wp-ft__label {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
}

.wp-ft__mail,
.wp-ft__tel {
  display: inline-block;
  color: #fff;
  text-decoration: none;
  font-size: 28px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
  transition: opacity 0.15s ease;
}

.wp-ft__mail:hover,
.wp-ft__tel:hover {
  opacity: 0.72;
}

.wp-ft__tel {
  margin-top: 8px;
}

.wp-ft__nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.wp-ft__nav a {
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
}

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

.wp-ft__mid {
  display: grid;
  gap: 40px;
  margin-bottom: 56px;
}

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

.wp-ft__office-title {
  display: block;
  margin-bottom: 6px;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}

.wp-ft__office-text {
  margin: 0;
  padding-right: 8%;
  font-size: 14px;
  line-height: 1.45;
  color: #b0b6bd;
}

.wp-ft__qr {
  width: 132px;
  padding: 10px;
  background: #fff;
  border-radius: 12px;
  text-align: center;
  box-sizing: border-box;
}

.wp-ft__qr img {
  display: block;
  width: 100%;
  border-radius: 6px;
}

.wp-ft__qr p {
  margin: 8px 0 0;
  font-size: 12px;
  color: #333;
}

.wp-ft__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 24px;
  padding-top: 8px;
}

.wp-ft__copy,
.wp-ft__copy a {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
}

.wp-ft__copy a:hover {
  color: #de2d44;
}

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

.wp-ft__meta a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  font-size: 14px;
}

.wp-ft__meta a:hover {
  color: #fff;
}

/* Keep friend-links readable under dark footer stack */
.friend-links {
  background: #111;
  margin: 0;
  padding: 14px 20px 18px;
  text-align: center;
}

@media (min-width: 768px) {
  .wp-ft {
    background-position: -420px 42%;
    background-size: 1200px auto;
    padding-top: 72px;
  }

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

  .wp-ft__contacts {
    grid-template-columns: 1fr 1fr;
    column-gap: 24px;
    align-items: start;
  }

  .wp-ft__mid {
    grid-template-columns: 1fr auto;
    align-items: start;
  }

  .wp-ft__offices {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1250px) {
  .wp-faq {
    padding-top: 88px;
  }

  .wp-faq__title {
    font-size: 42px;
  }

  .wp-faq__q {
    font-size: 22px;
  }

  .wp-ft {
    background-position: 72% 18%;
    background-size: 980px auto;
    padding-top: 84px;
  }

  .wp-ft__head {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: end;
    margin-bottom: 64px;
  }

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

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

  .wp-ft__nav {
    grid-template-columns: 33% auto;
    row-gap: 6px;
  }
}

@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 {
    background-size: 900px auto;
    background-position: 54% 0;
    padding: 48px 0 calc(28px + env(safe-area-inset-bottom));
  }

  .wp-ft__heading {
    font-size: 32px;
    margin-top: 20px;
  }

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

  .wp-ft__contacts {
    margin-bottom: 40px;
    gap: 28px;
  }

  .wp-ft__mid {
    margin-bottom: 36px;
    justify-items: start;
  }

  .wp-ft__offices {
    grid-template-columns: 1fr 1fr;
    gap: 22px 12px;
  }

  .wp-ft__qr {
    margin-top: 4px;
  }

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