/* =========================
   Voltina Service Grid
   ========================= */

.voltina-service-grid {
  background: #fff;
}

.voltina-service-grid .grid {
  align-items: stretch; /* alle grid-items even hoog */
}


/* =========================
   Cards
   ========================= */

.voltina-service-grid .service-card {
  position: relative;
  isolation: isolate;
  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;

  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 380px;
}


/* subtiele Voltina-accent rand (gradient) */
.voltina-service-grid .service-card::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;
  z-index: 3; /* altijd boven blur */
}

.voltina-service-grid .service-card: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 .service-card: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 badge
   ========================= */

.voltina-service-grid .service-card > 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: #f08048;
  border: 1px solid rgba(230, 0, 126, 0.18);
  max-width: fit-content;
  margin: 0 auto;
}


/* =========================
   Typography
   ========================= */

.voltina-service-grid h3 {
  letter-spacing: -0.02em;
}

.voltina-service-grid p {
  color: rgba(0, 0, 0, 0.74);
  flex-grow: 1;
}


/* =========================
   Buttons container
   ========================= */

.voltina-service-grid .service-card > .mt-6 {
  margin-top: auto; /* altijd onderaan */
}


/* =========================
   Primary button
   ========================= */

.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: #f08048 !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
   ========================= */

.voltina-service-grid a.border-0.p-0 {
  font-weight: 800;
  color: #f08048 !important;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.25rem 0.5rem;
  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);
}


/* =========================================================
   Achtergrondafbeelding (blur + fade)
   ========================================================= */

.service-card-bg-wrap {
  position: absolute;
  inset: 0;
  border-radius: 20px;
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
}

.service-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  filter: blur(var(--blur-intensity, 6px));
  opacity: var(--image-opacity, 0.2);
  transform: scale(1.00);
}

/* Content boven blur */
.service-card > *:not(.service-card-bg-wrap) {
  position: relative;
  z-index: 2;
}