/*
 * Proviqio premium card baseline
 * Neutral by default so Front Office, Verticals and operational pages can keep
 * their own accent color. Page-specific product cards may extend this layer.
 */
:root {
  --pv-card-surface: #151515;
  --pv-card-surface-raised: #1a1a1a;
  --pv-card-border: rgba(255, 255, 255, 0.12);
  --pv-card-border-hover: rgba(255, 255, 255, 0.22);
  --pv-card-radius: 24px;
  --pv-card-shadow: 0 22px 65px rgba(0, 0, 0, 0.25);
  --pv-card-shadow-hover: 0 30px 80px rgba(0, 0, 0, 0.34);
  --pv-copy: #d2dcd8;
  --pv-copy-muted: #bdcbc5;
  --pv-copy-meta: #aebdb7;
}

/*
 * Readability baseline
 * Supporting copy remains secondary through size and spacing, never by making
 * essential customer information difficult to read.
 */
main :where(.text-on-surface-variant),
section :where(.text-on-surface-variant),
:where(.glass-card, .jump-card, .svc-card, .service-card, .pricing-card, .combo-card)
  :where(p, li, .text-on-surface-variant) {
  color: var(--pv-copy-muted) !important;
}

main :where(p, li) {
  text-wrap: pretty;
}

main :where(p.text-sm, li.text-sm),
main :where(.text-sm),
:where(.glass-card, .jump-card, .svc-card, .service-card, .pricing-card, .combo-card)
  :where(p, li, span.text-sm) {
  font-size: 15.5px !important;
  line-height: 1.65 !important;
}

main :where(.text-xs) {
  font-size: 13px !important;
  line-height: 1.5 !important;
}

:where(.glass-card, .jump-card, .svc-card, .service-card, .pricing-card, .combo-card)
  :where(h2, h3, h4, strong) {
  color: #f5f8f7;
}

:where(.glass-card, .jump-card, .svc-card, .service-card, .pricing-card, .combo-card)
  :where(.text-xs, small) {
  color: var(--pv-copy-meta) !important;
}

main :where([style*="color:#83958c"], [style*="color: #83958c"]) {
  color: var(--pv-copy-meta) !important;
}

footer .text-on-surface-variant,
nav .text-on-surface-variant {
  color: var(--pv-copy-meta) !important;
}

/*
 * High-comfort CTA baseline
 * Bright brand fills retain the Proviqio identity. Dense Inter Black labels,
 * near-black ink and controlled spacing keep them crisp and professional.
 */
:where(
  .cta-primary,
  a[style*="background:#00daf3"],
  button[style*="background:#00daf3"]
) {
  background: #00daf3 !important;
  border: 1px solid #55e9fa !important;
}

:where(
  a.bg-electric-emerald,
  button.bg-electric-emerald,
  a[style*="background:#00FFC2"],
  button[style*="background:#00FFC2"],
  a[style*="background:#00ffc2"],
  button[style*="background:#00ffc2"]
) {
  background: #00daf3 !important;
  border: 1px solid #55e9fa !important;
}

:where(
  a[style*="background:#FFD700"],
  button[style*="background:#FFD700"]
) {
  border: 1px solid #ffe98a !important;
}

:where(
  .cta-primary,
  a.bg-electric-emerald,
  button.bg-electric-emerald,
  a[style*="background:#00daf3"],
  button[style*="background:#00daf3"],
  a[style*="background:#00FFC2"],
  button[style*="background:#00FFC2"],
  a[style*="background:#00ffc2"],
  button[style*="background:#00ffc2"],
  a[style*="background:#FFD700"],
  button[style*="background:#FFD700"]
) {
  color: #020b0d !important;
  font-family: "Inter", Arial, sans-serif !important;
  font-size: 18.5px !important;
  font-weight: 900 !important;
  font-optical-sizing: auto;
  line-height: 1.1 !important;
  letter-spacing: -0.025em;
  text-shadow: none !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.42),
    0 10px 28px rgba(0, 0, 0, 0.22) !important;
}

:where(
  .cta-primary,
  .cta-secondary,
  a.btn-glow,
  a.btn-glow-emerald,
  a.btn-glow-em,
  button.btn-glow,
  button.btn-glow-emerald,
  button.btn-glow-em
) {
  min-height: 54px;
  font-size: 18px !important;
  font-weight: 900 !important;
  line-height: 1.15 !important;
}

:where(.cta-primary, .cta-secondary, a.btn-glow, a.btn-glow-emerald, a.btn-glow-em)
  .material-symbols-outlined {
  color: inherit !important;
  font-weight: 700;
}

header :where(
  .cta-primary,
  a.bg-electric-emerald,
  a.btn-glow,
  a.btn-glow-emerald,
  a.btn-glow-em,
  a[style*="background:#00daf3"],
  a[style*="background:#00FFC2"],
  a[style*="background:#FFD700"]
) {
  min-height: 44px;
  font-size: 15.5px !important;
}

:where(.glass-card, .jump-card, .svc-card, .service-card, .pricing-card, .combo-card) {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.025), transparent 42%),
    linear-gradient(160deg, var(--pv-card-surface-raised), var(--pv-card-surface) 74%) !important;
  border-color: var(--pv-card-border);
  box-shadow: var(--pv-card-shadow);
}

:where(.glass-card, .jump-card, .svc-card, .service-card, .pricing-card, .combo-card)::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(110deg, rgba(255, 255, 255, 0.055), transparent 28%);
  pointer-events: none;
}

:where(a.glass-card, a.jump-card, a.svc-card, a.service-card, a.pricing-card, a.combo-card) {
  text-decoration: none;
}

:where(a.glass-card, a.jump-card, a.svc-card, a.service-card, a.pricing-card, a.combo-card):focus-visible {
  outline: 3px solid #36e8ff;
  outline-offset: 4px;
}

@media (hover: hover) and (pointer: fine) {
  :where(a.glass-card, a.jump-card, a.svc-card, a.service-card, a.pricing-card, a.combo-card):hover {
    border-color: var(--pv-card-border-hover);
    box-shadow: var(--pv-card-shadow-hover);
    transform: translateY(-4px);
  }
}

@media (max-width: 767px) {
  :root {
    --pv-card-radius: 20px;
    --pv-card-shadow: 0 16px 45px rgba(0, 0, 0, 0.22);
  }

  :where(.glass-card, .jump-card, .svc-card, .service-card, .pricing-card, .combo-card) {
    border-radius: var(--pv-card-radius);
  }

  :where(
    .cta-primary,
    .cta-secondary,
    a.btn-glow,
    a.btn-glow-emerald,
    a.btn-glow-em,
    a.bg-electric-emerald,
    a[style*="background:#00daf3"],
    a[style*="background:#00FFC2"],
    a[style*="background:#00ffc2"],
    a[style*="background:#FFD700"]
  ) {
    min-height: 56px;
    font-size: 20px !important;
    letter-spacing: -0.025em;
  }

  main :where(p.text-sm, li.text-sm),
  main :where(.text-sm),
  :where(.glass-card, .jump-card, .svc-card, .service-card, .pricing-card, .combo-card)
    :where(p, li, span.text-sm) {
    font-size: 16px !important;
    line-height: 1.65 !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  :where(.glass-card, .jump-card, .svc-card, .service-card, .pricing-card, .combo-card) {
    transition: none !important;
  }
}

/* ── Media frame (bewijs-screenshots) — gedeeld tussen index.html en front-office.html ── */
.media-frame {
  position: relative; overflow: hidden; border-radius: 24px;
  border: 1px solid rgba(60,74,70,.42); background: #0B1513;
  box-shadow: 0 24px 70px rgba(0,0,0,.38); isolation: isolate;
}
.media-frame::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(145deg, rgba(0,255,194,.06), transparent 42%, rgba(5,5,5,.26));
  z-index: 1;
}
.media-frame img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .6s cubic-bezier(.22,1,.36,1); }
@media (hover: hover) { .media-frame:hover img { transform: scale(1.025); } }
.media-label {
  position: absolute; left: 16px; bottom: 16px; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 12px;
  border: 1px solid rgba(0,255,194,.28); border-radius: 999px;
  background: rgba(5,5,5,.78); color: #e5e2e1; font-size: 12px; font-weight: 700;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
