/* =========================================================
   QUICK PATHS
   ========================================================= */

.quick-paths {
  position: absolute; /* liczone od .hero__inner (position: relative) */
  left: 0;
  right: 0;
  width: 100%;
  transform: none;
  z-index: 2;

  /* desktop: “wiszą” pod hero */
  bottom: -150px;
}

.quick-paths__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.quick-paths__card {
  display: block;
  text-decoration: none;
  color: rgba(255,255,255,0.92);

  background: linear-gradient(
    to bottom,
    rgba(15, 23, 42, 0.11),
    rgba(15, 23, 42, 0.11)
  );

  border: 1px solid rgba(255,255,255,0.03);
  border-radius: 12px;
  padding: 14px 16px;

  box-shadow:
    0 8px 24px rgba(0,0,0,0.28),
    inset 0 1px 0 rgba(255,255,255,0.08);

  backdrop-filter: blur(10px);

  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease,
    border-color 160ms ease;
}

.quick-paths__card:hover {
  transform: translateY(-2px);

  background: linear-gradient(
    to bottom,
    rgba(15, 23, 42, 0.42),
    rgba(15, 23, 42, 0.30)
  );

  border-color: rgba(255,255,255,0.14);
}

.quick-paths__title {
  margin: 0 0 6px 0;
  font-weight: 700;
  font-size: 1.05rem;
  color: rgba(255,255,255,0.92);
}

.quick-paths__text {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.3;
  color: rgba(255,255,255,0.70);
}

/* =========================================================
   MOBILE
   Kafle są w obrębie hero (na dole), ale nie “wiszą” pod nim.
   ========================================================= */

@media (max-width: 900px) {
  .quick-paths {
    bottom: -40px; /* steruje “jak nisko” w hero */
  }

  .quick-paths__grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .quick-paths__card {
    padding: 12px 14px;
    border-radius: 12px;  
  }

  .quick-paths__title {
    font-size: 0.98rem;
    margin: 0 0 6px;
    line-height: 1.15;
  }

  .quick-paths__text {
    font-size: 0.88rem;
    line-height: 1.25;
    color: rgba(255,255,255,0.68);
  }
}

@media (max-width: 360px) {

  .quick-paths {
    bottom: -80px; /* minimalnie wyżej niż na 375, żeby nie uciekło */
  }

  .quick-paths__grid {
    gap: 12px;
  }

  .quick-paths__card {
    padding: 12px 14px;
    border-radius: 10px;
  }

  .quick-paths__title {
    font-size: 0.95rem;
    margin-bottom: 4px;
  }

  .quick-paths__text {
    font-size: 0.85rem;
    line-height: 1.25;
  }
}