/* =========================
   Voltina Service Grid
   ========================= */

.voltina-service-grid {
  background: #fff;
}

.voltina-service-grid .container {
  /* net wat meer lucht rond het geheel */
}

.voltina-service-grid .grid {
  /* niets verplicht; spacing zit al in je utility classes */
}

/* Cards: de w-full text-center divs zijn je “kaartjes” */
.voltina-service-grid .grid > div.w-full.text-center {
  position: relative;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 20px;
  padding: 28px 22px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

/* subtiele Voltina-accent rand (gradient) */
.voltina-service-grid .grid > div.w-full.text-center::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 21px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(230, 0, 126, 0.45), rgba(241, 135, 0, 0.45));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
  opacity: 0.65;
}

.voltina-service-grid .grid > div.w-full.text-center:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.10);
  border-color: rgba(230, 0, 126, 0.18);
}

.voltina-service-grid .grid > div.w-full.text-center:focus-within {
  outline: none;
  box-shadow: 0 0 0 4px rgba(230, 0, 126, 0.18), 0 16px 40px rgba(0, 0, 0, 0.10);
}

/* Tagline: maak er een badge van */
.voltina-service-grid .grid > div.w-full.text-center > div.mb-3.font-semibold {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  line-height: 1;
  background: rgba(230, 0, 126, 0.08);
  color: #e6007e;
  border: 1px solid rgba(230, 0, 126, 0.18);
  max-width: fit-content;
  margin: 0 auto;
}

/* Headings: iets meer presence */
.voltina-service-grid h3 {
  letter-spacing: -0.02em;
}

/* Body tekst: iets rustiger */
.voltina-service-grid p {
  color: rgba(0, 0, 0, 0.74);
}

/* Buttons container: iets dichter bij content */
.voltina-service-grid .mt-6 {
  margin-top: 18px;
}

/* Primary button: Voltina pill */
.voltina-service-grid a.bg-background-primary {
  border-radius: 999px;
  font-weight: 800;
  line-height: 1;
  padding: 0.95rem 1.35rem;
  text-decoration: none;
  background: #e6007e !important;
  border-color: rgba(230, 0, 126, 0.35) !important;
  color: #ffffff !important;
  box-shadow: 0 10px 26px rgba(230, 0, 126, 0.18);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.voltina-service-grid a.bg-background-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 34px rgba(230, 0, 126, 0.24);
  filter: saturate(1.05);
}

/* Secondary button: “link”-stijl in huisstijl */
.voltina-service-grid a.border-0.p-0 {
  font-weight: 800;
  color: #e6007e !important;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.25rem 0.5rem; /* iets grotere click target, zonder je layout te breken */
  transition: transform 0.15s ease, color 0.15s ease;
}

.voltina-service-grid a.border-0.p-0:hover {
  transform: translateY(-1px);
  color: #c9006f !important;
}

.voltina-service-grid a.border-0.p-0 svg {
  transition: transform 0.15s ease;
}

.voltina-service-grid a.border-0.p-0:hover svg {
  transform: translateX(2px);
}


/* Cards even hoog maken */
.voltina-service-grid .grid {
  align-items: stretch; /* alle grid-items even hoog */
}

.voltina-service-grid .grid > div.w-full.text-center {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Content mag groeien */
.voltina-service-grid .grid > div.w-full.text-center p {
  flex-grow: 1;
}

/* Buttons altijd onderaan */
.voltina-service-grid .grid > div.w-full.text-center > .mt-6 {
  margin-top: auto;
}
