/* ===============================
   FUNNEL BASIS
================================ */
#funnel {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 16px;
}

.step {
  display: none;
}
.step.active {
  display: block;
}

/* ===============================
   GRID
================================ */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}


.grid {
  grid-template-columns: repeat(3, 1fr);
}

.grid-2 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

/* ===============================
   CARD
================================ */
.card {
  position: relative;
  min-height: 260px;
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease;
  display: flex;
  align-items: flex-end;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,.18);
}


.card.selected {
  outline: 3px solid #3b82f6;
  box-shadow: 0 0 0 4px rgba(59,130,246,.25);
}


.card-img-overlay {
  width: 100%;
  background: linear-gradient(
    to top,
    rgba(0,0,0,.55),
    rgba(0,0,0,.15),
    rgba(0,0,0,0)
  );
}

.card-body {
  padding: 20px;
  color: #fff;
}

.card h4 {
  margin-bottom: 6px;
  font-size: 22px;
}

.card small {
  opacity: .9;
  font-size: 14px;
}
/* ===============================
   NAV
================================ */
.funnel-nav {
  margin-top: 24px;
  display: flex;
  justify-content: space-between;
}

/* ===============================
   MOBILE
================================ */
@media (max-width: 900px) {
  .grid,
  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .card {
    height: 200px;
  }
}
.card::after {
  content: "✓";
  position: absolute;
  top: 14px;
  right: 14px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #0067a6;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  opacity: 0;
  transform: scale(0.5);
  transition: .25s ease;
}

.card.selected::after {
  opacity: 1;
  transform: scale(1);
}
/* ===============================
   FUNNEL STEPS INTRO
================================ */

.funnel-steps-section {
  padding: 90px 20px;
  background: #f6f9fc;
}

.funnel-steps-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.step-badge {
  background: #1f4e79;
  color: #fff;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

.step-label {
  background: #1f2f3a;
  color: #fff;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 14px;
}

.funnel-steps-title {
  font-size: 34px;
  margin: 0 0 10px;
  color: #1a2b3c;
}

.funnel-steps-subtitle {
  font-size: 18px;
  color: #445;
  margin-bottom: 36px;
}

.funnel-steps-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 620px;
}

.funnel-step {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fff;
  padding: 18px 22px;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0,0,0,.05);
}

.funnel-step-number {
  background: #2f6fa6;
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

.funnel-step p {
  margin: 0;
  font-size: 16px;
  color: #223;
}

.funnel-step small {
  display: block;
  color: #667;
  font-size: 14px;
  margin-top: 2px;
}

.funnel-steps-btn {
  display: inline-block;
  margin-top: 36px;
  padding: 16px 34px;
  background: #0067a6;
  color: #fff;
  border-radius: 999px;
  text-decoration: none;
  font-size: 17px;
  font-weight: 600;
  transition: transform .2s ease, box-shadow .2s ease;
}

.funnel-steps-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0,103,166,.35);
}

/* Mobile */
@media (max-width: 768px) {
  .card {
    min-height: 200px;
  }

  .card h4 {
    font-size: 18px;
  }
}
