  html{scroll-behavior:smooth}
  .gradient-hero{background:radial-gradient(1200px 600px at 80% -10%,rgba(230,180,80,.18),transparent 60%),linear-gradient(135deg,#0f1d33 0%,#1f3a5f 50%,#2e4f7a 100%)}
  /* Hero icon frame — mirrors .photo-frame on /over.html so /ervaringen has a matching circular badge above the pill (5-star icon = klantverhalen) */
  .hero-icon-frame{
    width:120px;height:120px;border-radius:50%;
    background:linear-gradient(135deg,#1f3a5f 0%,#2e4f7a 100%);
    color:#fff;display:flex;align-items:center;justify-content:center;
    border:4px solid rgba(255,255,255,.15);
    box-shadow:0 12px 28px -6px rgba(0,0,0,.35);
    overflow:hidden;flex-shrink:0;
  }
  .hero-icon-frame svg{width:92%;height:92%}
  /* Wave choreography over a 6.4s loop:
       0–1.6s: stars start spinning CW one by one (1→2→3→4→5)
       1.6–3.2s: all 5 spinning together
       3.2–4.8s: stars stop one by one in REVERSE order (5→4→3→2→1)
       4.8–6.4s: all static (rest), then loop
     Each star does exactly 1 full rotation during its active window so it freezes cleanly at its original angle. */
  .hero-icon-frame polygon{
    transform-box:fill-box;
    transform-origin:center;
    animation-duration:6.4s;
    animation-iteration-count:infinite;
    animation-timing-function:linear;
  }
  .hero-icon-frame polygon:nth-of-type(1){animation-name:starWave1}
  .hero-icon-frame polygon:nth-of-type(2){animation-name:starWave2}
  .hero-icon-frame polygon:nth-of-type(3){animation-name:starWave3}
  .hero-icon-frame polygon:nth-of-type(4){animation-name:starWave4}
  .hero-icon-frame polygon:nth-of-type(5){animation-name:starWave5}
  @keyframes starWave1{0%{transform:rotate(0deg)}75%{transform:rotate(360deg)}100%{transform:rotate(360deg)}}
  @keyframes starWave2{0%,6.25%{transform:rotate(0deg)}68.75%{transform:rotate(360deg)}100%{transform:rotate(360deg)}}
  @keyframes starWave3{0%,12.5%{transform:rotate(0deg)}62.5%{transform:rotate(360deg)}100%{transform:rotate(360deg)}}
  @keyframes starWave4{0%,18.75%{transform:rotate(0deg)}56.25%{transform:rotate(360deg)}100%{transform:rotate(360deg)}}
  @keyframes starWave5{0%,25%{transform:rotate(0deg)}50%{transform:rotate(360deg)}100%{transform:rotate(360deg)}}
  /* Respect users who prefer reduced motion (accessibility) */
  @media (prefers-reduced-motion:reduce){
    .hero-icon-frame polygon{animation:none}
  }
  .star{font-size:24px;line-height:1}
  .star-active{color:#e6b450}
  .star-inactive{color:#cbd5e1}
  .lift{transition:transform .25s ease, box-shadow .25s ease}
  .lift:hover{transform:translateY(-3px);box-shadow:0 10px 25px -5px rgba(15,29,51,.12),0 4px 10px -6px rgba(15,29,51,.08)}
  .cta-primary{transition:transform .15s ease, box-shadow .25s ease}
  .cta-primary:hover{transform:translateY(-1px) scale(1.02);box-shadow:0 8px 22px -4px rgba(230,180,80,.45)}
  /* Star rating input — radio buttons styled as filled stars (reverse direction so hover lights stars to the LEFT correctly) */
  .rating-group{display:inline-flex;flex-direction:row-reverse;gap:4px}
  .rating-group input[type="radio"]{display:none}
  .rating-group label{font-size:32px;color:#cbd5e1;cursor:pointer;transition:color .15s ease;line-height:1}
  .rating-group label:hover,
  .rating-group label:hover ~ label,
  .rating-group input[type="radio"]:checked ~ label{color:#e6b450}
  /* Modal styles for the review submission popup */
  .modal-backdrop{
    position:fixed;inset:0;background:rgba(15,23,42,.65);
    display:none;align-items:flex-start;justify-content:center;
    z-index:60;padding:16px;overflow-y:auto;
    animation:modalFadeIn .2s ease;
  }
  .modal-backdrop.open{display:flex}
  .modal-card{
    background:#fff;border-radius:14px;max-width:640px;width:100%;
    margin:24px auto;padding:0;position:relative;
    box-shadow:0 25px 60px -10px rgba(15,23,42,.4);
    animation:modalSlideIn .25s ease;
  }
  .modal-header{
    padding:20px 24px 0;display:flex;align-items:flex-start;justify-content:space-between;gap:16px;
  }
  .modal-body{padding:6px 24px 24px}
  .modal-close{
    background:transparent;border:0;cursor:pointer;
    width:36px;height:36px;border-radius:8px;
    display:flex;align-items:center;justify-content:center;
    font-size:22px;color:#64748b;flex-shrink:0;
    transition:background .15s ease;
  }
  .modal-close:hover{background:#f1f5f9;color:#0f172a}
  body.modal-open{overflow:hidden}
  @keyframes modalFadeIn{from{opacity:0}to{opacity:1}}
  @keyframes modalSlideIn{from{transform:translateY(-12px);opacity:0}to{transform:none;opacity:1}}
  /* Floating "Schrijf review" CTA — always visible, accessible from any
     scroll position. z-index 50 sits below modal (60) so it auto-hides
     visually when the modal is open. */
  .review-fab{
    position:fixed;bottom:20px;right:20px;z-index:50;
    background:#e6b450;color:#0f1d33;
    font-weight:600;font-size:14px;
    padding:12px 20px;border-radius:999px;
    box-shadow:0 8px 20px -4px rgba(15,29,51,.25),0 2px 6px -2px rgba(230,180,80,.4);
    display:inline-flex;align-items:center;gap:8px;
    border:0;cursor:pointer;
    transition:transform .15s ease, box-shadow .25s ease, background .15s ease;
  }
  .review-fab:hover{
    background:#c99637;
    transform:translateY(-2px) scale(1.03);
    box-shadow:0 12px 28px -4px rgba(15,29,51,.3),0 4px 10px -2px rgba(230,180,80,.5);
  }
  .review-fab svg{width:18px;height:18px;flex-shrink:0}
  body.modal-open .review-fab{display:none}
  @media (max-width:480px){
    .review-fab{bottom:14px;right:14px;padding:11px 16px;font-size:13px}
  }
  /* One-time first-review nudge toast — bottom-left, dismissible,
     remembered in localStorage so it never shows twice on the same browser. */
  .first-review-toast{
    position:fixed;bottom:24px;left:24px;z-index:50;
    background:#fff;border:1px solid #e2e8f0;border-radius:14px;
    padding:16px 18px 16px 56px;max-width:340px;
    box-shadow:0 14px 40px -10px rgba(15,23,42,.22), 0 4px 12px -4px rgba(15,23,42,.08);
    display:none;animation:ftrSlideIn .35s ease;
  }
  .first-review-toast.show{display:block}
  .ftr-icon{
    position:absolute;top:18px;left:16px;
    width:28px;height:28px;border-radius:50%;
    background:#e6b450;color:#0f1d33;
    display:flex;align-items:center;justify-content:center;
    font-size:15px;font-weight:700;
  }
  .ftr-close{
    position:absolute;top:6px;right:8px;
    background:transparent;border:0;cursor:pointer;
    width:28px;height:28px;border-radius:6px;
    font-size:20px;line-height:1;color:#64748b;
    transition:background .15s ease;
  }
  .ftr-close:hover{background:#f1f5f9;color:#0f172a}
  .ftr-title{font-weight:700;color:#1f3a5f;font-size:14px;margin-bottom:4px}
  .ftr-msg{font-size:13px;color:#475569;line-height:1.5;margin-bottom:12px}
  .ftr-cta{
    font-size:13px;font-weight:600;
    background:#1f3a5f;color:white;
    padding:8px 14px;border-radius:8px;
    border:0;cursor:pointer;
    transition:background .15s ease;
  }
  .ftr-cta:hover{background:#2e4f7a}
  body.modal-open .first-review-toast{display:none}
  @keyframes ftrSlideIn{from{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}
  @media (max-width:480px){
    .first-review-toast{left:12px;right:12px;max-width:none;bottom:80px}
  }
  /* "Already submitted" banner — shown when user returns to a URL with
     ?order=XXX they've previously submitted from this browser. Replaces
     the auto-open behaviour so they don't accidentally re-submit. */
  .already-submitted-banner{
    background:#ecfdf5;border:1px solid #a7f3d0;color:#065f46;
    border-radius:10px;padding:14px 18px;margin:0 0 20px;
    font-size:14px;display:none;align-items:center;gap:10px; /* hidden by default; JS shows it via style.display='flex' (strict CSP — no inline style) */
  }
  .already-submitted-banner .asb-icon{
    flex-shrink:0;width:24px;height:24px;border-radius:50%;
    background:#10b981;color:#fff;display:flex;align-items:center;
    justify-content:center;font-size:14px;font-weight:700;
  }
  /* Animated nav links — underline grows from centre on hover, current page marked with accent underline */
  .nav-link{
    position:relative;color:#475569;font-weight:500;padding:6px 2px;
    transition:color .2s ease;
  }
  .nav-link::after{
    content:'';position:absolute;left:50%;bottom:0;
    width:0;height:2px;background:#1f3a5f;
    transition:width .25s ease, left .25s ease, background .2s ease;
    transform:translateX(-50%);
  }
  .nav-link:hover{color:#1f3a5f}
  .nav-link:hover::after{width:100%}
  .nav-link.active{color:#1f3a5f;font-weight:600}
  .nav-link.active::after{width:100%;background:#e6b450}
  /* iOS mobile fixes:
     - 16px+ font on inputs prevents iOS Safari auto-zoom on focus
     - -webkit-appearance:none normalizes native iOS button/input styling
     - safe-area-inset on fixed elements respects iPhone X+ notch/home indicator */
  @media (max-width:480px){
    input,textarea,select{font-size:16px !important}
  }
  input,textarea,select,button{-webkit-appearance:none;appearance:none}
  input[type="checkbox"],input[type="radio"]{-webkit-appearance:auto;appearance:auto}
  .review-fab{bottom:max(20px,env(safe-area-inset-bottom));right:max(20px,env(safe-area-inset-right))}
  .first-review-toast{bottom:max(24px,env(safe-area-inset-bottom));left:max(24px,env(safe-area-inset-left))}
  @media (max-width:480px){
    .review-fab{bottom:max(14px,env(safe-area-inset-bottom));right:max(14px,env(safe-area-inset-right))}
    .first-review-toast{bottom:max(80px,calc(80px + env(safe-area-inset-bottom)));left:max(12px,env(safe-area-inset-left));right:max(12px,env(safe-area-inset-right))}
  }
  /* Disable sticky hover on touch-only devices — fixes the "tapped button stays in hover state" bug.
     Resets transforms/shadows/underlines that would otherwise persist after touch. */
  @media (hover:none){
    .lift:hover,.cta-primary:hover,.review-fab:hover,.modal-close:hover,.ftr-close:hover,.ftr-cta:hover{
      transform:none !important;
      box-shadow:initial !important;
    }
    .nav-link:hover{color:inherit !important}
    .nav-link:hover::after{width:0 !important}
  }
