/* Safe, reusable blocks managed by the Neuro Morph CMS page builder. */
.cms-page-builder-section {
  position: relative;
  padding: clamp(50px,7vw,94px) 0;
  color: var(--ink,#191823);
  background: #fff;
}
.cms-page-builder-section.cms-block-theme-soft { background: #f8f5fa; }
.cms-page-builder-section.cms-block-theme-cool { background: #f0f9fa; }
.cms-page-builder-section.cms-block-theme-dark { color: #fff; background: #211329; }
.cms-builder-container { width: min(var(--container,1180px),calc(100% - 40px)); margin-inline: auto; }
.cms-builder-heading { max-width: 800px; margin: 0 0 28px; }
.cms-builder-heading .eyebrow { margin: 0 0 12px; }
.cms-builder-heading .section-heading { margin: 0 0 10px; }
.cms-builder-heading .section-intro { margin: 0; }
.cms-block-theme-dark .cms-builder-heading .section-heading,
.cms-block-theme-dark .cms-builder-heading .section-intro,
.cms-block-theme-dark .cms-builder-rich-copy,
.cms-block-theme-dark .cms-builder-split-copy,
.cms-block-theme-dark .cms-builder-body { color: rgba(255,255,255,.86); }
.cms-block-theme-dark .cms-builder-heading .section-heading { color: #fff; }
.cms-builder-body { margin: 0; color: var(--body,#555461); font-size: clamp(15px,1.45vw,18px); line-height: 1.75; white-space: pre-line; }
.cms-builder-rich-copy { max-width: 790px; color: var(--body,#555461); }
.cms-builder-align-center { margin-inline: auto; text-align: center; }
.cms-builder-align-right { margin-left: auto; text-align: right; }
.cms-builder-cta { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; margin-top: 22px; padding: 0 20px; border: 1px solid rgba(120,45,140,.22); border-radius: 999px; color: #fff; background: linear-gradient(110deg,#782d8c,#397f99); box-shadow: 0 8px 22px rgba(70,38,84,.15); font-size: 13px; font-weight: 760; text-decoration: none; transition: transform .18s ease, box-shadow .18s ease; }
.cms-builder-cta:hover { transform: translateY(-1px); box-shadow: 0 12px 28px rgba(70,38,84,.2); }
.cms-builder-cta-panel { max-width: 920px; margin: 0 auto; padding: clamp(28px,5vw,56px); border: 1px solid rgba(120,45,140,.13); border-radius: 24px; color: var(--ink,#191823); background: #fff; box-shadow: 0 18px 48px rgba(44,25,59,.08); text-align: center; }
.cms-block-theme-dark .cms-builder-cta-panel { color: #fff; background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.14); }
.cms-builder-cta-panel h2 { margin: 0 0 12px; }
.cms-builder-cta-panel .eyebrow { justify-content: center; }
.cms-builder-cta-panel .cms-builder-body { max-width: 680px; margin-inline: auto; }
.cms-builder-card-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.cms-builder-card-grid--2 { grid-template-columns: repeat(2,minmax(0,1fr)); }
.cms-builder-card-grid--4 { grid-template-columns: repeat(4,minmax(0,1fr)); }
.cms-builder-card { overflow: hidden; min-width: 0; border: 1px solid rgba(80,45,98,.13); border-radius: 20px; color: var(--ink,#191823); background: #fff; box-shadow: 0 10px 30px rgba(48,28,61,.055); }
.cms-builder-card > img { display: block; width: 100%; max-height: 240px; aspect-ratio: 16/9; object-fit: cover; }
.cms-builder-card-copy { padding: 21px; }
.cms-builder-card h3 { margin: 0 0 9px; color: #211f2a; font-size: 19px; line-height: 1.25; }
.cms-builder-card p { margin: 0; color: #65616d; font-size: 13px; line-height: 1.7; white-space: pre-line; }
.cms-builder-card-link { display: inline-flex; margin-top: 15px; color: #782d8c; font-size: 12px; font-weight: 760; text-decoration: underline; text-underline-offset: 3px; }
.cms-builder-split { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); align-items: center; gap: clamp(28px,6vw,72px); }
.cms-builder-image-left .cms-builder-split-image { order: -1; }
.cms-builder-split-image { overflow: hidden; border: 1px solid rgba(80,45,98,.12); border-radius: 24px; background: #f2edf5; box-shadow: 0 16px 44px rgba(44,25,59,.09); }
.cms-builder-split-image img { display: block; width: 100%; max-height: 540px; aspect-ratio: 4/3; object-fit: cover; }
.cms-builder-split-copy .eyebrow { margin: 0 0 12px; }
.cms-builder-split-copy h2 { margin: 0 0 14px; }
.cms-builder-split-copy .cms-builder-body { max-width: 650px; }
.cms-builder-steps { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; counter-reset: cms-step; }
.cms-builder-step { min-height: 190px; padding: 22px; border: 1px solid rgba(80,45,98,.13); border-radius: 18px; background: #fff; box-shadow: 0 9px 26px rgba(48,28,61,.045); }
.cms-block-theme-dark .cms-builder-step { color: #fff; background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.14); }
.cms-builder-step-number { display: inline-grid; width: 36px; height: 36px; place-items: center; margin-bottom: 14px; border-radius: 50%; color: #782d8c; background: rgba(120,45,140,.1); font-size: 11px; font-weight: 820; }
.cms-builder-step h3 { margin: 0 0 8px; color: inherit; font-size: 17px; }
.cms-builder-step p { margin: 0; color: var(--body,#555461); font-size: 13px; line-height: 1.65; }
.cms-block-theme-dark .cms-builder-step p { color: rgba(255,255,255,.76); }
.cms-builder-faq-list { display: grid; gap: 9px; }
.cms-builder-faq-item { padding: 0 18px; border: 1px solid rgba(80,45,98,.12); border-radius: 14px; background: #fff; }
.cms-builder-faq-item summary { position: relative; padding: 18px 32px 18px 0; color: #32133f; font-size: 14px; font-weight: 760; cursor: pointer; list-style: none; }
.cms-builder-faq-item summary::-webkit-details-marker { display: none; }
.cms-builder-faq-item summary::after { position: absolute; top: 50%; right: 4px; content: "+"; color: #782d8c; font-size: 21px; transform: translateY(-50%); }
.cms-builder-faq-item[open] summary::after { content: "−"; }
.cms-builder-faq-item p { margin: 0; padding: 0 0 18px; color: var(--body,#555461); font-size: 13px; line-height: 1.7; white-space: pre-line; }
.cms-builder-agent-grid { margin-top: 0; }
.cms-builder-agent-preview { display: grid; min-height: 253px; place-items: center; overflow: hidden; padding: 0; background: radial-gradient(circle at 35% 35%,rgba(29,191,213,.28),transparent 32%),linear-gradient(145deg,#211329,#512a60 55%,#1d7c91); }
.cms-builder-agent-preview > img { display: block; width: 100%; height: 100%; min-height: 253px; object-fit: cover; }
.cms-builder-agent-mark { display: grid; width: 82px; height: 82px; place-items: center; border: 1px solid rgba(255,255,255,.35); border-radius: 27px; color: #fff; background: rgba(255,255,255,.12); box-shadow: 0 0 58px rgba(29,191,213,.28); font-size: 27px; font-weight: 850; letter-spacing: -.06em; }
main > section[data-cms-builder-hidden="true"] { display: none !important; }
@media (max-width: 900px) {
  .cms-builder-card-grid,.cms-builder-card-grid--4 { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .cms-builder-steps { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 620px) {
  .cms-builder-container { width: calc(100% - 32px); }
  .cms-builder-card-grid,.cms-builder-steps { grid-template-columns: 1fr; }
  .cms-builder-split { grid-template-columns: 1fr; }
  .cms-builder-image-left .cms-builder-split-image { order: 0; }
  .cms-builder-align-right { margin-left: 0; text-align: left; }
  .cms-builder-cta-panel { padding: 27px 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .cms-builder-cta { transition: none; }
}
