/* =============================================
   PropertysDeal — Requirement Callout
   requirement-callout.css
   ============================================= */

.pd-requirement-callout {
  display: block;
  text-decoration: none;
  color: inherit;
}

/* ── Card shell ─────────────────────────────── */
.pd-requirement-callout__card {
  position: relative;
  overflow: hidden;
  min-height: 145px;
  display: grid;
  grid-template-columns: 180px 1fr auto;
  align-items: center;
  gap: 0;
  padding: 36px 40px 36px 0;
  border: 1px solid #d9e6ff;
  border-radius: 22px;
  background: linear-gradient(105deg, #ffffff 0%, #fbfdff 55%, #f5f9ff 100%);
  box-shadow: 0 8px 40px rgba(37, 99, 235, 0.07);
}

/* ── Left icon column ───────────────────────── */
.pd-requirement-callout__icon {
  width: 180px;
  height: 100%;
  min-height: 145px;
  border-right: 1px solid #d9e6ff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* House-heart icon circle */
.pd-house-custom-icon {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 8px 28px rgba(37, 99, 235, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pd-house-custom-icon::before {
  content: "";
  width: 58px;
  height: 58px;
  display: block;
  background: url("data:image/svg+xml,%3Csvg%20width%3D%2264%22%20height%3D%2264%22%20viewBox%3D%220%200%2064%2064%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M10%2030L32%2010L54%2030V52C54%2053.1%2053.1%2054%2052%2054H12C10.9%2054%2010%2053.1%2010%2052V30Z%22%20stroke%3D%22%232563EB%22%20stroke-width%3D%224%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3Cpath%20d%3D%22M32%2042C32%2042%2024%2037%2024%2031.5C24%2028.5%2026.2%2026.5%2029%2026.5C30.6%2026.5%2032%2027.3%2032%2027.3C32%2027.3%2033.4%2026.5%2035%2026.5C37.8%2026.5%2040%2028.5%2040%2031.5C40%2037%2032%2042%2032%2042Z%22%20stroke%3D%22%232563EB%22%20stroke-width%3D%223.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E") center / contain no-repeat;
}

/* ── Center text column ─────────────────────── */
.pd-requirement-callout__text {
  position: relative;
  z-index: 2;
  padding: 0 32px;
}

.pd-requirement-callout__title {
  margin: 0 0 10px;
  font-size: 26px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.3px;
  color: #0f2345;
  white-space: nowrap;
}

.pd-requirement-callout__subtitle {
  color: #5d6f95;
  font-size: 15px;
  line-height: 1.6;
  font-weight: 400;
  margin: 0 0 18px;
}

.pd-requirement-callout__features {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: nowrap;
}

.pd-requirement-callout__features span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #12305f;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}

.pd-requirement-callout__features i {
  color: #2563eb;
  font-size: 17px;
}

/* Pipe divider between badges */
.pd-requirement-callout__features em {
  width: 1px;
  height: 20px;
  background: #cfdcf5;
  display: block;
}

/* ── Background art (right decoration) ─────── */
.pd-requirement-callout__art {
  position: absolute;
  right: 180px;
  top: 50%;
  transform: translateY(-50%);
  width: 400px;
  height: 260px;
  opacity: 0.13;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg%20width%3D%22520%22%20height%3D%22300%22%20viewBox%3D%220%200%20520%20300%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M60%20155L200%2060L340%20155%22%20stroke%3D%22%232563EB%22%20stroke-width%3D%225%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3Crect%20x%3D%2270%22%20y%3D%22152%22%20width%3D%22260%22%20height%3D%22118%22%20stroke%3D%22%232563EB%22%20stroke-width%3D%224%22%2F%3E%3Cline%20x1%3D%2270%22%20y1%3D%22200%22%20x2%3D%22330%22%20y2%3D%22200%22%20stroke%3D%22%232563EB%22%20stroke-width%3D%223%22%20stroke-linecap%3D%22round%22%2F%3E%3Crect%20x%3D%2288%22%20y%3D%22160%22%20width%3D%2255%22%20height%3D%2236%22%20stroke%3D%22%232563EB%22%20stroke-width%3D%222.8%22%2F%3E%3Cline%20x1%3D%22115%22%20y1%3D%22160%22%20x2%3D%22115%22%20y2%3D%22196%22%20stroke%3D%22%232563EB%22%20stroke-width%3D%221.8%22%2F%3E%3Cline%20x1%3D%2288%22%20y1%3D%22178%22%20x2%3D%22143%22%20y2%3D%22178%22%20stroke%3D%22%232563EB%22%20stroke-width%3D%221.8%22%2F%3E%3Crect%20x%3D%22257%22%20y%3D%22160%22%20width%3D%2255%22%20height%3D%2236%22%20stroke%3D%22%232563EB%22%20stroke-width%3D%222.8%22%2F%3E%3Cline%20x1%3D%22284%22%20y1%3D%22160%22%20x2%3D%22284%22%20y2%3D%22196%22%20stroke%3D%22%232563EB%22%20stroke-width%3D%221.8%22%2F%3E%3Cline%20x1%3D%22257%22%20y1%3D%22178%22%20x2%3D%22312%22%20y2%3D%22178%22%20stroke%3D%22%232563EB%22%20stroke-width%3D%221.8%22%2F%3E%3Crect%20x%3D%22170%22%20y%3D%22207%22%20width%3D%2260%22%20height%3D%2263%22%20rx%3D%221%22%20stroke%3D%22%232563EB%22%20stroke-width%3D%223%22%2F%3E%3Cline%20x1%3D%22200%22%20y1%3D%22207%22%20x2%3D%22200%22%20y2%3D%22270%22%20stroke%3D%22%232563EB%22%20stroke-width%3D%221.8%22%2F%3E%3Crect%20x%3D%2295%22%20y%3D%22209%22%20width%3D%2246%22%20height%3D%2232%22%20stroke%3D%22%232563EB%22%20stroke-width%3D%222.2%22%2F%3E%3Cline%20x1%3D%22118%22%20y1%3D%22209%22%20x2%3D%22118%22%20y2%3D%22241%22%20stroke%3D%22%232563EB%22%20stroke-width%3D%221.5%22%2F%3E%3Crect%20x%3D%22259%22%20y%3D%22209%22%20width%3D%2246%22%20height%3D%2232%22%20stroke%3D%22%232563EB%22%20stroke-width%3D%222.2%22%2F%3E%3Cline%20x1%3D%22282%22%20y1%3D%22209%22%20x2%3D%22282%22%20y2%3D%22241%22%20stroke%3D%22%232563EB%22%20stroke-width%3D%221.5%22%2F%3E%3Crect%20x%3D%2288%22%20y%3D%22100%22%20width%3D%2255%22%20height%3D%2246%22%20stroke%3D%22%232563EB%22%20stroke-width%3D%222.5%22%2F%3E%3Cline%20x1%3D%22115%22%20y1%3D%22100%22%20x2%3D%22115%22%20y2%3D%22146%22%20stroke%3D%22%232563EB%22%20stroke-width%3D%221.5%22%2F%3E%3Crect%20x%3D%22257%22%20y%3D%22100%22%20width%3D%2255%22%20height%3D%2246%22%20stroke%3D%22%232563EB%22%20stroke-width%3D%222.5%22%2F%3E%3Cline%20x1%3D%22284%22%20y1%3D%22100%22%20x2%3D%22284%22%20y2%3D%22146%22%20stroke%3D%22%232563EB%22%20stroke-width%3D%221.5%22%2F%3E%3Crect%20x%3D%22165%22%20y%3D%22105%22%20width%3D%2270%22%20height%3D%2242%22%20stroke%3D%22%232563EB%22%20stroke-width%3D%222.5%22%2F%3E%3Cline%20x1%3D%22200%22%20y1%3D%22105%22%20x2%3D%22200%22%20y2%3D%22147%22%20stroke%3D%22%232563EB%22%20stroke-width%3D%221.5%22%2F%3E%3Cline%20x1%3D%2260%22%20y1%3D%22272%22%20x2%3D%22340%22%20y2%3D%22272%22%20stroke%3D%22%232563EB%22%20stroke-width%3D%223%22%20stroke-linecap%3D%22round%22%2F%3E%3Cline%20x1%3D%22370%22%20y1%3D%22272%22%20x2%3D%22370%22%20y2%3D%22200%22%20stroke%3D%22%232563EB%22%20stroke-width%3D%222.5%22%20stroke-linecap%3D%22round%22%2F%3E%3Cellipse%20cx%3D%22370%22%20cy%3D%22185%22%20rx%3D%2218%22%20ry%3D%2222%22%20stroke%3D%22%232563EB%22%20stroke-width%3D%222.2%22%2F%3E%3Cline%20x1%3D%2240%22%20y1%3D%22272%22%20x2%3D%2240%22%20y2%3D%22210%22%20stroke%3D%22%232563EB%22%20stroke-width%3D%222.5%22%20stroke-linecap%3D%22round%22%2F%3E%3Cellipse%20cx%3D%2240%22%20cy%3D%22196%22%20rx%3D%2220%22%20ry%3D%2224%22%20stroke%3D%22%232563EB%22%20stroke-width%3D%222.2%22%2F%3E%3Cpath%20d%3D%22M410%2040%20Q416%2034%20422%2040%22%20stroke%3D%22%232563EB%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20fill%3D%22none%22%2F%3E%3Cpath%20d%3D%22M430%2030%20Q437%2024%20444%2030%22%20stroke%3D%22%232563EB%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20fill%3D%22none%22%2F%3E%3Cpath%20d%3D%22M450%2042%20Q455%2037%20460%2042%22%20stroke%3D%22%232563EB%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20fill%3D%22none%22%2F%3E%3Cline%20x1%3D%2260%22%20y1%3D%22155%22%20x2%3D%2260%22%20y2%3D%22272%22%20stroke%3D%22%232563EB%22%20stroke-width%3D%223%22%2F%3E%3Cline%20x1%3D%22340%22%20y1%3D%22155%22%20x2%3D%22340%22%20y2%3D%22272%22%20stroke%3D%22%232563EB%22%20stroke-width%3D%223%22%2F%3E%3C%2Fsvg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

/* ── Right CTA button ───────────────────────── */
.pd-requirement-callout__cta {
  position: relative;
  z-index: 3;
  height: 58px;
  min-width: 240px;
  padding: 0 30px;
  border-radius: 14px;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff;
  font-size: 17px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 10px 28px rgba(37, 99, 235, 0.30);
  white-space: nowrap;
  text-decoration: none;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.pd-requirement-callout:hover .pd-requirement-callout__cta {
  transform: translateY(-3px);
  box-shadow: 0 16px 38px rgba(37, 99, 235, 0.38);
}

/* =============================================
   RESPONSIVE
   ============================================= */

/* ≤1400px — tighten spacing, smaller title */
@media (max-width: 1400px) {
  .pd-requirement-callout__title {
    font-size: 23px;
  }
  .pd-requirement-callout__cta {
    min-width: 210px;
    font-size: 15px;
  }
}

/* ≤1200px — hide background art, keep 3-col */
@media (max-width: 1200px) {
  .pd-requirement-callout__art {
    display: none;
  }
  .pd-requirement-callout__title {
    font-size: 22px;
    white-space: normal;
  }
  .pd-requirement-callout__card {
    padding-right: 28px;
  }
}

/* ≤900px — icon + text stack, button on right */
@media (max-width: 900px) {
  .pd-requirement-callout__card {
    grid-template-columns: 110px 1fr auto;
    padding: 28px 24px 28px 0;
    min-height: 120px;
    gap: 0;
  }
  .pd-requirement-callout__icon {
    width: 110px;
    min-height: 120px;
  }
  .pd-requirement-callout__title {
    font-size: 18px;
  }
  .pd-requirement-callout__subtitle {
    font-size: 13px;
  }
  .pd-requirement-callout__features span {
    font-size: 12px;
  }
  .pd-requirement-callout__text {
    padding: 0 20px;
  }
  .pd-requirement-callout__cta {
    min-width: 170px;
    font-size: 13px;
    height: 50px;
    padding: 0 18px;
    gap: 7px;
  }
}

/* ≤767px — full vertical stack */
@media (max-width: 767px) {
  .pd-requirement-callout__card {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 30px 20px;
    min-height: auto;
    gap: 18px;
  }

  .pd-requirement-callout__icon {
    width: 100%;
    min-height: auto;
    height: auto;
    border-right: none;
    border-bottom: 1px solid #d9e6ff;
    padding-bottom: 18px;
  }

  .pd-requirement-callout__text {
    padding: 0;
  }

  .pd-requirement-callout__title {
    font-size: 20px;
    white-space: normal;
  }

  .pd-requirement-callout__subtitle br {
    display: none;
  }

  .pd-requirement-callout__features {
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
  }

  .pd-requirement-callout__features em {
    display: none;
  }

  .pd-requirement-callout__art {
    display: none;
  }

  .pd-requirement-callout__cta {
    width: 100%;
    min-width: 0;
    height: 52px;
    font-size: 15px;
    border-radius: 12px;
  }
}

/* Orientation-specific tweaks for tablets/phones */
@media (orientation: portrait) and (min-width: 600px) and (max-width: 1100px) {
  /* On portrait tablets: icon + title in first column, text in second row; CTA moved below to avoid being cut */
  .pd-requirement-callout__card {
    grid-template-columns: 90px 1fr;
    grid-template-rows: auto auto;
    padding: 18px 18px 18px 0;
    align-items: start;
    gap: 10px;
  }
  .pd-requirement-callout__icon {
    width: 90px;
    min-height: 90px;
    border-right: none;
    border-bottom: none;
    padding-left: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .pd-requirement-callout__text { grid-column: 2 / 3; grid-row: 1 / 2; padding: 0 12px 0 12px; }
  .pd-requirement-callout__title {
    white-space: normal;
    font-size: 18px;
    margin-bottom: 6px;
  }
  .pd-requirement-callout__subtitle {
    display: block;
    margin-top: 4px;
    font-size: 14px;
  }
  .pd-requirement-callout__cta {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
    justify-self: start;
    width: auto;
    min-width: 140px;
    align-self: start;
    padding: 10px 18px;
    font-size: 14px;
  }
}

@media (orientation: landscape) and (min-width: 768px) {
  /* Landscape tablets: keep wide layout but allow subtitle on single line */
  .pd-requirement-callout__card {
    grid-template-columns: 140px 1fr auto;
  }
  .pd-requirement-callout__title { white-space: nowrap; }
}
/* Remove vertical line before callout text */
.pd-requirement-callout__icon {
  border-right: none !important;
}