:root{
  --gss2-red:#bb1518;
  --gss2-dark:#061230;   /* overlay tone */
}

/* IMPORTANT: remove unwanted gap above/below */
.gss2-services-hero{
  position: relative;
  padding: 80px 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  overflow: hidden;
}

/* overlay same like screenshot */
.gss2-services-hero__overlay{
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(6,18,48,0.82) 0%,
    rgba(6,18,48,0.55) 52%,
    rgba(6,18,48,0.75) 100%
  );
}

/* soft vignette */
.gss2-services-hero::before{
  content:"";
  position:absolute;
  inset:-80px;
  background:
    radial-gradient(900px 450px at 50% 10%, rgba(255,255,255,0.08), transparent 60%),
    radial-gradient(900px 600px at 18% 70%, rgba(187,21,24,0.10), transparent 55%);
  pointer-events:none;
}

.gss2-services-hero__wrap{
  position: relative;
  z-index: 2;
}

.gss2-services-hero__head{
  margin-bottom: 44px;
}

.gss2-services-hero__title{
  color:#fff;
  font-weight: 900;
  font-size: clamp(30px, 3.2vw, 54px);
  letter-spacing: -0.6px;
  margin: 0 0 10px 0;
  text-shadow: 0 12px 30px rgba(0,0,0,0.45);
}

.gss2-services-hero__sub{
  color: rgba(255,255,255,0.78);
  max-width: 820px;
  margin: 0 auto;
  font-size: clamp(14px, 1.2vw, 18px);
}

/* =========================
   CARD
   ========================= */
.gss2-service-card{
  background: rgba(255,255,255,0.96);
  border-radius: 16px;
  overflow: hidden;
  height: 100%;
  box-shadow: 0 16px 45px rgba(0,0,0,0.22);
  transform: translateY(0);
  transition: transform .22s ease, box-shadow .22s ease;
  position: relative;
  border: 1px solid rgba(255,255,255,0.18);
}

.gss2-service-card:hover{
  transform: translateY(-8px);
  box-shadow: 0 26px 75px rgba(0,0,0,0.30);
}

.gss2-service-card__img{
  padding: 16px 16px 0 16px;
}

.gss2-service-card__img img{
  width: 100%;
  height: 190px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
  transform: scale(1.02);
  transition: transform .35s ease;
}

.gss2-service-card:hover .gss2-service-card__img img{
  transform: scale(1.08);
}

.gss2-service-card__body{
  padding: 16px 18px 56px 18px; /* ribbon space */
  text-align: center;
}

.gss2-service-card__body h4{
  font-size: 18px;
  font-weight: 900;
  color: #1e2430;
  margin: 8px 0 10px 0;
}

.gss2-service-card__body p{
  margin: 0;
  font-size: 14.5px;
  color: #5a6576;
  line-height: 1.55;
}

/* bottom wave ribbon */
.gss2-service-card__ribbon{
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 52px;
  clip-path: polygon(0 40%, 50% 0, 100% 40%, 100% 100%, 0 100%);
}

/* ribbon variants */
.gss2-ribbon--red  { background: linear-gradient(90deg, #b61f2e, #d62a36); }
.gss2-ribbon--navy { background: linear-gradient(90deg, #182a57, #1f3a7a); }
.gss2-ribbon--gray { background: linear-gradient(90deg, #8a8f9a, #b0b5c0); }
.gss2-ribbon--blue { background: linear-gradient(90deg, #0f2c68, #1b4aa8); }

/* Responsive */
@media (max-width: 575px){
  .gss2-services-hero{ padding: 56px 0; }
  .gss2-services-hero__head{ margin-bottom: 32px; }
  .gss2-service-card__img img{ height: 175px; }
}