/* CortexLeap — Consulting hub (page-scoped)
 * Loaded only by en/consulting.html and pt/consulting.html via head_extra.
 * Reuses global tokens from style.css + the Home gradient-heading technique.
 * Keyboard focus, reduced motion and touch targets per owner directions 2, 2026-10-11.
 */

/* ── Hero ── */
.consulting-hero { padding: 5.5rem 1.5rem 3.5rem; }
.hero-kicker {
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--amber); margin-bottom: 0.9rem;
}

/* ── Optional problem navigation (native anchors) ── */
.consulting-jump { padding: 1.2rem 1.5rem; border-bottom: 1px solid var(--border); background: rgba(19, 18, 32, 0.35); }
.jump-intro { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 0.6rem; }
.jump-list { list-style: none; display: flex; flex-wrap: wrap; gap: 0.6rem; padding: 0; margin: 0; }
.jump-list a {
  display: inline-block; padding: 0.55rem 1rem; min-height: 44px; box-sizing: border-box;
  display: inline-flex; align-items: center;
  background: var(--surface); border: 1px solid var(--border); border-radius: 999px;
  color: var(--text); font-size: 0.9rem; text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}
.jump-list a:hover { border-color: var(--border-hover); background: var(--surface-hover); }
.jump-list a:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }

/* ── Offers ── */
.consulting-offers { padding: var(--section-pad) 1.5rem; }
.offer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2.5rem; align-items: stretch; }
.offer-card {
  display: flex; flex-direction: column; gap: 0.9rem;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.9rem 1.7rem;
}
.offer-head { display: flex; align-items: flex-start; gap: 0.7rem; }
.offer-icon { font-size: 1.5rem; line-height: 1.2; }
.offer-head h3 { font-family: var(--font-heading); font-size: 1.18rem; letter-spacing: -0.01em; }
.offer-tagline { color: var(--text-muted); font-size: 0.93rem; line-height: 1.55; }
.offer-bullets { list-style: none; margin: 0.2rem 0; padding: 0; flex-grow: 1; }
.offer-bullets li {
  position: relative; padding: 0.3rem 0 0.3rem 1.35rem;
  font-size: 0.9rem; color: var(--text); line-height: 1.5;
}
.offer-bullets li::before { content: "·"; position: absolute; left: 0.35rem; color: var(--amber); font-weight: 700; }
.offer-pricing { border-top: 1px solid var(--border); padding-top: 0.9rem; }
.offer-price { font-size: 1.05rem; }
.offer-price strong { color: var(--amber); font-weight: 700; font-size: 1.25rem; }
.offer-price-unit { color: var(--text-muted); font-size: 0.85rem; margin-left: 0.25rem; }
.offer-cost-note { font-size: 0.78rem; color: var(--text-muted); line-height: 1.45; margin-top: 0.35rem; }
.offer-cta { margin-top: 0.4rem; text-align: center; }
.offers-note { margin-top: 1.6rem; text-align: center; font-size: 0.85rem; color: var(--text-muted); }

/* ── Diagnose / Build / Support ── */
.consulting-ways { padding: var(--section-pad) 1.5rem; background: rgba(19, 18, 32, 0.45); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.ways-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2.2rem; }
.way-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.6rem 1.5rem; }
.way-card h3 { font-family: var(--font-heading); font-size: 1.05rem; margin-bottom: 0.7rem; }
.way-card p { color: var(--text-muted); font-size: 0.92rem; line-height: 1.6; }

/* ── Illustrative workflow ── */
.consulting-workflow { padding: var(--section-pad) 1.5rem; }
.workflow-steps { list-style: none; counter-reset: wf; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; margin: 2.4rem 0 0; padding: 0; }
.workflow-steps > li { counter-increment: wf; position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem 1.3rem 1.3rem; }
.workflow-steps > li::before {
  content: counter(wf); display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 999px; margin-bottom: 0.8rem;
  background: rgba(197, 181, 253, 0.14); border: 1px solid var(--amber);
  color: var(--amber); font-weight: 700; font-size: 0.9rem;
}
.workflow-steps h3 { font-family: var(--font-heading); font-size: 1rem; margin-bottom: 0.55rem; }
.workflow-steps p { color: var(--text-muted); font-size: 0.88rem; line-height: 1.55; }
.workflow-note { margin-top: 1.6rem; font-size: 0.83rem; color: var(--text-muted); }

/* ── FAQ ── */
.consulting-faq .faq-grid { grid-template-columns: 1fr; max-width: 760px; margin: 2.2rem auto 0; }

/* ── Closing invitation ── */
.consulting-cta { padding: var(--section-pad) 1.5rem; background: rgba(19, 18, 32, 0.45); border-top: 1px solid var(--border); }
.consulting-cta .section-inner { max-width: 760px; text-align: center; }
.consulting-cta .gradient-heading { margin-bottom: 1.1rem; }
.consulting-cta p { color: var(--text-muted); font-size: 0.96rem; line-height: 1.65; margin-bottom: 0.9rem; }
.cta-note { font-size: 0.82rem; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .offer-grid { grid-template-columns: 1fr 1fr; }
  .workflow-steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .offer-grid { grid-template-columns: 1fr; }
  .ways-grid { grid-template-columns: 1fr; }
  .workflow-steps { grid-template-columns: 1fr; }
  .consulting-hero { padding: 4.2rem 1.5rem 2.8rem; }
  /* Keep clear space under the page so the fixed chat launcher cannot cover the
     final booking action on small screens (same mitigation pattern as Home). */
  .consulting-cta { padding-bottom: 7.5rem; }
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  .consulting-jump a, .offer-card, .btn { transition: none !important; }
  .jump-list a:hover { transform: none; }
}

/* Scoped gradient heading (declarations verified against home.css; the hub must not
   depend on home.css) + fictional-workflow label + hero CTA. Owner direction 3, 2026-10-11. */
.gradient-heading {
  font-family: var(--font-heading);
  background: linear-gradient(135deg, var(--text) 0%, #c4b5fd 50%, var(--amber) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--text); /* fallback */
}
.consulting-workflow .demo-label {
  display: inline-block; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--amber); border: 1px solid var(--amber);
  border-radius: 999px; padding: 0.3rem 0.9rem; margin-bottom: 1.1rem;
}
.consulting-hero .tier-cta-bottom { margin-top: 1.8rem; }
.consulting-hero .btn { min-height: 44px; display: inline-flex; align-items: center; }
