/* ===== FAQ (between the request form and the footer) ===== */
.trust {
  position: relative; z-index: 61;
  background: var(--charcoal); color: var(--plaster);
  padding: 120px var(--margin) 140px;
}
.trust-inner { max-width: 1600px; margin: 0 auto; }

/* hairline drawn in from the left by faq.js (transform owned by GSAP) */
.faq-item::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: rgba(239,235,225,.18);
  transform-origin: 0 50%; transform: scaleX(var(--line, 1));
}
/* ---------- FAQ ---------- */
.faq {
  display: grid; grid-template-columns: 1fr; gap: 48px;
}
.faq-title {
  margin: 0;
  font: 600 44px/1 var(--display); letter-spacing: 0; text-transform: uppercase;
}
.faq-lead {
  margin: 28px 0 32px; max-width: 32ch;
  font: 300 18px/1.15 var(--sans); letter-spacing: .02em; color: rgba(239,235,225,.6);
}

.faq-list { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid rgba(239,235,225,.18); }
.faq-item { position: relative; }
/* accent hairline that grows over the base one when the item is open */
.faq-item::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: var(--clay);
  transform-origin: 0 50%; transform: scaleX(0);
  transition: transform .9s cubic-bezier(.17,.84,.44,1);
}
.faq-item.is-open::after { transform: scaleX(1); }

.faq-q { margin: 0; }
.faq-q button {
  display: grid; grid-template-columns: 36px 1fr 28px; align-items: center; gap: 12px;
  width: 100%; padding: 24px 0;
  background: none; border: 0; color: inherit; text-align: left; cursor: pointer;
  font: 400 19px/1.2 var(--sans); letter-spacing: .01em;
  -webkit-tap-highlight-color: transparent;
}
.faq-q button:focus-visible { outline: 1px solid var(--plaster); outline-offset: 4px; }
.faq-idx {
  font: 400 13px/1 var(--sans); letter-spacing: .02em; color: var(--muted);
  transition: color .4s ease;
}
.faq-label {
  display: block;
  transition: transform .6s cubic-bezier(.17,.84,.44,1), color .4s ease;
}
.faq-item.is-open .faq-idx { color: var(--clay); }
@media (hover: hover) {
  .faq-q button:hover .faq-label { transform: translateX(8px); }
  .faq-q button:hover .faq-idx { color: var(--plaster); }
  .faq-q button:hover .faq-icon { border-color: rgba(239,235,225,.6); }
}

/* plus → minus, the vertical bar folds away */
.faq-icon {
  position: relative; justify-self: end;
  width: 28px; height: 28px; border: 1px solid rgba(239,235,225,.25); border-radius: 50%;
  transition: background-color .5s ease, border-color .5s ease, transform .7s cubic-bezier(.17,.84,.44,1);
}
.faq-icon::before, .faq-icon::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 10px; height: 1px; margin: -.5px 0 0 -5px; background: currentColor;
  transition: transform .7s cubic-bezier(.17,.84,.44,1);
}
.faq-icon::after { transform: rotate(90deg); }
.faq-item.is-open .faq-icon { background: var(--clay); border-color: var(--clay); transform: rotate(180deg); }
.faq-item.is-open .faq-icon::after { transform: rotate(0deg); }

/* answer: height animates through grid rows 0fr → 1fr, text slides up inside */
.faq-a {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows .7s cubic-bezier(.17,.84,.44,1);
}
.faq-a > div { overflow: hidden; min-height: 0; }
.faq-a p {
  margin: 0; padding: 0 0 28px 48px; max-width: 60ch;
  font: 300 17px/1.45 var(--sans); letter-spacing: .02em; color: rgba(239,235,225,.66);
  opacity: 0; transform: translateY(14px);
  transition: opacity .35s ease, transform .5s cubic-bezier(.17,.84,.44,1);
}
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }
.faq-item.is-open .faq-a p {
  opacity: 1; transform: none;
  transition: opacity .7s ease .15s, transform .9s cubic-bezier(.17,.84,.44,1) .1s;
}

@media (min-width: 800px) {
  .trust { padding: 160px var(--margin) 200px; }
  .faq-title { font-size: 76px; }
  .faq { grid-template-columns: 5fr 7fr; column-gap: 8vw; }
  .faq-aside { position: sticky; top: 140px; align-self: start; }
  .faq-lead { font-size: 22px; }
  .faq-q button { grid-template-columns: 56px 1fr 34px; padding: 30px 0; font-size: 22px; }
  .faq-icon { width: 34px; height: 34px; }
  .faq-a p { padding-left: 68px; font-size: 18px; }
}
@media (min-width: 1200px) {
  .faq-q button { font-size: 24px; }
}

/* ---------- "Message us": messenger choice ---------- */
.msg { display: grid; justify-items: start; gap: 12px; }
.msg-list {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 8px;
}
.msg-list li { overflow: hidden; }
.msg-item {
  display: inline-flex; align-items: center; gap: 10px;
  height: 44px; padding: 0 18px 0 14px;
  border: 1px solid rgba(239,235,225,.25);
  color: var(--plaster); text-decoration: none;
  font: 400 14px/1 var(--sans); letter-spacing: .02em;
  transform: translateY(105%);
  transition: transform .7s cubic-bezier(.17,.84,.44,1), border-color .3s ease, background-color .3s ease, color .3s ease;
}
.msg-item svg { width: 18px; height: 18px; color: var(--clay); transition: color .3s ease; }
.msg-item:hover, .msg-item:focus-visible { background: var(--clay); border-color: var(--clay); outline: none; }
.msg-item:hover svg, .msg-item:focus-visible svg { color: var(--plaster); }
.msg-list { visibility: hidden; transition: visibility 0s linear .7s; }
.msg.is-open .msg-list { visibility: visible; transition: none; }
.msg.is-open .msg-item { transform: none; }
.msg.is-open li:nth-child(2) .msg-item { transition-delay: .06s, 0s, 0s, 0s; }
.msg.is-open li:nth-child(3) .msg-item { transition-delay: .12s, 0s, 0s, 0s; }

/* phones: three equal buttons in one row, icon over label */
@media (max-width: 559px) {
  .msg { justify-items: stretch; }
  .msg-toggle { justify-self: start; }
  .msg-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .msg-item { width: 100%; height: 64px; padding: 0 6px; flex-direction: column; justify-content: center; gap: 6px; font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  .msg-item { transition: none !important; }
  .faq-a, .faq-a p, .faq-label, .faq-icon, .faq-icon::before, .faq-icon::after, .faq-item::after { transition: none !important; }
}
