/* AL BADI TOURS — STATIC FAMILY HERO V4.2 */

.abfh,
.abfh * {
  box-sizing: border-box;
}

.abfh {
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: 1600px;
  margin: 0 auto 42px;
  padding: 40px clamp(18px,4.5vw,72px) 0;
  overflow: hidden;
  color: #071a38;
  background:
    radial-gradient(
      ellipse at 75% 10%,
      #d9f2fb 0%,
      transparent 55%
    ),
    linear-gradient(130deg,#fff,#f1faff);
}

.abfh-layout {
  position: relative;
  min-height: 620px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.abfh-copy {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 650px;
  padding: 35px 0 135px;
}

.abfh-eyebrow {
  display: inline-block;
  padding: 10px 15px;
  border-radius: 100px;
  background: #e0f5fa;
  color: #007e98;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
}

.abfh-copy h1 {
  margin: 26px 0 20px;
  font-family: Inter,system-ui,sans-serif;
  font-size: clamp(48px,5.3vw,82px);
  line-height: 1.04;
  letter-spacing: -.06em;
  font-weight: 800;
  color: #071a38;
}

.abfh-copy h1 span {
  display: block;
  color: #008da5;
}

.abfh-copy p {
  max-width: 500px;
  font-size: 17px;
  line-height: 1.7;
  color: #50647b;
}

.abfh-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.abfh-actions a,
.abfh-planner-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 14px 22px;
  border-radius: 14px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 750;
}

.abfh-btn-primary,
.abfh-planner-cta {
  color: #fff !important;
  background: linear-gradient(120deg,#009db7,#006a9d);
  box-shadow: 0 12px 28px rgba(0,110,150,.17);
}

.abfh-btn-secondary {
  color: #173b59 !important;
  background: #fff;
  border: 1px solid #d9e7ee;
}

.abfh-image {
  position: absolute;
  z-index: 1;
  inset: 0 -5% 0 39%;
  overflow: hidden;
  border-radius: 45% 0 0 45% / 56% 0 0 56%;
  background: #c9edf4;
}

.abfh-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% center;
}

.abfh-planner {
  position: absolute;
  z-index: 5;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  width: min(345px,31%);
  padding: 23px;
  border: 1px solid rgba(255,255,255,.9);
  border-radius: 22px;
  background: rgba(255,255,255,.95);
  box-shadow: 0 22px 65px rgba(10,50,80,.16);
  backdrop-filter: blur(14px);
}

.abfh-planner-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  color: #008ca4;
}

.abfh-planner h2 {
  margin: 10px 0 8px;
  font-size: 23px;
  line-height: 1.2;
  color: #071a38;
}

.abfh-planner > p {
  margin: 0 0 18px;
  font-size: 13px;
  line-height: 1.5;
  color: #65778a;
}

.abfh-services {
  display: grid;
  gap: 9px;
}

.abfh-services a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 10px;
  border: 1px solid #e4edf1;
  border-radius: 12px;
  background: #f5f9fb;
  text-decoration: none;
  color: #15334c;
}

.abfh-service-icon {
  font-size: 20px;
  color: #008da5;
}

.abfh-services a > span:nth-child(2) {
  flex: 1;
  min-width: 0;
}

.abfh-services strong,
.abfh-services small {
  display: block;
}

.abfh-services strong {
  font-size: 12px;
}

.abfh-services small {
  margin-top: 4px;
  font-size: 10px;
  color: #708092;
}

.abfh-services b {
  color: #008da5;
}

.abfh-planner-cta {
  display: flex;
  width: 100%;
  margin-top: 17px;
}

.abfh-benefits {
  position: relative;
  z-index: 6;
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  margin: -34px 0 0;
  padding: 23px 16px;
  border: 1px solid #e9f0f3;
  border-radius: 21px;
  background: #fff;
  box-shadow: 0 14px 38px rgba(10,45,70,.09);
}

.abfh-benefits > div {
  padding: 5px 24px;
}

.abfh-benefits > div + div {
  border-left: 1px solid #e2eaf0;
}

.abfh-benefits strong,
.abfh-benefits span {
  display: block;
}

.abfh-benefits strong {
  font-size: 14px;
  color: #10233e;
}

.abfh-benefits span {
  margin-top: 5px;
  font-size: 12px;
  line-height: 1.5;
  color: #65768a;
}

/* TABLET */
@media (min-width:761px) and (max-width:1100px) {
  .abfh-layout {
    min-height: 620px;
  }

  .abfh-copy {
    max-width: 54%;
  }

  .abfh-copy h1 {
    font-size: clamp(40px,5vw,58px);
  }

  .abfh-image {
    inset: 0 -5% 0 43%;
  }

  .abfh-planner {
    width: 280px;
    padding: 17px;
  }
}

/* MOBILE */
@media (max-width:760px) {
  .abfh {
    padding: 20px 16px 0;
    margin-bottom: 28px;
  }

  .abfh-layout {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
  }

  .abfh-copy {
    order: 1;
    max-width: none;
    padding: 16px 2px 22px;
  }

  .abfh-eyebrow {
    font-size: 9px;
    letter-spacing: .06em;
  }

  .abfh-copy h1 {
    margin: 19px 0 14px;
    font-size: clamp(38px,10vw,55px);
    line-height: 1.06;
  }

  .abfh-copy p {
    font-size: 14px;
    line-height: 1.6;
  }

  .abfh-actions {
    margin-top: 22px;
  }

  .abfh-actions a {
    min-height: 48px;
    padding: 12px 15px;
    font-size: 12px;
  }

  .abfh-image {
    position: relative;
    order: 2;
    inset: auto;
    width: 100%;
    height: clamp(240px,65vw,380px);
    border-radius: 24px;
  }

  .abfh-image img {
    object-position: 65% center;
  }

  .abfh-planner {
    position: relative;
    order: 3;
    top: auto;
    right: auto;
    transform: none;
    width: 100%;
    margin-top: 16px;
    padding: 20px;
    border: 1px solid #e4edf1;
    box-shadow: 0 10px 28px rgba(10,50,80,.08);
  }

  .abfh-benefits {
    grid-template-columns: 1fr;
    margin: 18px 0 0;
    padding: 10px 18px;
  }

  .abfh-benefits > div {
    padding: 15px 5px;
  }

  .abfh-benefits > div + div {
    border-left: 0;
    border-top: 1px solid #e2eaf0;
  }
}

@media (max-width:380px) {
  .abfh-copy h1 {
    font-size: 36px;
  }

  .abfh-actions a {
    width: 100%;
  }
}
