/* AL BADI HERO V4.4 — NO OVERLAP */

.abfh {
  padding: 0 24px 35px !important;
  background: #f5fafc !important;
  overflow: visible !important;
}

.abfh-layout {
  position: relative !important;
  display: block !important;
  height: auto !important;
  min-height: 660px !important;
  overflow: hidden !important;
  border-radius: 24px !important;
}

.abfh-copy {
  position: relative !important;
  z-index: 3 !important;
  width: min(56%,650px) !important;
  max-width: 650px !important;
  padding: 100px 0 120px 65px !important;
}

.abfh-copy h1 {
  font-size: clamp(44px,4.2vw,68px) !important;
}

.abfh-image {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
}

.abfh-image img {
  object-fit: cover !important;
  object-position: center center !important;
}

.abfh-planner {
  position: relative !important;
  inset: auto !important;
  top: auto !important;
  right: auto !important;
  transform: none !important;
  display: block !important;
  width: min(1150px,100%) !important;
  max-width: 1150px !important;
  margin: 24px auto 0 !important;
  padding: 26px !important;
  border-radius: 22px !important;
  background: #fff !important;
  box-shadow: 0 12px 36px rgba(10,50,80,.08) !important;
}

.abfh-services {
  display: grid !important;
  grid-template-columns: repeat(3,minmax(0,1fr)) !important;
  gap: 12px !important;
}

.abfh-benefits {
  width: min(1150px,100%) !important;
  max-width: 1150px !important;
  margin: 20px auto 0 !important;
}

@media(max-width:760px) {
  .abfh {
    padding: 0 0 24px !important;
  }

  .abfh-layout {
    height: auto !important;
    min-height: 760px !important;
    border-radius: 0 0 22px 22px !important;
  }

  .abfh-copy {
    width: 100% !important;
    max-width: none !important;
    padding: 44px 22px 40px !important;
  }

  .abfh-copy h1 {
    font-size: clamp(36px,9vw,48px) !important;
    line-height: 1.1 !important;
  }

  .abfh-copy p {
    max-width: 100% !important;
    font-size: 14px !important;
  }

  .abfh-actions {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
  }

  .abfh-actions a {
    flex: 1 1 145px !important;
    min-width: 0 !important;
    min-height: 48px !important;
    text-align: center !important;
  }

  .abfh-image img {
    object-position: 67% center !important;
  }

  .abfh-layout::after {
    background: linear-gradient(
      180deg,
      rgba(3,30,65,.88) 0%,
      rgba(3,38,75,.7) 28%,
      rgba(3,38,75,.18) 58%,
      rgba(3,38,75,0) 100%
    ) !important;
  }

  .abfh-planner {
    width: calc(100% - 24px) !important;
    margin: 18px auto 0 !important;
    padding: 22px 17px !important;
    border-radius: 20px !important;
  }

  .abfh-services {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  .abfh-services a {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    min-height: 76px !important;
    padding: 13px !important;
  }

  .abfh-services strong {
    font-size: 13px !important;
  }

  .abfh-services small {
    font-size: 11px !important;
  }

  .abfh-services b {
    margin: 0 0 0 auto !important;
    align-self: center !important;
  }

  .abfh-benefits {
    width: calc(100% - 24px) !important;
    margin: 16px auto 0 !important;
  }
}

@media(prefers-reduced-motion:reduce) {
  .abfh *,
  .abfh *::before,
  .abfh *::after {
    animation: none !important;
    transition: none !important;
  }
}
