/* ============================================
   home_block_4 — INTERFAZ Y NAVEGACIÓN
   Sticky text+image left + 2x2 features grid right
   ============================================ */

.home_block_4 {
  background: var(--bg-surface);
  position: relative;
}

.home_block_4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--accent-line-mid) 50%, transparent 100%);
}

.home_block_4_inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 6rem;
  align-items: start;
}

.home_block_4_left {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  position: sticky;
  top: 8rem;
}

.home_block_4_title > .text-accent {
  color: var(--accent);
}

.home_block_4_lead {
  color: var(--text-muted);
}

.home_block_4_image_wrap {
  margin-top: 1rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--accent-line-mid);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.5),
    0 0 30px var(--accent-glow);
  position: relative;
}

.home_block_4_image_wrap > img {
  width: 100%;
  height: auto;
  display: block;
}

.home_block_4_image_wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(10, 20, 16, 0.55) 100%);
  pointer-events: none;
}

.home_block_4_features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.home_block_4_feature {
  background: var(--bg-elevated);
  border: 1px solid var(--bg-line);
  border-radius: var(--radius-lg);
  padding: 2.6rem 2.4rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.home_block_4_feature:hover {
  transform: translateY(-4px);
  border-color: var(--accent-border);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.home_block_4_feature_icon {
  display: inline-block;
  width: 1.4rem;
  height: 1.4rem;
  background: var(--accent);
  transform: rotate(45deg);
  box-shadow: 0 0 14px var(--accent-glow);
  align-self: flex-start;
  margin-top: 0.4rem;
}

.home_block_4_feature:nth-child(2) > .home_block_4_feature_icon {
  background: var(--accent-bright);
  box-shadow: 0 0 14px var(--accent-glow-bright);
}

.home_block_4_feature:nth-child(3) > .home_block_4_feature_icon {
  background: var(--accent-2);
  box-shadow: 0 0 14px rgba(250, 204, 21, 0.5);
}

.home_block_4_feature:nth-child(4) > .home_block_4_feature_icon {
  background: var(--accent);
  box-shadow: 0 0 14px var(--accent-glow);
}

.home_block_4_feature_title {
  margin-top: 0.4rem;
}

.home_block_4_feature_desc {
  color: var(--text-muted);
}

.home_block_4_cta {
  grid-column: 1 / -1;
  justify-content: center;
  margin-top: 1rem;
}

/* ============================================
   Mobile — ≤1024px
   ============================================ */
@media (max-width: 1024px) {
  .home_block_4_inner {
    grid-template-columns: 1fr;
    gap: 6rem;
  }

  .home_block_4_left {
    position: static;
    gap: 3rem;
  }

  .home_block_4_image_wrap {
    margin-top: 1rem;
    border-radius: var(--radius);
  }

  .home_block_4_features {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .home_block_4_feature {
    padding: 3.5rem 3rem;
    gap: 2rem;
    border-radius: var(--radius);
  }

  .home_block_4_feature_icon {
    width: 2.5rem;
    height: 2.5rem;
    margin-top: 0.6rem;
  }

  .home_block_4_feature_desc {
    font-size: 2.4rem;
    line-height: 1.55;
  }
}
