/* =========================================================
   Magnus Företagsredovisning
   Design system - inspired by Apple & Lunar
   Conversion-focused, premium, glossy
   ========================================================= */

:root {
  --bg-0: #05060c;
  --bg-1: #0a0d18;
  --bg-2: #0f1426;
  --surface: #ffffff;
  --surface-soft: #f5f7fb;
  --surface-line: #e8ecf3;

  --ink: #0b0e16;
  --ink-soft: #4a5266;
  --text: #f3f5fa;
  --muted: #9aa4ba;

  --brand-1: #7c5cff;
  --brand-2: #4da3ff;
  --brand-3: #34e0d8;

  --bygg-1: #ff9a3d;
  --bygg-2: #ff6a3d;
  --el-1: #3da9ff;
  --el-2: #2be7ff;
  --vvs-1: #21d4c4;
  --vvs-2: #2bb6ff;
  --konsult-1: #9c6bff;
  --konsult-2: #6b7bff;

  --radius-s: 14px;
  --radius-m: 22px;
  --radius-l: 30px;

  --shadow-s: 0 6px 24px rgba(6, 9, 20, 0.10);
  --shadow-m: 0 18px 50px rgba(6, 9, 20, 0.18);
  --shadow-glow: 0 24px 70px rgba(124, 92, 255, 0.35);

  --maxw: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --font: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Display",
    "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; }
/* Långa svenska ord (besiktningsmän, kontrollansvariga, projektredovisning)
   ska inte spräcka layouten i smala kort/celler på telefoner. lang="sv"
   på <html> gör att hyphens: auto fungerar. */
.price-card, .gloss-btn, .pris-pill, .svc, .cmp-table td, .field label,
.field-hint, .price-passar, .price-inc-head, .review p, .typfall p,
.note-row, .crumbs { overflow-wrap: anywhere; hyphens: auto; }

body {
  font-family: var(--font);
  background: var(--bg-0);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}

.section-title {
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.12;
}

.section-sub {
  margin-top: 16px;
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--ink-soft);
  max-width: 620px;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 16px 0;
  transition: background 0.4s var(--ease), backdrop-filter 0.4s var(--ease),
    padding 0.4s var(--ease), border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background: rgba(6, 8, 16, 0.72);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: -0.01em;
  font-size: 17px;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.brand-mark svg { width: 100%; height: 100%; display: block; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-links a {
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 15px;
  color: var(--muted);
  font-weight: 500;
  transition: color 0.25s, background 0.25s;
}
.nav-links a:hover { color: var(--text); background: rgba(255,255,255,0.06); }
.nav-links a.active { color: var(--text); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px !important;
  border-radius: 999px;
  font-weight: 600;
  color: #fff !important;
  background: linear-gradient(135deg, var(--brand-1), var(--brand-2));
  box-shadow: 0 10px 26px rgba(124, 92, 255, 0.4);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(124, 92, 255, 0.55);
  background: linear-gradient(135deg, var(--brand-1), var(--brand-2)) !important;
}

.menu-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  width: 42px;
  height: 42px;
  border-radius: 12px;
}
.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--text);
  border-radius: 2px;
  transition: 0.3s var(--ease);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 168px 0 90px;
  text-align: center;
  isolation: isolate;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 55% at 20% 10%, rgba(124, 92, 255, 0.30), transparent 60%),
    radial-gradient(55% 50% at 85% 15%, rgba(77, 163, 255, 0.26), transparent 60%),
    radial-gradient(70% 60% at 50% 100%, rgba(52, 224, 216, 0.16), transparent 60%),
    linear-gradient(180deg, var(--bg-1), var(--bg-0));
  animation: bgshift 16s ease-in-out infinite alternate;
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: -2px;
  background-image: radial-gradient(rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(70% 60% at 50% 35%, #000 0%, transparent 75%);
}

@keyframes bgshift {
  0%   { filter: hue-rotate(0deg) saturate(1); }
  100% { filter: hue-rotate(22deg) saturate(1.15); }
}

.hero h1 {
  font-size: clamp(36px, 6.4vw, 76px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  padding-bottom: 0.08em;
  background: linear-gradient(180deg, #ffffff 30%, #b9c2dc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero .tagline {
  margin: 22px auto 0;
  max-width: 640px;
  font-size: clamp(17px, 2vw, 21px);
  color: var(--muted);
}

.hero-meta {
  margin-top: 30px;
  display: flex;
  gap: 26px;
  justify-content: center;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 14px;
}
.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--brand-3);
  box-shadow: 0 0 12px var(--brand-3);
}

/* ---------- Glossy industry buttons ---------- */
.industry-grid {
  margin: 56px auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  max-width: 1180px;
}

.gloss-btn {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  padding: 30px 28px 26px;
  min-height: 240px;
  border-radius: var(--radius-l);
  overflow: hidden;
  color: #fff;
  isolation: isolate;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: var(--shadow-m), inset 0 1px 0 rgba(255, 255, 255, 0.28);
  transition: box-shadow 0.5s var(--ease);
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern" 1, "liga" 1;
}
.gloss-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--grad);
}
.gloss-btn::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 60%;
  height: 100%;
  z-index: -1;
  background: linear-gradient(115deg, transparent 0%, rgba(255,255,255,0.45) 50%, transparent 100%);
  transform: translateX(-160%) skewX(-18deg);
  opacity: 0;
  pointer-events: none;
}
.gloss-btn:hover::after {
  animation: sheen 1.2s var(--ease);
  opacity: 1;
}
.gloss-btn .glass-top {
  position: absolute;
  inset: 0 0 auto 0;
  height: 50%;
  background: linear-gradient(180deg, rgba(255,255,255,0.30), transparent);
  z-index: -1;
  pointer-events: none;
}
.gloss-btn:hover {
  box-shadow: var(--shadow-glow), inset 0 1px 0 rgba(255,255,255,0.4);
}

.gloss-btn[data-industry="bygg"]    { --grad: linear-gradient(150deg, var(--bygg-1), var(--bygg-2)); }
.gloss-btn[data-industry="el"]      { --grad: linear-gradient(150deg, var(--el-1), var(--el-2)); }
.gloss-btn[data-industry="vvs"]     { --grad: linear-gradient(150deg, var(--vvs-1), var(--vvs-2)); }
.gloss-btn[data-industry="konsult"] { --grad: linear-gradient(150deg, var(--konsult-1), var(--konsult-2)); }

.gloss-anim {
  width: 64px;
  height: 64px;
}
.gloss-anim svg { width: 100%; height: 100%; overflow: visible; }

.gloss-btn h3 {
  margin-top: 18px;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.gloss-btn p {
  margin-top: 6px;
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 500;
}
.gloss-btn .go {
  margin-top: auto;
  padding-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14px;
}
.gloss-btn .go svg { transition: transform 0.3s var(--ease); }
.gloss-btn:hover .go svg { transform: translateX(5px); }

/* Looped icon animations - subtle, refined */
.an-bar { transform-origin: bottom; animation: barRise 2.6s ease-in-out infinite; }
.an-bar.b2 { animation-delay: 0.25s; }
.an-bar.b3 { animation-delay: 0.5s; }
@keyframes barRise {
  0%, 100% { transform: scaleY(0.45); opacity: 0.55; }
  45%      { transform: scaleY(1);    opacity: 1; }
}

.an-flow {
  stroke-dasharray: 9 11;
  animation: flow 2.4s linear infinite;
}
@keyframes flow { to { stroke-dashoffset: -40; } }

.an-pulse { animation: pulse 2.4s ease-in-out infinite; transform-origin: center; }
@keyframes pulse {
  0%, 100% { opacity: 0.35; transform: scale(0.8); }
  50%      { opacity: 1;    transform: scale(1.15); }
}

.an-wave {
  stroke-dasharray: 8 8;
  animation: wave 2.6s linear infinite;
}
@keyframes wave { to { stroke-dashoffset: -32; } }

.an-drop { animation: drop 2.8s ease-in-out infinite; transform-origin: center; }
@keyframes drop {
  0%, 60%, 100% { transform: translateY(0); opacity: 0; }
  20%           { opacity: 1; }
  45%           { transform: translateY(10px); opacity: 0; }
}

.an-doc { stroke-dasharray: 110; stroke-dashoffset: 110; animation: docDraw 3s ease-out infinite; }
@keyframes docDraw { 0% { stroke-dashoffset: 110; } 60%, 100% { stroke-dashoffset: 0; } }
.an-line { stroke-dasharray: 16; stroke-dashoffset: 16; animation: lineDraw 3s ease-out infinite; }
.an-line.l1 { animation-delay: 0.5s; }
.an-line.l2 { animation-delay: 0.9s; }
.an-line.l3 { animation-delay: 1.3s; }
@keyframes lineDraw { 0%, 30% { stroke-dashoffset: 16; } 60%, 100% { stroke-dashoffset: 0; } }

@keyframes sheen {
  0%   { transform: translateX(-160%) skewX(-18deg); }
  55%  { transform: translateX(220%)  skewX(-18deg); }
  100% { transform: translateX(220%)  skewX(-18deg); }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  border: 0;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease),
    background 0.3s var(--ease);
}
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--brand-1), var(--brand-2));
  box-shadow: 0 14px 34px rgba(124, 92, 255, 0.45);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 44px rgba(124, 92, 255, 0.6);
}
.btn-ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); transform: translateY(-3px); }

.btn-dark {
  color: #fff;
  background: var(--ink);
  box-shadow: var(--shadow-s);
}
.btn-dark:hover { transform: translateY(-3px); box-shadow: var(--shadow-m); }

/* ---------- Light sections ---------- */
.section {
  background: var(--surface);
  color: var(--ink);
  padding: clamp(70px, 9vw, 130px) 0;
  position: relative;
}
.section.soft { background: var(--surface-soft); }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section.center .section-head { margin-left: auto; margin-right: auto; text-align: center; }
.section.center .section-sub { margin-left: auto; margin-right: auto; }

/* ---------- Trust strip ---------- */
.trust {
  background: var(--bg-0);
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 26px 0;
}
.trust .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 50px;
  justify-content: center;
  align-items: center;
  color: var(--muted);
  font-size: 14.5px;
  font-weight: 500;
}
.trust span { display: inline-flex; align-items: center; gap: 10px; }
.trust svg { color: var(--brand-3); flex-shrink: 0; }

/* ---------- Feature cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--surface-line);
  border-radius: var(--radius-m);
  padding: 30px 28px;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.section.soft .card { background: #fff; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-m); }
.card .ic {
  width: 48px; height: 48px;
  border-radius: 13px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(124,92,255,0.14), rgba(77,163,255,0.14));
  color: var(--brand-1);
  margin-bottom: 18px;
}
.card h4 { font-size: 19px; font-weight: 700; letter-spacing: -0.01em; }
.card p { margin-top: 8px; color: var(--ink-soft); font-size: 15px; }

/* ---------- Reviews ---------- */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.review {
  background: #fff;
  border: 1px solid var(--surface-line);
  border-radius: var(--radius-m);
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: var(--shadow-s);
}
.stars { display: flex; gap: 3px; color: #ffb020; }
.review blockquote { font-size: 16px; color: var(--ink); font-weight: 500; flex: 1; }
.reviewer { display: flex; align-items: center; gap: 14px; }
.avatar {
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 700; color: #fff; font-size: 15px;
}
.avatar.c1 { background: linear-gradient(135deg, var(--bygg-1), var(--bygg-2)); }
.avatar.c2 { background: linear-gradient(135deg, var(--el-1), var(--el-2)); }
.avatar.c3 { background: linear-gradient(135deg, var(--vvs-1), var(--vvs-2)); }
.reviewer .who strong { display: block; font-size: 15px; }
.reviewer .who span { font-size: 13px; color: var(--ink-soft); }
.tag {
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--ink-soft);
  margin-left: auto;
}

/* ---------- Industry page hero ---------- */
.page-hero {
  position: relative;
  padding: 170px 0 80px;
  overflow: hidden;
  isolation: isolate;
}
.page-hero .wrap { position: relative; }
.page-hero-bg {
  position: absolute;
  inset: 0; z-index: -1;
}
.page-hero[data-industry="bygg"] .page-hero-bg {
  background:
    radial-gradient(60% 60% at 80% 10%, rgba(255,154,61,0.32), transparent 60%),
    linear-gradient(180deg, var(--bg-1), var(--bg-0));
}
.page-hero[data-industry="el"] .page-hero-bg {
  background:
    radial-gradient(60% 60% at 80% 10%, rgba(61,169,255,0.34), transparent 60%),
    linear-gradient(180deg, var(--bg-1), var(--bg-0));
}
.page-hero[data-industry="vvs"] .page-hero-bg {
  background:
    radial-gradient(60% 60% at 80% 10%, rgba(33,212,196,0.30), transparent 60%),
    linear-gradient(180deg, var(--bg-1), var(--bg-0));
}
.page-hero .crumbs { font-size: 14px; color: var(--muted); margin-bottom: 22px; }
.page-hero .crumbs a:hover { color: var(--text); }
.page-hero-inner { display: grid; grid-template-columns: 1.3fr 1fr; gap: 50px; align-items: center; }
.page-hero h1 {
  font-size: clamp(36px, 5.6vw, 64px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  padding-bottom: 0.06em;
}
.page-hero .lead {
  margin-top: 20px;
  font-size: clamp(16px, 1.8vw, 20px);
  color: var(--muted);
  max-width: 560px;
}
.page-hero .pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.05);
  margin-bottom: 22px;
}
.page-hero .pill .dot { animation: glowPulse 2s ease-in-out infinite; }
@keyframes glowPulse { 50% { opacity: 0.4; } }
.page-hero .hero-actions { margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap; }

.hero-visual {
  aspect-ratio: 1;
  border-radius: var(--radius-l);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: var(--shadow-m), inset 0 1px 0 rgba(255,255,255,0.25);
  display: grid;
  place-items: center;
}
.page-hero[data-industry="bygg"] .hero-visual { background: linear-gradient(150deg, var(--bygg-1), var(--bygg-2)); }
.page-hero[data-industry="el"] .hero-visual { background: linear-gradient(150deg, var(--el-1), var(--el-2)); }
.page-hero[data-industry="vvs"] .hero-visual { background: linear-gradient(150deg, var(--vvs-1), var(--vvs-2)); }
.page-hero[data-industry="konsult"] .hero-visual { background: linear-gradient(150deg, var(--konsult-1), var(--konsult-2)); }
.hero-visual::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,0.4) 50%, transparent 65%);
  transform: translateX(-130%);
  animation: sheen 6s var(--ease) infinite;
}
.hero-visual .gloss-anim { width: 120px; height: 120px; }
.hero-visual .glass-top {
  position: absolute; inset: 0 0 auto 0; height: 45%;
  background: linear-gradient(180deg, rgba(255,255,255,0.28), transparent);
}

/* ---------- Service list (industry pages) ---------- */
.svc-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.svc {
  display: flex;
  gap: 18px;
  padding: 26px;
  border-radius: var(--radius-m);
  background: #fff;
  border: 1px solid var(--surface-line);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.svc:hover { transform: translateY(-4px); box-shadow: var(--shadow-m); }
.svc .num {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 11px;
  display: grid; place-items: center;
  font-weight: 800;
  color: #fff;
  font-size: 15px;
}
.t-bygg { background: linear-gradient(135deg, var(--bygg-1), var(--bygg-2)); }
.t-el   { background: linear-gradient(135deg, var(--el-1), var(--el-2)); }
.t-vvs  { background: linear-gradient(135deg, var(--vvs-1), var(--vvs-2)); }
.svc h4 { font-size: 18px; font-weight: 700; }
.svc p { margin-top: 6px; color: var(--ink-soft); font-size: 15px; }

/* ---------- Highlight block ---------- */
.highlight {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 50px;
  align-items: center;
}
.highlight.flip { direction: rtl; }
.highlight.flip > * { direction: ltr; }
.highlight .panel {
  border-radius: var(--radius-l);
  padding: 40px;
  color: #fff;
  position: relative;
  overflow: hidden;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-shadow: var(--shadow-m);
}
.highlight .panel.p-bygg { background: linear-gradient(150deg, var(--bygg-1), var(--bygg-2)); }
.highlight .panel.p-el   { background: linear-gradient(150deg, var(--el-1), var(--el-2)); }
.highlight .panel.p-vvs  { background: linear-gradient(150deg, var(--vvs-1), var(--vvs-2)); }
.highlight .panel.p-rot  { background: linear-gradient(150deg, var(--brand-1), var(--brand-2)); }
.highlight .panel .glass-top {
  position: absolute; inset: 0 0 auto 0; height: 50%;
  background: linear-gradient(180deg, rgba(255,255,255,0.26), transparent);
}
.highlight .panel .big {
  font-size: clamp(44px, 6vw, 72px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}
.highlight .panel .cap { margin-top: 10px; font-size: 16px; color: rgba(255,255,255,0.9); }
.highlight h2 { font-size: clamp(26px, 3.4vw, 40px); font-weight: 700; letter-spacing: -0.02em; }
.highlight p.body { margin-top: 16px; color: var(--ink-soft); font-size: 16px; }
.highlight ul.checks { margin-top: 22px; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; font-size: 15.5px; color: var(--ink); }
.checks li svg { flex-shrink: 0; color: #1bbf83; margin-top: 3px; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  text-align: center;
  padding: clamp(70px, 9vw, 120px) 0;
  background: var(--bg-0);
}
.cta-band-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(50% 60% at 50% 0%, rgba(124,92,255,0.4), transparent 60%),
    radial-gradient(60% 60% at 50% 110%, rgba(52,224,216,0.18), transparent 60%),
    var(--bg-0);
}
.cta-band h2 {
  font-size: clamp(30px, 5vw, 52px);
  font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(180deg, #fff, #c2cae0);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.cta-band p { margin: 18px auto 34px; color: var(--muted); max-width: 540px; font-size: 18px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.contact-info h2 { font-size: clamp(28px, 4vw, 44px); font-weight: 800; letter-spacing: -0.02em; }
.contact-info p.lead { margin-top: 16px; color: var(--ink-soft); font-size: 17px; }
.contact-points { margin-top: 34px; display: grid; gap: 20px; }
.cpoint { display: flex; gap: 16px; align-items: flex-start; }
.cpoint .ic {
  width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
  display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, var(--brand-1), var(--brand-2));
}
.cpoint strong { display: block; font-size: 15px; }
.cpoint span { color: var(--ink-soft); font-size: 15px; }

.form {
  background: #fff;
  border: 1px solid var(--surface-line);
  border-radius: var(--radius-l);
  padding: 38px;
  box-shadow: var(--shadow-m);
}
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--radius-s);
  border: 1px solid var(--surface-line);
  background: var(--surface-soft);
  font-family: inherit;
  font-size: 16px;
  color: var(--ink);
  transition: border-color 0.25s, box-shadow 0.25s;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand-1);
  box-shadow: 0 0 0 4px rgba(124, 92, 255, 0.14);
}
.field textarea { resize: vertical; min-height: 120px; }
.field-hint { margin-top: 6px; font-size: 12.5px; color: var(--ink-soft); line-height: 1.4; }
.field label .opt { font-weight: 400; color: var(--ink-soft); font-size: 13px; }
.field label .req { color: #dc2626; font-weight: 700; margin-left: 2px; }
.required-note { margin: 0 0 16px; font-size: 13px; color: var(--ink-soft); }
.required-note .req { color: #dc2626; font-weight: 700; }
.form .btn-primary { width: 100%; justify-content: center; margin-top: 4px; }
.form-note { margin-top: 14px; font-size: 13px; color: var(--ink-soft); text-align: center; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg-0);
  color: var(--muted);
  padding: 70px 0 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.footer-top .brand { color: var(--text); margin-bottom: 16px; }
.footer-col h5 {
  color: var(--text);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-col a, .footer-col p { display: block; font-size: 15px; padding: 6px 0; }
.footer-col a:hover { color: var(--text); }
.footer-about { font-size: 15px; max-width: 320px; }
.footer-bottom {
  margin-top: 28px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13.5px;
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: 0.08s; }
.reveal[data-d="2"] { transition-delay: 0.16s; }
.reveal[data-d="3"] { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .industry-grid { grid-template-columns: repeat(2, 1fr); max-width: 720px; }
}
@media (max-width: 560px) {
  .industry-grid { grid-template-columns: 1fr; max-width: 460px; }
}
@media (max-width: 940px) {
  .cards, .reviews-grid { grid-template-columns: 1fr; }
  .page-hero-inner { grid-template-columns: 1fr; }
  .hero-visual { max-width: 360px; margin-top: 10px; }
  .svc-list { grid-template-columns: 1fr; }
  .highlight, .highlight.flip { grid-template-columns: 1fr; direction: ltr; }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-top { grid-template-columns: 1fr 1fr; }

  .menu-toggle { display: block; }
  .nav-links {
    position: fixed;
    inset: 64px 16px auto 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 16px;
    background: rgba(10, 13, 24, 0.96);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: 0.3s var(--ease);
  }
  .nav-links.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-links a { padding: 13px 16px; }
  .nav-cta { justify-content: center; }
}

@media (max-width: 560px) {
  .wrap { padding: 0 18px; }
  .form { padding: 26px; }
  .form .row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .hero { padding-top: 140px; }
}

/* =========================================================
   Pricing page components
   ========================================================= */

.tabs {
  display: inline-flex;
  gap: 4px;
  padding: 5px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  backdrop-filter: blur(12px);
}
.tab {
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14.5px;
  color: var(--muted);
  cursor: pointer;
  border: 0;
  background: transparent;
  transition: 0.25s var(--ease);
  font-family: inherit;
}
.tab:hover { color: var(--text); }
.tab.active { color: #fff; background: linear-gradient(135deg, var(--brand-1), var(--brand-2)); box-shadow: 0 8px 20px rgba(124,92,255,.35); }
.tab[data-ind="bygg"].active { background: linear-gradient(135deg, var(--bygg-1), var(--bygg-2)); box-shadow: 0 8px 20px rgba(255,154,61,.35); }
.tab[data-ind="el"].active   { background: linear-gradient(135deg, var(--el-1), var(--el-2));   box-shadow: 0 8px 20px rgba(61,169,255,.35); }
.tab[data-ind="vvs"].active  { background: linear-gradient(135deg, var(--vvs-1), var(--vvs-2)); box-shadow: 0 8px 20px rgba(33,212,196,.35); }

.seg {
  display: inline-flex;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  padding: 5px;
  gap: 4px;
}
.seg.light { background: var(--surface-soft); border-color: var(--surface-line); }
.seg button {
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14.5px;
  color: var(--muted);
  cursor: pointer;
  border: 0;
  background: transparent;
  transition: 0.25s var(--ease);
  font-family: inherit;
}
.seg.light button { color: var(--ink-soft); }
.seg button:hover { color: var(--text); }
.seg.light button:hover { color: var(--ink); }
.seg button.active { color: #fff; background: linear-gradient(135deg, var(--brand-1), var(--brand-2)); box-shadow: 0 6px 16px rgba(124,92,255,.3); }

.toolbar { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; margin-top: 28px; }
.toolbar .label { font-size: 13px; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; font-weight: 600; }

.picker {
  background: #fff;
  border: 1px solid var(--surface-line);
  border-radius: var(--radius-l);
  padding: 32px;
  box-shadow: var(--shadow-s);
  margin-bottom: 28px;
}
.picker-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 26px; flex-wrap: wrap; }
.picker-head h3 { font-size: 22px; font-weight: 700; letter-spacing: -0.01em; color: var(--ink); }
.picker-head p { color: var(--ink-soft); font-size: 14.5px; margin-top: 6px; }
.rec-block {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.rec-price {
  padding: 11px 18px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--brand-1), var(--brand-2));
  color: #fff;
  display: flex;
  align-items: baseline;
  gap: 5px;
  box-shadow: 0 8px 20px rgba(124, 92, 255, 0.3);
  white-space: nowrap;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.rec-price strong {
  font-weight: 800;
  font-size: 22px;
  line-height: 1;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}
.rec-price small {
  font-size: 12px;
  font-weight: 600;
  opacity: 0.9;
}
.rec-tag {
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  background: var(--surface-soft);
  border: 1px solid var(--surface-line);
  white-space: nowrap;
}
.rec-tag span { font-weight: 800; color: var(--brand-1); }
@media (max-width: 520px) {
  .rec-block { justify-content: flex-start; }
}
.picker-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.picker-field label { display: flex; justify-content: space-between; align-items: baseline; font-weight: 600; font-size: 14px; color: var(--ink); margin-bottom: 12px; }
.picker-field label .val { font-weight: 800; color: var(--brand-1); font-size: 17px; font-variant-numeric: tabular-nums; }
.picker-field input[type=range] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand-1) 0%, var(--brand-2) var(--p,30%), var(--surface-line) var(--p,30%), var(--surface-line) 100%);
  outline: none;
  cursor: pointer;
}
.picker-field input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--brand-1);
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(124,92,255,.45);
  transition: transform 0.2s var(--ease);
}
.picker-field input[type=range]::-webkit-slider-thumb:hover { transform: scale(1.12); }
.picker-field input[type=range]::-moz-range-thumb {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--brand-1);
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(124,92,255,.45);
}
.picker-ticks { display: flex; justify-content: space-between; margin-top: 10px; font-size: 12px; color: var(--ink-soft); }

.price-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 14px; align-items: stretch; }
.price-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--surface-line);
  border-radius: var(--radius-l);
  padding: 30px 26px 28px;
  display: flex;
  flex-direction: column;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-m); }
.price-card.popular {
  border-color: transparent;
  box-shadow: 0 24px 60px rgba(124,92,255,.22);
  transform: translateY(-12px);
  background: #fff;
  z-index: 2;
}
.price-card.popular::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;
  background: linear-gradient(150deg, var(--brand-1), var(--brand-2), var(--brand-3));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.price-card.popular:hover { transform: translateY(-16px); }
.price-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 16px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--brand-1), var(--brand-2));
  color: #fff;
  box-shadow: 0 8px 20px rgba(124,92,255,.4);
  white-space: nowrap;
  display: none;
}
.price-card.popular .price-badge { display: block; }
.price-name {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-1);
  margin-bottom: 6px;
}
.price-tag { display: flex; align-items: baseline; gap: 6px; margin-top: 4px; flex-wrap: nowrap; white-space: nowrap; }
.price-tag .amount { font-size: 42px; font-weight: 800; letter-spacing: -0.03em; color: var(--ink); line-height: 1; font-variant-numeric: tabular-nums; white-space: nowrap; }
.price-tag .unit { font-size: 14px; color: var(--ink-soft); font-weight: 600; white-space: nowrap; }
.price-meta { margin-top: 8px; font-size: 12.5px; color: var(--ink-soft); }
.price-meta strong { color: var(--ink); font-weight: 600; }
.price-passar {
  margin-top: 16px;
  padding: 11px 14px;
  background: var(--surface-soft);
  border-radius: 12px;
  font-size: 13.5px;
  color: var(--ink);
  font-weight: 500;
  line-height: 1.4;
}
.price-inc-head { margin-top: 22px; font-size: 12px; font-weight: 800; color: var(--ink-soft); letter-spacing: 0.08em; text-transform: uppercase; }
.price-list { margin-top: 12px; display: grid; gap: 10px; flex: 1; padding: 0; list-style: none; }
.price-list li { font-size: 14px; color: var(--ink); line-height: 1.5; padding-left: 26px; position: relative; }
.price-list li svg { position: absolute; left: 0; top: 4px; color: #1bbf83; }
.price-list li strong { font-weight: 700; }
.price-meta strong { white-space: nowrap; }
.price-cta { margin-top: 22px; width: 100%; justify-content: center; }
.price-card:not(.popular) .price-cta {
  background: var(--ink);
  color: #fff;
  box-shadow: none;
}
.price-card:not(.popular) .price-cta:hover {
  background: #1c2030;
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(0,0,0,.18);
}

.note-row {
  margin-top: 22px;
  padding: 16px 22px;
  background: rgba(124,92,255,.06);
  border: 1px solid rgba(124,92,255,.18);
  border-radius: 16px;
  font-size: 14px;
  color: var(--ink);
  text-align: center;
}
.note-row strong { color: var(--brand-1); }

.cmp-wrap {
  margin-top: 56px;
  background: #fff;
  border: 1px solid var(--surface-line);
  border-radius: var(--radius-l);
  overflow: hidden;
}
.cmp-head {
  padding: 22px 28px;
  border-bottom: 1px solid var(--surface-line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.cmp-head h3 { font-size: 20px; font-weight: 700; color: var(--ink); letter-spacing: -0.01em; }
.cmp-scroll { overflow-x: auto; }
.cmp-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 640px; }
.cmp-table th, .cmp-table td { padding: 14px 16px; text-align: center; border-bottom: 1px solid var(--surface-line); color: var(--ink); }
.cmp-table th:first-child, .cmp-table td:first-child { text-align: left; font-weight: 500; color: var(--ink); }
.cmp-table thead th { background: var(--surface-soft); font-weight: 700; font-size: 13.5px; letter-spacing: 0.02em; }
.cmp-table thead th.col-popular { background: linear-gradient(135deg, rgba(124,92,255,.12), rgba(77,163,255,.12)); color: var(--brand-1); }
.cmp-table tbody tr:hover { background: var(--surface-soft); }
.cmp-table tbody tr:last-child td { border-bottom: 0; }
.cmp-table .y { color: #1bbf83; font-weight: 800; font-size: 17px; }
.cmp-table .n { color: #c0c6d4; font-weight: 700; }
.cmp-table .v { font-weight: 600; font-size: 13.5px; }
.cmp-row-hidden { display: none; }
.cmp-wrap.expanded .cmp-row-hidden { display: table-row; }

.bolag-info {
  margin-top: 48px;
  background: #fff;
  border: 1px solid var(--surface-line);
  border-radius: var(--radius-l);
  padding: 36px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  align-items: start;
}
.bolag-info .ic-wrap {
  width: 56px; height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--brand-1), var(--brand-2));
  display: grid; place-items: center;
  color: #fff;
  flex-shrink: 0;
}
.bolag-info h3 { font-size: 22px; font-weight: 700; letter-spacing: -0.01em; color: var(--ink); margin-bottom: 6px; }
.bolag-info .lead { color: var(--ink-soft); font-size: 15px; margin-bottom: 22px; }
.bolag-info dl { display: grid; grid-template-columns: 180px 1fr; gap: 14px 24px; }
.bolag-info dt { font-weight: 600; font-size: 14px; color: var(--ink-soft); }
.bolag-info dd { font-size: 14.5px; color: var(--ink); }
.bolag-info dd strong { font-weight: 700; }
.bolag-note { margin-top: 22px; padding: 14px 18px; background: var(--surface-soft); border-radius: 12px; font-size: 14px; color: var(--ink-soft); line-height: 1.55; }

.addons {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.addon {
  background: #fff;
  border: 1px solid var(--surface-line);
  border-radius: var(--radius-m);
  padding: 22px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.addon:hover { transform: translateY(-3px); box-shadow: var(--shadow-s); }
.addon .ic {
  width: 42px; height: 42px;
  border-radius: 12px;
  display: grid; place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--brand-1), var(--brand-2));
  flex-shrink: 0;
}
.addon h4 { font-size: 15.5px; font-weight: 700; color: var(--ink); }
.addon p { font-size: 13.5px; color: var(--ink-soft); margin-top: 4px; }
.addon .price { margin-top: 8px; font-size: 19px; font-weight: 800; color: var(--ink); letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.addon .price small { font-size: 12px; font-weight: 500; color: var(--ink-soft); margin-left: 2px; }
.addon.free { background: linear-gradient(150deg, #effff7, #fff); border-color: #c0eed4; }
.addon.free .ic { background: linear-gradient(135deg, #1bbf83, #2bb6ff); }
.addon.free .price { color: #1bbf83; }

.reglab { margin-top: 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.reg-card { background: #fff; border: 1px solid var(--surface-line); border-radius: var(--radius-m); padding: 26px; }
.reg-card h3 { font-size: 17px; font-weight: 700; display: flex; align-items: center; gap: 12px; color: var(--ink); }
.reg-card h3 .icd { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: #fff; flex-shrink: 0; background: linear-gradient(135deg, var(--brand-1), var(--brand-2)); }
.reg-card[data-acc="bygg"] h3 .icd { background: linear-gradient(135deg, var(--bygg-1), var(--bygg-2)); }
.reg-card[data-acc="el"]   h3 .icd { background: linear-gradient(135deg, var(--el-1), var(--el-2)); }
.reg-card[data-acc="vvs"]  h3 .icd { background: linear-gradient(135deg, var(--vvs-1), var(--vvs-2)); }
.reg-card p { margin-top: 12px; color: var(--ink-soft); font-size: 14.5px; line-height: 1.6; }
.reg-card p strong { color: var(--ink); font-weight: 700; }
.reg-card .ex {
  margin-top: 14px;
  padding: 14px 16px;
  background: var(--surface-soft);
  border-radius: 12px;
  font-size: 13.5px;
  color: var(--ink);
  line-height: 1.55;
}
.reg-card .ex strong { font-weight: 800; color: var(--brand-1); }

.faq { margin-top: 32px; display: grid; gap: 10px; max-width: 820px; margin-left: auto; margin-right: auto; }
.faq details { background: #fff; border: 1px solid var(--surface-line); border-radius: var(--radius-m); overflow: hidden; transition: 0.25s var(--ease); }
.faq details[open] { box-shadow: var(--shadow-s); }
.faq summary { padding: 20px 26px; font-weight: 600; font-size: 16px; color: var(--ink); cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 10px; height: 10px; border-right: 2px solid var(--ink-soft); border-bottom: 2px solid var(--ink-soft); transform: rotate(45deg); transition: transform .25s var(--ease); flex-shrink: 0; }
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq details p { padding: 0 26px 22px; color: var(--ink-soft); font-size: 14.5px; line-height: 1.7; }

@media (max-width: 980px) {
  .price-grid { grid-template-columns: 1fr 1fr; }
  .price-card.popular { transform: none; }
  .price-card.popular:hover { transform: translateY(-6px); }
  .addons { grid-template-columns: 1fr; }
  .reglab { grid-template-columns: 1fr; }
  .bolag-info { grid-template-columns: 1fr; }
  .bolag-info dl { grid-template-columns: 1fr; gap: 8px; }
  .picker-grid { grid-template-columns: 1fr; gap: 22px; }
  .picker-head { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 620px) {
  .price-grid { grid-template-columns: 1fr; }
  .price-card.popular { transform: none; }
  .toolbar { flex-direction: column; align-items: stretch; }
  .tabs, .seg { width: 100%; justify-content: center; }
}

/* Compact price teaser strip (used on industry pages) */
.pris-teaser {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  max-width: 880px;
  margin: 0 auto 36px;
}
.pris-pill {
  background: #fff;
  border: 1px solid var(--surface-line);
  border-radius: 18px;
  padding: 22px 14px;
  text-align: center;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.pris-pill:hover { transform: translateY(-4px); box-shadow: var(--shadow-s); }
.pris-pill.featured {
  border-color: transparent;
  box-shadow: 0 14px 36px rgba(124,92,255,.18);
  position: relative;
  overflow: hidden;
}
.pris-pill.featured::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;
  background: linear-gradient(135deg, var(--brand-1), var(--brand-2));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.pris-pill .label {
  font-size: 11px;
  font-weight: 800;
  color: var(--brand-1);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.pris-pill .amount {
  font-size: 24px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-top: 6px;
  font-variant-numeric: tabular-nums;
}
.pris-pill .amount small {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-soft);
  margin-left: 3px;
}
.pris-pill .hint {
  margin-top: 4px;
  font-size: 11.5px;
  color: var(--ink-soft);
}
@media (max-width: 720px) {
  .pris-teaser { grid-template-columns: 1fr 1fr; }
}

/* Onboarding strip - subtle teaser for free onboarding */
.onb-strip {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 11px 20px;
  background: rgba(27, 191, 131, 0.10);
  border: 1px solid rgba(27, 191, 131, 0.35);
  border-radius: 999px;
  font-size: 13.5px;
  color: var(--text);
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
  line-height: 1.3;
}
.onb-strip:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(27, 191, 131, 0.22); }
.onb-strip .onb-ic {
  width: 28px; height: 28px;
  border-radius: 8px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, #1bbf83, #2bb6ff);
  color: #fff;
  flex-shrink: 0;
}
.onb-strip strong { font-weight: 800; color: #34e0d8; }
.onb-strip .arrow { color: var(--muted); margin-left: 2px; transition: transform 0.25s var(--ease), color 0.25s var(--ease); flex-shrink: 0; }
.onb-strip:hover .arrow { transform: translateX(4px); color: var(--text); }

/* Light variant on light sections */
.section .onb-strip, .section.soft .onb-strip {
  color: var(--ink);
  background: linear-gradient(150deg, #effff7, #f8fffb);
  border-color: #b8e8cd;
}
.section .onb-strip strong, .section.soft .onb-strip strong { color: #1bbf83; }
.section .onb-strip .arrow, .section.soft .onb-strip .arrow { color: var(--ink-soft); }
.section .onb-strip:hover .arrow, .section.soft .onb-strip:hover .arrow { color: var(--ink); }

.onb-wrap-hero { margin-top: 26px; display: flex; justify-content: center; }
.onb-wrap-soft { margin-top: 22px; display: flex; justify-content: center; }

@media (max-width: 640px) {
  .onb-strip { font-size: 12.5px; padding: 9px 14px; gap: 9px; }
  .onb-strip .label-full { display: none; }
}
@media (min-width: 641px) {
  .onb-strip .label-short { display: none; }
}

/* =========================================================
   Accessibility: visible focus
   ========================================================= */
*:focus { outline: none; }
*:focus-visible {
  outline: 3px solid var(--brand-2);
  outline-offset: 3px;
  border-radius: 6px;
}
.btn:focus-visible,
.nav-cta:focus-visible,
.gloss-btn:focus-visible,
.pris-pill:focus-visible,
.tab:focus-visible,
.seg button:focus-visible,
.cmp-pick:focus-visible,
.onb-strip:focus-visible {
  outline: 3px solid var(--brand-2);
  outline-offset: 4px;
  box-shadow: 0 0 0 6px rgba(77, 163, 255, 0.18);
}
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: none;
  border-color: var(--brand-1);
  box-shadow: 0 0 0 4px rgba(124, 92, 255, 0.18);
}
@media (prefers-reduced-motion: reduce) {
  .gloss-btn::after,
  .hero-visual::after,
  .hero-bg { animation: none !important; }
}

/* =========================================================
   Trust sections: process, monthly delivery, what to send
   ========================================================= */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  counter-reset: step;
  margin-top: 14px;
}
.step {
  background: #fff;
  border: 1px solid var(--surface-line);
  border-radius: var(--radius-m);
  padding: 26px 24px 24px;
  position: relative;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.step:hover { transform: translateY(-3px); box-shadow: var(--shadow-s); }
.step-num {
  width: 34px; height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--brand-1), var(--brand-2));
  color: #fff;
  font-weight: 800;
  display: grid; place-items: center;
  font-size: 14px;
  margin-bottom: 14px;
  font-variant-numeric: tabular-nums;
}
.step h4 { font-size: 16.5px; font-weight: 700; color: var(--ink); letter-spacing: -0.01em; }
.step p { font-size: 14px; color: var(--ink-soft); margin-top: 6px; line-height: 1.55; }
@media (max-width: 880px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

.duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 14px;
}
.duo .duo-card {
  background: #fff;
  border: 1px solid var(--surface-line);
  border-radius: var(--radius-m);
  padding: 28px 26px;
}
.duo .duo-card h4 {
  font-size: 17px; font-weight: 700; color: var(--ink);
  letter-spacing: -0.01em;
  display: flex; align-items: center; gap: 12px; margin-bottom: 14px;
}
.duo .duo-card h4 .ic {
  width: 32px; height: 32px;
  border-radius: 9px;
  display: grid; place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--brand-1), var(--brand-2));
  flex-shrink: 0;
}
.duo ul.bullets { display: grid; gap: 10px; }
.duo ul.bullets li {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 14.5px; color: var(--ink); line-height: 1.5;
}
.duo ul.bullets li svg { flex-shrink: 0; color: #1bbf83; margin-top: 3px; }
@media (max-width: 720px) { .duo { grid-template-columns: 1fr; } }

.trust-card {
  margin-top: 32px;
  background: linear-gradient(150deg, #f4f7ff, #ffffff);
  border: 1px solid #dce5f5;
  border-radius: var(--radius-l);
  padding: 30px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: start;
}
.trust-card .ic {
  width: 50px; height: 50px;
  border-radius: 14px;
  display: grid; place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--brand-1), var(--brand-2));
  flex-shrink: 0;
}
.trust-card h4 { font-size: 18px; font-weight: 700; color: var(--ink); }
.trust-card p { font-size: 14.5px; color: var(--ink-soft); margin-top: 6px; line-height: 1.6; }
.trust-card .pills {
  display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px;
}
.trust-card .pills span {
  font-size: 12.5px; font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--surface-line);
  color: var(--ink-soft);
}
@media (max-width: 600px) { .trust-card { grid-template-columns: 1fr; } }

/* Typfall (industry case examples) */
.typfall {
  background: linear-gradient(150deg, rgba(124,92,255,0.04), rgba(77,163,255,0.04));
  border: 1px solid var(--surface-line);
  border-radius: var(--radius-l);
  padding: 32px;
  margin-top: 14px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: start;
}
.typfall .avatar-big {
  width: 64px; height: 64px;
  border-radius: 18px;
  display: grid; place-items: center;
  color: #fff;
  font-weight: 800;
  font-size: 22px;
  flex-shrink: 0;
}
.typfall h4 {
  font-size: 18px; font-weight: 700; color: var(--ink);
  letter-spacing: -0.01em;
}
.typfall .role {
  font-size: 13px; color: var(--ink-soft); margin-bottom: 12px;
  font-weight: 500;
}
.typfall p { font-size: 15px; color: var(--ink); line-height: 1.65; }
.typfall p strong { color: var(--brand-1); font-weight: 700; }
.typfall .marker {
  display: inline-block;
  margin-top: 14px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(124,92,255,0.08);
  color: var(--brand-1);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
@media (max-width: 600px) { .typfall { grid-template-columns: 1fr; } .typfall .avatar-big { width: 56px; height: 56px; } }

/* Picker hint - explains why a paket is recommended */
.rec-summary {
  margin-top: 18px;
  padding: 14px 18px;
  background: var(--surface-soft);
  border-radius: 14px;
  border: 1px solid var(--surface-line);
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.55;
}
.rec-summary strong { color: var(--ink); font-weight: 700; }
.rec-summary .why { color: var(--brand-1); font-weight: 600; }

/* Mobile paket-comparison */
.mob-cmp { display: none; margin-top: 22px; }
.mob-cmp-pick {
  display: flex; flex-wrap: wrap; gap: 8px; padding: 6px;
  background: var(--surface-soft); border: 1px solid var(--surface-line);
  border-radius: 999px; margin-bottom: 18px;
}
.cmp-pick {
  padding: 9px 14px;
  border-radius: 999px;
  background: transparent;
  border: 0;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
  cursor: pointer;
  transition: 0.2s var(--ease);
}
.cmp-pick.on {
  background: linear-gradient(135deg, var(--brand-1), var(--brand-2));
  color: #fff;
  box-shadow: 0 4px 12px rgba(124,92,255,0.3);
}
.mob-cmp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.mob-cmp-grid.single { grid-template-columns: 1fr; }
.mob-cmp-col {
  background: #fff;
  border: 1px solid var(--surface-line);
  border-radius: var(--radius-m);
  overflow: hidden;
}
.mob-cmp-col header {
  padding: 14px;
  text-align: center;
  background: var(--surface-soft);
  border-bottom: 1px solid var(--surface-line);
}
.mob-cmp-col header .n { font-size: 12px; font-weight: 800; color: var(--brand-1); letter-spacing: 0.08em; text-transform: uppercase; }
.mob-cmp-col header .p { font-size: 20px; font-weight: 800; color: var(--ink); margin-top: 4px; font-variant-numeric: tabular-nums; }
.mob-cmp-col header .p small { font-size: 11px; color: var(--ink-soft); font-weight: 600; margin-left: 2px; }
.mob-cmp-col dl { padding: 12px; display: grid; gap: 0; margin: 0; }
.mob-cmp-col dl > div {
  padding: 9px 4px;
  border-bottom: 1px solid var(--surface-line);
  display: grid; gap: 4px;
}
.mob-cmp-col dl > div:last-child { border-bottom: 0; }
.mob-cmp-col dt { font-size: 11.5px; color: var(--ink-soft); font-weight: 500; }
.mob-cmp-col dd { font-size: 13px; color: var(--ink); font-weight: 600; margin: 0; }
.mob-cmp-col dd.y { color: #1bbf83; font-weight: 800; }
.mob-cmp-col dd.n { color: #c0c6d4; font-weight: 700; }
@media (max-width: 760px) {
  .cmp-wrap { display: none; }
  .mob-cmp { display: block; }
}

/* Form consent */
.consent {
  margin: 6px 0 14px;
  padding: 14px;
  background: var(--surface-soft);
  border-radius: 12px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  border: 1px solid var(--surface-line);
}
.consent input[type="checkbox"] {
  margin-top: 2px;
  width: 18px; height: 18px;
  accent-color: var(--brand-1);
  flex-shrink: 0;
  cursor: pointer;
}
.consent label {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.5;
  cursor: pointer;
  margin: 0;
  font-weight: 500;
}
.consent label a { color: var(--brand-1); font-weight: 600; }
.consent label a:hover { text-decoration: underline; }

/* Form success state */
.form-success {
  text-align: center;
  padding: 30px 20px;
}
.form-success .ic {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1bbf83, #2bb6ff);
  color: #fff;
  display: grid; place-items: center;
  margin: 0 auto 18px;
}
.form-success h3 { font-size: 22px; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.form-success p { font-size: 15px; color: var(--ink-soft); line-height: 1.6; }
.form-success p strong { color: var(--ink); font-weight: 600; }

/* =========================================================
   Cookie consent banner & modal
   ========================================================= */
.cookie-banner {
  position: fixed; bottom: 24px; left: 24px; right: 24px;
  max-width: 720px; margin: 0 auto;
  background: rgba(8, 12, 28, 0.96);
  color: #fff;
  border-radius: 18px;
  padding: 22px 26px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.06);
  z-index: 100;
  transform: translateY(140%);
  transition: transform 0.55s var(--ease);
  backdrop-filter: saturate(180%) blur(10px);
}
.cookie-banner.show { transform: translateY(0); }
.cookie-banner h4 { font-size: 16px; font-weight: 700; letter-spacing: -0.01em; }
.cookie-banner p { font-size: 13.5px; color: rgba(255,255,255,0.72); line-height: 1.55; margin-top: 6px; }
.cookie-banner p a { color: #6db8ff; text-decoration: underline; }
.cookie-banner .actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.cookie-banner button {
  padding: 10px 18px;
  border-radius: 999px;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  border: 0;
  cursor: pointer;
  transition: 0.2s var(--ease);
}
.cookie-banner .accept { background: linear-gradient(135deg, var(--brand-1), var(--brand-2)); color: #fff; box-shadow: 0 6px 18px rgba(124,92,255,.35); }
.cookie-banner .accept:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(124,92,255,.5); }
.cookie-banner .reject, .cookie-banner .custom {
  background: rgba(255,255,255,0.08); color: #fff;
  border: 1px solid rgba(255,255,255,0.12);
}
.cookie-banner .reject:hover, .cookie-banner .custom:hover { background: rgba(255,255,255,0.16); }
@media (max-width: 540px) {
  .cookie-banner { left: 12px; right: 12px; bottom: 12px; padding: 18px 20px; border-radius: 16px; }
}

.cookie-modal-backdrop {
  position: fixed; inset: 0; background: rgba(8,12,28,0.72);
  z-index: 200; opacity: 0; pointer-events: none;
  transition: opacity 0.3s var(--ease);
  backdrop-filter: blur(4px);
}
.cookie-modal-backdrop.show { opacity: 1; pointer-events: auto; }
.cookie-modal {
  position: fixed; top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  background: #fff; border-radius: 22px;
  max-width: 540px; width: calc(100% - 32px);
  padding: 32px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.3);
  z-index: 201;
  opacity: 0; pointer-events: none;
  transition: 0.3s var(--ease);
  max-height: calc(100vh - 60px);
  overflow-y: auto;
}
.cookie-modal.show { opacity: 1; transform: translate(-50%, -50%) scale(1); pointer-events: auto; }
.cookie-modal h3 { font-size: 22px; font-weight: 700; color: var(--ink); letter-spacing: -0.01em; }
.cookie-modal > p { font-size: 14.5px; color: var(--ink-soft); margin-top: 10px; line-height: 1.6; }
.cookie-modal .cat-list { margin-top: 20px; display: grid; gap: 10px; }
.cookie-modal .cat {
  padding: 14px 16px;
  border: 1px solid var(--surface-line);
  border-radius: 12px;
  background: var(--surface-soft);
}
.cookie-modal .cat-head {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.cookie-modal .cat-head strong { font-size: 14.5px; color: var(--ink); font-weight: 700; }
.cookie-modal .cat-head .state {
  font-size: 11px; font-weight: 800; padding: 3px 10px; border-radius: 999px;
  color: #1bbf83; background: rgba(27, 191, 131, 0.12);
  letter-spacing: 0.04em; text-transform: uppercase;
}
.cookie-modal .cat-head .state.off { color: var(--ink-soft); background: rgba(120, 130, 150, 0.1); }
.cookie-modal .cat p { margin-top: 6px; font-size: 13px; color: var(--ink-soft); line-height: 1.5; }
.cookie-modal .cat code { background: #fff; padding: 1px 6px; border-radius: 4px; font-size: 12px; border: 1px solid var(--surface-line); }
.cookie-modal .modal-actions { display: flex; gap: 10px; margin-top: 22px; flex-wrap: wrap; }
.cookie-modal .modal-actions button {
  flex: 1; min-width: 120px;
  padding: 12px 20px; border-radius: 999px; font: inherit; font-size: 14px; font-weight: 600;
  border: 0; cursor: pointer; transition: 0.2s var(--ease);
}
.cookie-modal .modal-actions .accept {
  background: linear-gradient(135deg, var(--brand-1), var(--brand-2));
  color: #fff;
  box-shadow: 0 6px 18px rgba(124,92,255,.35);
}
.cookie-modal .modal-actions .accept:hover { transform: translateY(-1px); }
.cookie-modal .modal-actions .reject {
  background: var(--surface-soft);
  color: var(--ink);
  border: 1px solid var(--surface-line);
}

/* =========================================================
   Integritet (privacy) page
   ========================================================= */
.policy {
  max-width: 760px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--surface-line);
  border-radius: var(--radius-l);
  padding: 50px 56px;
  box-shadow: 0 6px 30px rgba(20,30,60,0.04);
}
.policy h1 { font-size: clamp(28px, 4vw, 38px); font-weight: 800; color: var(--ink); letter-spacing: -0.02em; }
.policy h2 { font-size: 19px; font-weight: 700; color: var(--ink); margin-top: 28px; letter-spacing: -0.01em; }
.policy p { font-size: 15.5px; color: var(--ink); line-height: 1.7; margin-top: 12px; }
.policy ul { margin-top: 12px; padding-left: 20px; }
.policy ul li { font-size: 15.5px; color: var(--ink); line-height: 1.7; margin-top: 6px; }
.policy address {
  font-style: normal;
  font-size: 14.5px;
  color: var(--ink);
  line-height: 1.7;
  margin-top: 14px;
  padding: 18px 20px;
  background: var(--surface-soft);
  border-radius: 14px;
  border: 1px solid var(--surface-line);
}
.policy address strong { font-weight: 700; }
.policy .updated {
  margin-top: 32px;
  font-size: 12.5px;
  color: var(--ink-soft);
}
@media (max-width: 640px) { .policy { padding: 36px 28px; } }

/* Konsult industry colors and avatar tone */
.t-konsult { background: linear-gradient(135deg, #5ecbff, #6b7bff); }
.num.t-konsult { color: #4a6bff; background: rgba(74, 107, 255, 0.08); }
[data-industry="konsult"] .page-hero-bg { background: radial-gradient(ellipse at top left, rgba(94, 203, 255, 0.18), transparent 60%), radial-gradient(ellipse at bottom right, rgba(107, 123, 255, 0.18), transparent 60%); }
[data-industry="konsult"] .pill .dot { background: #4a6bff; }

.konsult-only { display: none; }
.is-konsult-mode .hantverk-only { display: none !important; }
.is-konsult-mode .konsult-only { display: list-item; }
.is-konsult-mode tr.konsult-only { display: table-row; }
.is-konsult-mode div.konsult-only,
.is-konsult-mode section.konsult-only,
.is-konsult-mode p.konsult-only,
.is-konsult-mode span.konsult-only { display: block; }

/* =========================================================
   Responsive polish - phones (iOS/Android) & smaller desktops
   ========================================================= */
html, body { overflow-x: hidden; }

/* Toolbar with 4 tabs (Bygg/El/VVS/Konsult) needs to wrap on phones */
.toolbar { justify-content: center; }
.toolbar .tabs, .toolbar .seg { max-width: 100%; flex-wrap: wrap; justify-content: center; }
@media (max-width: 720px) {
  .toolbar { gap: 10px; }
  .tab { font-size: 13px; padding: 9px 14px; }
  .seg button { font-size: 13px; padding: 9px 14px; }
}
@media (max-width: 420px) {
  .tab { font-size: 12px; padding: 8px 12px; }
  .seg button { font-size: 12px; padding: 8px 12px; }
  .tabs { gap: 2px; padding: 4px; }
}

/* Pris-teaser pills - more comfortable wrapping under 720px */
@media (max-width: 720px) {
  .pris-teaser { grid-template-columns: 1fr 1fr; max-width: 480px; gap: 12px; }
}
@media (max-width: 380px) {
  .pris-teaser { grid-template-columns: 1fr; max-width: 320px; }
}

/* Hero actions stack on phones */
@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: stretch; gap: 10px; }
  .hero-actions .btn { justify-content: center; }
}

/* Touch targets - ensure min 44px tap area on phones */
@media (max-width: 940px) {
  .btn, .nav-cta, .pris-pill, .price-cta, .tab, .seg button, .cmp-pick { min-height: 44px; }
  .menu-toggle { width: 44px; height: 44px; }
}

/* Section padding compresses on small screens */
@media (max-width: 540px) {
  .section { padding: clamp(48px, 10vw, 64px) 0; }
  .section-head { margin-bottom: 36px; }
  .section-title { font-size: clamp(24px, 6vw, 32px); }
  .wrap { padding: 0 18px; }
}

/* Picker stack vertically on phones - rec block under head */
@media (max-width: 640px) {
  .picker-head { flex-direction: column; align-items: stretch; }
  .rec-block { justify-content: space-between; }
  .picker { padding: 22px 20px; }
  .picker-grid { grid-template-columns: 1fr; gap: 24px; }
}

/* Footer columns 1fr on phones for breathing room */
@media (max-width: 600px) {
  .footer-top, .footer-grid { grid-template-columns: 1fr !important; gap: 28px; }
}

/* Comparison row note - reduce padding on phones */
@media (max-width: 540px) {
  .note-row { padding: 16px 18px; font-size: 13px; }
}

/* Page hero on phones - tighter padding and h1 scaling */
@media (max-width: 540px) {
  .page-hero { padding: 90px 0 56px; }
  .page-hero h1 { font-size: clamp(26px, 7vw, 36px); }
  .page-hero .lead { font-size: 15px; }
}

/* Avoid horizontal overflow from gloss-anim svg sizing */
.hero-visual, .gloss-anim { max-width: 100%; }

/* iOS Safari - 100vh fix */
@supports (height: 100dvh) {
  .hero { min-height: auto; }
}

