/* ========== Hero ========== */
.spt-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 460px;
  height: clamp(400px, 48vw, 560px);
  overflow: hidden;
  background: #0d2133;
}

.spt-hero__bg {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.spt-hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.62);
}

.spt-hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 48px 24px;
}

.spt-hero__content {
  max-width: 720px;
}

.spt-hero__eyebrow {
  margin-bottom: 12px;
  font-size: 16px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
}

.spt-hero__title {
  margin-bottom: 16px;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-white);
}

.spt-hero__desc {
  max-width: 640px;
  margin-bottom: 28px;
  font-size: 16px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.94);
}

/* ========== Buttons ========== */
.spt-btn {
  display: inline-block;
  padding: 11px 32px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: center;
  border: 1px solid transparent;
  border-radius: 0;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.spt-btn--ghost-light {
  color: var(--color-white);
  border-color: var(--color-white);
  background: transparent;
}

.spt-btn--ghost-light:hover,
.spt-btn--ghost-light:focus-visible {
  color: var(--color-primary);
  background: var(--color-white);
}

.spt-btn--ghost-dark {
  color: var(--color-text);
  border-color: var(--color-primary);
  background: transparent;
}

.spt-btn--ghost-dark:hover,
.spt-btn--ghost-dark:focus-visible {
  color: var(--color-white);
  background: var(--color-primary);
}

.spt-btn--primary {
  color: var(--color-white);
  background: var(--color-primary);
  border-color: var(--color-primary);
}

.spt-btn--primary:hover,
.spt-btn--primary:focus-visible {
  color: var(--color-white);
  background: var(--color-primary-hover);
  border-color: var(--color-primary-hover);
}

.spt-btn:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
}

.page-main--retrofit-landing04 {
  background: var(--color-white);
}

/* ========== Blue Feature Card ========== */
.spt-profile {
  padding: 48px 0 0;
}

.spt-profile__stack,
.spt-features__stack {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.spt-card {
  position: relative;
  overflow: hidden;
  border-radius: 0;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12), 0 4px 16px rgba(0, 0, 0, 0.08);
}

.spt-card__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0.35;
  transform: scale(1.06);
}

.spt-card--has-bg .spt-card__bg {
  opacity: 1;
}

.spt-card__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.spt-card--blue {
  color: var(--color-white);
  background-color: var(--color-primary);
}

.spt-card--blue .spt-card__overlay {
  background: rgba(0, 83, 135, 0.92);
}

.spt-card--has-bg.spt-card--blue {
  background-color: transparent;
}

.spt-card--has-bg.spt-card--blue .spt-card__overlay {
  background: rgba(0, 83, 135, 0.72);
}

.spt-card--blue .spt-card__title,
.spt-card--blue .spt-card__text {
  color: var(--color-white);
}

.spt-card--light {
  background: var(--color-white);
}

.spt-card--light .spt-card__overlay {
  background: rgba(255, 255, 255, 0.8);
}

.spt-card--has-bg.spt-card--light {
  background: transparent;
}

.spt-card--has-bg.spt-card--light .spt-card__overlay {
  background: rgba(255, 255, 255, 0.72);
}

.spt-card--light .spt-card__title,
.spt-card--light .spt-card__text {
  color: var(--color-text);
}

.spt-card--light .spt-features__icon {
  color: var(--color-primary);
}

.spt-card--light .spt-features__text {
  color: var(--color-text);
}

.spt-card__content .spt-card__text + .spt-card__text {
  margin-top: 18px;
}

.spt-card__inner--panel {
  min-height: auto;
}

.spt-card__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 44%);
  gap: 40px;
  align-items: center;
  min-height: 360px;
  padding: 48px 40px;
}

.spt-card__title {
  margin-bottom: 16px;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.35;
}

.spt-card__text {
  margin-bottom: 0;
  font-size: 16px;
  line-height: 1.75;
}

.spt-card__content .spt-btn {
  margin-top: 24px;
}

.spt-card__media img {
  display: block;
  width: 100%;
  max-height: 320px;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
}

/* ========== Intro ========== */
.spt-intro {
  padding: 48px 0 56px;
  background: var(--color-white);
}

.spt-intro p {
  max-width: 100%;
  margin-bottom: 18px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--color-text);
}

.spt-intro p:last-child {
  margin-bottom: 0;
}

/* ========== Integrated Solutions ========== */
.spt-solutions {
  padding: 56px 0 64px;
  background: #f0f1f3;
}

.spt-solutions__head {
  display: grid;
  grid-template-columns: minmax(200px, 36%) minmax(0, 1fr);
  gap: 32px 48px;
  align-items: center;
  margin-bottom: 40px;
}

.spt-solutions__logo img {
  display: block;
  width: 100%;
  max-width: 360px;
  height: auto;
}

.spt-solutions__heading {
  margin-bottom: 12px;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--color-text);
}

.spt-solutions__lead {
  margin: 0;
  font-size: 16px;
  line-height: 1.75;
  color: var(--color-text-muted);
}

.spt-solutions__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.spt-solution-card {
  padding: 28px 22px 32px;
  text-align: center;
  background: var(--color-white);
  border-radius: 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.spt-solution-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 72px;
  margin-bottom: 16px;
}

.spt-solution-card__icon img {
  display: block;
  width: auto;
  max-width: 64px;
  max-height: 56px;
  height: auto;
  object-fit: contain;
}

.spt-solution-card__title {
  margin-bottom: 12px;
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text);
}

.spt-solution-card__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--color-text-muted);
}

/* ========== Features ========== */
.spt-features {
  padding: 0 0 48px;
  background: #f0f1f3;
}

.spt-features .spt-card__title {
  margin-bottom: 24px;
}

.spt-features__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.spt-features__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}

.spt-features__item:last-child {
  margin-bottom: 0;
}

.spt-features__icon {
  flex-shrink: 0;
  margin-top: 2px;
  line-height: 0;
}

.spt-features__text {
  font-size: 16px;
  line-height: 1.65;
}

.spt-card--blue .spt-features__icon {
  color: var(--color-white);
}

.spt-card--blue .spt-features__text {
  color: var(--color-white);
}

/* ========== Technical Data & General Features ========== */
.spt-spec {
  padding: 56px 0 64px;
  background: var(--color-white);
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.04);
}

.spt-spec__inner {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px 56px;
  align-items: start;
}

.spt-spec__heading {
  margin-bottom: 20px;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--color-text);
}

.spt-spec__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-text);
}

.spt-spec__table th,
.spt-spec__table td {
  padding: 14px 16px;
  border: 1px solid var(--color-border);
  text-align: center;
  vertical-align: middle;
}

.spt-spec__table th {
  width: 42%;
  font-weight: 600;
  background: #fafbfc;
}

.spt-spec__cell-empty {
  background: var(--color-white);
}

.spt-checklist {
  margin: 0;
  padding: 0;
  list-style: none;
}

.spt-checklist__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}

.spt-checklist__item:last-child {
  margin-bottom: 0;
}

.spt-checklist__icon {
  flex-shrink: 0;
  margin-top: 1px;
  line-height: 0;
  color: var(--color-primary);
}

.spt-checklist__text {
  font-size: 16px;
  line-height: 1.65;
  color: var(--color-text);
}

/* ========== Panel Cards (Import + Program) ========== */
.spt-panels {
  padding: 48px 0 64px;
  background: #f0f1f3;
}

.spt-panels__stack {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* ========== Download ========== */
.spt-download {
  padding: 72px 0 88px;
  background: var(--color-white);
}

.spt-download__head {
  max-width: 760px;
  margin: 0 auto 36px;
  text-align: center;
}

.spt-download__title {
  margin-bottom: 12px;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--color-primary);
}

.spt-download__line {
  display: block;
  width: 56px;
  height: 3px;
  margin: 0 auto;
  background: var(--color-primary);
}

.spt-download__media {
  margin: 0 auto 32px;
  text-align: center;
}

.spt-download__media img {
  display: inline-block;
  width: 60%;
  max-width: 480px;
  height: auto;
}

.spt-download__action {
  text-align: center;
}

/* ========== Video ========== */
.spt-video {
  position: relative;
  padding: 72px 0 88px;
  overflow: hidden;
  background: var(--color-primary);
}

.spt-video__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.spt-video__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 83, 135, 0.62);
}

.spt-video__inner {
  position: relative;
  z-index: 2;
}

.spt-video__frame {
  max-width: 960px;
  margin: 0 auto;
  padding: 14px;
  background: var(--color-white);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.24);
}

.spt-video__frame-border {
  padding: 4px;
  border: 2px solid var(--color-primary);
  background: var(--color-primary);
}

.spt-video__player {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  vertical-align: middle;
  background: #000000;
  object-fit: cover;
  border: 0;
}

.spt-video__player--youtube {
  object-fit: unset;
}

/* ========== Tablet ========== */
@media (max-width: 960px) {
  .spt-card__inner {
    grid-template-columns: 1fr;
    gap: 32px;
    min-height: auto;
    padding: 40px 32px;
  }

  .spt-spec__inner,
  .spt-card__inner--panel {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .spt-solutions__head {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .spt-solutions__logo img {
    max-width: 280px;
  }

  .spt-solutions__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ========== Mobile ========== */
@media (max-width: 768px) {
  .spt-hero__inner {
    padding: 40px 24px;
  }

  .spt-profile {
    padding-top: 32px;
  }

  .spt-card__inner {
    padding: 32px 24px;
  }

  .spt-intro {
    padding: 40px 0 48px;
  }

  .spt-solutions {
    padding: 48px 0 56px;
  }

  .spt-solutions__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .spt-features {
    padding: 0 0 40px;
  }

  .spt-spec {
    padding: 48px 0 56px;
  }

  .spt-panels {
    padding: 40px 0 56px;
  }

  .spt-panels__stack {
    gap: 24px;
  }

  .spt-card__inner--panel {
    padding: 32px 24px;
  }

  .spt-download,
  .spt-video {
    padding: 48px 0 64px;
  }

  .spt-download__media img {
    width: 80%;
  }

  .spt-video__frame {
    padding: 10px;
  }
}

@media (max-width: 640px) {
  .spt-hero__title,
  .spt-card__title,
  .spt-solutions__heading,
  .spt-spec__heading,
  .spt-download__title {
    font-size: 24px;
  }

  .spt-spec__table th,
  .spt-spec__table td {
    padding: 12px 10px;
    font-size: 14px;
  }

  .spt-download__media img {
    width: 100%;
  }
}
