/* Varumärken */
.vm { background: #f9fafb; padding-bottom: 64px; }
.vm-hero { position: relative; height: clamp(220px, 30vw, 420px); background: #6b6b6b center / cover no-repeat;
           display: flex; align-items: center; justify-content: center; text-align: center; padding: 0 16px; }
.vm-hero::before { content: ''; position: absolute; inset: 0; background: rgba(0, 0, 0, 0.4); }
.vm-hero > div { position: relative; }
.vm-hero h1 { color: #fff; font-size: clamp(24px, 3.4vw, 48px); font-weight: 700; margin: 0; }
.vm-hero p { color: #e5e7eb; font-size: clamp(14px, 1.2vw, 16px); margin: 12px auto 0; max-width: 42rem; }

.vm-sok { display: flex; justify-content: center; margin-top: 56px; padding: 0 16px; }
.vm-sok-falt { position: relative; width: 100%; max-width: 32rem; display: block; }
.vm-sok-falt svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: #9ca3af; pointer-events: none; }
.vm-sok-falt input { width: 100%; padding: 12px 40px; border: 1px solid #d1d5db; border-radius: 8px; font-size: 16px; background: #fff; }
.vm-sok-falt input:focus { outline: none; border-color: #000; box-shadow: 0 0 0 1px #000; }

.vm-galler { margin-top: 64px; padding: 0 16px; display: grid; gap: 48px; justify-content: center;
             grid-template-columns: repeat(auto-fit, minmax(280px, 300px)); }
.vm-kort { display: flex; flex-direction: column; width: 100%; max-width: 300px; background: #fff; border: 1px solid #f3f4f6;
           border-radius: 16px; overflow: hidden; box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
           transition: transform 0.5s, box-shadow 0.5s; }
.vm-kort:hover { transform: translateY(-8px); box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15); }
.vm-kort[hidden] { display: none; }
.vm-logga { aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; padding: 32px; background: #fff; }
.vm-logga img { max-height: 128px; max-width: 100%; object-fit: contain; filter: grayscale(1); transition: filter 0.5s; }
.vm-kort:hover .vm-logga img { filter: none; }
.vm-info { padding: 24px; text-align: center; }
.vm-info h3 { font-size: 18px; font-weight: 500; color: #1f2937; margin: 0; }
.vm-besk { margin-top: 8px; font-size: 14px; line-height: 1.6; color: #6b7280; font-style: italic;
           display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.vm-besk p { margin: 0; }
.vm-tom { text-align: center; color: #6b7280; margin: 40px 16px 0; }

@media (prefers-reduced-motion: reduce) { .vm-kort, .vm-logga img { transition: none; } .vm-kort:hover { transform: none; } }
