.pishon-service-row {
  align-items: stretch !important;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  border-left: 0 !important;
  box-shadow: 0 16px 34px rgba(0, 35, 102, 0.16);
  color: #002366 !important;
  display: flex !important;
  min-height: 210px;
  overflow: hidden;
  padding: 0 !important;
  position: relative;
  text-decoration: none;
}

.pishon-service-row::before {
  background: linear-gradient(180deg, rgba(0, 35, 102, 0.12) 0%, rgba(0, 35, 102, 0.72) 100%);
  content: "";
  inset: 0;
  position: absolute;
  transition: background 0.24s ease;
  z-index: 0;
}

.pishon-service-row > * {
  position: relative;
  z-index: 1;
}

.pishon-service-row:nth-child(1) {
  background-image: url("../images/care1.png");
}

.pishon-service-row:nth-child(2) {
  background-image: url("../images/care2.png");
}

.pishon-service-row:nth-child(3) {
  background-image: url("../images/care3.png");
}

.pishon-service-row:nth-child(4) {
  background-image: url("../images/care4.png");
}

.pishon-service-row:nth-child(5) {
  background-image: url("../images/care5.png");
}

.pishon-service-row:nth-child(6) {
  background-image: url("../images/care6.png");
}

.pishon-service-row:nth-child(7) {
  background-image: url("../images/care7.png");
}

.pishon-service-row:nth-child(8) {
  background-image: url("../images/general/7.jpg");
}

.pishon-service-row:hover {
  color: #002366 !important;
  transform: translateY(-5px);
}

.pishon-service-row:hover::before,
.pishon-service-row:focus-within::before,
.pishon-service-row:active::before {
  background: linear-gradient(180deg, rgba(0, 35, 102, 0.2) 0%, rgba(0, 35, 102, 0.86) 100%);
}

.pishon-service-row:hover h4,
.pishon-service-row:focus-within h4,
.pishon-service-row:active h4 {
  background: #a8d8ea;
  color: #002366 !important;
}

.pishon-service-row h4 {
  background: rgba(0, 35, 102, 0.92);
  bottom: 0;
  color: #ffffff !important;
  font-size: 1.08rem;
  left: 0;
  line-height: 1.25;
  margin: 0;
  max-width: none;
  min-height: 72px;
  padding: 24px 22px 16px;
  position: absolute;
  right: 0;
  text-shadow: none;
  transition: background 0.24s ease, color 0.24s ease;
  clip-path: polygon(0 28%, 100% 0, 100% 100%, 0 100%);
}

.pishon-care-feature {
  display: block;
  min-height: 100%;
  overflow: hidden;
  position: relative;
  text-decoration: none;
}

.pishon-care-feature::before {
  background: linear-gradient(180deg, rgba(0, 35, 102, 0.08) 0%, rgba(0, 35, 102, 0.32) 43%, rgba(0, 35, 102, 0.82) 100%);
  content: "";
  inset: 0;
  position: absolute;
  z-index: 1;
}

.pishon-care-feature img {
  display: block;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
  width: 100%;
}

.pishon-care-feature-text {
  background: rgba(168, 216, 234, 0.94);
  bottom: 28px;
  color: #002366;
  display: block;
  left: 28px;
  max-width: 82%;
  padding: 18px 22px;
  position: absolute;
  text-align: left;
  z-index: 2;
}

.pishon-care-feature-text small {
  color: #002366;
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin-bottom: 7px;
  text-transform: uppercase;
}

.pishon-care-feature-text strong {
  color: #002366;
  display: block;
  font-size: 1.28rem;
  line-height: 1.25;
}

@media (min-width: 992px) {
  .pishon-service-row {
    min-height: 220px;
  }
}

@media (max-width: 575.98px) {
  .pishon-service-row {
    min-height: 190px;
  }

  .pishon-service-row h4 {
    font-size: 1rem;
    min-height: 68px;
    padding: 23px 18px 14px;
  }
}

.pishon-compact-services-section {
  background: #eef3f9;
  overflow: hidden;
  padding: 50px 0;
  position: relative;
}

.pishon-compact-services-section::before {
  color: rgba(0, 35, 102, 0.035);
  content: "ABOUT US";
  font-size: clamp(4rem, 12vw, 9rem);
  font-weight: 800;
  left: 12%;
  line-height: 1;
  pointer-events: none;
  position: absolute;
  top: 16px;
  white-space: nowrap;
}

.pishon-compact-services-box {
  background: transparent;
  border: 0;
  padding: 0;
  position: relative;
  z-index: 1;
}

.pishon-compact-services-section .row {
  align-items: flex-start !important;
}

.pishon-compact-services-heading {
  max-width: 720px;
}

.pishon-compact-services-heading > span {
  align-items: center;
  color: #002366;
  display: inline-flex;
  font-size: 0.58rem;
  font-weight: 700;
  gap: 9px;
  letter-spacing: 0.14em;
  margin-bottom: 7px;
  text-transform: uppercase;
}

.pishon-compact-services-heading > span::before {
  background: #45689e;
  content: "";
  height: 2px;
  width: 22px;
}

.pishon-compact-services-heading h2 {
  color: #001a4d;
  font-size: clamp(1.58rem, 2.15vw, 2rem) !important;
  line-height: 1.18 !important;
  margin: 0 !important;
  max-width: 640px;
}

.pishon-compact-services-heading p {
  color: #4e5f78;
  font-size: 0.68rem !important;
  line-height: 1.55;
  margin: 10px 0 0;
  max-width: 690px;
}

.pishon-compact-services-heading h4 {
  display: none;
}

.pishon-compact-service-list {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 28px;
}

.pishon-compact-service-list .pishon-service-row {
  align-items: end !important;
  background-color: #ffffff !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  border: 12px solid #ffffff !important;
  box-shadow: 0 16px 34px rgba(0, 35, 102, 0.12);
  color: #ffffff !important;
  display: flex !important;
  min-height: 286px;
  overflow: hidden;
  padding: 0 !important;
  position: relative;
  text-decoration: none;
  transform: none;
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.pishon-compact-service-list .pishon-service-row::before {
  background: transparent;
  content: "";
  inset: 0;
  position: absolute;
  z-index: 0;
}

.pishon-compact-service-list .pishon-service-row:hover {
  color: #ffffff !important;
  box-shadow: 0 22px 44px rgba(0, 35, 102, 0.18);
  transform: translateY(-3px);
}

.pishon-compact-service-list .pishon-service-row:hover::before {
  background: transparent;
}

.pishon-compact-service-list .pishon-service-row > * {
  position: relative;
  z-index: 1;
}

.pishon-compact-service-list .pishon-service-row > div {
  margin-top: auto;
  width: 100%;
}

.pishon-compact-service-list .pishon-service-index {
  display: none;
}

.pishon-compact-service-list .pishon-service-row h4 {
  background: rgba(0, 35, 102, 0.96);
  clip-path: polygon(0 26%, 100% 0, 100% 100%, 0 100%);
  color: #ffffff !important;
  font-size: 1.08rem;
  line-height: 1.25;
  margin: 0;
  min-height: 76px;
  padding: 28px 22px 18px;
  position: static;
  text-shadow: none;
  transition: background 0.24s ease;
}

.pishon-compact-service-list .pishon-service-row:hover h4,
.pishon-compact-service-list .pishon-service-row:focus h4 {
  background: #002366;
}

.pishon-compact-service-list .pishon-service-row p {
  display: none;
}

.pishon-compact-service-list .pishon-service-more {
  display: none;
}

.pishon-compact-services-photo {
  background: #ffffff;
  height: 456px;
  min-height: 0;
  padding: 0;
}

.pishon-compact-services-photo img {
  display: block;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center;
  width: 100%;
}

@media (max-width: 1199.98px) {
  .pishon-compact-services-box {
    padding: 0;
  }

  .pishon-compact-service-list .pishon-service-row {
    min-height: 252px;
    padding: 0 !important;
  }
}

@media (max-width: 991.98px) {
  .pishon-compact-services-section {
    padding: 54px 0;
  }

  .pishon-compact-services-photo {
    height: auto;
    min-height: 360px;
  }

  .pishon-compact-services-photo img {
    min-height: 324px;
  }

  .pishon-compact-service-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .pishon-compact-service-list {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .pishon-compact-service-list .pishon-service-row {
    min-height: 260px;
  }
}

@media (max-width: 575.98px) {
  .pishon-compact-services-box {
    padding: 16px;
  }

  .pishon-compact-services-photo {
    padding: 12px;
  }
}
