/* Components used only by the Services + Book a Demo pages. Base styles live in site.css. */

.svc-section { padding: 120px 0; }
.svc-section.soft { background: var(--bg-soft); }
@media (max-width: 768px) { .svc-section { padding: 80px 0; } }

/* Shorter hero for conversion pages */
.page-hero.compact { min-height: 64vh; padding-bottom: 96px; }

/* Book a Demo: takeaways list + calendar side by side */
.demo-wrap {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 56px;
  align-items: start;
}
@media (max-width: 960px) { .demo-wrap { grid-template-columns: 1fr; gap: 40px; } }

.demo-left h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}
.demo-left h2 .accent { color: var(--accent); }
.demo-left > p { font-size: 17px; color: var(--text-body); margin-bottom: 28px; }

.check-list { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.check-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  font-size: 16px;
  line-height: 1.55;
  color: var(--text-body);
}
.check-list li strong { color: var(--text); }
.check-list .tick {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--accent-light);
  color: var(--accent);
  display: grid; place-items: center;
}
.check-list .tick svg { width: 14px; height: 14px; }

.calendar-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: 0 24px 70px rgba(10, 10, 10, 0.08);
  padding: 12px;
  scroll-margin-top: 110px;
}
.calendar-card iframe { width: 100%; height: 1010px; border: none; overflow: hidden; display: block; }
.calendar-note { text-align: center; font-size: 13px; color: var(--muted); margin-top: 14px; }
.calendar-note a { color: var(--accent); font-weight: 600; text-decoration: none; }

/* Step flow: numbered nodes on a track that lights up step by step (driven by site.js) */
.flow-steps {
  --p: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  position: relative;
}
.flow-steps::before, .flow-steps::after {
  content: '';
  position: absolute;
  top: 27px; left: 10%;
  height: 3px;
  border-radius: 3px;
}
.flow-steps::before { width: 80%; background: var(--border); }
.flow-steps::after { width: calc(80% * var(--p)); background: var(--accent); box-shadow: 0 0 12px var(--accent-shadow); transition: width .7s cubic-bezier(.16,1,.3,1); }

.flow-step { position: relative; z-index: 1; text-align: center; }
.flow-node {
  width: 56px; height: 56px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--surface);
  border: 2px solid var(--border);
  font-family: 'Montserrat', sans-serif;
  font-weight: 900; font-size: 20px;
  color: var(--muted);
  transition: all .5s ease;
}
.flow-arrow {
  position: absolute;
  top: 28px; right: -10px;
  transform: translate(50%, -50%);
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--bg-soft);
  color: var(--border);
  display: grid; place-items: center;
  transition: color .5s ease;
}
.flow-arrow svg { width: 14px; height: 14px; }
.flow-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 24px 20px;
  height: calc(100% - 74px);
  transition: border-color .5s ease, box-shadow .5s ease, transform .5s ease;
}
.flow-card h3 { font-size: 18px; font-weight: 800; margin-bottom: 8px; line-height: 1.25; }
.flow-card p { font-size: 14.5px; line-height: 1.6; color: var(--text-body); }

.flow-step.lit .flow-node { background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: 0 0 0 6px var(--accent-light), 0 8px 24px var(--accent-shadow); }
.flow-step:has(+ .lit) .flow-arrow { color: var(--accent); }
.flow-step.current .flow-card { border-color: var(--accent); box-shadow: 0 18px 50px rgba(255,91,31,.14); transform: translateY(-4px); }

@media (max-width: 860px) {
  .flow-steps { grid-template-columns: 1fr; gap: 16px; }
  .flow-steps::before, .flow-steps::after { top: 28px; left: 26px; width: 3px; }
  .flow-steps::before { height: calc(100% - 56px); }
  .flow-steps::after { height: calc((100% - 56px) * var(--p)); width: 3px; transition-property: height; }
  .flow-step { display: grid; grid-template-columns: 56px 1fr; gap: 16px; text-align: left; }
  .flow-node { margin: 0; }
  .flow-card { height: auto; }
  .flow-arrow { display: none; }
}

/* Small promise chips under the steps */
.promise-row {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 10px;
  margin-top: 44px;
}
.promise-row span {
  padding: 9px 16px;
  border-radius: 100px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--steel);
}
.promise-row span::before { content: '✓ '; color: var(--accent); }
