/* ─────────────────────────────────────────────────────────────
   TOKENS
───────────────────────────────────────────────────────────── */
:root {
  --bg:        #FAFAF8;
  --bg-2:      #F4F4F0;
  --bg-3:      #EDEDEA;
  --ink:       #111110;
  --ink-2:     #3D3D3A;
  --ink-3:     #888880;
  --ink-4:     #B8B8B0;
  --green:     #1A7A4A;
  --green-l:   #2D9E63;
  --green-bg:  #EAF5EE;
  --green-mid: rgba(26,122,74,.12);
  --blue:     #1A65A3;
  --blue-l:   #2C85D1;
  --blue-bg:  #EAF4FA;
  --blue-mid: rgba(26,101,163,.12);
  --white:     #FFFFFF;
  --gray:     #a7a7a7;
  --f-display: 'DM Serif Display', Georgia, 'Times New Roman', serif;
  --f-body:    'DM Sans', system-ui, sans-serif;
  --f-mono:    ui-monospace, 'SF Mono', Menlo, monospace;

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;

  --shadow-xs: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow-sm: 0 2px 8px rgba(0,0,0,.07), 0 1px 3px rgba(0,0,0,.04);
  --shadow-md: 0 8px 32px rgba(0,0,0,.09), 0 2px 8px rgba(0,0,0,.04);
  --shadow-lg: 0 20px 60px rgba(0,0,0,.11), 0 4px 16px rgba(0,0,0,.05);
  --shadow-green: 0 8px 32px rgba(26,122,74,.20);

  --ease: cubic-bezier(.22,1,.36,1);
  --t-fast: 160ms;
  --t-mid:  260ms;
  --t-slow: 400ms;

  --nav-h: 64px;
  --max-w: 1180px;
}

/* ─────────────────────────────────────────────────────────────
   RESET
───────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--f-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
address { font-style: normal; }
details summary { list-style: none; }
details summary::-webkit-details-marker { display: none; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 4px; }

/* ─────────────────────────────────────────────────────────────
   UTILITIES
───────────────────────────────────────────────────────────── */
.wrap { width: 100%; max-width: var(--max-w); margin-inline: auto; padding-inline: 24px; }
@media (min-width: 768px)  { .wrap { padding-inline: 40px; } }
@media (min-width: 1200px) { .wrap { padding-inline: 24px; } }

.mono { font-family: var(--f-mono); }

/* Entrance animation */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease);
}
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 80ms; }
.reveal.d2 { transition-delay: 160ms; }
.reveal.d3 { transition-delay: 240ms; }
.reveal.d4 { transition-delay: 320ms; }

/* ─────────────────────────────────────────────────────────────
   BUTTONS
───────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--f-body); font-size: .9rem; font-weight: 500;
  border-radius: 100px; padding: 11px 22px;
  transition: all var(--t-mid) var(--ease);
  white-space: nowrap; cursor: pointer;
  letter-spacing: -.01em;
}
.btn-black {
  background: var(--ink); color: #fff;
}
.btn-black:hover { background: #2a2a28; transform: translateY(-1px); box-shadow: var(--shadow-md); }

.btn-green {
  background: var(--green); color: #fff;
  box-shadow: var(--shadow-green);
}
.btn-green:hover { background: var(--green-l); transform: translateY(-1px); box-shadow: 0 12px 40px rgba(26,122,74,.28); }

.btn-blue {
    background-color: var(--blue);
    color: #ffffff;
    border: 1px solid var(--blue);
    transition: all 0.2s ease;
}

.btn-blue:hover {
    background-color: var(--blue-l);
    border-color: var(--blue-l);
}

/* Om ni använder .btn-ghost eller outline-varianter */
.btn-outline-blue {
    background-color: transparent;
    color: var(--blue);
    border: 1px solid var(--blue);
}

.btn-outline-blue:hover {
    background-color: var(--blue-bg);
    color: var(--blue-l);
}

.btn-ghost {
  background: transparent; color: var(--ink-2);
  border: 1.5px solid var(--bg-3);
}
.btn-ghost:hover { border-color: var(--ink-4); color: var(--ink); }

.btn-lg { font-size: 1rem; padding: 13px 28px; }

/* ─────────────────────────────────────────────────────────────
   NAVBAR
───────────────────────────────────────────────────────────── */
.nav-outer {
  position: fixed; inset-block-start: 0; inset-inline: 0;
  z-index: 200; height: var(--nav-h);
  transition: background var(--t-slow) var(--ease), box-shadow var(--t-mid);
}
.nav-outer.scrolled {
  background: rgba(250,250,248,.88);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 1px 0 rgba(0,0,0,.06);
}
.nav {
  display: flex; align-items: center; height: 100%;
  gap: 4px;
}
.nav-logo {
  display: flex;  flex-direction: row; align-items: center; gap: 8px;
  margin-right: 8px; flex-shrink: 0;
}
.nav-logo-name {
  font-family: var(--f-body); font-weight: 600; font-size: 1.05rem;
  letter-spacing: -.03em; color: var(--ink);
}

.nav-links {
  display: none; flex: 1; gap: 0;
}
@media (min-width: 900px) { .nav-links { display: flex; } }
.nav-link {
  font-size: .84rem; font-weight: 450; color: var(--ink-2);
  padding: 8px 14px; border-radius: 100px;
  transition: color var(--t-fast), background var(--t-fast);
}
.nav-link:hover { color: var(--ink); background: var(--bg-2); }

.nav-end {
  display: flex; align-items: center; gap: 10px; margin-left: auto;
}
.nav-signin {
  font-size: .84rem; font-weight: 450; color: var(--ink-3);
  padding: 8px 14px; border-radius: 100px;
  display: none;
  transition: color var(--t-fast);
}
@media (min-width: 640px) { .nav-signin { display: block; } }
.nav-signin:hover { color: var(--ink); }

.nav-burger {
  display: flex; flex-direction: column; gap: 5px;
  padding: 8px; border-radius: var(--r-sm);
  transition: background var(--t-fast);
}
.nav-burger:hover { background: var(--bg-2); }
.nav-burger span {
  display: block; width: 20px; height: 1.5px;
  background: var(--ink-2); border-radius: 2px;
  transition: all var(--t-mid) var(--ease);
}
.nav-burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
@media (min-width: 900px) { .nav-burger { display: none; } }

#nav-drawer {
  display: none; position: fixed; inset: var(--nav-h) 0 0 0; z-index: 199;
  background: rgba(250,250,248,.97); backdrop-filter: blur(20px);
  padding: 24px; flex-direction: column; gap: 4px;
}
#nav-drawer.open { display: flex; }
#nav-drawer .nav-link { font-size: 1.1rem; padding: 14px 16px; border-radius: var(--r-md); }

/* ─────────────────────────────────────────────────────────────
   HERO
───────────────────────────────────────────────────────────── */
.hero {
  padding-top: calc(var(--nav-h) + 80px);
  padding-bottom: 0;
  text-align: center;
  overflow: hidden;
  position: relative;
}

/* Soft radial glow behind text */
.hero::before {
  content: '';
  position: absolute;
  top: 60px; left: 50%; transform: translateX(-50%);
  width: 900px; height: 600px;
  background: radial-gradient(ellipse at 50% 30%, rgba(26,122,74,.07) 0%, transparent 65%);
  pointer-events: none;
}

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 500; letter-spacing: .08em;
  text-transform: uppercase; color: var(--green);
  background: var(--green-bg); border-radius: 100px;
  padding: 6px 16px; margin-bottom: 32px;
}
.hero-eyebrow-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--green);
  animation: blink 2.4s ease-in-out infinite;
}
@keyframes blink { 0%,100%{opacity:.5} 50%{opacity:1} }

.hero-h1 {
  font-family: var(--f-display);
  font-size: clamp(3rem, 8vw, 6.4rem);
  font-weight: 400; /* DM Serif is naturally bold */
  line-height: 1.04;
  letter-spacing: -.03em;
  color: var(--ink);
  max-width: 820px; margin-inline: auto;
  margin-bottom: 28px;
}
.hero-h1 em {
  font-style: italic;
  color: var(--green);
}
.hero-h1 em.gray {
  font-style: italic;
  color: var(--gray);
}

.hero-sub {
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  font-weight: 300;
  color: var(--ink-2);
  line-height: 1.72;
  max-width: 580px; margin-inline: auto;
  margin-bottom: 44px;
}

.hero-cta {
  display: flex; flex-wrap: wrap; gap: 12px;
  justify-content: center; margin-bottom: 72px;
}

/* ── Rotating audience line ── */
/* ── Rotating audience line (Anpassad för 5 ord) ── */
.hero-audience {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: clamp(.95rem, 1.8vw, 1.15rem);
  font-weight: 400; color: var(--ink-3);
  margin-bottom: 20px; justify-content: center;
}
.hero-audience-for { color: var(--ink-3); }
.hero-audience-slot {
  display: inline-block;
  color: var(--ink);
  font-weight: 600;
  position: relative;
  overflow: hidden;
  height: 1.4em;
  vertical-align: middle;
  min-width: 150px; /* Kan ökas om du har långa ord */
  text-align: left;
  padding: 0px 10px;
}

.hero-audience-slot span {
  position: absolute; left: 0; top: 0; width: 100%;
  /* 5 ord × 3 sekunder = 15 sekunder totalt */
  animation: slot-in-5 15s ease-in-out infinite; 
  opacity: 0; transform: translateY(12px);
  text-align: left;
}

/* Ge varje ord en startfördröjning på +3 sekunder */
.hero-audience-slot span:nth-child(1) { animation-delay: 0s; }
.hero-audience-slot span:nth-child(2) { animation-delay: 3s; }
.hero-audience-slot span:nth-child(3) { animation-delay: 6s; }
.hero-audience-slot span:nth-child(4) { animation-delay: 9s; }
.hero-audience-slot span:nth-child(5) { animation-delay: 12s; }
.hero-audience-slot span:nth-child(6) { animation-delay: 15s; }

/* Varje ord får 20% (100/5) av den totala tidslinjen */
@keyframes slot-in-5 {
  0%    { opacity: 0; transform: translateY(14px); }
  4%    { opacity: 1; transform: translateY(0); }
  16%   { opacity: 1; transform: translateY(0); }
  20%   { opacity: 0; transform: translateY(-14px); }
  100%  { opacity: 0; transform: translateY(-14px); }
}

/* KPIs */
.hero-kpis {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 0; margin-bottom: 80px;
  border-top: 1px solid var(--bg-3);
  border-bottom: 1px solid var(--bg-3);
  padding-block: 32px;
}
.hkpi { display: flex; flex-direction: column; align-items: center; gap: 4px; padding-inline: 40px; }
@media (max-width: 640px) { .hkpi { padding-inline: 20px; } }
.hkpi + .hkpi { border-left: 1px solid var(--bg-3); }
.hkpi-n {
  font-family: var(--f-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1;
  color: var(--ink);
  letter-spacing: -.03em;
}
.hkpi-n span { color: var(--green); }
.hkpi-l { font-size: .8rem; color: var(--ink-3); font-weight: 400; }

/* Hero product screenshot */
.hero-screen-wrap {
  position: relative;
  max-width: 1020px; margin-inline: auto;
  padding-inline: 20px;
}
.hero-screen-glow {
  position: absolute;
  bottom: -40px; left: 50%; transform: translateX(-50%);
  width: 80%; height: 200px;
  background: radial-gradient(ellipse, rgba(26,122,74,.14) 0%, transparent 70%);
  pointer-events: none;
}
.hero-screen {
  background: var(--white);
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(0,0,0,.06);
  overflow: hidden;
}
.hs-titlebar {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 20px;
  background: var(--bg-2);
  border-bottom: 1px solid var(--bg-3);
}
.hs-dots { display: flex; gap: 6px; }
.hs-dot { width: 11px; height: 11px; border-radius: 50%; }
.hs-dot:nth-child(1) { background: #FF5F57; }
.hs-dot:nth-child(2) { background: #FEBC2E; }
.hs-dot:nth-child(3) { background: #28C840; }
.hs-url {
  flex: 1; max-width: 280px; margin-inline: auto;
  background: var(--white); border-radius: 6px;
  padding: 5px 14px; font-size: .74rem;
  color: var(--ink-3); text-align: center;
  border: 1px solid var(--bg-3);
}
.hs-body {
  display: grid;
  grid-template-columns: 220px 1fr;
  min-height: 420px;
}
@media (max-width: 700px) { .hs-body { grid-template-columns: 1fr; } }

/* Sidebar */
.hs-sidebar {
  background: #F8F8F6;
  border-right: 1px solid var(--bg-3);
  padding: 20px 16px;
  display: flex; flex-direction: column; gap: 2px;
}
@media (max-width: 700px) { .hs-sidebar { display: none; } }
.hs-nav-item {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 10px; border-radius: var(--r-sm);
  font-size: .8rem; color: var(--ink-3); font-weight: 450;
  cursor: pointer; transition: background var(--t-fast), color var(--t-fast);
}
.hs-nav-item:hover { background: var(--bg-3); color: var(--ink); }
.hs-nav-item.active { background: var(--white); color: var(--ink); font-weight: 500; box-shadow: var(--shadow-xs); }
.hs-nav-icon { width: 16px; height: 16px; border-radius: 4px; flex-shrink: 0; }

/* Main content */
.hs-main { padding: 28px 28px 24px; display: flex; flex-direction: column; gap: 20px; }
.hs-main-title { font-weight: 600; font-size: .9rem; color: var(--ink); }

.hs-stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (max-width: 900px) { .hs-stat-row { grid-template-columns: 1fr 1fr; } }
.hs-stat {
  background: var(--bg);
  border: 1px solid var(--bg-3);
  border-radius: var(--r-md);
  padding: 14px 16px;
}
.hs-stat-v {
  font-family: var(--f-display);
  font-size: 1.7rem; line-height: 1; letter-spacing: -.03em;
  color: var(--ink); margin-bottom: 4px;
}
.hs-stat-v span { font-size: .9rem; color: var(--ink-3); }
.hs-stat-l { font-size: .74rem; color: var(--ink-3); }
.hs-stat-delta {
  font-size: .72rem; font-weight: 500; margin-top: 4px;
  color: var(--green);
}

/* Mini chart */
.hs-chart { position: relative; }
.hs-chart-bars {
  display: flex; align-items: flex-end; gap: 5px; height: 80px;
}
.hs-chart-bars span {
  flex: 1; border-radius: 3px 3px 0 0;
  background: var(--bg-3);
  height: var(--h);
  transition: background var(--t-fast);
}
.hs-chart-bars span.hi { background: var(--green); }
.hs-chart-bars span:hover { background: var(--green-l); }

/* Order table */
.hs-table { width: 100%; border-collapse: collapse; font-size: .8rem; }
.hs-table th {
  text-align: left; padding: 6px 0; font-weight: 500;
  color: var(--ink-3); font-size: .72rem; letter-spacing: .04em;
  text-transform: uppercase; border-bottom: 1px solid var(--bg-3);
}
.hs-table td { padding: 9px 0; border-bottom: 1px solid var(--bg-2); color: var(--ink-2); }
.hs-table tr:last-child td { border-bottom: none; }
.hs-badge {
  display: inline-block; font-size: .68rem; font-weight: 500;
  padding: 3px 9px; border-radius: 100px;
}
.hs-badge--done { background: var(--green-bg); color: var(--green); }
.hs-badge--live { background: #FFF3CD; color: #92600A; }
.hs-badge--inv  { background: #EEF2FF; color: #4F5DAF; }

/* ─────────────────────────────────────────────────────────────
   CUSTOMER LOGOS
───────────────────────────────────────────────────────────── */
.logos-sect {
  padding-block: 64px;
  border-bottom: 1px solid var(--bg-3);
}
.logos-label {
  text-align: center; font-size: .78rem; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-4); margin-bottom: 40px;
}
.logos-grid {
  display: flex; flex-wrap: wrap; justify-content: center;
  align-items: center; gap: 8px 4px;
}
.logo-pill {
  padding: 10px 22px; border-radius: 100px;
  font-size: .82rem; font-weight: 500; color: var(--ink-3);
  background: var(--white); border: 1px solid var(--bg-3);
  transition: all var(--t-fast);
  letter-spacing: -.01em;
}
.logo-pill:hover { color: var(--ink); border-color: var(--ink-4); box-shadow: var(--shadow-xs); }

/* ─────────────────────────────────────────────────────────────
   SERVICES (Apple-style)
───────────────────────────────────────────────────────────── */
.services-sect {
  padding-block: 120px;
}
.sect-header {
  text-align: center; margin-bottom: 80px;
}
.sect-eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--green); margin-bottom: 20px;
}
.sect-h2 {
  font-family: var(--f-display);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 400; line-height: 1.1; letter-spacing: -.03em;
  color: var(--ink); margin-bottom: 20px;
}
.sect-sub {
  font-size: 1.1rem; font-weight: 300; color: var(--ink-2);
  line-height: 1.75; max-width: 560px; margin-inline: auto;
}

/* The grid */
.srv-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 640px)  { .srv-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .srv-grid { grid-template-columns: repeat(12, 1fr); } }

/* Base card */

.srv-card {
  background: var(--white);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  position: relative;
  transition: box-shadow var(--t-mid) var(--ease), transform var(--t-mid) var(--ease);
  /* 🌟 NYTT: Gör kortet till en flex-behållare 🌟 */
  display: flex;
  flex-direction: column;
}
.srv-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

/* Column spans */
@media (min-width: 1024px) {
  .srv-span-7  { grid-column: span 7; }
  .srv-span-5  { grid-column: span 5; }
  .srv-span-6  { grid-column: span 6; }
  .srv-span-4  { grid-column: span 4; }
  .srv-span-8  { grid-column: span 8; }
  .srv-span-12 { grid-column: span 12; }
}

.srv-copy { padding: 36px 36px 32px; }
.srv-copy.footer-panel { position: relative; }
.srv-copy.footer-panel::after{
  border-radius: 0 0 var(--r-xl) var(--r-xl);
  height: 30px;
  width: 100%;
  background-color: white;
  position: absolute;
  bottom: -30px;
  left: 0px;
  z-index: 9;
  content: '';
}
@media (max-width: 640px) { .srv-copy { padding: 28px 24px 24px; } }
.srv-tag {
  display: inline-block; font-size: .72rem; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--green); margin-bottom: 14px;
}
.srv-title {
  font-family: var(--f-display);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 400; letter-spacing: -.03em; line-height: 1.18;
  color: var(--ink); margin-bottom: 14px;
}
.srv-body {
  font-size: .9rem; font-weight: 300; color: var(--ink-2);
  line-height: 1.75; margin-bottom: 18px;
}
.srv-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.srv-chip {
  font-size: .73rem; font-weight: 500; color: var(--ink-2);
  background: var(--bg-2); border-radius: 100px;
  padding: 4px 12px; letter-spacing: -.01em;
}

/* Visual areas */
/* Visual areas */
.srv-vis {
  display: flex; align-items: center; justify-content: center;
  padding: 32px;
  background: var(--bg);
  min-height: 260px;
  /* 🌟 NYTT: Säger åt rutan att svälla och fylla botten 🌟 */
  flex: 1; 
}

/* Green accent card */
.srv-card--green {
  background: linear-gradient(150deg, var(--green) 0%, #0d5c36 100%);
}
.srv-card--green .srv-tag  { color: rgba(255,255,255,.6); }
.srv-card--green .srv-title { color: #fff; }
.srv-card--green .srv-body  { color: rgba(255,255,255,.65); }
.srv-card--green .srv-chip  { background: rgba(255,255,255,.12); color: rgba(255,255,255,.85); }
.srv-card--green .srv-vis   { background: rgba(0,0,0,.1); }

/* Dark card */
.srv-card--dark {
  background: var(--ink);
}
.srv-card--dark .srv-tag  { color: var(--green-l); }
.srv-card--dark .srv-title { color: #fff; }
.srv-card--dark .srv-body  { color: rgba(255,255,255,.5); }
.srv-card--dark .srv-chip  { background: rgba(255,255,255,.1); color: rgba(255,255,255,.7); }
.srv-card--dark .srv-vis   { background: rgba(255,255,255,.04); }

/* ─── POS Visual ─── */
.vis-pos {
  width: 100%; max-width: 260px;
  background: var(--white);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.vpos-bar {
  background: var(--bg-2); padding: 10px 14px;
  display: flex; gap: 5px;
}
.vpos-dot { width: 9px; height: 9px; border-radius: 50%; }
.vpos-dot:nth-child(1) { background: #FF5F57; }
.vpos-dot:nth-child(2) { background: #FEBC2E; }
.vpos-dot:nth-child(3) { background: #28C840; }
.vpos-body { padding: 14px; }
.vpos-row  { display: flex; align-items: center; justify-content: space-between; padding: 7px 0; border-bottom: 1px solid var(--bg-2); font-size: .78rem; }
.vpos-row:last-of-type { border-bottom: none; }
.vpos-name { color: var(--ink-2); }
.vpos-qty  { color: var(--ink-3); font-size: .72rem; }
.vpos-pr   { font-weight: 500; color: var(--ink); }
.vpos-total {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 10px; padding: 10px 12px;
  background: var(--green); border-radius: var(--r-sm);
  font-size: .82rem; font-weight: 600; color: #fff;
}

/* ─── OMS Visual ─── */
.vis-oms {
  width: 100%; max-width: 280px;
  background: var(--white);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  padding: 16px;
}
.voms-hd { font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 12px; }
.voms-row { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--bg-2); font-size: .8rem; }
.voms-row:last-child { border-bottom: none; }
.voms-time { color: var(--ink-3); width: 38px; flex-shrink: 0; font-variant-numeric: tabular-nums; }
.voms-name { flex: 1; color: var(--ink-2); }
.voms-badge {
  font-size: .68rem; font-weight: 600; padding: 3px 9px; border-radius: 100px;
  white-space: nowrap;
}
.voms-badge--ok   { background: var(--green-bg); color: var(--green); }
.voms-badge--live { background: #FFF3CD; color: #92600A; }
.voms-badge--inv  { background: #EEF2FF; color: #4F5DAF; }

/* ─── Loyalty card stack ─── */
.vis-cards { position: relative; width: 200px; height: 140px; }
.vis-loyalty-card {
  position: absolute; width: 190px; border-radius: var(--r-md);
  padding: 14px 16px;
  transition: transform var(--t-slow) var(--ease);
}
.vlc-1 { background: linear-gradient(135deg,#1A7A4A,#0d5c36); bottom: 0; left: 0; z-index: 3; box-shadow: var(--shadow-md); }
.vlc-2 { background: linear-gradient(135deg,#2A4A8A,#1a2f5e); bottom: 16px; left: 8px; z-index: 2; box-shadow: var(--shadow-sm); opacity: .9; }
.vlc-3 { background: linear-gradient(135deg,#5A3A8A,#3a1f5e); bottom: 30px; left: 16px; z-index: 1; box-shadow: var(--shadow-xs); opacity: .7; }
.vlc-name { font-size: .68rem; font-weight: 500; color: rgba(255,255,255,.65); margin-bottom: 6px; }
.vlc-val  { font-family: var(--f-display); font-size: 1.4rem; color: #fff; letter-spacing: -.02em; }
.vis-cards:hover .vlc-1 { transform: translateY(-4px); }
.vis-cards:hover .vlc-2 { transform: translateY(-2px) translateX(4px); }

/* ─── HR Flow visual ─── */
.vis-hr { display: flex; flex-direction: column; gap: 0; width: 100%; max-width: 260px; }
.vhr-step {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px;
  background: var(--white); border-radius: var(--r-md);
  box-shadow: var(--shadow-xs); font-size: .82rem; color: var(--ink-2);
}
.vhr-step.hi { background: var(--green); color: #fff; }
.vhr-step.hi .vhr-num { background: rgba(255,255,255,.2); color: #fff; }
.vhr-num {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--green-bg); color: var(--green);
  font-size: .75rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.vhr-arrow { text-align: center; color: var(--ink-4); font-size: .9rem; padding-block: 4px; }

/* ─── Calendar visual ─── */
.vis-cal {
  width: 100%; max-width: 320px;
  background: var(--white); border-radius: var(--r-lg);
  box-shadow: var(--shadow-md); overflow: hidden;
}
.vcal-hd {
  padding: 14px 18px 10px; font-size: .82rem;
  font-weight: 600; color: var(--ink);
  border-bottom: 1px solid var(--bg-3);
}
.vcal-week { display: grid; grid-template-columns: repeat(5,1fr); }
.vcal-day {
  display: flex; flex-direction: column; align-items: center;
  padding: 12px 8px; gap: 4px; border-right: 1px solid var(--bg-2);
  font-size: .72rem;
}
.vcal-day:last-child { border-right: none; }
.vcal-dname { color: var(--ink-4); text-transform: uppercase; letter-spacing: .06em; font-size: .64rem; }
.vcal-dn {
  width: 28px; height: 28px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .82rem; font-weight: 500; color: var(--ink-2);
}
.vcal-day.booked .vcal-dn { background: var(--green); color: #fff; font-weight: 600; }
.vcal-event {
  font-size: .62rem; color: var(--green); font-weight: 500;
  text-align: center; line-height: 1.3;
}
.vcal-event2 {
  font-size: .62rem; color: #4F5DAF; font-weight: 500;
  text-align: center; line-height: 1.3;
}

/* ─── Analytics ─── */
.vis-analytics {
  width: 100%; max-width: 280px;
}
.va-kpi-row { display: flex; gap: 16px; margin-bottom: 16px; }
.va-kpi { display: flex; flex-direction: column; gap: 2px; }
.va-kpi-v {
  font-family: var(--f-display); font-size: 1.5rem; line-height: 1;
  letter-spacing: -.03em; color: var(--ink);
}
.va-kpi-l { font-size: .72rem; color: var(--ink-3); }
.va-bars { display: flex; align-items: flex-end; gap: 4px; height: 70px; }
.va-bars span { flex: 1; border-radius: 3px 3px 0 0; height: var(--h); background: var(--bg-3); }
.va-bars span.hi { background: var(--green); }

/* ─── QR phone ─── */
.vis-phone {
  width: 100px;
  background: var(--ink);
  border-radius: 20px; overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.vp-notch { height: 12px; background: #000; }
.vp-screen { padding: 12px 10px 16px; display: flex; flex-direction: column; gap: 8px; align-items: center; }
.vp-table { font-size: .6rem; font-weight: 600; color: rgba(255,255,255,.5); letter-spacing: .06em; text-transform: uppercase; }
.vp-qr {
  background: #fff; border-radius: 6px;
  padding: 6px; width: 60px; height: 60px;
}
.qr-g { display: grid; grid-template-columns: repeat(5,1fr); gap: 2px; }
.qr-g span { aspect-ratio:1; border-radius: 1px; background: var(--bg-3); }
.qr-g .b  { background: #111; }
.vp-pay { display: flex; gap: 4px; }
.vp-pay span {
  font-size: .52rem; font-weight: 500; color: rgba(255,255,255,.7);
  background: rgba(255,255,255,.1); border-radius: 100px;
  padding: 3px 7px;
}

/* ─── Bong display ─── */
.vis-bong { display: flex; flex-direction: column; gap: 8px; width: 100%; max-width: 280px; }
.vb-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-md); padding: 12px 14px;
}
.vb-hd { font-size: .72rem; color: rgba(255,255,255,.5); margin-bottom: 8px; }
.vb-items { display: flex; flex-direction: column; gap: 4px; margin-bottom: 10px; }
.vb-item { font-size: .8rem; color: rgba(255,255,255,.85); }
.vb-item.r { color: #FF8080; }
.vb-item.g { color: #7FD99A; }
.vb-btns { display: flex; gap: 6px; }
.vb-btn {
  flex: 1; text-align: center; font-size: .68rem; font-weight: 600; padding: 6px;
  border-radius: var(--r-sm); border: 1px solid rgba(255,255,255,.15); color: rgba(255,255,255,.5);
  cursor: pointer;
}
.vb-btn.act {
  background: var(--green); color: #fff; border-color: var(--green);
}

/* ─────────────────────────────────────────────────────────────
   SECURITY SECTION
───────────────────────────────────────────────────────────── */
.sec-sect {
  background: var(--ink);
  padding-block: 120px;
}
.sec-sect .sect-eyebrow { color: var(--green-l); }
.sec-sect .sect-h2 { color: #fff; }
.sec-sect .sect-sub { color: rgba(255,255,255,.5); }

.sec-grid {
  display: grid; grid-template-columns: 1fr;
  gap: 2px;
}
@media (min-width: 640px)  { .sec-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .sec-grid { grid-template-columns: repeat(3, 1fr); } }

.sc {
  padding: 36px 32px;
  border-radius: 0;
  position: relative;
}
@media (min-width: 1024px) {
  .sc { border-right: 1px solid rgba(255,255,255,.07); border-bottom: 1px solid rgba(255,255,255,.07); }
  .sc:nth-child(3n) { border-right: none; }
  .sc:nth-child(n+4) { border-bottom: none; }
}
.sc-tag { font-size: .68rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.3); margin-bottom: 12px; }
.sc-val {
  font-family: var(--f-display);
  font-size: 2.4rem; line-height: 1; letter-spacing: -.04em;
  color: var(--green-l); margin-bottom: 8px;
}
.sc-val span { font-size: 1.2rem; color: rgba(255,255,255,.5); }
.sc-val.sm { font-size: 1.7rem; }
.sc-name { font-size: .9rem; font-weight: 500; color: rgba(255,255,255,.85); margin-bottom: 10px; }
.sc-body { font-size: .84rem; color: rgba(255,255,255,.4); line-height: 1.7; }

/* ─────────────────────────────────────────────────────────────
   SECURITY — FOOT / CTA
───────────────────────────────────────────────────────────── */
.sec-foot{
  margin-top: 32px;
  padding: 28px 28px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r-xl);
  background: rgba(255,255,255,.03);
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 900px){
  .sec-foot{
    grid-template-columns: 1.2fr .8fr;
    align-items: center;
  }
}
.sec-foot-h{
  font-family: var(--f-display);
  font-weight: 400;
  letter-spacing: -.02em;
  color: #fff;
  font-size: 1.5rem;
  line-height: 1.2;
  margin-bottom: 8px;
}
.sec-foot-p{
  color: rgba(255,255,255,.55);
  font-size: .92rem;
  font-weight: 300;
  line-height: 1.8;
}
.sec-foot-note{
  margin-top: 10px;
  color: rgba(255,255,255,.38);
  font-size: .78rem;
  line-height: 1.7;
}
.sec-foot-actions{
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
}
.sec-mail{
  font-size: .84rem;
  color: rgba(255,255,255,.55);
  text-decoration: underline;
  text-underline-offset: 4px;
  align-self: flex-start;
  transition: color var(--t-fast);
}
.sec-mail:hover{ color: rgba(255,255,255,.85); }

/* ─────────────────────────────────────────────────────────────
   INTEGRATIONS
───────────────────────────────────────────────────────────── */
.int-sect { padding-block: 120px; }
.int-layout {
  display: grid; grid-template-columns: 1fr;
  gap: 64px;
}
@media (min-width: 1024px) { .int-layout { grid-template-columns: 1fr 1fr; align-items: start; } }
.int-copy .sect-eyebrow { text-align: left; }
.int-copy .sect-h2 { text-align: left; font-size: clamp(2rem,4vw,3rem); }
.int-copy-body { font-size: 1rem; font-weight: 300; color: var(--ink-2); line-height: 1.75; margin-bottom: 32px; }

.int-api-list { display: flex; flex-direction: column; gap: 2px; }
.int-api-row {
  display: flex; align-items: center; gap: 16px;
  padding: 14px 18px; border-radius: var(--r-md);
  background: var(--white); box-shadow: var(--shadow-xs);
  transition: box-shadow var(--t-fast);
}
.int-api-row:hover { box-shadow: var(--shadow-sm); }
.int-api-n { font-family: var(--f-mono); font-size: .8rem; font-weight: 600; color: var(--green); width: 110px; flex-shrink: 0; }
.int-api-d { font-size: .82rem; color: var(--ink-3); }

.int-eco { background: var(--white); border-radius: var(--r-xl); box-shadow: var(--shadow-sm); padding: 32px; }
.int-eco-hd { font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 24px; }
.int-groups { display: flex; flex-direction: column; gap: 20px; }
.int-group-lbl { font-size: .74rem; font-weight: 600; color: var(--ink-3); letter-spacing: .04em; display: block; margin-bottom: 8px; }
.int-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.int-pill {
  font-size: .78rem; font-weight: 500; color: var(--ink-2);
  background: var(--bg); border: 1px solid var(--bg-3);
  border-radius: 100px; padding: 5px 14px;
  transition: all var(--t-fast);
}
.int-pill:hover { color: var(--ink); border-color: var(--ink-4); }

/* ─────────────────────────────────────────────────────────────
   FAQ
───────────────────────────────────────────────────────────── */
.faq-sect { padding-block: 120px; background: var(--bg-2); }
.faq-inner { max-width: 760px; }
.faq-inner .sect-h2 { text-align: left; }
.faq-list { margin-top: 48px; border-top: 1px solid var(--bg-3); }
.faq-item { border-bottom: 1px solid var(--bg-3); }

.faq-summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 0; font-size: .95rem; font-weight: 500; color: var(--ink);
  cursor: pointer; user-select: none;
  transition: color var(--t-fast);
}
.faq-summary:hover { color: var(--green); }
.faq-icon {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--bg-3); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; color: var(--ink-2); font-weight: 400;
  transition: all var(--t-mid) var(--ease);
}
details[open] .faq-icon { background: var(--green); color: #fff; transform: rotate(45deg); }
.faq-answer { padding-bottom: 24px; }
.faq-answer p { font-size: .9rem; font-weight: 300; color: var(--ink-2); line-height: 1.8; }

/* ─────────────────────────────────────────────────────────────
   CTA
───────────────────────────────────────────────────────────── */
.cta-sect {
  padding-block: 160px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-sect::before {
  content: '';
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 800px; height: 400px;
  background: radial-gradient(ellipse at 50% 0%, rgba(26,122,74,.09) 0%, transparent 70%);
  pointer-events: none;
}
.cta-eyebrow { color: var(--green); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 500; margin-bottom: 24px; display: block; }
.cta-h2 {
  font-family: var(--f-display);
  font-size: clamp(2.5rem, 7vw, 5.2rem);
  font-weight: 400; line-height: 1.06; letter-spacing: -.04em;
  color: var(--ink); margin-bottom: 24px;
}
.cta-h2 em { font-style: italic; color: var(--green); }
.cta-p {
  font-size: 1.05rem; font-weight: 300; color: var(--ink-2);
  line-height: 1.75; max-width: 520px; margin-inline: auto;
  margin-bottom: 48px;
}
.cta-actions {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px;
  margin-bottom: 32px;
}
.cta-links {
  font-size: .82rem; color: var(--ink-4);
}
.cta-links a { color: var(--ink-3); text-decoration: underline; text-underline-offset: 3px; transition: color var(--t-fast); }
.cta-links a:hover { color: var(--green); }

/* ─────────────────────────────────────────────────────────────
   FOOTER
───────────────────────────────────────────────────────────── */
.footer {
  background: var(--ink);
  padding-block: 80px 40px;
}
.footer-grid {
  display: grid; grid-template-columns: 1fr;
  gap: 56px; margin-bottom: 64px;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: 240px 1fr; } }

.footer-brand { display: flex; flex-direction: column; gap: 16px; }
.footer-logo-gem { color: var(--green-l); }
.footer-logo-name { font-family: var(--f-body); font-weight: 600; font-size: 1.05rem; letter-spacing: -.03em; color: #fff; }
.footer-tag { font-size: .84rem; color: rgba(255,255,255,.4); line-height: 1.65; }
.footer-addr { font-size: .82rem; color: rgba(255,255,255,.35); line-height: 1.9; }
.footer-addr a { color: rgba(255,255,255,.45); transition: color var(--t-fast); }
.footer-addr a:hover { color: #fff; }
.footer-status { display: flex; align-items: center; gap: 8px; }
.footer-sdot { width: 7px; height: 7px; border-radius: 50%; background: var(--green-l); box-shadow: 0 0 8px rgba(45,158,99,.6); }
.footer-slink { font-size: .74rem; color: rgba(255,255,255,.35); transition: color var(--t-fast); }
.footer-slink:hover { color: rgba(255,255,255,.7); }

.footer-cols {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}
@media (min-width: 640px) { .footer-cols { grid-template-columns: repeat(4, 1fr); } }
.footer-col-h { font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.3); margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: .82rem; color: rgba(255,255,255,.45); transition: color var(--t-fast); }
.footer-col a:hover { color: rgba(255,255,255,.9); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 32px;
}
.footer-legal { font-size: .76rem; color: rgba(255,255,255,.25); }

/* ─────────────────────────────────────────────────────────────
   REDUCED MOTION
───────────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}


/* ── SWEPEARL GLOBAL MODAL ───────────────────── */
.sp-modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(13, 18, 27, 0.4);
    z-index: 99999;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; pointer-events: none;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(4px); /* Suddig bakgrund! */
}
.sp-modal-overlay.visible {
    opacity: 1; pointer-events: auto;
}
.sp-modal-box {
    background: #fff;
    border-radius: 16px;
    padding: 32px 24px 24px 24px;
    max-width: 400px; width: 90%;
    text-align: center;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    transform: translateY(20px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.sp-modal-overlay.visible .sp-modal-box {
    transform: translateY(0) scale(1);
}
.sp-modal-icon { margin-bottom: 16px; }
.sp-modal-icon .material-symbols-rounded { font-size: 52px; font-weight: 300; }
.sp-modal-title { font-size: 1.25rem; font-family: var(--f-display, serif); color: #0d121b; margin: 0 0 8px 0; }
.sp-modal-msg { font-size: 0.95rem; color: #5c6b84; line-height: 1.5; margin: 0 0 24px 0; }
.sp-modal-actions { display: flex; gap: 12px; justify-content: center; }
.sp-modal-actions .btn { flex: 1; justify-content: center; display: flex; align-items: center; gap: 8px; }


.branch-sect {
  padding-block: 120px;
  background: var(--white);
}

/* Grid: 2 cols mobile → 4 cols desktop */
.branch-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 64px;
}
@media (min-width: 1800px) {
  .branch-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ── Branch card ── */
.bc {
  position: relative;
  background: var(--white);
  border: 1.5px solid var(--bg-3);
  border-radius: var(--r-xl);
  padding: 32px 28px 28px;
  cursor: default;
  overflow: hidden;
  transition: border-color var(--t-mid) var(--ease),
              box-shadow var(--t-mid) var(--ease),
              transform var(--t-mid) var(--ease);
}
.bc:hover {
  border-color: var(--green);
  box-shadow: 0 12px 40px rgba(26,122,74,.12), var(--shadow-md);
  transform: translateY(-3px);
}

/* Subtle radial glow behind animation on hover */
.bc::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 110%, rgba(26,122,74,.06) 0%, transparent 70%);
  opacity: 0;
  transition: opacity var(--t-slow) var(--ease);
  pointer-events: none;
}
.bc:hover::before { opacity: 1; }

/* Animation canvas area */
.bc-anim {
  position: relative;
  height: 120px;
  margin-bottom: 20px;
  border-radius: var(--r-md);
  background: var(--bg);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── ICON badge ── */
.bc-icon {
  position: absolute;
  top: 12px; left: 12px;
  width: 36px; height: 36px;
  border-radius: var(--r-sm);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  z-index: 10;
}

/* ── Text area ── */
.bc-title {
  font-family: var(--f-display);
  font-size: 1.25rem;
  font-weight: 400;
  letter-spacing: -.025em;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 8px;
}
.bc-desc {
  font-size: .83rem;
  font-weight: 300;
  color: var(--ink-3);
  line-height: 1.65;
  margin-bottom: 16px;
}
.bc-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.bc-chip {
  font-size: .7rem;
  font-weight: 500;
  color: var(--ink-3);
  background: var(--bg-2);
  border-radius: 100px;
  padding: 3px 10px;
  transition: background var(--t-fast), color var(--t-fast);
}
.bc:hover .bc-chip {
  background: var(--green-bg);
  color: var(--green);
}

/* ═══════════════════════════════════════════════
   SVG ANIMATIONS — CSS-only, unique per branch
═══════════════════════════════════════════════ */

/* ── 1. Kommuner & Skolor: pupils orbiting a table ── */
.anim-skola .table-circle {
  animation: pulse-ring 2.4s ease-in-out infinite;
  transform-origin: 60px 60px;
}
.anim-skola .pupil {
  animation: orbit 3.6s linear infinite;
  transform-origin: 60px 60px;
}
.anim-skola .pupil:nth-child(2) { animation-delay: -1.2s; }
.anim-skola .pupil:nth-child(3) { animation-delay: -2.4s; }
.anim-skola .card-tag-chip {
  animation: float-up 2s ease-in-out infinite alternate;
}
@keyframes orbit {
  from { transform: rotate(0deg) translateX(36px) rotate(0deg); }
  to   { transform: rotate(360deg) translateX(36px) rotate(-360deg); }
}
@keyframes pulse-ring {
  0%, 100% { r: 18; opacity: .5; }
  50%       { r: 22; opacity: .9; }
}
@keyframes float-up {
  from { transform: translateY(0); }
  to   { transform: translateY(-4px); }
}

/* ── 2. Restaurang & Café: dish plates sliding on belt ── */
.anim-restaurang .belt-track {
  animation: none;
}
.anim-restaurang .plate {
  animation: slide-belt 2.8s linear infinite;
}
.anim-restaurang .plate:nth-child(2) { animation-delay: -.93s; }
.anim-restaurang .plate:nth-child(3) { animation-delay: -1.86s; }
.anim-restaurang .steam {
  animation: steam-rise 1.6s ease-in-out infinite;
  transform-origin: center bottom;
}
.anim-restaurang .steam:nth-child(2) { animation-delay: -.5s; }
@keyframes slide-belt {
  0%   { transform: translateX(-30px); opacity: 0; }
  8%   { opacity: 1; }
  85%  { opacity: 1; }
  100% { transform: translateX(130px); opacity: 0; }
}
@keyframes steam-rise {
  0%   { transform: translateY(0) scaleX(1); opacity: .5; }
  100% { transform: translateY(-12px) scaleX(1.4); opacity: 0; }
}

/* ── 3. Kontorskomplex: calendar tiles flipping in ── */
.anim-kontor .cal-row {
  animation: row-slide 2s var(--ease) infinite;
}
.anim-kontor .cal-row:nth-child(1) { animation-delay: 0s; }
.anim-kontor .cal-row:nth-child(2) { animation-delay: .18s; }
.anim-kontor .cal-row:nth-child(3) { animation-delay: .36s; }
.anim-kontor .cal-dot {
  animation: dot-pop 2s ease-in-out infinite;
}
.anim-kontor .cal-dot.hi {
  animation: dot-pop-hi 2s ease-in-out infinite;
}
.anim-kontor .cal-dot:nth-child(2) { animation-delay: .3s; }
.anim-kontor .cal-dot:nth-child(3) { animation-delay: .6s; }
.anim-kontor .cal-dot:nth-child(4) { animation-delay: .9s; }
.anim-kontor .cal-dot:nth-child(5) { animation-delay: 1.2s; }
@keyframes row-slide {
  0%, 100% { transform: translateX(0); }
  50%      { transform: translateX(3px); }
}
@keyframes dot-pop {
  0%, 80%, 100% { transform: scale(1); }
  40%           { transform: scale(1.25); }
}
@keyframes dot-pop-hi {
  0%, 80%, 100% { transform: scale(1); fill: #1A7A4A; }
  40%           { transform: scale(1.4); fill: #2D9E63; }
}

/* ── 4. Retail: barcode scan sweep ── */
.anim-retail .scan-line {
  animation: scan 2s ease-in-out infinite;
}
.anim-retail .card-fly {
  animation: card-pop 2s ease-in-out infinite;
}
.anim-retail .card-fly:nth-child(2) { animation-delay: -.66s; }
.anim-retail .card-fly:nth-child(3) { animation-delay: -1.32s; }
@keyframes scan {
  0%   { transform: translateY(0);   opacity: 1; }
  50%  { transform: translateY(52px); opacity: .7; }
  100% { transform: translateY(0);   opacity: 1; }
}
@keyframes card-pop {
  0%,100% { transform: translateY(0) scale(1); opacity: .7; }
  33%     { transform: translateY(-6px) scale(1.08); opacity: 1; }
}

/* ─────────────────────────────────────────────────────────────
   REDUCED MOTION (override for branch animations)
───────────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .bc-anim * { animation: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}


/* Branch Card Images */

.img-branch-school{
  background-image: url(../img/branches/swepearl_branach_shool_negative.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
}
.img-branch-officecomplex{
  background-image: url(../img/branches/swepearl_branach_kontorskomplex_negative.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
}

.img-service-honestybar{
  background-image: url(../img/services/swepearl_service_honestybar_negative.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
}