/* ============================================================
   SOLVEPATH DESIGN SYSTEM v1.0
   Source: Website Design/Design System.dc.html
   Light theme · Primary Orange #ff6b35 · Navy #0a0e27
   Headings: Plus Jakarta Sans · Body: DM Sans
   ============================================================ */

:root {
  /* Color tokens (from Design System) */
  --orange: #ff6b35;
  --orange-hover: #ff5520;
  --orange-soft: rgba(255, 107, 53, 0.08);
  --grad: linear-gradient(135deg, #ff6b35 0%, #ff8957 100%);
  --navy: #0a0e27;
  --bg: #fafbfc;
  --white: #ffffff;
  --text: #0a0e27;
  --muted: #5f5e5a;
  --muted-2: #888780;
  --border: #e0e4eb;
  --border-2: #d3d1c7;
  --success-bg: #eaf3de;  --success-fg: #3b6d11;
  --danger-bg: #fcebeb;   --danger-fg: #a32d2d;
  --warning-bg: #faeeda;  --warning-fg: #854f0b;
  --info-bg: #e6f1fb;     --info-fg: #185fa5;
  --neutral-bg: #f1f3f5;
  --shadow-card: 0 4px 12px rgba(10, 14, 39, 0.08);
  --shadow-modal: 0 12px 32px rgba(10, 14, 39, 0.15);
  --shadow-btn: 0 4px 12px rgba(255, 107, 53, 0.2);
  --shadow-btn-hover: 0 6px 16px rgba(255, 107, 53, 0.3);
  --radius: 8px;      /* cards */
  --radius-sm: 6px;   /* buttons, inputs */
  --font-head: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-weight: 500;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 800; letter-spacing: -0.6px; line-height: 1.2; color: var(--navy); }
h3, h4 { font-weight: 700; letter-spacing: -0.3px; }
.grad-text { color: var(--orange); }
.eyebrow {
  display: block; font-size: 12px; font-weight: 700; letter-spacing: 1.6px;
  text-transform: uppercase; color: var(--orange); margin-bottom: 0.6rem;
  font-family: var(--font-head);
}
.section-sub { color: var(--muted); max-width: 640px; font-size: 16px; }
.center { text-align: center; }
.center .section-sub { margin-left: auto; margin-right: auto; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: 1200px; margin: 0 auto; padding: 0.8rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand .mark { width: 34px; height: 34px; flex-shrink: 0; }
.brand .word {
  font-family: var(--font-head); font-size: clamp(13px, 4.2vw, 17px); font-weight: 800;
  color: var(--navy); letter-spacing: 0.3px; white-space: nowrap;
}
.brand .word em { font-style: normal; color: var(--orange); }
.site-nav { display: flex; align-items: center; gap: 1.5rem; }
.site-nav a {
  color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 600;
  font-family: var(--font-head); transition: color 0.2s;
}
.site-nav a:hover, .site-nav a.active { color: var(--navy); }
.nav-cta {
  background: var(--orange); color: #fff !important; font-weight: 700;
  padding: 10px 20px; border-radius: var(--radius-sm); font-size: 13.5px !important;
  box-shadow: var(--shadow-btn); transition: background 0.2s, box-shadow 0.2s;
}
.nav-cta:hover { background: var(--orange-hover); box-shadow: var(--shadow-btn-hover); }
#navToggle {
  display: none; background: var(--bg); border: 1px solid var(--border-2);
  color: var(--navy); font-size: 20px; border-radius: var(--radius-sm); padding: 2px 11px; cursor: pointer;
}

/* ---------- Buttons ---------- */
.btn-primary, .btn-ghost {
  display: inline-block; padding: 12px 28px; border-radius: var(--radius-sm);
  font-family: var(--font-head); font-weight: 600; font-size: 14px;
  text-decoration: none; cursor: pointer; border: none;
  transition: all 0.2s; min-height: 44px;
}
.btn-primary {
  background: var(--orange); color: #fff;
  box-shadow: var(--shadow-btn);
}
.btn-primary:hover { background: var(--orange-hover); box-shadow: var(--shadow-btn-hover); }
.btn-ghost {
  background: transparent; color: var(--orange); border: 2px solid var(--orange);
  padding: 10px 26px;
}
.btn-ghost:hover { background: rgba(255, 107, 53, 0.05); }

/* ---------- Hero ---------- */
.hero {
  position: relative; text-align: center;
  padding: 5rem 1.5rem 4.5rem;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.hero h1 { font-size: 44px; margin-bottom: 1.1rem; letter-spacing: -0.8px; }
.hero .tagline { font-size: 17px; color: var(--muted); max-width: 620px; margin: 0 auto 2.2rem; }
.hero-ctas { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hero-trust { margin-top: 2rem; font-size: 13px; color: var(--muted-2); }
.hero-trust b { color: var(--navy); }

/* Hero accent variant (orange gradient band) */
.hero.hero-accent {
  background: var(--grad);
  border-bottom: none;
}
.hero.hero-accent h1, .hero.hero-accent .eyebrow { color: #fff; }
.hero.hero-accent .tagline { color: rgba(255, 255, 255, 0.92); }
.hero.hero-accent .grad-text { color: #fff; text-decoration: underline; text-decoration-color: rgba(255,255,255,0.5); text-underline-offset: 6px; }

/* ---------- Sections ---------- */
section { padding: 4rem 0; }
section.alt { background: var(--white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
section h2 { font-size: 30px; margin-bottom: 0.8rem; }
.section-head { margin-bottom: 2.4rem; }

/* ---------- Cards / Grids ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); gap: 1.5rem; }
.card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.5rem; transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover { box-shadow: var(--shadow-card); transform: translateY(-2px); }
.card.accent { border-left: 4px solid var(--orange); }
.icon-chip {
  width: 46px; height: 46px; border-radius: var(--radius); background: var(--orange-soft);
  border: 1px solid rgba(255, 107, 53, 0.25);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 1rem;
}
.card h3 { font-size: 16px; margin-bottom: 0.5rem; }
.card p { color: var(--muted); font-size: 13.5px; }

/* Steps */
.step-num {
  width: 36px; height: 36px; border-radius: 50%; background: var(--orange); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 800; font-size: 15px; margin-bottom: 1rem;
  box-shadow: var(--shadow-btn);
}

/* Stats strip */
.stat-strip {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr));
  gap: 1px; background: var(--border); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; margin-top: 2.4rem;
}
.stat-strip div { background: var(--white); padding: 1.3rem 1rem; text-align: center; }
.stat-strip .big { font-family: var(--font-head); font-size: 24px; font-weight: 800; color: var(--orange); }
.stat-strip .small { font-size: 11.5px; color: var(--muted); font-weight: 600; letter-spacing: 0.5px; }

/* ---------- Badges ---------- */
.badge { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 12px; }
.badge.success { background: var(--success-bg); color: var(--success-fg); }
.badge.danger { background: var(--danger-bg); color: var(--danger-fg); }
.badge.warning { background: var(--warning-bg); color: var(--warning-fg); }
.badge.info { background: var(--info-bg); color: var(--info-fg); }
.badge.neutral { background: var(--neutral-bg); color: var(--muted); }

/* ---------- Forms ---------- */
.form-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.8rem; box-shadow: var(--shadow-card);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; font-weight: 500; margin-bottom: 6px; font-size: 13px; color: var(--muted); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 11px 12px; border: 1px solid var(--border-2); border-radius: var(--radius-sm);
  font-family: var(--font-body); font-weight: 500; font-size: 14px; background: var(--white); color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group textarea { resize: vertical; min-height: 96px; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: 2px solid var(--orange); outline-offset: 0; border-color: var(--orange);
}
.submit-btn {
  background: var(--orange); color: #fff; padding: 13px 24px; border: none; border-radius: var(--radius-sm);
  font-family: var(--font-head); font-weight: 600; cursor: pointer; width: 100%; font-size: 15px;
  box-shadow: var(--shadow-btn); transition: all 0.2s; min-height: 44px;
}
.submit-btn:hover { background: var(--orange-hover); box-shadow: var(--shadow-btn-hover); }
.submit-btn:disabled { background: var(--neutral-bg); color: var(--muted-2); border: 1px solid var(--border-2); box-shadow: none; cursor: default; opacity: 0.6; }
.form-message { padding: 12px 14px; border-radius: var(--radius-sm); margin-bottom: 1rem; display: none; font-size: 14px; }
.form-message.success { background: var(--success-bg); color: var(--success-fg); border: 1px solid #c9e0ae; display: block; }
.form-message.error { background: var(--danger-bg); color: var(--danger-fg); border: 1px solid #f09595; display: block; }

/* ---------- FAQ ---------- */
details {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  margin-bottom: 0.8rem; overflow: hidden;
}
summary {
  padding: 1rem 1.3rem; font-family: var(--font-head); font-weight: 600; font-size: 15px; cursor: pointer;
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  color: var(--navy);
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 20px; color: var(--orange); font-weight: 800; flex-shrink: 0; }
details[open] summary::after { content: "–"; }
details .faq-body { padding: 0 1.3rem 1.1rem; color: var(--muted); font-size: 14px; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--grad);
  text-align: center; padding: 3.5rem 1.5rem;
}
.cta-band h2 { font-size: 28px; margin-bottom: 0.7rem; color: #fff; }
.cta-band h2 .grad-text { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, 0.92); max-width: 560px; margin: 0 auto 1.7rem; }
.cta-band .btn-primary { background: #fff; color: var(--orange); box-shadow: 0 4px 16px rgba(10, 14, 39, 0.2); }
.cta-band .btn-primary:hover { background: #fafbfc; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy); color: #fff;
  padding: 3rem 1.5rem 2rem; font-size: 14px;
}
.footer-grid {
  max-width: 1200px; margin: 0 auto 2rem;
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2.5rem;
}
.footer-grid h4 { font-size: 12px; text-transform: uppercase; letter-spacing: 1.4px; color: rgba(255,255,255,0.55); margin-bottom: 0.9rem; }
.footer-grid a { display: block; color: rgba(255,255,255,0.75); text-decoration: none; padding: 0.22rem 0; font-size: 14px; }
.footer-grid a:hover { color: #fff; }
.footer-brand .word { color: #fff; }
.footer-brand p { color: rgba(255,255,255,0.65); font-size: 13px; margin-top: 0.8rem; max-width: 300px; }
.footer-bottom {
  max-width: 1200px; margin: 0 auto; padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  color: rgba(255,255,255,0.55); font-size: 12.5px;
}
.footer-bottom .grad-text { color: var(--orange); }
.footer-bottom a { color: rgba(255,255,255,0.75); }

/* ---------- Blog ---------- */
.post-card { display: flex; flex-direction: column; }
.post-card .meta { font-size: 12px; color: var(--orange); font-weight: 700; margin-bottom: 0.5rem; font-family: var(--font-head); }
.post-card h3 a { color: var(--navy); text-decoration: none; }
.post-card h3 a:hover { color: var(--orange); }
.post-card .read-more { margin-top: auto; padding-top: 1rem; color: var(--orange); font-weight: 700; font-size: 13.5px; text-decoration: none; font-family: var(--font-head); }
.article-body { max-width: 720px; margin: 0 auto; }
.article-body h1 { font-size: 34px; margin-bottom: 0.6rem; }
.article-body .post-meta { color: var(--muted-2); font-size: 13.5px; margin-bottom: 2.2rem; }
.article-body h2 { font-size: 23px; margin: 2.2rem 0 0.8rem; }
.article-body h3 { font-size: 17px; margin: 1.6rem 0 0.5rem; }
.article-body p, .article-body li { color: #33384f; font-size: 16px; margin-bottom: 1rem; }
.article-body ul, .article-body ol { padding-left: 1.4rem; margin-bottom: 1rem; }
.article-body li { margin-bottom: 0.4rem; }
.article-body strong { color: var(--navy); }
.article-body a { color: var(--orange); }
.article-body blockquote {
  border-left: 4px solid var(--orange); padding: 0.8rem 1.2rem; margin: 1.4rem 0;
  background: var(--white); border-radius: 0 var(--radius) var(--radius) 0;
  border-top: 1px solid var(--border); border-right: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.article-cta {
  background: var(--white); border: 1px solid var(--border); border-left: 4px solid var(--orange);
  border-radius: var(--radius); padding: 1.6rem; margin: 2.5rem 0 1rem; text-align: center;
  box-shadow: var(--shadow-card);
}
.article-cta p { margin-bottom: 1.1rem; }

/* ---------- Multi-step lead flow ---------- */
.flow-progress {
  height: 6px; background: var(--neutral-bg); border-radius: 12px;
  overflow: hidden; margin-bottom: 0.6rem;
}
.flow-bar {
  height: 100%; width: 50%; background: var(--orange);
  border-radius: 12px; transition: width 0.35s ease;
}
.flow-step-label { font-size: 12px; color: var(--muted-2); font-weight: 600; margin-bottom: 1.2rem; }
.flow-step { display: none; }
.flow-step.active { display: block; animation: flowIn 0.3s ease; }
@keyframes flowIn { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
.svc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.8rem; margin-top: 1.1rem; }
@media (max-width: 400px) { .svc-grid { grid-template-columns: minmax(0, 1fr); } }
.svc-card {
  background: var(--white); border: 1px solid var(--border-2); border-radius: var(--radius);
  padding: 1rem 0.9rem; cursor: pointer; font-family: var(--font-head); color: var(--navy);
  font-size: 13.5px; font-weight: 600; text-align: left;
  display: flex; align-items: center; gap: 0.7rem; min-height: 44px;
  transition: all 0.2s;
}
.svc-card .svc-icon { font-size: 20px; }
.svc-card:hover { border-color: var(--orange); background: rgba(255, 107, 53, 0.05); box-shadow: var(--shadow-btn); }
.flow-back {
  background: none; border: none; color: var(--muted); font-family: var(--font-head); font-size: 13px;
  font-weight: 600; cursor: pointer; padding: 0.6rem 0; margin-top: 0.4rem;
}
.flow-back:hover { color: var(--navy); }
.flow-chosen {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--orange-soft); border: 1px solid rgba(255, 107, 53, 0.3); color: var(--orange-hover);
  font-size: 12.5px; font-weight: 700; padding: 5px 14px; border-radius: 12px; margin-bottom: 1rem;
  font-family: var(--font-head);
}
.form-fineprint { font-size: 12px; color: var(--muted-2); text-align: center; margin-top: 0.8rem; }

/* ---------- Newsletter ---------- */
.newsletter-box {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.8rem; text-align: center; max-width: 560px; margin: 0 auto;
  box-shadow: var(--shadow-card);
}
.newsletter-box h3 { font-size: 18px; margin-bottom: 0.4rem; }
.newsletter-box p { color: var(--muted); font-size: 13px; margin-bottom: 1.1rem; }
.newsletter-row { display: flex; gap: 0.6rem; }
.newsletter-row input {
  flex: 1; padding: 11px 12px; border: 1px solid var(--border-2); border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: 14px; background: var(--white); color: var(--text); min-width: 0;
}
.newsletter-row input:focus { outline: 2px solid var(--orange); outline-offset: 0; border-color: var(--orange); }
.newsletter-row button {
  background: var(--orange); color: #fff; border: none; border-radius: var(--radius-sm);
  font-family: var(--font-head); font-weight: 600; font-size: 13.5px; padding: 11px 20px; cursor: pointer;
  box-shadow: var(--shadow-btn); white-space: nowrap; transition: all 0.2s; min-height: 44px;
}
.newsletter-row button:hover { background: var(--orange-hover); }
.newsletter-note { font-size: 11.5px !important; margin: 0.7rem 0 0 !important; color: var(--muted-2) !important; }
.newsletter-msg { font-size: 13px; font-weight: 700; margin-top: 0.7rem; display: none; }
.newsletter-msg.ok { display: block; color: var(--success-fg); }
.newsletter-msg.err { display: block; color: var(--danger-fg); }

/* Footer newsletter variant */
.site-footer .newsletter-box { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.15); box-shadow: none; }
.site-footer .newsletter-box h3 { color: #fff; }
.site-footer .newsletter-box p { color: rgba(255,255,255,0.65); }
.site-footer .newsletter-row input { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.2); color: #fff; }

/* ---------- Utilities ---------- */
.two-col { display: grid; grid-template-columns: 1.2fr 1fr; gap: 2rem; align-items: start; }
.two-col > * { min-width: 0; }
.check-list { list-style: none; padding: 0 !important; }
.check-list li { padding: 0.32rem 0 0.32rem 1.7rem; position: relative; list-style: none; font-size: 14px; color: #33384f; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--success-fg); font-weight: 800; }
.pill {
  display: inline-block; background: var(--orange-soft); border: 1px solid rgba(255, 107, 53, 0.3);
  color: var(--orange-hover); font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 12px;
  font-family: var(--font-head);
}

/* ---------- Sticky mobile call bar ---------- */
.call-bar {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 150;
  background: var(--navy); padding: 10px 12px;
  box-shadow: 0 -4px 16px rgba(10, 14, 39, 0.25);
  gap: 0.6rem;
}
.call-bar a {
  flex: 1; text-align: center; text-decoration: none;
  font-family: var(--font-head); font-weight: 700; font-size: 14px;
  padding: 12px 8px; border-radius: var(--radius-sm); min-height: 44px;
}
.call-bar .cb-call { background: var(--orange); color: #fff; box-shadow: var(--shadow-btn); }
.call-bar .cb-book { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.5); }
@media (max-width: 860px) {
  .call-bar { display: flex; }
  body.has-call-bar { padding-bottom: 70px; }
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .hero h1 { font-size: 31px; }
  section h2 { font-size: 25px; }
  .two-col, .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.8rem; }
  #navToggle { display: block; }
  .site-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--white); border-bottom: 1px solid var(--border);
    flex-direction: column; align-items: stretch; gap: 0; padding: 0.5rem 0;
    box-shadow: var(--shadow-modal);
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 0.85rem 1.5rem; }
  .nav-cta { margin: 0.6rem 1.5rem; text-align: center; }
}
