/**
 * custom-quote.css
 *
 * FF-LOCK QUOTE_SPLIT_20261001: styles for the /custom-quote/ landing page
 * (page-custom-quote.php + assets/js/custom-quote.js). Ultra light, rounded,
 * soft and friendly. All classes are .ff-cq-* so nothing else is touched.
 * Brand blues match the header pill; the accent purple matches the Custom
 * Quotes split choice so the journey feels connected.
 */

.ff-cq-main .page-wrap { background: transparent; }

/* ---------- Hero ---------- */
.ff-cq-hero { margin-bottom: 22px; }
.ff-cq-eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  margin: 0 0 10px; padding: 5px 13px;
  background: linear-gradient(135deg, rgba(124,58,237,.12), rgba(85,139,202,.14));
  color: #6d28d9; font-size: 12px; font-weight: 800;
  letter-spacing: .08em; text-transform: uppercase; border-radius: 999px;
}
.ff-cq-hero .page-title { margin: 0 0 10px; font-weight: 800; }
.ff-cq-hero .ff-utility-intro { color: #475569; font-size: 1.02rem; max-width: 760px; }

.ff-cq-badges {
  list-style: none; margin: 16px 0 18px; padding: 0;
  display: flex; flex-wrap: wrap; gap: 10px;
}
.ff-cq-badges li {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px;
  background: #fff; color: #334155; font-size: 0.86rem; font-weight: 600;
  box-shadow: 0 2px 10px rgba(15,23,42,.07), inset 0 0 0 1px rgba(85,139,202,.12);
}
.ff-cq-badges li i { color: #10b981; }

.ff-cq-figure { margin: 0; }
.ff-cq-figure img { display: block; width: 100%; height: auto; border-radius: 16px; box-shadow: 0 14px 34px rgba(15,23,42,.14); }
.ff-cq-figure figcaption { margin-top: 8px; color: #64748b; font-size: 0.85rem; font-style: italic; }
.ff-cq-figure--hero img { aspect-ratio: 5 / 3; object-fit: cover; }
.ff-cq-figure--right { float: right; width: 40%; max-width: 320px; margin: 4px 0 14px 22px; }
.ff-cq-figure--left { float: left; width: 40%; max-width: 320px; margin: 4px 22px 14px 0; }

/* ---------- Split: aside + form card ---------- */
.ff-cq-split {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 22px;
  align-items: start;
  margin: 8px 0 30px;
}

.ff-cq-aside-card {
  position: relative;
  padding: 22px 20px;
  border-radius: 18px;
  background: linear-gradient(160deg, #eef5ff 0%, #f7f3ff 100%);
  box-shadow: 0 12px 30px rgba(85,139,202,.14), inset 0 0 0 1px rgba(255,255,255,.7);
}
.ff-cq-aside-title { margin: 0 0 14px; font-size: 1.05rem; font-weight: 800; color: #1e293b; display: flex; align-items: center; gap: 9px; }
.ff-cq-aside-title i { color: #7c3aed; }
.ff-cq-aside-list { list-style: none; margin: 0 0 14px; padding: 0; }
.ff-cq-aside-list li {
  position: relative; padding: 7px 0 7px 27px; color: #334155; font-size: 0.92rem;
  border-bottom: 1px dashed rgba(85,139,202,.2);
}
.ff-cq-aside-list li:last-child { border-bottom: 0; }
.ff-cq-aside-list li::before {
  content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900;
  position: absolute; left: 0; top: 7px; color: #10b981; font-size: 12px;
}
.ff-cq-aside-note { margin: 0 0 16px; color: #64748b; font-size: 0.86rem; }
.ff-cq-aside-call {
  display: flex; flex-direction: column; gap: 3px;
  padding: 12px 14px; border-radius: 12px; background: #fff;
  box-shadow: inset 0 0 0 1px rgba(85,139,202,.16);
}
.ff-cq-aside-call span { color: #64748b; font-size: 0.78rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }
.ff-cq-aside-call a { color: #3b6fa8; font-weight: 800; font-size: 1.02rem; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.ff-cq-aside-call a:hover { color: #6d28d9; }

/* ---------- Form card ---------- */
.ff-cq-card {
  position: relative;
  padding: 24px 24px 20px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(15,23,42,.12), inset 0 0 0 1px rgba(85,139,202,.1);
  transition: box-shadow .35s ease, transform .35s ease;
}
.ff-cq-card-head { margin-bottom: 16px; }
.ff-cq-card-head h2 { margin: 0 0 4px; font-size: 1.25rem; font-weight: 800; color: #1e293b; }
.ff-cq-card-head p { margin: 0; color: #64748b; font-size: 0.88rem; }

.ff-cq-form { display: block; }
.ff-cq-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ff-cq-field { display: block; margin-bottom: 13px; font-size: 0.84rem; font-weight: 700; color: #334155; }
.ff-cq-field > span { display: block; margin-bottom: 5px; }
.ff-cq-field--full { grid-column: 1 / -1; }
.ff-cq-field input,
.ff-cq-field textarea,
.ff-cq-field select {
  display: block; width: 100%; box-sizing: border-box;
  padding: 11px 13px; font-size: 0.95rem; font-family: inherit; font-weight: 500;
  color: #0f172a; background: #f8fafc;
  border: 1.5px solid #e2e8f0; border-radius: 12px;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.ff-cq-field textarea { resize: vertical; min-height: 110px; }
.ff-cq-field input:focus,
.ff-cq-field textarea:focus,
.ff-cq-field select:focus {
  outline: none; background: #fff; border-color: #7c3aed;
  box-shadow: 0 0 0 4px rgba(124,58,237,.14);
}
.ff-cq-field input.ff-cq-invalid,
.ff-cq-field textarea.ff-cq-invalid { border-color: #ef4444; background: #fef2f2; }
.ff-cq-select-wrap { position: relative; }
.ff-cq-select-wrap select { appearance: none; -webkit-appearance: none; padding-right: 36px; cursor: pointer; }
.ff-cq-select-wrap i { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: #94a3b8; pointer-events: none; font-size: 12px; }
.ff-cq-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.ff-cq-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 6px; }
.ff-cq-submit {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 26px; border: 0; border-radius: 999px; cursor: pointer;
  color: #fff; font-size: 1rem; font-weight: 800; letter-spacing: .01em;
  background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 55%, #558BCA 130%);
  box-shadow: 0 10px 24px rgba(109,40,217,.32);
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.ff-cq-submit:hover { transform: translateY(-2px); filter: brightness(1.05); box-shadow: 0 14px 30px rgba(109,40,217,.4); }
.ff-cq-submit:active { transform: translateY(0) scale(.98); }
.ff-cq-submit:disabled { opacity: .72; cursor: wait; transform: none; }
.ff-cq-status { font-size: 0.9rem; font-weight: 600; color: #64748b; }
.ff-cq-status.success { color: #047857; }
.ff-cq-status.error { color: #b91c1c; }

/* Cute success pop */
.ff-cq-card.is-success { box-shadow: 0 18px 44px rgba(16,185,129,.22), inset 0 0 0 2px rgba(16,185,129,.35); animation: ffCqPop .5s cubic-bezier(.2,1.4,.35,1); }
@keyframes ffCqPop { 0% { transform: scale(.99); } 55% { transform: scale(1.012); } 100% { transform: scale(1); } }

/* ---------- Body copy ---------- */
.ff-cq-content { clear: both; margin-top: 6px; }
.ff-cq-content::after { content: ""; display: block; clear: both; }
.ff-cq-page h2 { margin: 30px 0 10px; font-size: 1.35rem; font-weight: 800; color: #1e293b; }
.ff-cq-page h2:first-child { margin-top: 0; }
.ff-cq-page p { color: #3f4b5b; line-height: 1.7; }
.ff-cq-page a { color: #3b6fa8; font-weight: 600; }
.ff-cq-page a:hover { color: #6d28d9; }
.ff-cq-lead { font-size: 1.06rem; }
.ff-cq-list { margin: 12px 0; padding-left: 0; list-style: none; }
.ff-cq-list li { position: relative; padding: 7px 0 7px 30px; color: #3f4b5b; line-height: 1.6; }
.ff-cq-list li::before {
  content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900;
  position: absolute; left: 0; top: 8px; color: #10b981;
  background: rgba(16,185,129,.12); width: 20px; height: 20px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 10px;
}
.ff-cq-steps { margin: 14px 0; padding: 0; list-style: none; counter-reset: ffCqStep; }
.ff-cq-steps li {
  position: relative; counter-increment: ffCqStep;
  margin: 0 0 12px; padding: 14px 16px 14px 60px;
  background: #f8fafc; border-radius: 14px;
  box-shadow: inset 0 0 0 1px rgba(85,139,202,.1);
}
.ff-cq-steps li::before {
  content: counter(ffCqStep);
  position: absolute; left: 15px; top: 50%; transform: translateY(-50%);
  width: 30px; height: 30px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 800;
  background: linear-gradient(135deg, #8b5cf6, #558BCA);
  box-shadow: 0 4px 10px rgba(109,40,217,.3);
}
.ff-article-takeaway {
  margin: 16px 0; padding: 15px 18px;
  background: linear-gradient(135deg, #eef5ff, #f7f3ff);
  border-left: 4px solid #7c3aed; border-radius: 12px;
}
.ff-article-takeaway p { margin: 0; }

.ff-cq-cta-band {
  margin: 30px 0 10px; padding: 26px 24px; text-align: center;
  border-radius: 18px; color: #fff;
  background: linear-gradient(135deg, #558BCA 0%, #6d28d9 100%);
  box-shadow: 0 18px 40px rgba(109,40,217,.3);
}
/* Keep CTA copy white; .ff-cq-page p would otherwise win by specificity and
   leave dark slate text on the purple gradient (contrast bug caught 2026-10-01). */
.ff-cq-cta-band .ff-cq-cta-title { margin: 0 0 4px; font-size: 1.35rem; font-weight: 800; color: #fff; }
.ff-cq-cta-band .ff-cq-cta-sub { margin: 0 0 16px; color: rgba(255,255,255,.94); }
.ff-cq-cta-btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 12px 24px; border-radius: 999px;
  background: #fff; color: #4c1d95 !important; font-weight: 800; text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}
.ff-cq-cta-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(0,0,0,.22); }

/* ---------- FAQ ---------- */
.ff-cq-faq { margin: 34px 0 6px; }
.ff-cq-faq > h2 { margin: 0 0 14px; font-size: 1.35rem; font-weight: 800; color: #1e293b; }
.ff-cq-faq-item {
  margin-bottom: 10px; border-radius: 14px; background: #fff;
  box-shadow: 0 6px 18px rgba(15,23,42,.06), inset 0 0 0 1px rgba(85,139,202,.12);
  overflow: hidden;
}
.ff-cq-faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 15px 18px; cursor: pointer; list-style: none;
  font-weight: 700; color: #1e293b;
}
.ff-cq-faq-item summary::-webkit-details-marker { display: none; }
.ff-cq-faq-item summary i { color: #7c3aed; transition: transform .25s ease; }
.ff-cq-faq-item[open] summary i { transform: rotate(180deg); }
.ff-cq-faq-a { padding: 0 18px 16px; color: #475569; line-height: 1.7; }

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
  .ff-cq-split { grid-template-columns: 1fr; }
  .ff-cq-figure--right, .ff-cq-figure--left { float: none; width: 100%; max-width: 100%; margin: 14px 0; }
}
@media (max-width: 575.98px) {
  .ff-cq-row { grid-template-columns: 1fr; gap: 0; }
  .ff-cq-card { padding: 18px 16px; }
  .ff-cq-submit { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .ff-cq-card.is-success { animation: none; }
  .ff-cq-submit, .ff-cq-cta-btn { transition: none; }
}
