/* =============================================================================
   FAYLUX MEDIA - reviews.css
   Google-reviewbadges (navigatie, conversieknoppen, footer) en het live
   reviewblok. Bouwt voort op de tokens en .review-card/.rv-score uit home.css.
   ========================================================================== */

.rv-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---- Iconen ------------------------------------------------------------- */
.rv-g { display: inline-block; flex: none; width: 16px; height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%234285F4' d='M22.5 12.2c0-.7-.06-1.4-.18-2.06H12v3.9h5.9a5.05 5.05 0 0 1-2.19 3.32v2.76h3.54c2.07-1.91 3.25-4.72 3.25-7.92z'/%3E%3Cpath fill='%2334A853' d='M12 23c2.97 0 5.46-.98 7.28-2.66l-3.54-2.76c-.98.66-2.24 1.05-3.74 1.05-2.87 0-5.3-1.94-6.17-4.55H2.18v2.85A11 11 0 0 0 12 23z'/%3E%3Cpath fill='%23FBBC05' d='M5.83 14.08a6.6 6.6 0 0 1 0-4.16V7.07H2.18a11 11 0 0 0 0 9.86l3.65-2.85z'/%3E%3Cpath fill='%23EA4335' d='M12 5.38c1.62 0 3.06.56 4.2 1.64l3.14-3.14C17.45 2.1 14.96 1 12 1A11 11 0 0 0 2.18 7.07l3.65 2.85C6.7 7.32 9.13 5.38 12 5.38z'/%3E%3C/svg%3E") center / contain no-repeat; }
.rv-star { display: inline-block; flex: none; width: 13px; height: 13px; background: var(--koraal);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.5l2.9 6.06 6.6.78-4.9 4.5 1.32 6.56L12 17.9 6.08 20.9 7.4 14.34 2.5 9.84l6.6-.78L12 2.5z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.5l2.9 6.06 6.6.78-4.9 4.5 1.32 6.56L12 17.9 6.08 20.9 7.4 14.34 2.5 9.84l6.6-.78L12 2.5z'/%3E%3C/svg%3E") center / contain no-repeat; }
.rv-stars { --rv-size: 16px; --rv-empty: var(--grijs-licht);
  display: inline-block; flex: none; vertical-align: -2px;
  width: calc(var(--rv-size) * 5); height: var(--rv-size);
  background: linear-gradient(90deg, var(--koraal) var(--rv-pct, 100%), var(--rv-empty) var(--rv-pct, 100%));
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 24'%3E%3Cpath transform='translate(0 0)' d='M12 2.5l2.9 6.06 6.6.78-4.9 4.5 1.32 6.56L12 17.9 6.08 20.9 7.4 14.34 2.5 9.84l6.6-.78L12 2.5z'/%3E%3Cpath transform='translate(24 0)' d='M12 2.5l2.9 6.06 6.6.78-4.9 4.5 1.32 6.56L12 17.9 6.08 20.9 7.4 14.34 2.5 9.84l6.6-.78L12 2.5z'/%3E%3Cpath transform='translate(48 0)' d='M12 2.5l2.9 6.06 6.6.78-4.9 4.5 1.32 6.56L12 17.9 6.08 20.9 7.4 14.34 2.5 9.84l6.6-.78L12 2.5z'/%3E%3Cpath transform='translate(72 0)' d='M12 2.5l2.9 6.06 6.6.78-4.9 4.5 1.32 6.56L12 17.9 6.08 20.9 7.4 14.34 2.5 9.84l6.6-.78L12 2.5z'/%3E%3Cpath transform='translate(96 0)' d='M12 2.5l2.9 6.06 6.6.78-4.9 4.5 1.32 6.56L12 17.9 6.08 20.9 7.4 14.34 2.5 9.84l6.6-.78L12 2.5z'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 24'%3E%3Cpath transform='translate(0 0)' d='M12 2.5l2.9 6.06 6.6.78-4.9 4.5 1.32 6.56L12 17.9 6.08 20.9 7.4 14.34 2.5 9.84l6.6-.78L12 2.5z'/%3E%3Cpath transform='translate(24 0)' d='M12 2.5l2.9 6.06 6.6.78-4.9 4.5 1.32 6.56L12 17.9 6.08 20.9 7.4 14.34 2.5 9.84l6.6-.78L12 2.5z'/%3E%3Cpath transform='translate(48 0)' d='M12 2.5l2.9 6.06 6.6.78-4.9 4.5 1.32 6.56L12 17.9 6.08 20.9 7.4 14.34 2.5 9.84l6.6-.78L12 2.5z'/%3E%3Cpath transform='translate(72 0)' d='M12 2.5l2.9 6.06 6.6.78-4.9 4.5 1.32 6.56L12 17.9 6.08 20.9 7.4 14.34 2.5 9.84l6.6-.78L12 2.5z'/%3E%3Cpath transform='translate(96 0)' d='M12 2.5l2.9 6.06 6.6.78-4.9 4.5 1.32 6.56L12 17.9 6.08 20.9 7.4 14.34 2.5 9.84l6.6-.78L12 2.5z'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat; }
.rv-stars--badge { --rv-size: 12px; }
.rv-stars--strip { --rv-size: 15px; }
.rv-stars--kaart { --rv-size: 15px; }
footer .rv-stars { --rv-empty: rgba(245, 241, 232, 0.25); }

/* ---- Badge (gedeeld) ---------------------------------------------------- */
.rv-badge { display: inline-flex; align-items: center; gap: 6px; min-height: 32px;
  font-family: var(--font-body); font-size: 0.82rem; font-weight: 500; line-height: 1.2;
  color: inherit; white-space: nowrap; text-decoration: none; }
.rv-badge strong { font-weight: 700; color: inherit; }
.rv-badge:hover .rv-badge__txt { text-decoration: underline; text-underline-offset: 3px; }
.rv-badge:focus-visible { outline: 3px solid rgba(14, 147, 132, 0.45); outline-offset: 3px; border-radius: 100px; }

/* Navigatie: eigen pil, leesbaar op de donkere hero en op de witte balk.
   Compact (G ★ 5,0); vanaf 1280px volledig. */
.rv-badge--header { height: 32px; min-width: 60px; margin-left: 14px; padding: 0 12px;
  color: var(--zwart); background: var(--kaart); border: 1px solid var(--grijs-licht);
  border-radius: 100px; box-shadow: var(--shadow-soft); }
.rv-badge--header .rv-stars--badge, .rv-badge--header .rv-badge__count { display: none; }
@media (min-width: 1280px) {
  .rv-badge--header .rv-stars--badge { display: inline-block; }
  .rv-badge--header .rv-badge__count { display: inline; }
  .rv-badge--header .rv-star { display: none; }
}
@media (max-width: 900px) { .rv-badge--header { margin-right: auto; } }
@media (max-width: 440px) {
  .rv-badge--header { padding: 0 9px; gap: 4px; margin-left: 8px; }
  .rv-badge--header .rv-badge__word { display: none; }
}

/* Onder conversieknoppen */
.rv-cta-wrap { margin: 14px 0 0; max-width: none; }
.rv-badge--cta { color: var(--grijs); }
.rv-cta-wrap .rv-badge--cta { min-width: 17em; }
/* Pil met tekst erachter (prijzen): ruimte voor de live tekst, zodat de link niet verschuift. */
.review-strip > [data-rv-strip] { display: inline-block; min-width: 11.8em; }
.rv-badge--cta strong { color: var(--zwart); }
/* Donkere secties: lichte tekst */
.svc-final .rv-badge--cta, .svc-section.ink .rv-badge--cta, .svc-hero .rv-badge--cta, .loc-final .rv-badge--cta, .pricing-cta-inner .rv-badge--cta, .about-cta-inner .rv-badge--cta, .portfolio-section .rv-badge--cta { color: var(--creme-zacht); }
.svc-final .rv-badge--cta strong, .svc-section.ink .rv-badge--cta strong, .svc-hero .rv-badge--cta strong, .loc-final .rv-badge--cta strong, .pricing-cta-inner .rv-badge--cta strong, .about-cta-inner .rv-badge--cta strong, .portfolio-section .rv-badge--cta strong { color: var(--creme-tekst); }

/* Footer */
.rv-badge--footer { display: flex; width: max-content; margin: -6px 0 20px; padding: 6px 14px;
  border: 1px solid var(--ink-lijn); border-radius: 100px; color: var(--creme-zacht); }
.rv-badge--footer strong { color: var(--creme-tekst); }
.rv-badge--footer .rv-star { display: none; }

/* ---- Reviewblok --------------------------------------------------------- */
.rv-block[hidden] { display: none; }
.rv-block .rv-kop { margin-bottom: clamp(24px, 3vw, 36px); }
.rv-grid { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 82%);
  gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; min-height: 300px; }
.rv-block.is-live .rv-grid { min-height: 0; }
.rv-grid > * { scroll-snap-align: start; }
@media (min-width: 900px) {
  .rv-grid { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); overflow: visible; }
}
.rv-block .rv-card:nth-child(n+4) { display: none; }
@media (min-width: 1200px) {
  .rv-grid[data-count="4"], .rv-grid[data-count="5"] { grid-template-columns: repeat(4, 1fr); }
  .rv-block .rv-card:nth-child(4) { display: flex; }
}
.rv-grid:focus-visible { outline: 3px solid rgba(14, 147, 132, 0.45); outline-offset: 4px; }
@media (prefers-reduced-motion: reduce) { .rv-grid { scroll-behavior: auto; scroll-snap-type: none; } }

.rv-skel { min-height: 300px; border-radius: var(--radius); background: var(--kaart); border: 1px solid var(--grijs-licht); }
.rv-card { position: relative; }
.rv-grid .review-card { width: auto; min-width: 0; flex-shrink: 1; }
.rv-card__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.rv-card__time { font-size: 0.8rem; color: var(--grijs); }
.rv-card .review-tekst { -webkit-line-clamp: unset; display: block; }
.rv-card__more { align-self: flex-start; margin: -4px 0 14px; font-size: 0.85rem; font-weight: 600;
  color: var(--accent-dark); text-decoration: underline; text-underline-offset: 3px; }
.rv-card .review-naam a { color: inherit; text-decoration: none; }
.rv-card .review-naam a:hover { text-decoration: underline; }
.rv-card .review-bron .rv-g { width: 15px; height: 15px; }

.rv-attrib { margin-top: 16px; font-size: 0.82rem; color: var(--grijs); display: flex; align-items: center; gap: 8px; }
.rv-gmaps { font-family: Roboto, Arial, sans-serif; font-weight: 500; color: #5E5E5E; }
.rv-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
