/* DekhoBiz How It Works — mobile-first, presentation only. */
body.page-template-page-how-it-works,
body.page-how-it-works {
  background: #fff;
}

.db-how-it-works {
  color: var(--db-text-primary, #172033);
  overflow: hidden;
}

.db-hiw-hero,
.db-hiw-section,
.db-hiw-cta {
  padding-block: 52px;
}

.db-hiw-hero {
  background: linear-gradient(180deg, #fbfcfe 0%, #fff 100%);
  border-bottom: 1px solid #edf0f4;
}

.db-hiw-hero .db-breadcrumb {
  margin-bottom: 40px;
}

.db-hiw-hero__copy {
  max-width: 900px;
}

.db-hiw-hero h1 {
  max-width: 820px;
  margin: 14px 0 18px;
  font-family: var(--db-font-heading, "Poppins", sans-serif);
  font-size: clamp(2.15rem, 6vw, 4.2rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: #171c26;
}

.db-hiw-hero__lead,
.db-hiw-section__head > p,
.db-hiw-split__intro > p,
.db-hiw-seo-panel__copy > p {
  max-width: 760px;
  margin: 0;
  font-family: var(--db-font-body, "Hind", sans-serif);
  font-size: clamp(1.04rem, 2vw, 1.18rem);
  font-weight: 400;
  line-height: 1.7;
  color: #667085;
}

.db-hiw-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.db-hiw-actions .db-btn {
  width: auto;
  min-width: 0;
  min-height: 44px;
}

.db-hiw-section.is-alt {
  background: #f8fafc;
  border-block: 1px solid #edf0f4;
}

.db-hiw-section__head {
  max-width: 850px;
  margin-bottom: 32px;
}

.db-hiw-section__head h2,
.db-hiw-split__intro h2,
.db-hiw-seo-panel__copy h2,
.db-hiw-cta h2 {
  margin: 12px 0 14px;
  font-family: var(--db-font-heading, "Poppins", sans-serif);
  font-size: clamp(1.75rem, 4.2vw, 2.65rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: #171c26;
}

.db-hiw-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.db-hiw-step {
  position: relative;
  min-width: 0;
  padding: 24px;
  background: #fff;
  border: 1px solid #e4e9f0;
  border-radius: 16px;
}

.db-hiw-step__number {
  position: absolute;
  top: 18px;
  right: 20px;
  font: 600 12px/1 var(--db-font-body, "Hind", sans-serif);
  letter-spacing: .12em;
  color: #cbd3df;
}

.db-hiw-step__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 24px;
  border-radius: 12px;
  background: #fff1f2;
  color: var(--db-orange, #e51d2a);
}

.db-hiw-step__icon svg {
  width: 21px;
  height: 21px;
}

.db-hiw-step h3,
.db-hiw-benefit h3,
.db-hiw-seo-grid h3 {
  margin: 0 0 8px;
  font-family: var(--db-font-heading, "Poppins", sans-serif);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.4;
  color: #2b3340;
}

.db-hiw-step p,
.db-hiw-benefit p,
.db-hiw-seo-grid p,
.db-hiw-checklist p,
.db-hiw-customer-flow span,
.db-hiw-faq p,
.db-hiw-cta p {
  margin: 0;
  font-family: var(--db-font-body, "Hind", sans-serif);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.65;
  color: #667085;
}

.db-hiw-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.db-hiw-split__intro {
  min-width: 0;
}

.db-text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  font: 600 1rem/1.4 var(--db-font-body, "Hind", sans-serif);
  color: var(--db-orange, #e51d2a);
  text-decoration: none;
}

.db-hiw-benefit-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid #e1e6ed;
}

.db-hiw-benefit {
  padding: 22px 0;
  border-bottom: 1px solid #e1e6ed;
}

.db-hiw-seo-panel {
  padding: 24px;
  border: 1px solid #e4e9f0;
  border-radius: 18px;
  background: #fff;
}

.db-hiw-seo-panel__copy {
  max-width: 900px;
  margin-bottom: 28px;
}

.db-hiw-seo-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid #e8ecf2;
}

.db-hiw-seo-grid article {
  padding: 20px 0;
  border-bottom: 1px solid #e8ecf2;
}

.db-hiw-checklist {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.db-hiw-checklist > div {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 18px;
  border: 1px solid #e3e8ef;
  border-radius: 14px;
  background: #fff;
}

.db-hiw-checklist > div > span {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff1f2;
  font: 600 12px/1 var(--db-font-body, "Hind", sans-serif);
  color: var(--db-orange, #e51d2a);
}

.db-hiw-checklist strong,
.db-hiw-customer-flow strong {
  color: #303846;
  font-weight: 600;
}

.db-hiw-customer-flow {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: db-hiw-flow;
  border-top: 1px solid #e3e8ef;
}

.db-hiw-customer-flow li {
  counter-increment: db-hiw-flow;
  display: grid;
  grid-template-columns: 1fr;
  gap: 5px;
  position: relative;
  padding: 20px 44px 20px 0;
  border-bottom: 1px solid #e3e8ef;
}

.db-hiw-customer-flow li::after {
  content: "0" counter(db-hiw-flow);
  position: absolute;
  top: 23px;
  right: 0;
  font: 600 12px/1 var(--db-font-body, "Hind", sans-serif);
  letter-spacing: .1em;
  color: #bac4d2;
}

.db-hiw-customer-flow strong {
  font-family: var(--db-font-heading, "Poppins", sans-serif);
  font-size: 1rem;
}

.db-hiw-faq-wrap {
  max-width: 1060px;
}

.db-hiw-faq {
  border-top: 1px solid #dde3eb;
}

.db-hiw-faq details {
  border-bottom: 1px solid #dde3eb;
}

.db-hiw-faq summary {
  position: relative;
  padding: 20px 44px 20px 0;
  list-style: none;
  cursor: pointer;
  font: 600 1rem/1.45 var(--db-font-heading, "Poppins", sans-serif);
  color: #303846;
}

.db-hiw-faq summary::-webkit-details-marker {
  display: none;
}

.db-hiw-faq summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 4px;
  transform: translateY(-50%);
  font: 400 1.5rem/1 var(--db-font-body, "Hind", sans-serif);
  color: #7a8798;
}

.db-hiw-faq details[open] summary::after {
  content: "−";
}

.db-hiw-faq details > div {
  max-width: 820px;
  padding: 0 44px 20px 0;
}

.db-hiw-cta {
  background: #fff;
}

.db-hiw-cta__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  padding: 28px;
  border: 1px solid #e2e7ee;
  border-radius: 18px;
  background: #fbfcfe;
}

.db-hiw-cta h2 {
  max-width: 780px;
}

.db-hiw-cta p {
  max-width: 720px;
}

@media (min-width: 640px) {
  .db-hiw-hero,
  .db-hiw-section,
  .db-hiw-cta {
    padding-block: 64px;
  }

  .db-hiw-steps,
  .db-hiw-seo-grid,
  .db-hiw-checklist {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .db-hiw-seo-grid article:nth-child(odd) {
    padding-right: 22px;
  }

  .db-hiw-seo-grid article:nth-child(even) {
    padding-left: 22px;
    border-left: 1px solid #e8ecf2;
  }
}

@media (min-width: 900px) {
  .db-hiw-hero,
  .db-hiw-section,
  .db-hiw-cta {
    padding-block: 88px;
  }

  .db-hiw-hero {
    padding-top: 56px;
    padding-bottom: 96px;
  }

  .db-hiw-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }

  .db-hiw-step {
    padding: 28px;
  }

  .db-hiw-split {
    grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
    gap: clamp(56px, 7vw, 100px);
    align-items: start;
  }

  .db-hiw-split--reverse {
    grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  }

  .db-hiw-split__intro {
    position: sticky;
    top: 110px;
  }

  .db-hiw-seo-panel {
    padding: 40px;
  }

  .db-hiw-seo-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .db-hiw-seo-grid article {
    padding: 24px 26px;
    border-left: 1px solid #e8ecf2;
  }

  .db-hiw-seo-grid article:nth-child(3n + 1) {
    padding-left: 0;
    border-left: 0;
  }

  .db-hiw-seo-grid article:nth-child(3n) {
    padding-right: 0;
  }

  .db-hiw-seo-grid article:nth-child(odd),
  .db-hiw-seo-grid article:nth-child(even) {
    border-bottom: 1px solid #e8ecf2;
  }

  .db-hiw-checklist {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }

  .db-hiw-cta__inner {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 48px;
    padding: 42px;
  }

  .db-hiw-cta__inner .db-hiw-actions {
    justify-content: flex-end;
    margin-top: 0;
  }
}

@media (max-width: 520px) {
  .db-hiw-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .db-hiw-actions .db-btn {
    width: 100%;
    justify-content: center;
  }
}
