.hfx-wrap { width: 100%; }

.hfx-hero-swiper {
  position: relative;
  width: 100%;
  height: min(520px, 70vh);
  border-radius: 16px;
  overflow: hidden;
}

.hfx-hero-slide {
  position: relative;
  background-image: var(--bg);
  background-size: cover;
  background-position: center;
}

.hfx-hero-overlay{
  position:absolute; inset:0;
  background: linear-gradient(90deg, rgba(14, 24, 52, .70), rgba(14, 24, 52, .25));
}

.hfx-hero-content{
  position:absolute;
  left: clamp(16px, 4vw, 54px);
  bottom: clamp(22px, 7vh, 60px);
  max-width: 620px;
  color: #fff;
  z-index: 2;
}

.hfx-hero-content h2{
  margin: 0 0 10px;
  font-size: clamp(22px, 3vw, 40px);
  line-height: 1.12;
  color: #fff;
}

.hfx-hero-content p{
  margin: 0 0 16px;
  opacity: .95;
  font-size: clamp(14px, 1.4vw, 18px);
}

.hfx-btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding: 12px 18px;
  border-radius: 10px;
  background: #ffffff;
  color: #162447;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(0,0,0,.18);
}
.hfx-btn:hover{ filter: brightness(.98); }

.hfx-hero-nav{
  position:absolute; right: 14px; top: 14px;
  display:flex; gap: 8px;
  z-index: 3;
}

.hfx-nav-btn{
  width: 42px; height: 42px;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.12);
  color: #fff;
  border-radius: 999px;
  cursor: pointer;
  backdrop-filter: blur(6px);
}
.hfx-nav-btn:hover{ background: rgba(255,255,255,.18); }

.hfx-hero-dots{
  position:absolute !important;
  left: 0; right: 0; bottom: 10px !important;
  z-index: 3;
}

/* SERVICES BAR (light) */
.hfx-services-bar{
  padding: 0 12px 12px;
  position: relative;
  z-index: 10;
}

.hfx-services-swiper{
  position: relative;
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(16,24,40,.08);
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(16,24,40,.10);
  padding: 14px 54px; /* room for arrows */
}

.hfx-service-card{
  display:flex;
  align-items:center;
  gap: 12px;
  padding: 14px 12px;
  border-radius: 12px;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

.hfx-service-card:hover{
  background: rgba(22,36,71,.04);
  transform: translateY(-1px);
}

.hfx-icon{
  width: 44px; height: 44px;
  display:flex; align-items:center; justify-content:center;
  border-radius: 12px;
  background: rgba(47, 91, 234, .10);
  color: #2f5bea;
  font-size: 20px;
}

.hfx-service-title{
  font-weight: 800;
  color: #101828;
  font-size: 16px;
}

.hfx-service-sub{
  margin-top: 2px;
  color: #475467;
  font-size: 13px;
}

/* arrows on services strip */
.hfx-services-prev, .hfx-services-next{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px; height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(16,24,40,.10);
  background: #fff;
  color: #101828;
  box-shadow: 0 10px 24px rgba(16,24,40,.08);
  z-index: 2;
}
.hfx-services-prev{ left: 10px; }
.hfx-services-next{ right: 10px; }

/* Responsive tweaks */
@media (max-width: 768px){
  .hfx-hero-swiper{ border-radius: 12px; }
  .hfx-services-swiper{ padding: 12px 44px; }
}