/* =====================================================================
   SITE FAQ COMPONENT — the Home FAQ (heading with a grey tail, a supporting line,
   direct contacts, numbered questions with hairlines) on every page that loads it.
   Scoped by html.sfq, which assets/components/site-faq.js adds after mounting.
   ===================================================================== */
:root.sfq .faq { display: block !important; position: relative; isolation: isolate; }
/* frame: only the outer lines (inner lines clash with the content) */
:root.sfq .faq::before { content: ""; position: absolute; top: 0; bottom: 0; left: var(--pad-x); right: var(--pad-x); z-index: -1; pointer-events: none;
  border-left: 1px solid rgba(17, 19, 31, .07); border-right: 1px solid rgba(17, 19, 31, .07); background-image: none !important; }
:root.sfq .faq__pin, :root.sfq .faq__list { background: transparent !important; }
:root.sfq .faq__pin { padding-left: calc(var(--pad-x) + clamp(24px, 3.4vw, 56px)) !important; padding-right: calc(var(--pad-x) + clamp(24px, 3.4vw, 56px)) !important; }

/* left side: copy on the page, no panel */
:root.sfq .faq__panel { background: none !important; background-image: none !important; box-shadow: none !important; border-radius: 0 !important; padding: 8px 0 0 !important; min-height: 0 !important; justify-content: flex-start !important; gap: 36px !important; position: relative; overflow: visible !important; }
:root.sfq .faq__panel::before { content: none !important; }
:root.sfq .faq__panelTop { display: flex; flex-direction: column; gap: 22px; }
:root.sfq .faq .pill { background: none !important; border: 0 !important; box-shadow: none !important; padding: 0 !important; border-radius: 0 !important; display: inline-flex; align-items: center; gap: 8px; color: #6b7183 !important;
  font: 700 12.5px/1 "Geologica", sans-serif !important; letter-spacing: .16em !important; text-transform: uppercase; align-self: flex-start; }
:root.sfq .faq .pill::before { content: ""; width: 10px; height: 10px; flex: none; border-radius: 50% 50% 0 50%; background: #4a3dcc; }
:root.sfq .faq__title { color: #11131f !important; font-size: clamp(34px, 3.4vw, 52px) !important; line-height: 1.06 !important; letter-spacing: -.03em !important; }
/* heading voice: the tail is grey and sweeps to ink on hover */
:root.sfq .faq__title .hpg { display: inline; font-style: normal; font-weight: inherit; color: transparent !important;
  background: linear-gradient(90deg, #11131f 0 50%, #a3a8b5 50% 100%); background-size: 200% 100%; background-position: 100% 0;
  -webkit-background-clip: text; background-clip: text; transition: background-position 1s cubic-bezier(.65, 0, .35, 1); }
:root.sfq .faq__title:hover .hpg, :root.sfq .faq__panel:hover .faq__title .hpg { background-position: 0 0; }
:root.sfq .faqx__lead { margin: 4px 0 0; max-width: 360px; font: 400 17px/1.55 Inter, sans-serif; color: #555a6b; }
:root.sfq .faqx__contact { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; border-top: 1px solid rgba(17, 19, 31, .08); max-width: 360px; }
:root.sfq .faqx__contact li { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 0; border-bottom: 1px solid rgba(17, 19, 31, .08); }
:root.sfq .faqx__contact small { font: 600 12px/1 "Geologica", sans-serif; letter-spacing: .14em; text-transform: uppercase; color: #9aa0ae; }
:root.sfq .faqx__contact a { font: 600 16px/1.2 "Geologica", sans-serif; color: #11131f; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .45s cubic-bezier(.65, 0, .35, 1), color .3s; }
:root.sfq .faqx__contact a:hover { color: #4a3dcc; background-size: 100% 1px; }
/* the button is the solid purple one here */
:root.sfq .faq__panel .btn.sbx, :root.sfq.sbx-on .faq__panel .btn.sbx.sbx--out { background-color: #4a3dcc !important; color: #fff !important; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 10px 24px -8px rgba(74, 61, 204, .6) !important; }
:root.sfq .faq__panel .btn.sbx .sbx__ic { background: #fff !important; color: #4a3dcc !important; }

/* questions: numbered, outline toggles */
:root.sfq .faq__list { counter-reset: faqn; }
:root.sfq .faqItem { counter-increment: faqn; }
:root.sfq .faqItem__head { align-items: flex-start !important; }
:root.sfq .faqItem__q { display: flex; gap: 18px; align-items: baseline; }
:root.sfq .faqItem__q::before { content: counter(faqn, decimal-leading-zero); flex: none; width: 28px; font: 600 13px/1 "Geologica", sans-serif; letter-spacing: .04em; color: #9aa0ae; transform: translateY(-2px); transition: color .3s; }
:root.sfq .faqItem.is-open .faqItem__q::before, :root.sfq .faqItem__head:hover .faqItem__q::before { color: #4a3dcc; }
:root.sfq .faqItem__body { padding-left: 46px; }
:root.sfq .faqItem__toggle { background: transparent !important; color: #11131f !important; box-shadow: inset 0 0 0 1px #d9dbe5 !important; transition: transform .45s cubic-bezier(.2, .8, .2, 1), box-shadow .3s, color .3s !important; }
:root.sfq .faqItem__head:hover .faqItem__toggle, :root.sfq .faqItem.is-open .faqItem__toggle { box-shadow: inset 0 0 0 1px #4a3dcc !important; color: #4a3dcc !important; }

@media (max-width: 900px) {
  :root.sfq .faq__pin { padding-left: calc(var(--pad-x) + 16px) !important; padding-right: calc(var(--pad-x) + 16px) !important; }
  :root.sfq .faqItem__body { padding-left: 0; }
  :root.sfq .faq__panel { padding-top: 0 !important; }
}

/* two office lines, stacked on the right of the phone row */
.faqx__phones { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.faqx__addr { text-align: right; max-width: 240px; line-height: 1.45; }


/* =====================================================================
   FAQ BOARD (Manager, 16 Nov 2026: "tidier, less scattered"; Home first, other pages later).
   A 50 / 50 board: one line on top, one at the bottom, one down the middle. The lines run from frame
   line to frame line (the padding sits inside the two cells, never on the lines). Loaded on index.html
   v3: shared by every page with the FAQ (each page keeps its own questions); this file is appended to site-faq.css.
   ===================================================================== */
:root.sfq .faq { height: auto !important; min-height: 0 !important; padding: clamp(96px, 10vw, 144px) 0 !important; }
:root.sfq .faq__pin {
  position: relative !important; top: auto !important; height: auto !important; min-height: 0 !important;
  display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 0 !important; align-items: stretch !important;
  margin: 0 var(--pad-x) !important; padding: 0 !important;
  border-top: 1px solid rgba(17, 19, 31, .08); border-bottom: 1px solid rgba(17, 19, 31, .08);
}
:root.sfq .faq__pin > .faq__panel, :root.sfq .faq__pin > .faq__list {
  grid-column: auto !important; width: auto !important; max-width: none !important; margin: 0 !important; min-width: 0;
  padding: clamp(48px, 5vw, 72px) clamp(24px, 3.4vw, 56px) !important; box-sizing: border-box;
}
:root.sfq .faq__pin > .faq__list { border-left: 1px solid rgba(17, 19, 31, .08); align-self: stretch; padding-bottom: 0 !important; }   /* the last question keeps only its own spacing above the bottom line, like the others */
/* left cell: heading, lead, contacts and the button, top-aligned with the first question */
:root.sfq .faq__panel { justify-content: flex-start !important; gap: 32px !important; }
:root.sfq .faqx__lead, :root.sfq .faqx__contact { max-width: 440px; }
/* right cell: the first question starts on the cell's top padding, no extra rule above it */
:root.sfq .faq__list .faqItem:first-child { border-top: 0 !important; }
:root.sfq .faq__list .faqItem:first-child .faqItem__head { padding-top: 0 !important; }
:root.sfq .faq__list .faqItem:last-child { border-bottom: 0 !important; }

@media (max-width: 900px) {
  /* stacked: the middle line becomes a line between the two cells */
  :root.sfq .faq__pin { grid-template-columns: 1fr !important; }
  :root.sfq .faq__pin > .faq__list { border-left: 0; border-top: 1px solid rgba(17, 19, 31, .08); }
  :root.sfq .faq__pin > .faq__panel, :root.sfq .faq__pin > .faq__list { padding: 40px 16px !important; }
}
/* contacts: label and value both read from the left (no zig-zag between a left label and a right value) */
:root.sfq .faqx__contact li { display: grid !important; grid-template-columns: 96px 1fr; gap: 16px; justify-content: start !important; }
:root.sfq .faqx__phones { align-items: flex-start !important; }
:root.sfq .faqx__addr { text-align: left !important; max-width: none !important; }

/* v2 (Manager, 16 Nov 2026): the padding is for the text only. Every line inside the board (between questions,
   between contact rows) runs the full cell, from the middle line to the frame line; the text is inset by --fq-p. */
:root.sfq .faq { --fq-p: clamp(24px, 3.4vw, 56px); }
:root.sfq .faq__pin > .faq__panel, :root.sfq .faq__pin > .faq__list { padding-left: 0 !important; padding-right: 0 !important; }
:root.sfq .faq__panelTop > .pill, :root.sfq .faq__panel > .btn { margin-left: var(--fq-p) !important; }
:root.sfq .faq__title, :root.sfq .faqx__lead { padding: 0 var(--fq-p) !important; max-width: none !important; box-sizing: border-box; }
:root.sfq .faqx__contact { max-width: none !important; margin-left: 0 !important; margin-right: 0 !important; }
:root.sfq .faqx__contact li { padding-left: var(--fq-p) !important; padding-right: var(--fq-p) !important; }
:root.sfq .faq__list .faqItem { padding-left: var(--fq-p) !important; padding-right: var(--fq-p) !important; }
@media (max-width: 900px) { :root.sfq .faq { --fq-p: 16px; } }
:root.sfq .faq__panel > .btn { margin-right: var(--fq-p) !important; max-width: calc(100% - 2 * var(--fq-p)) !important; box-sizing: border-box; }
/* v3: the questions set the board's height, so the last one sits as close to the bottom line as the others sit to
   theirs (the left cell ends 24px above it, near the last question's own spacing) */
@media (min-width: 901px) { :root.sfq .faq__pin > .faq__panel { padding-bottom: 24px !important; } }
/* v4 (Manager, 19 Nov 2026): no empty framed band above or below the board; its top line meets the section
   before it and its bottom line meets the closing CTA */
:root.sfq .faq { padding-top: 0 !important; padding-bottom: 0 !important; }
/* v5 (Manager, 19 Nov 2026): no left and right frame lines on the FAQ; the board keeps its top, bottom and middle lines */
:root.sfq .faq::before { content: none !important; }
/* v6 (Manager, 19 Nov 2026): roomier, and the same space above the first line of text as below the last */
@media (min-width: 901px) {
  :root.sfq .faq__pin > .faq__panel, :root.sfq .faq__pin > .faq__list { padding-top: clamp(72px, 7vw, 104px) !important; padding-bottom: clamp(72px, 7vw, 104px) !important; }
  :root.sfq .faq__list .faqItem:last-child .faqItem__head { padding-bottom: 0 !important; }
}
/* v7 (Manager, 19 Nov 2026): no email / phone / office block; the Get in Touch button opens the same details */
:root.sfq .faqx__contact { display: none !important; }
/* v8 (Manager, 19 Nov 2026): a line on the right edge of the board */
:root.sfq .faq__pin { border-right: 1px solid rgba(17, 19, 31, .08); }
@media (max-width: 900px) { :root.sfq .faq__pin { border-right: 0; } }
/* v9 (Manager, 19 Nov 2026): the questions fill the right cell; every row grows equally, so the lines between them
   are evenly spaced from the board's top line to its bottom line */
@media (min-width: 901px) {
  :root.sfq .faq__pin > .faq__list { display: flex !important; flex-direction: column; padding-top: 0 !important; padding-bottom: 0 !important; }
  :root.sfq .faq__list .faqItem { flex: 1 1 auto; display: flex; flex-direction: column; justify-content: center; }
  :root.sfq .faq__list .faqItem .faqItem__head, :root.sfq .faq__list .faqItem:first-child .faqItem__head, :root.sfq .faq__list .faqItem:last-child .faqItem__head { padding-top: 24px !important; padding-bottom: 24px !important; }
  :root.sfq .faq__list .faqItem.is-open .faqItem__head { padding-bottom: 12px !important; }
  :root.sfq .faq__list .faqItem.is-open .faqItem__body { padding-bottom: 24px; }
}
/* v10 (Manager, 19 Nov 2026): no numbers beside the questions; the answers line up with the question text */
:root.sfq .faqItem__q::before { content: none !important; display: none !important; }
:root.sfq .faqItem__q { gap: 0 !important; }
:root.sfq .faqItem__body { padding-left: 0 !important; }
/* v11 (Manager, 19 Nov 2026): a left edge line too, matching the right */
:root.sfq .faq__pin { border-left: 1px solid rgba(17, 19, 31, .08); }
@media (max-width: 900px) { :root.sfq .faq__pin { border-left: 0; } }
