/**
 * FAQ, CTA band and contact form styles.
 */

/* ---------------- faq ---------------- */
.zb-root.faq { background:var(--ground); padding-block:100px; }
.zb-root.faq .faq-grid { display:grid; grid-template-columns:.82fr 1.18fr; gap:60px; }
@media (max-width:900px) { .zb-root.faq .faq-grid { grid-template-columns:1fr; gap:34px; } }
.zb-root.faq .faq-side { position:sticky; top:28px; align-self:start; }
/* once the grid stacks, sticky would pin the heading over the questions */
@media (max-width:900px) { .zb-root.faq .faq-side { position:static; top:auto; } }
.zb-root.faq .faq-side .lede { max-width:34ch; }
.zb-root.faq .faq-side .btn { margin-top:28px; }
/* beats .zb-root .btn-gl:hover in sections.css on specificity, no !important */
.zb-root.faq .faq-side .btn:hover {
  border-color:var(--orange); color:var(--orange); background:#fff;
}
.zb-root.faq .faq-side .btn:hover svg { stroke:var(--orange); }
.zb-root.faq details {
  background:#fff; border:1px solid var(--line); border-radius:12px; margin-bottom:14px;
  transition:box-shadow .25s, border-color .25s;
}
/* a soft brand tint on hover, the full brand colour once it is the open one */
.zb-root.faq details:hover { border-color:rgba(var(--orange-rgb),.42); }
.zb-root.faq details[open] { box-shadow:var(--sh-sm); border-color:var(--orange); }
.zb-root.faq summary {
  list-style:none; cursor:pointer; padding:22px 56px 22px 24px; position:relative;
  font-family:var(--disp); font-weight:700; font-size:1.04rem; color:var(--ink);
}
.zb-root.faq summary::-webkit-details-marker { display:none; }
.zb-root.faq summary .cv {
  position:absolute; right:20px; top:50%; margin-top:-13px; width:26px; height:26px; border-radius:50%;
  background:var(--ground); display:flex; align-items:center; justify-content:center;
  transition:background .25s, transform .25s;
}
.zb-root.faq summary .cv svg { display:block; width:13px; height:13px; stroke:var(--navy-800); transition:stroke .25s; }
.zb-root.faq details[open] summary .cv { background:var(--orange); transform:rotate(180deg); }
.zb-root.faq details[open] summary .cv svg { stroke:#fff; }
.zb-root.faq .a { padding:0 56px 24px 24px; color:var(--muted); font-size:.97rem; }

/* ---------------- cta band ---------------- */
.zb-root.cta { background:var(--navy-900); color:#fff; padding-block:92px; text-align:center; position:relative; overflow:hidden; }
.zb-root.cta::before {
  content:""; position:absolute; inset:0;
  background-image:radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px); background-size:24px 24px;
}
.zb-root.cta .cta-in { position:relative; }
.zb-root.cta .h2 { color:#fff; margin-top:20px; }
.zb-root.cta p { color:rgba(255,255,255,.7); margin:16px auto 0; max-width:52ch; font-size:1.05rem; }
.zb-root.cta .acts { display:flex; gap:13px; justify-content:center; flex-wrap:wrap; margin-top:32px; }
.zb-root.cta .pts {
  display:flex; gap:14px 40px; justify-content:center; flex-wrap:wrap;
  margin-top:44px; padding-top:28px; border-top:1px solid rgba(255,255,255,.12);
}
.zb-root.cta .pts span { display:flex; align-items:center; gap:9px; font-size:14px; color:rgba(255,255,255,.75); }
.zb-root.cta .pts svg { width:17px; height:17px; stroke:var(--orange-2); flex:none; }

/* ---------------- contact ---------------- */
.zb-root.contact { background:var(--ground); padding-block:100px; }
.zb-root.contact .cbox {
  display:grid; grid-template-columns:.85fr 1.15fr; border-radius:20px; overflow:hidden;
  box-shadow:var(--sh-md); margin-top:44px; text-align:left;
}
@media (max-width:880px) { .zb-root.contact .cbox { grid-template-columns:1fr; } }

.zb-root.contact .cleft { background:var(--navy-800); color:#fff; padding:44px 40px; }
@media (max-width:560px) { .zb-root.contact .cleft { padding:32px 24px; } }
.zb-root.contact .cleft h3 { font-size:1.6rem; margin-top:16px; }
.zb-root.contact .cleft .pt { color:rgba(255,255,255,.7); margin-top:14px; font-size:.97rem; }
.zb-root.contact .cleft ul { margin-top:28px; display:grid; gap:15px; }
.zb-root.contact .cleft .chk { font-size:.95rem; color:rgba(255,255,255,.9); align-items:center; }
.zb-root.contact .cleft .chk svg { stroke:var(--orange-2); margin-top:0; }
.zb-root.contact .dl {
  margin-top:34px; padding-top:26px; border-top:1px solid rgba(255,255,255,.14); display:grid; gap:14px;
}
.zb-root.contact .dl > div { display:flex; gap:12px; align-items:center; }
.zb-root.contact .dl svg { width:18px; height:18px; stroke:var(--orange-2); flex:none; }
.zb-root.contact .dl a { color:#fff; text-decoration:none; }
.zb-root.contact .dl a:hover { color:var(--orange-2); }
.zb-root.contact .dl b { font-family:var(--disp); font-weight:700; font-size:1.15rem; }
.zb-root.contact .dl b.sm { font-size:1rem; }
.zb-root.contact .dl small { display:block; font-size:12px; color:rgba(255,255,255,.55); }

.zb-root.contact .cright { background:#fff; padding:44px 40px; }
@media (max-width:560px) { .zb-root.contact .cright { padding:32px 24px; } }
.zb-root .frow { display:grid; grid-template-columns:1fr 1fr; gap:16px; margin-bottom:16px; }
@media (max-width:560px) { .zb-root .frow { grid-template-columns:1fr; } }

/* real inputs, styled with enough specificity to beat theme form rules */
.zb-root .zb-form .in,
.zb-root .zb-form input.in,
.zb-root .zb-form select.in,
.zb-root .zb-form textarea.in {
  width:100%; height:54px; border:1px solid var(--line); border-radius:10px; background:#fff;
  padding:0 16px; margin:0; color:var(--ink); font-size:14.5px; font-family:var(--body); line-height:1.4;
  box-shadow:none; appearance:none; transition:border-color .2s, box-shadow .2s;
}
.zb-root .zb-form .in::placeholder { color:var(--faint); opacity:1; }
.zb-root .zb-form .in:hover { border-color:color-mix(in srgb, var(--line) 60%, var(--muted)); }
.zb-root .zb-form .in:focus { outline:none; border-color:var(--orange); box-shadow:0 0 0 3px rgba(var(--orange-rgb),.15); }
.zb-root .zb-form select.in {
  cursor:pointer; padding-right:42px;
  background-image:url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238D99A5' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat:no-repeat; background-position:right 16px center; background-size:16px;
}
.zb-root .zb-form textarea.in { height:104px; padding-top:15px; padding-bottom:15px; resize:vertical; line-height:1.55; }
.zb-root .zb-form .btn { width:100%; margin-top:8px; padding-block:19px; font-size:16px; }
.zb-root .zb-form .under { display:flex; gap:12px 26px; justify-content:center; flex-wrap:wrap; margin-top:18px; }
.zb-root .zb-form .under span { display:flex; align-items:center; gap:7px; font-size:12.5px; color:var(--muted); }
.zb-root .zb-form .under svg { width:15px; height:15px; stroke:var(--ok); flex:none; }

/* honeypot: off screen, never announced, never focusable by tabbing */
.zb-root .zb-hp { position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden; }

.zb-root .zb-msg {
  margin:0 0 22px; padding:14px 18px; border-radius:10px; font-size:.95rem; line-height:1.5;
}
.zb-root .zb-msg--ok { background:#E9F7F0; border:1px solid #B7E4CD; color:#0F5F3C; }
.zb-root .zb-msg--err { background:#FDECEA; border:1px solid #F5C6C0; color:#8C2318; }

/* visually hidden labels, kept for screen readers */
.zb-root .sr {
  position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden;
  clip-path:inset(50%); white-space:nowrap; border:0;
}

/* ---------------- pressed states ----------------
 * These replace the blue tap box that site.css switches off. They sit at the
 * end of the last stylesheet on purpose: a :hover and an :active rule on the
 * same element have equal specificity, and touch devices fire hover too, so
 * whichever is written last is the one that shows under a finger.
 */
.zb-root .btn:active { transform:scale(.97); }
.zb-root .arrows button:active { transform:scale(.93); }
.zb-root.gal .item:active { transform:scale(.985); }
.zb-root.faq summary:active { opacity:.72; }
.zb-lb .lb-x:active, .zb-lb .btn:active { transform:scale(.94); }
@media (prefers-reduced-motion: reduce) {
  .zb-root .btn:active, .zb-root .arrows button:active,
  .zb-root.gal .item:active, .zb-lb .lb-x:active, .zb-lb .btn:active { transform:none; }
}
