/* Interior-page presentation system */
body:not(.home) .main-wrapper {
  padding: 54px 0 72px;
  background: linear-gradient(180deg, #f4f7fa 0, #fff 380px);
}

.content-block {
  max-width: 1120px;
  margin-inline: auto;
}

.page-section {
  position: relative;
  margin: 0 0 24px;
  padding: clamp(24px, 4vw, 44px);
  overflow: hidden;
  border: 1px solid #dfe7ef;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(14, 38, 64, .065);
}

.page-section:nth-of-type(even) {
  background: linear-gradient(145deg, #f8fbfd, #eef5f8);
}

.page-section::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(#0f7ca8, #19a974);
}

.page-section-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.page-section-heading::before {
  content: "";
  flex: 0 0 38px;
  width: 38px;
  height: 4px;
  border-radius: 10px;
  background: #ef6411;
}

.page-section .section-h2 {
  margin: 0;
  color: #0e2948;
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  line-height: 1.18;
}

.page-section > p {
  max-width: 82ch;
  color: #425466;
  font-size: 1.03rem;
  line-height: 1.78;
}

.page-section > p:first-of-type {
  font-size: 1.08rem;
  color: #2f4357;
}

.page-section > ul,
.page-section > ol {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 20px 0 8px;
  padding: 0;
  list-style: none;
}

.page-section > ul > li,
.page-section > ol > li {
  position: relative;
  margin: 0;
  padding: 16px 17px 16px 45px;
  border: 1px solid #e0e8ee;
  border-radius: 14px;
  background: rgba(255,255,255,.84);
  color: #354a5d;
  line-height: 1.58;
}

.page-section > ul > li::before {
  content: "✓";
  position: absolute;
  top: 15px;
  left: 16px;
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 50%;
  background: #dff5eb;
  color: #087a50;
  font-size: .78rem;
  font-weight: 900;
}

.page-section--process > ul,
.page-section--process > ol {
  counter-reset: page-step;
}

.page-section--process > ul > li,
.page-section--process > ol > li {
  counter-increment: page-step;
  padding-left: 62px;
}

.page-section--process > ul > li::before,
.page-section--process > ol > li::before {
  content: counter(page-step, decimal-leading-zero);
  top: 14px;
  left: 15px;
  width: 34px;
  height: 34px;
  background: #0e2948;
  color: #fff;
  font-size: .78rem;
}

.page-section--pricing {
  background: linear-gradient(135deg, #0e2948, #123b62) !important;
  color: #fff;
}

.page-section--pricing::before { background: #ef6411; }
.page-section--pricing .section-h2,
.page-section--pricing p { color: #fff; }
.page-section--pricing .pricing-table { background: #fff; color: #23384b; }
.page-section--pricing > ul > li { color: #294055; }

.page-section--faq { background: #f7fafc !important; }
.page-section--faq .faq-accordion { display: grid; gap: 10px; }
.page-section--faq .faq-item {
  overflow: hidden;
  border: 1px solid #dae4eb;
  border-radius: 13px;
  background: #fff;
}

.page-section--links > ul > li { padding-left: 17px; }
.page-section--links > ul > li::before { display: none; }
.page-section--links a { font-weight: 750; }

.page-section--action {
  text-align: center;
  background: linear-gradient(135deg, #eaf6f8, #fdf4ed) !important;
}
.page-section--action .page-section-heading { justify-content: center; }
.page-section--action > p { margin-inline: auto; }
.page-section--action > ul { max-width: 860px; margin-inline: auto; text-align: left; }

.page-section .section-h3 {
  margin: 24px 0 7px;
  padding-left: 14px;
  border-left: 3px solid #ef6411;
  color: #183550;
}

.page-section .table-responsive {
  margin: 20px 0;
  overflow: hidden;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
}

.page-section .card-grid { margin-top: 20px; }

@media (max-width: 760px) {
  body:not(.home) .main-wrapper { padding: 30px 0 52px; }
  .page-section { margin-bottom: 16px; padding: 23px 19px 25px; border-radius: 17px; }
  .page-section-heading { align-items: flex-start; gap: 9px; }
  .page-section-heading::before { flex-basis: 24px; width: 24px; margin-top: 10px; }
  .page-section > ul,
  .page-section > ol { grid-template-columns: 1fr; }
  .page-section > p { font-size: .98rem; line-height: 1.68; }
}

@media (prefers-reduced-motion: no-preference) {
  .page-section { transition: transform .2s ease, box-shadow .2s ease; }
  .page-section:hover { transform: translateY(-2px); box-shadow: 0 18px 42px rgba(14,38,64,.09); }
}
