/* ═══════════════════════════════════════════════════════════════════════
   /darija-leren-spreken in the v3 look - sp-* classes on top of dh-*
   (FAQ reuses dc-faq from v3_cities.css). Copy and SEO are unchanged;
   only markup classes and styles moved. Named v3_spreken so it sorts
   after v3.css and v3_cities.css.
   Rollback: /var/www/darija_backups/2026-11-28-pre-dls-v3/
   ═══════════════════════════════════════════════════════════════════════ */

.darija_leren_spreken main { overflow-x: clip; }

/* <em> in the CMS headings becomes the red marker word */
.sp-title em,
.sp-h2 em {
  font-style: normal;
  color: var(--red);
  position: relative;
  white-space: nowrap;
}
.sp-title em::after {
  content: "";
  position: absolute;
  left: -0.04em;
  right: -0.04em;
  bottom: -0.06em;
  height: 0.16em;
  background: var(--gold);
  border-radius: 999px;
  transform: rotate(-1.2deg);
  z-index: -1;
}
.sp-pain .sp-h2 em { color: var(--gold); }

/* ── Hero form ── */
.sp-form {
  max-width: 34rem;
  margin: 0 0 1.4rem;
  padding: 1.25rem;
  background: var(--card);
  border: 1.5px solid var(--ink);
  border-radius: var(--r-lg);
  box-shadow: 6px 6px 0 var(--ink);
  transform: rotate(-0.6deg);
}
.sp-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  margin-bottom: 0.7rem;
}
.sp-form__row .sp-input:first-child { grid-column: 1 / -1; }
.sp-input { background: #fff; }
.sp-submit { justify-content: space-between; }
.sp-form__hint {
  margin: 0.7rem 0 0;
  text-align: center;
  font-family: var(--hand);
  font-size: 0.9rem;
  color: var(--muted);
}
.sp-form__error {
  margin: 0 0 0.75rem;
  padding: 0.6rem 0.9rem;
  border-radius: var(--r-sm);
  background: rgba(200,54,31,0.1);
  color: var(--red-h);
  font-weight: 600;
  font-size: 0.95rem;
}
.sp-success {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  max-width: 34rem;
  margin: 0 0 1.4rem;
  padding: 1rem 1.2rem;
  border-radius: var(--r-md);
  background: var(--mint);
  color: var(--green);
  font-weight: 600;
}
.sp-success svg { flex: none; }
.sp-success--light { background: var(--paper); }

.sp-trust {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.4rem;
}
.sp-trust li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--hand);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
}
.sp-trust .dh-check { width: 1.6rem; height: 1.6rem; padding: 0.28rem; margin: 0; }
.sp-trust li:nth-child(2) .dh-check { background: var(--pink); transform: rotate(5deg); }
.sp-trust li:nth-child(3) .dh-check { background: var(--mint); }

/* name tag on the hero photo */
.sp-badge {
  position: absolute;
  right: -18px;
  bottom: 38px;
  display: flex;
  flex-direction: column;
  padding: 0.7rem 1.1rem 0.75rem;
  background: var(--ink);
  color: var(--paper);
  border-radius: 14px;
  transform: rotate(3deg);
  box-shadow: 0 16px 30px -16px rgba(0,0,0,0.6);
  animation: dh-pop 700ms 800ms var(--spring) both;
  z-index: 2;
}
.sp-badge__name { font-family: var(--serif); font-weight: 800; font-size: 1.05rem; letter-spacing: -0.02em; }
.sp-badge__role { font-family: var(--hand); font-size: 0.82rem; color: var(--gold); }

/* ── Intro statement ── */
.sp-intro {
  padding: clamp(3rem, 6vw, 5rem) 0;
  border-top: 2px dotted var(--line);
}
.sp-intro__text {
  max-width: 54rem;
  margin: 0 auto;
  text-align: center;
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.4vw, 1.85rem);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.sp-intro__text strong {
  font-weight: 800;
  background: linear-gradient(transparent 58%, var(--pink) 58%, var(--pink) 92%, transparent 92%);
}
.sp-intro__text em { font-style: normal; color: var(--red); font-weight: 750; }

/* ── Pain: chat bubbles on the green band ── */
.sp-h2 { font-size: clamp(2.2rem, 5vw, 4rem); max-width: 20ch; }
.sp-pain .dh-head .dh-pill { margin-bottom: 1.25rem; }
.sp-bubble p { font-size: 1.05rem; }
.sp-bubble strong { display: block; margin-bottom: 0.3rem; font-family: var(--serif); font-size: 1.22rem; line-height: 1.25; letter-spacing: -0.02em; }
.dh-bubble--0 strong, .dh-bubble--2 strong { color: var(--paper); }
.dh-bubble--2 { border-radius: 22px 6px 22px 22px; }

/* ── Learn tiles: h3 instead of strong ── */
.sp-learn .dh-pill { margin-bottom: 1.25rem; }
.sp-learn .dh-tile__title { margin: 0; color: inherit; }

/* ── About / for whom ── */
.sp-about-title { margin-top: 1.1rem; margin-bottom: 0.6rem !important; }
.sp-role {
  margin: 0 0 1.5rem;
  font-family: var(--hand);
  font-weight: 600;
  color: var(--red);
}
.dh-about__text > .dh-pill,
.dh-forwho__lead > .dh-pill { margin-bottom: 0; }
.dh-forwho__lead .dh-h2 { margin-top: 1.25rem; }

/* ── FAQ: sits between two paper sections, give it the card tone ── */
.sp-faq { background: var(--paper-2); }
.sp-faq .dh-pill { margin-bottom: 1.25rem; }

/* ── Bottom CTA ── */
.sp-end { padding-top: clamp(3.5rem, 7vw, 6rem); }
.sp-cta {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  padding: clamp(2rem, 5vw, 3.75rem);
  border-radius: var(--r-lg);
  background: var(--red);
  overflow: hidden;
}
.sp-cta__star {
  position: absolute;
  left: -60px;
  bottom: -80px;
  width: 240px;
  height: 240px;
  fill: rgba(255,255,255,0.1);
  animation: dh-spin 50s linear infinite;
}
.sp-cta__text { position: relative; }
.sp-cta__title {
  margin: 0;
  font-size: clamp(2rem, 4.2vw, 3.3rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: #fff;
}
.sp-cta__sub { margin: 1rem 0 0; font-size: 1.08rem; line-height: 1.6; color: rgba(255,255,255,0.88); max-width: 46ch; }
.sp-cta-form { position: relative; display: grid; gap: 0.6rem; }
.sp-cta-form .sp-input { border-color: transparent; }
.sp-cta-form .dh-btn { justify-content: space-between; }
.sp-cta-form__hint { margin: 0.2rem 0 0; text-align: center; font-family: var(--hand); font-size: 0.9rem; color: rgba(255,255,255,0.85); }

/* ── Responsive ── */
@media (max-width: 980px) {
  .sp-cta { grid-template-columns: 1fr; }
  .sp-badge { right: -6px; }
}
@media (max-width: 640px) {
  .sp-form { padding: 1rem; box-shadow: 4px 4px 0 var(--ink); }
  .sp-form__row { grid-template-columns: 1fr; }
  .sp-trust { flex-direction: column; }
  .sp-title em { white-space: normal; }
}
@media (prefers-reduced-motion: reduce) {
  .sp-badge, .sp-cta__star { animation: none; }
}
