/* ==========================================================================
   BPoint Home — Industries
   ========================================================================== */

.bp-home .ind-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 48px; }
.bp-home .ind-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: .22s;
}
.bp-home .ind-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.bp-home .ind-card .ic-top {
  padding: 26px 24px 20px;
  background: var(--navy);
  color: #fff;
  position: relative;
  overflow: hidden;
  min-height: 132px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
/* Whole-card link ("stretched link" pattern).
   The head anchor keeps the .ic-top styling above; its ::before is stretched
   over the entire card so any click on the card follows that link. The card
   itself is NOT wrapped in an <a>, because the "Get a quote" button is also
   a link and nesting anchors is invalid HTML. Interactive children are
   raised above the overlay so they stay clickable and selectable. */
.bp-home .ind-card { position: relative; }

.bp-home .ind-card a.ic-top {
  text-decoration: none;
  color: #fff;
  transition: background-color .2s ease;
}
/* Whole-card click target.
   A real anchor covering the card, rendered as a direct child of .ind-card
   so it is not clipped by .ic-top's overflow:hidden. It carries no text and
   is hidden from assistive tech, because the head link already exposes the
   same destination with a proper accessible name. */
.bp-home .ind-card .ic-cover {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  text-indent: -9999px;
  overflow: hidden;
}

/* Hover/focus anywhere on the card highlights the head. */
.bp-home .ind-card:hover a.ic-top,
.bp-home .ind-card:focus-within a.ic-top { background: var(--navy-700, #0b2447); }
.bp-home .ind-card:hover a.ic-top h3 { text-decoration: underline; }
.bp-home .ind-card a.ic-top:focus-visible { outline: 2px solid var(--blue-bright); outline-offset: -2px; }

/* Anything interactive must sit above the stretched overlay. */
.bp-home .ind-card .ic-foot,
.bp-home .ind-card .ic-close a,
.bp-home .ind-card .ic-body a {
  position: relative;
  z-index: 2;
}

.bp-home .ind-card .ic-top::after {
  content: "";
  position: absolute;
  bottom: -24px;
  right: -18px;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(120, 140, 165, .18);
}
.bp-home .ind-card .ic-ico {
  width: 46px;
  height: 46px;
  border-radius: 11px;
  background: rgba(255, 255, 255, .1);
  color: var(--blue-bright);
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}
.bp-home .ind-card .ic-ico > svg { width: 24px; height: 24px; }
.bp-home .ind-card h3 { color: #fff; font-size: 20px; line-height: 1.25; }
.bp-home .ind-card .ic-intro { margin: 0; padding: 18px 24px 0; font-size: 13.5px; line-height: 1.58; color: var(--slate); }
.bp-home .ind-card .ic-body { padding: 16px 24px 20px; flex: 1; }
.bp-home .ind-card ul { display: grid; gap: 9px; }
.bp-home .ind-card li { display: flex; gap: 9px; font-size: 14px; color: var(--ink-text); }
.bp-home .ind-card li [data-icon] { width: 16px; height: 16px; color: var(--blue); flex-shrink: 0; margin-top: 3px; }
.bp-home .ind-card .ic-close { margin: 12px 0 0; font-size: 13px; line-height: 1.55; color: var(--slate); }
.bp-home .ind-card .ic-close a { color: var(--blue); font-weight: 600; }
.bp-home .ind-card .ic-foot { padding: 0 24px 22px; }
.bp-home .ind-card .ic-btn { width: 100%; }

/* Equal-height rows on wide screens via subgrid */
@media (min-width: 1101px) {
  .bp-home .ind-grid { grid-template-rows: auto auto 1fr auto; }
  .bp-home .ind-card { display: grid; grid-row: span 4; grid-template-rows: subgrid; }
}

@media (max-width: 980px) { .bp-home .ind-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .bp-home .ind-grid { grid-template-columns: 1fr; } }
