/* ─── Podstránky: predajná šablóna ─── */
.sp-hero {
  position: relative;
  padding: calc(var(--nav-height) + var(--nav-top) + 72px) 0 72px;
  overflow: hidden;
  background:
    radial-gradient(60% 80% at 88% 0%, rgba(124, 58, 237, 0.11) 0%, transparent 100%);
}

.sp-hero__title,
.sp-cta__title {
  font-family: var(--font-display);
}

.sp-hero__title {
  max-width: 15em;
  font-size: clamp(38px, 5.4vw, 68px);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.04em;
  color: var(--text-primary);
  text-wrap: balance;
}

.sp-hero__lead {
  max-width: 34em;
  margin-top: 22px;
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.55;
  letter-spacing: -0.01em;
  color: #c3bfd9;
  text-wrap: pretty;
}

.sp-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-top: 30px;
}

.sp-section {
  padding: 72px 0;
}

.sp-section__head {
  max-width: 40em;
  margin-bottom: 44px;
}

.sp-section__sub {
  margin-top: 14px;
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--text-secondary);
  text-wrap: pretty;
}

/* Prínosy: bez rámikov, nesie ich typografia */
.sp-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px 56px;
}

.sp-benefit h3 {
  margin-bottom: 10px;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.025em;
  color: var(--text-primary);
}

.sp-benefit p {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--text-secondary);
  text-wrap: pretty;
}

/* Svietiaci panel: na každej stránke len jeden, to najdôležitejšie */
.sp-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 40px 72px;
  padding: 56px;
  border-radius: 16px;
  background: #5a2bd8;
}

.sp-panel .section-title,
.sp-panel .sp-section__sub {
  color: #fff;
}

.sp-list {
  list-style: none;
}

.sp-list li {
  padding: 14px 0;
  font-size: 16px;
  color: var(--text-primary);
}

.sp-list li + li {
  border-top: 1px solid rgba(255, 255, 255, 0.24);
}

.sp-list small {
  display: block;
  margin-top: 2px;
  font-size: 14px;
  color: #dcd2ff;
}

/* Práca */
.sp-work {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.sp-case {
  display: block;
}

.sp-case__img {
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border-radius: 16px;
  border: 1px solid var(--border);
}

.sp-case__img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.sp-case__name {
  margin-top: 14px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.sp-case__kind {
  font-size: 14px;
  color: var(--text-secondary);
}

@media (hover: hover) and (pointer: fine) {
  .sp-case:hover .sp-case__img img {
    transform: scale(1.025);
  }
}

/* Časová os postupu */
.sp-steps {
  max-width: 760px;
  list-style: none;
}

.sp-step {
  position: relative;
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 8px 32px;
  padding: 0 0 40px 28px;
}

.sp-step::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--purple-3);
}

.sp-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 24px;
  bottom: 2px;
  left: 4px;
  width: 1px;
  background: var(--border);
}

.sp-step__when {
  font-size: 14px;
  color: var(--purple-3);
}

.sp-step h3 {
  margin-bottom: 6px;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.022em;
  color: var(--text-primary);
}

.sp-step p {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--text-secondary);
  text-wrap: pretty;
}

/* Tím */
.sp-team {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px 56px;
}

.sp-person h2 {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

.sp-person__role {
  margin: 4px 0 14px;
  font-size: 14px;
  color: var(--purple-3);
}

.sp-person p:last-child {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--text-secondary);
  text-wrap: pretty;
}

/* Otázky */
.sp-faq .faq__list {
  max-width: 760px;
  margin: 0;
}

/* Záverečná výzva */
.sp-cta {
  position: relative;
  padding: 104px 0;
  text-align: center;
}

.sp-cta__title {
  max-width: 15em;
  margin: 0 auto;
  font-size: clamp(32px, 4.4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: var(--text-primary);
  text-wrap: balance;
}

.sp-cta__sub {
  margin-top: 16px;
  font-size: 17px;
  color: #c3bfd9;
}

.sp-cta .sp-actions {
  justify-content: center;
}

/* Tablet a mobil */
@media (max-width: 1024px) {
  .sp-panel {
    grid-template-columns: minmax(0, 1fr);
    padding: 44px 32px;
  }

  .sp-benefits,
  .sp-team {
    gap: 32px 36px;
  }
}

@media (max-width: 768px) {
  .sp-hero {
    padding: calc(var(--nav-height) + var(--nav-top) + 44px) 0 44px;
    text-align: center;
  }

  .sp-hero__lead,
  .sp-section__head {
    margin-inline: auto;
  }

  .sp-actions {
    justify-content: center;
  }

  .sp-section {
    padding: 52px 0;
    text-align: center;
  }

  .sp-section__head {
    margin-bottom: 32px;
  }

  .sp-benefits,
  .sp-team,
  .sp-work {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .sp-panel {
    padding: 36px 20px 20px;
    border-radius: 24px;
  }

  .sp-list li {
    padding: 13px 0;
  }

  .sp-steps {
    text-align: left;
  }

  .sp-step {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
    padding-bottom: 32px;
  }

  .sp-faq .faq__list {
    margin: 0 auto;
    text-align: left;
  }

  .sp-cta {
    padding: 72px 0;
  }
}
