.sp-data-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0 0 14px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #fff7f8;
  border: 1px solid #f0d4d8;
  color: #444;
  font-size: 13px;
  font-weight: 800;
}
.sp-data-loading.is-error {
  background: #fff1f1;
  color: #8a1020;
}
.sp-data-loading i { color: #d70000; }

/* تعريف مباشر للعميل — مسار شغّال: فورم + بطاقات إجراءات */
.sp-client-intro {
  background: #faf9f6;
  border-radius: 24px;
  padding: clamp(28px, 4vw, 48px) clamp(18px, 3vw, 36px);
  margin: 18px 0;
  text-align: center;
  scroll-margin-top: 88px;
}
.sp-client-intro__kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 800;
  color: #b00020;
}
.sp-client-intro__head {
  max-width: 720px;
  margin: 0 auto 28px;
}
.sp-client-intro__head h2 {
  margin: 0 0 14px;
  font-size: clamp(22px, 3.2vw, 32px);
  font-weight: 900;
  line-height: 1.45;
  color: #1a1a1a;
}
.sp-client-intro__head p {
  margin: 0;
  font-size: clamp(14px, 1.7vw, 16px);
  font-weight: 650;
  line-height: 1.85;
  color: #555;
}

.sp-client-intake {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 960px;
  margin: 0 auto 28px;
  text-align: start;
}
.sp-client-intake__field {
  display: grid;
  gap: 6px;
  font-size: 12px;
  font-weight: 800;
  color: #444;
}
.sp-client-intake__field span { padding-inline-start: 2px; }
.sp-client-intake__field input,
.sp-client-intake__field textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #e2d6d9;
  border-radius: 14px;
  padding: 12px 14px;
  font: inherit;
  font-weight: 650;
  background: #fff;
  color: #222;
  resize: vertical;
}
.sp-client-intake__field input:focus,
.sp-client-intake__field textarea:focus {
  outline: none;
  border-color: #d70000;
  box-shadow: 0 0 0 3px rgba(215, 0, 0, 0.12);
}
.sp-client-intake__submit {
  grid-column: 1 / -1;
  justify-self: center;
  min-width: min(100%, 280px);
  margin-top: 4px;
}

.sp-client-intro__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.sp-client-intro__card {
  border: 0;
  border-radius: 20px;
  padding: clamp(28px, 3vw, 40px) clamp(18px, 2vw, 28px);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100%;
  box-sizing: border-box;
  font: inherit;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.sp-client-intro__card:hover,
.sp-client-intro__card:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(20, 0, 4, 0.1);
  outline: none;
}
.sp-client-intro__card.is-active {
  box-shadow: 0 0 0 3px rgba(215, 0, 0, 0.28), 0 14px 28px rgba(20, 0, 4, 0.1);
}
.sp-client-intro__card--blue { background: #eef6ff; }
.sp-client-intro__card--green { background: #f0f9dc; }
.sp-client-intro__card--purple { background: #f1eaff; }
.sp-client-intro__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: inline-grid;
  place-items: center;
  margin-bottom: 18px;
}
.sp-client-intro__icon svg {
  width: 22px;
  height: 22px;
}
.sp-client-intro__card--blue .sp-client-intro__icon {
  background: #d7e9fb;
  color: #1e4f8c;
}
.sp-client-intro__card--green .sp-client-intro__icon {
  background: #e0efc0;
  color: #3d6b14;
}
.sp-client-intro__card--purple .sp-client-intro__icon {
  background: #e2d5f8;
  color: #5b3d9a;
}
.sp-client-intro__card h3 {
  margin: 0 0 10px;
  font-size: 17px;
  font-weight: 900;
  color: #2a2a2a;
  line-height: 1.4;
}
.sp-client-intro__card p {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.75;
  color: #666;
  max-width: 260px;
}
.sp-client-intro__cta {
  margin-top: auto;
  font-size: 12px;
  font-weight: 850;
  color: #b00020;
}

.sp-client-intro__results {
  margin-top: 28px;
  text-align: start;
  background: #fff;
  border: 1px solid #eadfe2;
  border-radius: 18px;
  padding: 16px;
}
.sp-client-intro__results-head {
  margin-bottom: 12px;
}
.sp-client-intro__results-head h3 {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 900;
  display: flex;
  align-items: center;
  gap: 8px;
}
.sp-client-intro__results-head h3 i { color: #d70000; }
.sp-client-intro__results-head p {
  margin: 0;
  font-size: 13px;
  font-weight: 650;
  color: #666;
}
.sp-client-intro__results-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.sp-type-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}
.sp-type-tab {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  text-align: start;
  border: 1px solid #eadfe2;
  background: #fffafb;
  border-radius: 14px;
  padding: 12px 14px;
  cursor: pointer;
  font: inherit;
  color: #222;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.sp-type-tab i { color: #d70000; font-size: 16px; }
.sp-type-tab strong { font-size: 15px; font-weight: 900; }
.sp-type-tab span { font-size: 12px; font-weight: 800; color: #777; }
.sp-type-tab:hover { border-color: #d70000; transform: translateY(-1px); }
.sp-type-tab.is-active {
  border-color: #d70000;
  background: linear-gradient(180deg, #fff 0%, #ffe8ea 100%);
  box-shadow: 0 10px 22px rgba(215, 0, 0, 0.12);
}

.sp-cat-dir {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px;
}
.sp-cat-card {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  text-align: start;
  border: 1px solid #eadfe2;
  background: #fff;
  border-radius: 14px;
  padding: 12px;
  cursor: pointer;
  font: inherit;
  color: #222;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.sp-cat-card:hover,
.sp-cat-card.is-active {
  border-color: #d70000;
  background: #fff7f8;
}
.sp-cat-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: #111;
  color: #fff;
  flex: 0 0 auto;
}
.sp-cat-card-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.sp-cat-card-copy strong {
  font-size: 13px;
  font-weight: 900;
  line-height: 1.3;
}
.sp-cat-card-copy small {
  font-size: 11px;
  font-weight: 800;
  color: #777;
}

.sp-catalog-groups { display: grid; gap: 18px; }
.sp-cat-group-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}
.sp-cat-group-head h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 900;
  display: flex;
  align-items: center;
  gap: 8px;
}
.sp-cat-group-head h3 i { color: #d70000; }
.sp-cat-group-head span {
  font-size: 12px;
  font-weight: 800;
  color: #777;
}
.sp-load-more {
  margin-top: 10px;
  width: 100%;
}
.sp-card.is-compact .sp-card-details {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed #eadfe2;
}
.sp-promise {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: linear-gradient(135deg, #fff8f8, #fff);
  border: 1px solid #f0d4d8;
  border-right: 4px solid #d70000;
  border-radius: 14px;
  padding: 14px 16px;
  margin: 0 0 16px;
}
.sp-promise i { color: #d70000; margin-top: 3px; }
.sp-promise p { margin: 0; font-size: 13px; line-height: 1.7; color: #444; font-weight: 650; }
.sp-promise strong { color: #111; font-weight: 850; }

.sp-engine-path {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 8px;
}
.sp-engine-path li,
.sp-engine-path a {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 52px;
  padding: 8px 10px;
  border: 1px solid #eadfe2;
  border-radius: 12px;
  background: #faf6f7;
  font-size: 11px;
  font-weight: 800;
  color: #222;
  text-decoration: none;
}
.sp-engine-path a:hover { border-color: #d70000; background: #fff; }
.sp-path-ico {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: inline-grid;
  place-items: center;
  background: #fff;
  color: #d70000;
  flex: 0 0 auto;
  border: 1px solid #eadfe2;
}
.sp-disclaimer {
  background: #fff4e8;
  border: 1px solid #f0d9b8;
  color: #7a4a00;
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 11px;
  font-weight: 800;
  margin-bottom: 10px;
}
.sp-risk-low { color: #0a7a3e; }
.sp-risk-mid { color: #b06a00; }
.sp-risk-high { color: #b00010; }

.sp-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 18px;
}
.sp-stats article {
  background: #fff;
  border: 1px solid #eadfe2;
  border-radius: 14px;
  padding: 14px 12px;
  border-top: 3px solid rgba(215, 0, 0, 0.55);
  box-shadow: 0 8px 18px rgba(20, 0, 4, 0.04);
}
.sp-stats strong {
  display: block;
  font-size: 24px;
  font-weight: 900;
  margin-bottom: 4px;
}
.sp-stats span {
  color: #666;
  font-size: 12px;
  font-weight: 700;
}

.sp-panel {
  background: #fff;
  border: 1px solid #eadfe2;
  border-radius: 18px;
  padding: 18px 16px;
  margin-bottom: 16px;
  box-shadow: 0 10px 24px rgba(20, 0, 4, 0.04);
}
.sp-panel-head h2 {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 900;
  display: flex;
  align-items: center;
  gap: 8px;
}
.sp-panel-head h2 i { color: #d70000; }
.sp-panel-head p {
  margin: 0 0 14px;
  color: #666;
  font-size: 13px;
  font-weight: 650;
}

.sp-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.sp-field {
  display: grid;
  gap: 6px;
  font-size: 12px;
  font-weight: 800;
  color: #555;
}
.sp-field.grow { grid-column: 1 / -1; }
.sp-field input,
.sp-field select,
.sp-field textarea {
  border: 1px solid #e2d6d9;
  border-radius: 12px;
  padding: 10px 12px;
  font: inherit;
  background: #fafafa;
  width: 100%;
  box-sizing: border-box;
}
.sp-field input:focus,
.sp-field select:focus,
.sp-field textarea:focus {
  outline: none;
  border-color: #d70000;
  background: #fff;
}
.sp-field textarea {
  resize: vertical;
  min-height: 64px;
}
.sp-field input[type='file'] {
  padding: 8px;
  font-size: 12px;
  font-weight: 700;
}
.sp-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.sp-catalog-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}
.sp-cat-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}
.sp-chip {
  border: 1px solid #eadfe2;
  background: #fffafb;
  border-radius: 999px;
  padding: 7px 12px;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  color: #333;
}
.sp-chip:hover { border-color: #d70000; color: #d70000; }
.sp-chip i { margin-inline-end: 6px; color: #d70000; }

.sp-results-grid,
.sp-catalog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.sp-card {
  border: 1px solid #eadfe2;
  border-radius: 16px;
  padding: 14px;
  background: linear-gradient(180deg, #fff 0%, #fffafb 100%);
  min-width: 0;
}
.sp-card-top {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 10px;
}
.sp-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #111;
  color: #fff;
  flex: 0 0 auto;
}
.sp-card-top h3 {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.35;
}
.sp-card-top small {
  color: #777;
  font-size: 11px;
  font-weight: 700;
}
.sp-score {
  margin-inline-start: auto;
  background: #d70000;
  color: #fff;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 900;
}
.sp-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}
.sp-badges span {
  background: #ffe5e5;
  color: #a00010;
  border-radius: 999px;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 800;
}
.sp-reasons {
  margin: 0 0 10px;
  color: #666;
  font-size: 12px;
  font-weight: 700;
}
.sp-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 10px;
}
.sp-detail-grid div {
  background: #faf6f7;
  border-radius: 10px;
  padding: 8px;
}
.sp-detail-grid span {
  display: block;
  color: #888;
  font-size: 10px;
  font-weight: 800;
  margin-bottom: 2px;
}
.sp-detail-grid strong {
  font-size: 12px;
  font-weight: 800;
  line-height: 1.4;
}
.sp-plan {
  border-top: 1px dashed #eadfe2;
  padding-top: 10px;
  margin-bottom: 10px;
  font-size: 12px;
}
.sp-plan strong {
  display: block;
  margin: 8px 0 4px;
  font-size: 12px;
}
.sp-plan ol {
  margin: 0;
  padding-inline-start: 18px;
}
.sp-plan p { margin: 0 0 6px; color: #555; font-weight: 650; }
.sp-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

/* أزرار ثانوية على خلفية بيضاء — نص غامق (يتغلب على body.homepage .btn-secondary) */
body.homepage [data-side-projects-page] .sp-card .btn-secondary,
body.homepage [data-side-projects-page] .sp-opened-card .btn-secondary,
body.homepage [data-side-projects-page] .sp-reg-card .btn-secondary,
body.homepage [data-side-projects-page] .sp-form-actions .btn-secondary,
body.homepage [data-side-projects-page] .sp-catalog-groups .btn-secondary,
body.homepage [data-side-projects-page] .sp-load-more.btn-secondary,
[data-side-projects-page] .sp-card .btn-secondary,
[data-side-projects-page] .sp-opened-card .btn-secondary,
[data-side-projects-page] .sp-reg-card .btn-secondary,
[data-side-projects-page] .sp-form-actions .btn-secondary,
[data-side-projects-page] .sp-catalog-groups .btn-secondary,
[data-side-projects-page] .sp-load-more.btn-secondary {
  background: #fff !important;
  border: 1px solid #d9c7cb !important;
  color: #1a1a1a !important;
  box-shadow: none;
}
body.homepage [data-side-projects-page] .sp-card .btn-secondary:hover,
body.homepage [data-side-projects-page] .sp-opened-card .btn-secondary:hover,
body.homepage [data-side-projects-page] .sp-reg-card .btn-secondary:hover,
body.homepage [data-side-projects-page] .sp-form-actions .btn-secondary:hover,
body.homepage [data-side-projects-page] .sp-load-more.btn-secondary:hover,
[data-side-projects-page] .sp-card .btn-secondary:hover,
[data-side-projects-page] .sp-opened-card .btn-secondary:hover,
[data-side-projects-page] .sp-reg-card .btn-secondary:hover,
[data-side-projects-page] .sp-form-actions .btn-secondary:hover,
[data-side-projects-page] .sp-load-more.btn-secondary:hover {
  background: #fff7f8 !important;
  border-color: #d70000 !important;
  color: #9f1239 !important;
  box-shadow: none;
}

.sp-opened-list { display: grid; gap: 10px; }
.sp-opened-card {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid #eadfe2;
  border-radius: 14px;
  padding: 12px 14px;
  background: #fff;
}
.sp-opened-card h3 { margin: 0 0 4px; font-size: 15px; }
.sp-opened-card small { color: #777; font-size: 11px; font-weight: 700; }
.sp-opened-card p { margin: 8px 0 0; color: #555; font-size: 12px; font-weight: 650; }
.sp-opened-main { flex: 1 1 280px; min-width: 0; }
.sp-ops-steps {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 8px;
}
.sp-ops-steps a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid #eadfe2;
  border-radius: 12px;
  background: #faf6f7;
  color: #222;
  text-decoration: none;
  font-size: 11px;
  font-weight: 800;
  transition: 0.15s ease;
}
.sp-ops-steps a:hover {
  border-color: #d70000;
  background: #fff;
}
.sp-ops-steps span {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #d70000;
  color: #fff;
  display: inline-grid;
  place-items: center;
  font-size: 10px;
  flex: 0 0 auto;
}
.sp-ops-steps i { color: #d70000; width: 14px; text-align: center; }

.sp-empty {
  margin: 0;
  padding: 20px;
  text-align: center;
  color: #777;
  font-weight: 700;
}

.sp-toast {
  position: fixed;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #111;
  color: #fff;
  padding: 10px 16px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  transition: 0.2s ease;
  z-index: 80;
}
.sp-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.sp-card-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #111;
  color: #fff;
  flex: 0 0 auto;
  border: none;
  cursor: pointer;
  font: inherit;
  transition: background 0.15s ease, transform 0.15s ease;
}
.sp-card-icon-btn:hover,
.sp-card-icon-btn:focus-visible {
  background: #d70000;
  transform: translateY(-1px);
  outline: none;
}
.sp-card-title-btn {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  margin: 0;
  font: inherit;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.35;
  color: inherit;
  text-align: start;
  cursor: pointer;
}
.sp-card-title-btn:hover,
.sp-card-title-btn:focus-visible {
  color: #d70000;
  outline: none;
  text-decoration: underline;
}

.sp-req-hint {
  color: #d70000;
  font-size: 11px;
  font-weight: 800;
}
.sp-selected-project {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-bottom: 14px;
  padding: 12px 14px;
  border: 1px dashed #d70000;
  border-radius: 14px;
  background: #fff7f8;
}
.sp-selected-label {
  font-size: 12px;
  font-weight: 800;
  color: #777;
}
.sp-selected-project strong {
  font-size: 15px;
  font-weight: 900;
  color: #111;
  flex: 1 1 auto;
}

.sp-reg-list {
  display: grid;
  gap: 12px;
}
.sp-reg-card {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  justify-content: space-between;
  border: 1px solid #eadfe2;
  border-radius: 16px;
  padding: 14px;
  background: #fff;
}
.sp-reg-card-main {
  min-width: 0;
  flex: 1 1 auto;
}
.sp-reg-card-main h3 {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 900;
}
.sp-reg-card-main small,
.sp-reg-card-main p {
  display: block;
  margin: 0 0 4px;
  color: #555;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
}
.sp-reg-exp,
.sp-reg-files {
  color: #777 !important;
}

.sp-reg-modal[hidden] {
  display: none !important;
}
.sp-reg-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 16px;
}
.sp-reg-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 8, 10, 0.62);
  backdrop-filter: blur(3px);
}
.sp-reg-modal__panel {
  position: relative;
  z-index: 1;
  width: min(760px, 96vw);
  max-height: min(90vh, 920px);
  overflow: auto;
  background: #fff;
  border-radius: 22px;
  border: 1px solid #eadfe2;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.28);
  direction: rtl;
}
.sp-reg-modal__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px 12px;
  border-bottom: 1px solid #f0e6e8;
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 1;
}
.sp-reg-kicker {
  margin: 0 0 4px;
  color: #d70000;
  font-size: 12px;
  font-weight: 800;
}
.sp-reg-modal__head h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 900;
  color: #111;
}
.sp-reg-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #eadfe2;
  background: #fff;
  color: #333;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.sp-reg-close:hover {
  border-color: #d70000;
  color: #d70000;
}
.sp-reg-form {
  padding: 16px 20px 20px;
}
.sp-reg-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}
.sp-reg-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-start;
}
body.sp-reg-open {
  overflow: hidden;
}

@media (max-width: 980px) {
  .sp-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sp-type-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sp-form-grid,
  .sp-reg-grid,
  .sp-results-grid,
  .sp-catalog-grid,
  .sp-detail-grid,
  .sp-client-intro__results-grid { grid-template-columns: 1fr; }
  .sp-client-intro__cards,
  .sp-client-intake { grid-template-columns: 1fr; }
  .sp-client-intro__head { margin-bottom: 28px; }
}

@media (max-width: 560px) {
  .sp-type-tabs { grid-template-columns: 1fr; }
  .sp-reg-card { flex-direction: column; }
  .sp-client-intro {
    padding: 24px 14px;
    border-radius: 18px;
  }
}
