.ps-wrap {
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
  font-family: "Montserrat", sans-serif;
  background: #ffffff;
  box-sizing: border-box;
}
.ps-title {
  text-align: center;
  font-size: 32px;
  font-weight: 500;
  color: #0e1031;
  margin: 0 0 56px 0;
  line-height: 1.3;
}

/* ── MAIN ROW ── */
.ps-row {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: center;
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
  flex-wrap: nowrap;
}

/* ── CARDS ── */
.ps-card {
  width: 280px;
  flex-shrink: 0;
  background: #ffffff;
  border-radius: 16px;
  padding: 24px 26px 28px;
  box-shadow: 0px 0px 12px 0px rgba(0, 0, 0, 0.08);
  box-sizing: border-box;
  position: relative;
  z-index: 2;
}
.ps-card.ps-down {
  margin-top: 110px;
  background: #EFEEEA;
}
.ps-step {
  font-size: 13px;
  font-weight: 500;
  color: #c9973a;
  margin-bottom: 18px;
  display: block;
  letter-spacing: 0.3px;
}
.ps-card-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 18px;
}
.ps-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  margin-top: 2px;
}
.ps-icon svg {
  width: 100%;
  height: 100%;
  stroke: #c9973a;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ps-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: #1C2B4A;
  line-height: 1.3;
  margin: 0;
  flex: 1;
}
.ps-divider {
  height: 1px;
  background: #d8d4cb;
  margin: 0 0 18px 0;
  width: 60%;
}
.ps-card p {
  font-size: 15px;
  font-weight: 400;
  color: #6b7280;
  line-height: 1.55;
  margin: 0;
}

/* ── CONNECTORS ── */
.ps-conn {
  flex: 0 0 60px;
  align-self: stretch;
  position: relative;
  overflow: visible;
  z-index: 1;
}
.ps-conn svg {
  position: absolute;
  left: 0;
  overflow: visible;
  width: 210px;
}
.ps-conn-down svg { top: 0; height: 125px; }
.ps-conn-up svg { bottom: 0; height: 115px; }
.ps-conn svg path {
  fill: none;
  stroke: #c9973a;
  stroke-width: 1.3;
}
.ps-conn svg polygon { fill: #c9973a; }

/* ── RESPONSIVE ── */
@media (max-width: 1400px) {
  .ps-card { width: 250px; }
  .ps-conn { flex: 0 0 50px; }
  .ps-conn svg { width: 190px; }
}

@media (max-width: 1400px) and (min-width:1201px) {
 .ps-conn-up svg {
    bottom: -23px;
}
}

@media (max-width: 1200px) and (min-width:1025px) {
 .ps-conn-up svg {
    bottom: 22px;
    }
}


@media (max-width: 1200px) {
  .ps-card { width: 220px; padding: 20px 20px 22px; }
  .ps-conn { flex: 0 0 40px; }
  .ps-conn svg { width: 170px; }
  .ps-card.ps-down { margin-top: 100px; }
  .ps-conn-down svg { height: 115px; }
  .ps-conn-up svg { height: 105px; }
}



@media (max-width: 1024px) {
  .ps-card { width: 190px; padding: 18px 16px 20px; }
  .ps-card h3 { font-size: 16px; }
  .ps-card p { font-size: 14px; }
  .ps-conn { flex: 0 0 30px; }
  .ps-conn svg { width: 150px; }
  .ps-card.ps-down { margin-top: 90px; }
  .ps-conn-down svg { height: 105px; }
  .ps-conn-up svg { height: 95px; }
}

@media (max-width: 900px) {
  .ps-row { flex-direction: column; align-items: center; gap: 0; flex-wrap: wrap; }
  .ps-card { width: 100%; max-width: 420px; margin-top: 0 !important; }
  .ps-conn {
    flex: none;
    width: 2px !important;
    height: 40px !important;
    background: #c9973a !important;
    margin: 16px auto !important;
    align-self: center;
    position: relative;
    overflow: visible;
  }
  .ps-conn svg { display: none !important; }
  .ps-conn::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: -4px;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 8px solid #c9973a;
  }
}

@media (max-width: 480px) {
/*   body { padding: 40px 12px; } */
  .ps-title { font-size: 24px; margin-bottom: 32px; }
}