/* =========================================================
   MP Byggteknik AB — Premium redesign
   Dark graphite + orange accent, subtle laser/scan effects.
   ========================================================= */

/* ---------- Design tokens ---------- */
:root {
  /* Surfaces */
  --bg-0: #0B0D11;          /* deepest */
  --bg-1: #0F1115;          /* primary dark */
  --bg-2: #14171C;          /* surface */
  --bg-3: #1B1F25;          /* surface alt */
  --bg-4: #232830;          /* raised */
  --line: #2A2F38;
  --line-soft: rgba(255,255,255,0.06);

  /* Text */
  --text: #ECECEA;
  --text-muted: #A6A8AC;
  --text-faint: #6B6F76;
  --text-dim: #4A4E55;

  /* Accent — premium orange */
  --accent: #FF6A1A;
  --accent-soft: #FF8A40;
  --accent-deep: #E1530B;
  --accent-glow: rgba(255,106,26,0.55);
  --accent-faint: rgba(255,106,26,0.12);

  /* Light surfaces (used for about/area) */
  --paper: #F5F4EF;
  --paper-2: #EEEAE1;
  --paper-ink: #1A1D23;
  --paper-line: #D6D2C8;
  --paper-muted: #585B62;

  /* Type */
  --font-display: 'General Sans', 'Satoshi', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-body: 'Satoshi', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Scale */
  --container: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;

  /* Shadows */
  --shadow-sm: 0 1px 0 rgba(255,255,255,0.04) inset, 0 4px 14px rgba(0,0,0,0.35);
  --shadow-md: 0 24px 60px -20px rgba(0,0,0,0.6);
  --shadow-glow: 0 0 0 1px rgba(255,106,26,0.4), 0 0 30px rgba(255,106,26,0.25);

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-body);
  background: var(--bg-1);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; height: auto; }
svg { max-width: 100%; height: auto; }
.ico, .topbar .ico, .btn .ico { width: 16px; height: 16px; flex: 0 0 16px; display: inline-block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }
ul { list-style: none; padding: 0; margin: 0; }
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0; line-height: 1.12; letter-spacing: -0.015em; font-weight: 600; }
h1 { font-size: clamp(2.4rem, 5.4vw, 4.4rem); font-weight: 700; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.4rem); }
h4 { font-size: 0.92rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--text-muted); font-weight: 600; }
p  { margin: 0 0 1em; color: var(--text-muted); }
strong { color: var(--text); font-weight: 600; }
.mono { font-family: var(--font-mono); font-size: 0.92em; letter-spacing: -0.01em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
}
.eyebrow-glow .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(255,106,26,0.18), 0 0 14px var(--accent-glow);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(255,106,26,0.18), 0 0 14px var(--accent-glow); }
  50%      { box-shadow: 0 0 0 6px rgba(255,106,26,0.05), 0 0 24px var(--accent-glow); }
}
.eyebrow-light { color: rgba(255,255,255,0.85); }
.accent { color: var(--accent); }

/* ---------- Skip link / a11y ---------- */
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--accent); color: #fff; padding: 10px 16px;
  font-weight: 600; z-index: 200;
}
.skip-link:focus { left: 12px; top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ---------- Icons ---------- */
.ico { width: 18px; height: 18px; stroke: currentColor; flex-shrink: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 22px;
  border-radius: var(--radius);
  font-weight: 600; font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.005em;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s, color .2s, border-color .2s;
  border: 1px solid transparent;
  white-space: nowrap;
  position: relative;
  isolation: isolate;
}
.btn-lg { padding: 14px 26px; font-size: 1rem; }
.btn-block { width: 100%; justify-content: center; }
.btn-primary {
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-deep) 100%);
  color: #fff;
  box-shadow: 0 1px 0 rgba(255,255,255,0.18) inset, 0 8px 24px -8px rgba(255,106,26,0.55);
}
.btn-primary::before {
  content:""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: linear-gradient(180deg, rgba(255,255,255,0.45), rgba(255,255,255,0));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none;
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 1px 0 rgba(255,255,255,0.25) inset, 0 14px 30px -10px rgba(255,106,26,0.7); }
.btn-ghost {
  background: rgba(255,255,255,0.04);
  color: #fff;
  border-color: rgba(255,255,255,0.18);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.30); }
.btn-ghost-light {
  background: transparent; color: #fff; border-color: rgba(255,255,255,0.45);
}
.btn-ghost-light:hover { background: rgba(255,255,255,0.10); border-color: #fff; }

/* ---------- Topbar ---------- */
.topbar {
  background: var(--bg-0);
  color: var(--text-muted);
  border-bottom: 1px solid var(--line-soft);
  font-size: 0.83rem;
}
.topbar-inner {
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
  padding-top: 8px; padding-bottom: 8px;
}
.topbar-item { display: inline-flex; align-items: center; gap: 8px; }
.topbar-item a { color: var(--text-muted); }
.topbar-item a:hover { color: var(--accent); }
.topbar-cert { color: var(--accent); margin-left: auto; font-family: var(--font-mono); letter-spacing: 0.05em; }
@media (max-width: 720px) { .topbar-cert { margin-left: 0; } }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(8,10,13,0.94);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line-soft);
  transition: background .25s, border-color .25s;
}
.header.scrolled {
  background: rgba(11,13,17,0.92);
  border-bottom-color: var(--line);
}
.header-inner {
  display: flex; align-items: center; gap: 24px;
  height: 82px;
}
.logo { display: inline-flex; align-items: center; gap: 12px; }
.logo-mark {
  display: inline-grid;
  place-items: center;
  width: clamp(210px, 20vw, 320px);
  height: auto;
  background: transparent;
  border: 0;
  border-radius: 0;
  position: relative;
}
.logo-mark::after { content: none; }
.logo-mark img { width: 100%; height: auto; display: block; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-text strong { font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; letter-spacing: -0.01em; }
.logo-text small { color: var(--text-faint); font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; font-family: var(--font-mono); }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a {
  font-weight: 500; font-size: 0.94rem; color: var(--text);
  padding: 8px 2px; position: relative;
}
.nav a::after {
  content:""; position: absolute; left: 0; right: 0; bottom: 4px;
  height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease);
}
.nav a:hover { color: var(--accent); }
.nav a:hover::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.nav + .header-actions { margin-left: 0; }
.header-cta { padding: 11px 18px; font-size: 0.92rem; }
.sound-toggle { display: none !important; }


.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  flex-direction: column; gap: 4px; align-items: center; justify-content: center;
  border: 1px solid var(--line); border-radius: 8px;
}
.nav-toggle span { display: block; width: 18px; height: 1.5px; background: var(--text); border-radius: 1px; transition: transform .3s, opacity .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

@media (max-width: 980px) {
  .header-inner { gap: 12px; }
  .nav-toggle { display: flex; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; gap: 0;
    background: var(--bg-0); border-bottom: 1px solid var(--line);
    padding: 12px var(--gutter) 20px;
    transform: translateY(-10px); opacity: 0; pointer-events: none;
    transition: transform .25s var(--ease), opacity .2s;
    margin-left: 0;
  }
  .nav.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
  .nav a::after { display: none; }
  .header-actions { margin-left: auto; }
  .header-cta { padding: 10px 14px; font-size: 0.85rem; }
  .logo-text strong { font-size: 0.92rem; white-space: nowrap; }
  .logo-text small { font-size: 0.66rem; }
}
@media (max-width: 560px) {
  .header-cta { display: none; }
  .logo-mark { width: 190px; }
  .topbar-item:nth-child(1) { display: none; }
  .topbar-cert { font-size: 0.76rem; }
  .header-inner { height: 64px; }
}

/* ---------- HERO ---------- */
.hero {
  position: relative; overflow: hidden;
  color: #fff;
  min-height: clamp(620px, 92vh, 920px);
  display: flex; align-items: center;
  isolation: isolate;
}
.hero-media {
  position: absolute; inset: 0; z-index: -1;
  overflow: hidden;
}
.hero-video, .hero-fallback {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 55%;
}
.hero-video { z-index: 2; opacity: 1; }
.hero-fallback { z-index: 0; }
.hero-vignette {
  position: absolute; inset: 0; z-index: 2;
  background:
    linear-gradient(180deg, rgba(11,13,17,0.45) 0%, rgba(11,13,17,0.25) 35%, rgba(11,13,17,0.85) 95%),
    linear-gradient(90deg, rgba(11,13,17,0.85) 0%, rgba(11,13,17,0.2) 45%, rgba(11,13,17,0.55) 100%);
}
.hero-grid {
  position: absolute; inset: 0; z-index: 3; opacity: 0.18;
  background-image:
    linear-gradient(rgba(255,255,255,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at 50% 50%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, #000 0%, transparent 75%);
}

/* Laser scan effect */
.hero-scan { position: absolute; inset: 0; z-index: 4; pointer-events: none; overflow: hidden; }
.laser {
  position: absolute;
  background: linear-gradient(90deg, transparent, var(--accent) 50%, transparent);
  box-shadow: 0 0 18px var(--accent-glow), 0 0 6px var(--accent);
  opacity: 0;
}
.laser-h {
  left: -10%; right: -10%; top: 60%; height: 1.2px;
  animation: laser-h 7s var(--ease) infinite;
}
.laser-v {
  top: -10%; bottom: -10%; left: 30%; width: 1.2px;
  background: linear-gradient(180deg, transparent, var(--accent) 50%, transparent);
  animation: laser-v 9s var(--ease) infinite 1.2s;
}
.laser-diag {
  top: 0; left: 0; width: 140%; height: 1.2px;
  transform-origin: left center;
  transform: rotate(18deg) translateY(40vh);
  animation: laser-diag 11s var(--ease) infinite 2.5s;
}
@keyframes laser-h {
  0%   { opacity: 0; transform: translateY(-30vh); }
  10%  { opacity: 0.85; }
  90%  { opacity: 0.85; }
  100% { opacity: 0; transform: translateY(20vh); }
}
@keyframes laser-v {
  0%   { opacity: 0; transform: translateX(-20vw); }
  10%  { opacity: 0.65; }
  90%  { opacity: 0.65; }
  100% { opacity: 0; transform: translateX(30vw); }
}
@keyframes laser-diag {
  0%, 12%  { opacity: 0; }
  18%      { opacity: 0.5; }
  78%      { opacity: 0.5; }
  100%     { opacity: 0; transform: rotate(18deg) translateY(80vh); }
}

.hero-inner {
  position: relative; z-index: 6;
  padding-top: clamp(70px, 12vh, 130px);
  padding-bottom: clamp(90px, 14vh, 150px);
  max-width: 880px;
}
.hero-title {
  color: #fff;
  margin: 18px 0 22px;
}
.hero-title .accent {
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-soft) 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  text-shadow: 0 0 32px rgba(255,106,26,0.35);
}
.hero-title-sub {
  display: block;
  font-size: 0.62em;
  font-weight: 500;
  color: rgba(255,255,255,0.78);
  letter-spacing: -0.005em;
  margin-top: 8px;
}
.hero-sub {
  color: rgba(255,255,255,0.84);
  font-size: clamp(1.02rem, 1.4vw, 1.18rem);
  max-width: 640px;
}
.hero-sub strong { color: #fff; }
.hero-cta { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.hero-trust {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 56px;
  border-top: 1px solid rgba(255,255,255,0.10);
  border-bottom: 1px solid rgba(255,255,255,0.10);
}
.hero-trust li {
  display: flex; flex-direction: column;
  padding: 18px 22px;
  border-right: 1px solid rgba(255,255,255,0.10);
}
.hero-trust li:last-child { border-right: 0; }
.hero-trust strong {
  color: var(--accent); font-family: var(--font-display);
  font-size: 1.4rem; font-weight: 700; letter-spacing: -0.01em;
}
.hero-trust span {
  color: rgba(255,255,255,0.65); font-size: 0.78rem;
  font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.12em;
  margin-top: 4px;
}
@media (max-width: 720px) {
  .hero-trust { grid-template-columns: repeat(2, 1fr); }
  .hero-trust li:nth-child(2) { border-right: 0; }
  .hero-trust li:nth-child(1), .hero-trust li:nth-child(2) { border-bottom: 1px solid rgba(255,255,255,0.10); }
}

.hero-scroll {
  position: absolute; left: 50%; bottom: 26px; z-index: 7;
  transform: translateX(-50%);
  width: 24px; height: 38px;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 14px;
  display: grid; place-items: start center;
  padding-top: 6px;
}
.hero-scroll span {
  display: block; width: 2px; height: 8px;
  background: var(--accent);
  border-radius: 1px;
  animation: scroll-dot 1.8s var(--ease) infinite;
}
@keyframes scroll-dot {
  0%   { transform: translateY(0); opacity: 1; }
  60%  { transform: translateY(12px); opacity: 0; }
  61%  { transform: translateY(0); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

/* ---------- Trust strip (logos) ---------- */
.trust-strip {
  background: var(--bg-0);
  border-bottom: 1px solid var(--line-soft);
  padding: 28px 0;
}
.trust-strip-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}
.trust-logo {
  display: flex; align-items: center; gap: 16px;
  color: var(--text-muted);
  flex: 1 1 auto;
  min-width: 220px;
}
.trust-logo img {
  height: 40px; width: auto;
  filter: brightness(0) invert(1) opacity(0.85);
  transition: filter .2s;
}
.trust-logo .logo-sbr { filter: none; opacity: 0.92; }
.trust-logo:hover img.logo-rise { filter: brightness(0) invert(1) opacity(1); }
.trust-logo small {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  display: block;
}
.trust-logo strong { display: block; color: var(--text); font-family: var(--font-display); font-size: 1.05rem; }
.trust-logo.trust-text { flex-direction: column; align-items: flex-start; gap: 4px; }
.trust-divider {
  width: 1px; height: 36px; background: var(--line);
  flex: 0 0 1px;
}
@media (max-width: 900px) {
  .trust-divider { display: none; }
}

/* ---------- Badges ---------- */
.badges { padding: 50px 0 20px; background: var(--bg-1); }
.badges-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.badge {
  display: flex; align-items: center; gap: 14px;
  padding: 18px 20px;
  background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg-1) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .25s var(--ease), border-color .25s;
}
.badge:hover { transform: translateY(-2px); border-color: var(--accent); }
.badge-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  display: grid; place-items: center;
  background: var(--accent-faint);
  color: var(--accent);
  border-radius: 8px;
}
.badge-icon svg { width: 22px; height: 22px; }
.badge strong { display: block; color: var(--text); font-size: 0.98rem; font-family: var(--font-display); font-weight: 600; }
.badge span { display: block; color: var(--text-muted); font-size: 0.85rem; }
@media (max-width: 880px) { .badges-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .badges-grid { grid-template-columns: 1fr; } }

/* ---------- Section heads ---------- */
.section-head { max-width: 740px; margin: 0 auto clamp(40px, 6vw, 64px); text-align: center; }
.section-head h2 { margin: 14px 0 12px; color: var(--text); }
.section-head p { color: var(--text-muted); font-size: 1.05rem; }
.section-head-light h2, .section-head-light p { color: var(--paper-ink); }
.section-head-light p { color: var(--paper-muted); }

/* ---------- About ---------- */
.about {
  background: var(--paper);
  color: var(--paper-ink);
  padding: clamp(70px, 10vw, 120px) 0;
  position: relative;
}
.about::before {
  content:""; position: absolute; top: 0; left: 0; right: 0; height: 5px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.5;
}
.about-grid {
  display: grid; grid-template-columns: 1fr 1.15fr;
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
}
.about-img-wrap { position: relative; }
.about-img {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-1);
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow-md);
}
.about-img img {
  width: 100%; height: 100%; object-fit: cover;
  object-position: center 18%;
  filter: contrast(1.04) saturate(0.78) brightness(0.95);
}
.about-img-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(11,13,17,0.15) 0%, rgba(11,13,17,0.0) 30%, rgba(11,13,17,0.45) 65%, rgba(11,13,17,0.92) 100%),
    linear-gradient(135deg, rgba(255,106,26,0.06), transparent 40%);
}
.about-img-badge {
  position: absolute; left: 18px; bottom: 18px; right: 18px;
  background: rgba(11,13,17,0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.10);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 14px 18px;
  color: #fff;
}
.about-img-badge strong { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; }
.about-img-badge span { display: block; color: rgba(255,255,255,0.78); font-size: 0.82rem; margin-top: 4px; font-family: var(--font-mono); letter-spacing: 0.06em; }
.about-img-corner span {
  position: absolute; width: 14px; height: 14px; border: 1.5px solid var(--accent);
}
.about-img-corner span:nth-child(1) { top: 10px; left: 10px; border-right: 0; border-bottom: 0; }
.about-img-corner span:nth-child(2) { top: 10px; right: 10px; border-left: 0; border-bottom: 0; }
.about-img-corner span:nth-child(3) { bottom: 10px; left: 10px; border-right: 0; border-top: 0; }
.about-img-corner span:nth-child(4) { bottom: 10px; right: 10px; border-left: 0; border-top: 0; }

.about-text h2 { color: var(--paper-ink); margin: 14px 0 18px; }
.about-text p { color: var(--paper-muted); font-size: 1.02rem; }
.about-text strong { color: var(--paper-ink); }
.checklist { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
.checklist li {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 10px 14px;
  background: var(--paper-2);
  border: 1px solid var(--paper-line);
  border-radius: 8px;
  font-size: 0.96rem;
  color: var(--paper-ink);
}
.checklist li::before {
  content:""; flex-shrink: 0; margin-top: 4px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--accent);
  box-shadow: inset 0 0 0 3px var(--paper-2);
  outline: 1px solid var(--accent);
}
@media (max-width: 840px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-img { max-width: 420px; margin: 0 auto; }
}

/* ---------- Services ---------- */
.services {
  background: var(--bg-1);
  padding: clamp(70px, 10vw, 120px) 0;
  position: relative;
}
.services::before {
  content:""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 60%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.service {
  display: flex; flex-direction: column;
  background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg-1) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .35s var(--ease), border-color .35s, box-shadow .35s;
  position: relative;
}
.service::after {
  content:""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: inset 0 0 0 1px transparent;
  transition: box-shadow .35s;
}
.service:hover { transform: translateY(-4px); border-color: rgba(255,106,26,0.4); box-shadow: 0 24px 50px -28px rgba(255,106,26,0.4); }
.service:hover::after { box-shadow: inset 0 0 0 1px var(--accent-faint); }
.service-media {
  position: relative; aspect-ratio: 16/10; overflow: hidden;
  background: var(--bg-3);
}
.service-img {
  width: 100%; height: 100%; object-fit: cover;
  filter: brightness(0.78) contrast(1.05) saturate(0.85);
  transition: transform .6s var(--ease), filter .4s;
}
.service:hover .service-img { transform: scale(1.04); filter: brightness(0.85) contrast(1.05) saturate(0.92); }
.service-media::after {
  content:""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,17,21,0) 40%, var(--bg-2) 100%);
}
.service-body { padding: 22px 24px 26px; flex: 1; display: flex; flex-direction: column; }
.service-num {
  display: inline-flex; align-self: flex-start;
  font-family: var(--font-mono); font-size: 0.78rem;
  color: var(--accent);
  background: var(--accent-faint);
  border: 1px solid rgba(255,106,26,0.3);
  padding: 4px 10px;
  border-radius: 100px;
  margin-bottom: 12px;
  letter-spacing: 0.08em;
}
.service h3 { color: var(--text); margin-bottom: 10px; font-weight: 600; }
.service p { color: var(--text-muted); font-size: 0.96rem; margin-bottom: 14px; }
.service ul {
  display: flex; flex-direction: column; gap: 6px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
}
.service ul li {
  font-size: 0.88rem; color: var(--text-muted);
  display: flex; align-items: flex-start; gap: 9px;
  padding-left: 2px;
}
.service ul li::before {
  content: ""; flex-shrink: 0; margin-top: 9px;
  width: 6px; height: 1.5px; background: var(--accent);
}
.service-wide { grid-column: span 3; }
.service-wide .service-media { aspect-ratio: 24/7; }
.service-wide .service-body { padding: 26px 28px 30px; }
@media (max-width: 980px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .service-wide { grid-column: span 2; }
  .service-wide .service-media { aspect-ratio: 16/7; }
}
@media (max-width: 600px) {
  .services-grid { grid-template-columns: 1fr; }
  .service-wide { grid-column: span 1; }
  .service-wide .service-media { aspect-ratio: 16/10; }
}

/* ---------- Process ---------- */
.process {
  background: var(--paper-2);
  color: var(--paper-ink);
  padding: clamp(70px, 10vw, 120px) 0;
  position: relative;
}
.process-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
  position: relative;
}
.process-grid::before {
  content:""; position: absolute; top: 36px; left: 5%; right: 5%; height: 1px;
  background: repeating-linear-gradient(90deg, var(--accent) 0 8px, transparent 8px 18px);
  opacity: 0.4;
}
.step {
  background: #fff;
  border: 1px solid var(--paper-line);
  border-radius: var(--radius-lg);
  padding: 24px 22px;
  position: relative;
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
}
.step:hover { transform: translateY(-3px); border-color: var(--accent); box-shadow: 0 16px 40px -20px rgba(0,0,0,0.2); }
.step-num {
  display: inline-grid; place-items: center;
  width: 44px; height: 44px;
  background: var(--bg-1); color: var(--accent);
  font-family: var(--font-mono); font-weight: 500; font-size: 0.95rem;
  border-radius: 50%;
  margin-bottom: 14px;
  position: relative;
  box-shadow: 0 0 0 4px var(--paper-2);
}
.step h3 { color: var(--paper-ink); margin-bottom: 8px; }
.step p { color: var(--paper-muted); font-size: 0.94rem; margin: 0; }
@media (max-width: 880px) { .process-grid { grid-template-columns: repeat(2, 1fr); } .process-grid::before { display: none; } }
@media (max-width: 480px) { .process-grid { grid-template-columns: 1fr; } }

/* ---------- Area ---------- */
.area {
  background: var(--bg-1);
  padding: clamp(70px, 10vw, 120px) 0;
}
.area-grid {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(36px, 6vw, 72px);
  align-items: center;
}
.area-text h2 { color: var(--text); margin: 14px 0 16px; }
.area-text p { color: var(--text-muted); }
.kommuner {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
  margin-top: 22px;
}
.kommuner li {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg-2);
  color: var(--text);
  font-size: 0.92rem;
  display: flex; align-items: center; gap: 8px;
  transition: border-color .2s, color .2s;
}
.kommuner li::before {
  content:""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); flex-shrink: 0;
}
.kommuner li:hover { border-color: var(--accent); color: var(--accent); }
.area-img { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.area-img img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 5/4; filter: brightness(0.82); }
.area-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(11,13,17,0.6) 100%);
}
@media (max-width: 880px) { .area-grid { grid-template-columns: 1fr; } .kommuner { grid-template-columns: repeat(2, 1fr); } }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  color: #fff;
  padding: clamp(70px, 9vw, 110px) 0;
  overflow: hidden;
  isolation: isolate;
}
.cta-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(255,106,26,0.25) 0%, transparent 50%),
    radial-gradient(ellipse at 10% 80%, rgba(255,106,26,0.18) 0%, transparent 55%),
    linear-gradient(180deg, var(--bg-0) 0%, var(--bg-1) 100%);
}
.cta-bg::after {
  content:""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 0%, transparent 70%);
}
.cta-inner {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center;
}
.cta-inner h2 { margin: 10px 0 10px; color: #fff; }
.cta-inner p { color: rgba(255,255,255,0.78); margin: 0; }
.cta-actions { display: flex; gap: 12px; justify-content: flex-end; flex-wrap: wrap; }
@media (max-width: 800px) { .cta-inner { grid-template-columns: 1fr; } .cta-actions { justify-content: flex-start; } }

/* ---------- Contact ---------- */
.contact {
  background: var(--bg-2);
  padding: clamp(70px, 10vw, 120px) 0;
}
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(36px, 6vw, 64px);
  align-items: start;
}
.contact-info h2 { margin: 14px 0 14px; color: var(--text); }
.contact-info p { color: var(--text-muted); }
.contact-card {
  margin-top: 28px;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 8px;
}
.contact-card-row {
  display: flex; align-items: center; gap: 16px;
  padding: 16px;
  border-bottom: 1px solid var(--line-soft);
}
.contact-card-row:last-child { border-bottom: 0; }
.contact-card-icon {
  width: 42px; height: 42px; flex-shrink: 0;
  display: grid; place-items: center;
  background: var(--accent-faint);
  color: var(--accent);
  border-radius: 8px;
}
.contact-card-icon svg { width: 20px; height: 20px; }
.contact-card-row small { color: var(--text-faint); display: block; font-size: 0.78rem; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 2px; }
.contact-card-row strong, .contact-card-row a strong { color: var(--text); font-family: var(--font-display); font-size: 1rem; font-weight: 600; }
.contact-card-row a:hover strong { color: var(--accent); }

.contact-form {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex; flex-direction: column; gap: 14px;
}
.contact-form h3 { color: var(--text); margin-bottom: 4px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form label { display: flex; flex-direction: column; gap: 6px; font-size: 0.85rem; color: var(--text-muted); font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.08em; }
.contact-form input,
.contact-form select,
.contact-form textarea {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--text);
  font: inherit;
  font-family: var(--font-body);
  text-transform: none; letter-spacing: 0;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-faint);
  background: var(--bg-3);
}
.contact-form textarea { resize: vertical; min-height: 120px; }
.form-note { color: var(--text-faint); font-size: 0.78rem; }
@media (max-width: 720px) { .contact-grid, .form-row { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.footer {
  background: var(--bg-0);
  border-top: 1px solid var(--line);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 36px;
}
.footer-tagline { color: var(--text-muted); font-size: 0.95rem; margin-top: 14px; max-width: 320px; }
.footer-logos { display: flex; align-items: center; gap: 20px; margin-top: 18px; }
.footer-logos img { height: 28px; width: auto; opacity: 0.65; filter: brightness(0) invert(1); transition: opacity .2s; }
.footer-logos img:hover { opacity: 1; }
.footer h4 { margin-bottom: 14px; }
.footer ul li { padding: 6px 0; color: var(--text-muted); font-size: 0.93rem; }
.footer ul li a { color: var(--text-muted); transition: color .2s; }
.footer ul li a:hover { color: var(--accent); }
.footer-bottom {
  margin-top: 56px;
  padding: 20px 0;
  border-top: 1px solid var(--line-soft);
}
.footer-bottom-inner {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  color: var(--text-faint); font-size: 0.83rem; font-family: var(--font-mono);
}
.logo-footer .logo-mark { background: rgba(255,255,255,0.02); }
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .hero-scroll span { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Selection ---------- */
::selection { background: var(--accent); color: #fff; }

/* =========================================================
   Premium correction pass — brand-first, Scandinavian trust
   ========================================================= */
.header { background: rgba(8, 10, 12, 0.96); }
.header-inner { height: 86px; }
.logo-mark { width: clamp(230px, 21vw, 340px); filter: drop-shadow(0 8px 18px rgba(0,0,0,.35)); }
.topbar { background: #07090c; }
.topbar-inner { min-height: 34px; }
.sound-toggle { display: none !important; }

.hero-premium {
  min-height: clamp(760px, 88vh, 940px);
  display: flex;
  align-items: stretch;
  padding: 0;
  overflow: hidden;
  background: #080a0d;
}
.hero-premium .hero-media { z-index: 0; }
.hero-premium .hero-video,
.hero-premium .hero-fallback {
  object-position: center center;
  filter: saturate(.92) contrast(1.02);
}
.hero-premium .hero-video { z-index: 2; opacity: .86; }
.hero-premium .hero-fallback { z-index: 1; }
.hero-premium .hero-vignette {
  z-index: 3;
  background:
    linear-gradient(90deg, rgba(6,8,10,.94) 0%, rgba(6,8,10,.82) 32%, rgba(6,8,10,.42) 62%, rgba(6,8,10,.20) 100%),
    linear-gradient(180deg, rgba(6,8,10,.52) 0%, rgba(6,8,10,.10) 42%, rgba(6,8,10,.86) 100%);
}
.hero-premium .hero-grid,
.hero-premium .hero-scan { display: none !important; }
.hero-premium .hero-inner {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, .72fr);
  gap: clamp(34px, 6vw, 92px);
  align-items: center;
  min-height: inherit;
  padding-top: clamp(56px, 8vh, 96px);
  padding-bottom: clamp(70px, 9vh, 120px);
}
.hero-copy { max-width: 760px; }
.hero-premium .hero-title {
  max-width: 780px;
  font-size: clamp(3rem, 6.4vw, 5.8rem);
  line-height: .96;
  letter-spacing: -0.055em;
}
.hero-premium .hero-title .accent { color: var(--accent); }
.hero-premium .hero-title-sub {
  color: #fff;
  font-size: clamp(2rem, 3.55vw, 3.55rem);
  opacity: .92;
  letter-spacing: -0.045em;
}
.hero-premium .hero-sub {
  margin-top: 28px;
  max-width: 680px;
  font-size: clamp(1.05rem, 1.5vw, 1.24rem);
  color: rgba(255,255,255,.78);
}
.hero-premium .hero-cta { margin-top: 34px; }
.hero-premium .hero-trust {
  margin-top: 48px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 680px;
  background: rgba(8,10,12,.42);
  border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(10px);
}
.hero-premium .hero-trust li { padding: 20px 24px; }
.hero-premium .hero-trust strong { font-size: 1.3rem; }
.hero-premium .hero-proof-card {
  align-self: center;
  padding: clamp(24px, 3vw, 36px);
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.16);
  background: linear-gradient(180deg, rgba(10,12,15,.78), rgba(10,12,15,.56));
  box-shadow: 0 30px 90px rgba(0,0,0,.38);
  backdrop-filter: blur(18px) saturate(120%);
  position: relative;
  overflow: hidden;
}
.hero-premium .hero-proof-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), rgba(255,255,255,.45), transparent);
}
.hero-proof-card span {
  display: block;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.hero-proof-card h2 {
  font-size: clamp(1.45rem, 2vw, 2rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: #fff;
}
.hero-proof-card p { margin-top: 16px; color: rgba(255,255,255,.70); }
.proof-lines { display: grid; gap: 12px; margin-top: 26px; }
.proof-lines div {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: center;
  padding: 12px 0;
  border-top: 1px solid rgba(255,255,255,.10);
}
.proof-lines b { color: var(--accent); font-family: var(--font-mono); }
.proof-lines small { color: rgba(255,255,255,.72); font-size: .94rem; }

.trust-strip { background: #0b0d10; border-top: 1px solid rgba(255,255,255,.08); border-bottom: 1px solid rgba(255,255,255,.08); }
.premium-proof {
  background: linear-gradient(180deg, #f4f0e8 0%, #ece6da 100%);
  color: #181818;
  padding: clamp(72px, 8vw, 120px) 0;
}
.premium-proof-grid {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1fr);
  gap: clamp(36px, 6vw, 88px);
  align-items: center;
}
.premium-proof-media {
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 28px 70px rgba(41,31,19,.20);
  border: 1px solid rgba(0,0,0,.08);
  background: #111;
}
.premium-proof-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.premium-proof-copy .eyebrow { color: #c95712; }
.premium-proof-copy h2 {
  color: #151515;
  font-size: clamp(2.2rem, 4.8vw, 4.4rem);
  letter-spacing: -0.055em;
  max-width: 760px;
}
.premium-proof-copy p {
  color: #4a453d;
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  margin-top: 24px;
  max-width: 720px;
}
.proof-checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 30px;
}
.proof-checklist span {
  padding: 14px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,.62);
  border: 1px solid rgba(0,0,0,.08);
  color: #25211d;
  font-weight: 650;
}

@media (max-width: 980px) {
  .hero-premium { min-height: auto; }
  .hero-premium .hero-inner { grid-template-columns: 1fr; padding-top: 72px; }
  .hero-premium .hero-proof-card { max-width: 620px; }
  .premium-proof-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .header-inner { height: 76px; }
  .logo-mark { width: min(68vw, 250px); }
  .hero-premium .hero-title { font-size: clamp(2.65rem, 13vw, 4rem); }
  .hero-premium .hero-title-sub { font-size: clamp(2.15rem, 10vw, 3.2rem); }
  .hero-premium .hero-trust { grid-template-columns: 1fr; }
  .hero-premium .hero-trust li { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.10); }
  .proof-checklist { grid-template-columns: 1fr; }
  .topbar-inner { gap: 12px; }
  .topbar-item:nth-child(1) { display: none; }
}

/* =========================================================
   Final polish pass — logo colors, spacing, trust cards, mobile
   ========================================================= */
.logo-mark { width: clamp(245px, 22vw, 360px); }
.logo-mark img { filter: drop-shadow(0 2px 0 rgba(0,0,0,.45)) drop-shadow(0 10px 18px rgba(0,0,0,.24)); }
.hero-premium .hero-inner {
  grid-template-columns: minmax(0, .95fr) minmax(360px, .74fr);
  gap: clamp(64px, 8.5vw, 132px);
}
.hero-premium .hero-proof-card {
  margin-left: clamp(18px, 2.2vw, 44px);
  transform: translateY(10px);
}
.hero-premium .hero-trust {
  overflow: hidden;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.hero-premium .hero-trust li {
  min-width: 0;
  overflow: hidden;
}
.hero-premium .hero-trust strong,
.hero-premium .hero-trust span {
  display: block;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: normal;
  hyphens: auto;
}
.hero-premium .hero-trust span {
  line-height: 1.35;
  white-space: normal;
  letter-spacing: .14em;
  font-size: clamp(.66rem, .76vw, .78rem);
}
.hero-premium .hero-trust strong { font-size: clamp(1.08rem, 1.35vw, 1.3rem); }

/* Subtle opt-in-ish tactile sound without UI clutter: only after first user interaction */
body.sound-ready .btn:active,
body.sound-ready .nav a:active { transform: translateY(1px); }

@media (min-width: 981px) and (max-width: 1240px) {
  .hero-premium .hero-inner { grid-template-columns: minmax(0, .9fr) minmax(330px, .62fr); gap: 56px; }
  .hero-premium .hero-proof-card { margin-left: 0; }
  .hero-premium .hero-title { font-size: clamp(3rem, 5.6vw, 4.8rem); }
  .hero-premium .hero-title-sub { font-size: clamp(1.85rem, 3vw, 3rem); }
}
@media (max-width: 980px) {
  .hero-premium .hero-inner { gap: 36px; }
  .hero-premium .hero-proof-card { margin-left: 0; transform: none; }
}
@media (max-width: 720px) {
  .logo-mark { width: min(72vw, 265px); }
  .header-inner { gap: 12px; }
  .hero-premium .hero-inner { padding-top: 54px; padding-bottom: 72px; }
  .hero-premium .hero-title { font-size: clamp(2.55rem, 12.2vw, 3.9rem); line-height: .98; }
  .hero-premium .hero-title-sub { font-size: clamp(1.75rem, 8.6vw, 2.6rem); line-height: 1.04; }
  .hero-premium .hero-sub { font-size: 1.02rem; }
  .hero-premium .hero-trust {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 32px;
  }
  .hero-premium .hero-trust li { padding: 16px 12px; border-bottom: 0 !important; border-right: 1px solid rgba(255,255,255,.10); }
  .hero-premium .hero-trust li:last-child { border-right: 0; }
  .hero-premium .hero-trust span { font-size: .59rem; letter-spacing: .09em; line-height: 1.3; }
  .hero-premium .hero-trust strong { font-size: 1rem; }
  .hero-proof-card { padding: 22px; }
  .premium-proof { padding: 64px 0; }
}
@media (max-width: 430px) {
  .topbar-inner { display: grid; grid-template-columns: 1fr; gap: 4px; }
  .topbar-item:nth-child(1) { display: none; }
  .topbar-cert { margin-left: 0; font-size: .68rem; }
  .header-cta { display: none; }
  .hero-premium .hero-trust { grid-template-columns: 1fr; }
  .hero-premium .hero-trust li { border-right: 0 !important; border-bottom: 1px solid rgba(255,255,255,.10) !important; }
  .hero-premium .hero-trust li:last-child { border-bottom: 0 !important; }
  .hero-premium .hero-trust span { font-size: .68rem; letter-spacing: .12em; }
}

/* Mobile navigation hardening */
@media (max-width: 980px) {
  .header { overflow: visible; }
  .nav {
    position: absolute !important;
    left: var(--gutter) !important;
    right: var(--gutter) !important;
    top: calc(100% + 10px) !important;
    z-index: 200 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    padding: 10px 18px !important;
    margin: 0 !important;
    border: 1px solid rgba(255,255,255,.12) !important;
    border-radius: 16px !important;
    background: rgba(7,9,12,.98) !important;
    box-shadow: 0 24px 70px rgba(0,0,0,.55) !important;
    backdrop-filter: blur(18px) saturate(140%) !important;
    transform: translateY(-8px) scale(.98) !important;
    transform-origin: top right !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }
  .nav.open {
    transform: translateY(0) scale(1) !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }
  .nav a {
    display: block !important;
    padding: 16px 2px !important;
    color: #fff !important;
    border-bottom: 1px solid rgba(255,255,255,.10) !important;
    font-size: 1rem !important;
  }
  .nav a:last-child { border-bottom: 0 !important; }
}
@media (max-width: 430px) {
  .nav { left: 16px !important; right: 16px !important; }
}

/* Final mobile override — must stay last */
@media (max-width: 980px) {
  .hero-premium .hero-inner {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    width: 100% !important;
    max-width: var(--container) !important;
  }
  .hero-copy,
  .hero-premium .hero-sub,
  .hero-premium .hero-cta,
  .hero-premium .hero-trust,
  .hero-premium .hero-proof-card {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }
  .header .nav.open {
    transform: translateY(0) scale(1) !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    visibility: visible !important;
  }
  .header .nav:not(.open) {
    opacity: 0 !important;
    pointer-events: none !important;
    visibility: hidden !important;
  }
}

/* =========================================================
   Lower-page premium polish — readability, rhythm, no faded content
   ========================================================= */
.reveal,
.reveal.in {
  opacity: 1 !important;
  transform: none !important;
}

/* Hero trust should never split words awkwardly */
.hero-premium .hero-trust span,
.hero-premium .hero-trust strong {
  overflow-wrap: normal !important;
  word-break: normal !important;
  hyphens: none !important;
}
@media (max-width: 1240px) and (min-width: 721px) {
  .hero-premium .hero-trust {
    grid-template-columns: 1fr !important;
    max-width: 390px !important;
  }
  .hero-premium .hero-trust li {
    border-right: 0 !important;
    border-bottom: 1px solid rgba(255,255,255,.10) !important;
    padding: 16px 20px !important;
  }
  .hero-premium .hero-trust li:last-child { border-bottom: 0 !important; }
  .hero-premium .hero-trust span { font-size: .72rem !important; letter-spacing: .12em !important; }
}

.trust-strip-inner {
  gap: clamp(22px, 4vw, 54px);
  align-items: center;
}
.trust-logo small {
  overflow-wrap: normal;
  word-break: normal;
  line-height: 1.35;
}
@media (max-width: 760px) {
  .trust-strip-inner { grid-template-columns: 1fr; gap: 18px; }
  .trust-divider { display: none; }
  .trust-logo { align-items: flex-start; }
}

.badges {
  padding: 58px 0 34px;
  background: linear-gradient(180deg, #0b0d10 0%, #101318 100%);
}
.badge {
  background: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.025));
  border-color: rgba(255,255,255,.105);
  box-shadow: 0 16px 45px rgba(0,0,0,.18);
}
.badge strong { color: #f6f3ed; }
.badge span { color: rgba(255,255,255,.64); }

.about,
.premium-proof,
.process {
  background-image: radial-gradient(circle at 12% 0%, rgba(255,106,26,.055), transparent 34%), linear-gradient(180deg, #f6f1e8, #ede7dc);
}
.about-text h2,
.premium-proof-copy h2,
.section-head-light h2 {
  color: #17191d;
}
.about-text p,
.premium-proof-copy p,
.section-head-light p,
.step p {
  color: #56524b;
}
.checklist li {
  background: rgba(255,255,255,.62);
  border-color: rgba(0,0,0,.08);
  box-shadow: 0 8px 26px rgba(45,35,20,.055);
}
.about-img {
  box-shadow: 0 32px 80px rgba(25,21,15,.20);
}

.services {
  background:
    radial-gradient(circle at 78% 8%, rgba(255,106,26,.10), transparent 34%),
    linear-gradient(180deg, #0b0d10 0%, #11141a 100%);
}
.services .section-head h2 { color: #f6f3ed; }
.services .section-head p { color: rgba(255,255,255,.70); }
.services-grid { gap: 22px; }
.service {
  background: linear-gradient(180deg, #181c23 0%, #11141a 100%);
  border-color: rgba(255,255,255,.105);
  box-shadow: 0 18px 58px rgba(0,0,0,.26);
}
.service-media { background: #15191f; }
.service-img {
  filter: brightness(.90) contrast(1.05) saturate(.94);
}
.service-media::after {
  background: linear-gradient(180deg, rgba(17,20,26,0) 34%, rgba(17,20,26,.76) 86%, #11141a 100%);
}
.service h3 { color: #f3f1ec; }
.service p,
.service ul li { color: rgba(255,255,255,.72); }
.service ul { border-top-color: rgba(255,255,255,.10); }
.service-num { background: rgba(255,106,26,.14); }

.process-grid::before { opacity: .18; }
.step {
  background: rgba(255,255,255,.82);
  border-color: rgba(0,0,0,.075);
  box-shadow: 0 18px 48px rgba(45,35,20,.075);
}
.step h3 { color: #1c1d20; }
.step-num { box-shadow: 0 0 0 4px #ede7dc, 0 12px 28px rgba(0,0,0,.14); }

.area {
  background:
    radial-gradient(circle at 86% 14%, rgba(255,106,26,.10), transparent 34%),
    linear-gradient(180deg, #101318 0%, #0b0d10 100%);
}
.area-text h2 { color: #f6f3ed; }
.area-text p { color: rgba(255,255,255,.70); }
.kommuner li {
  background: rgba(255,255,255,.045);
  border-color: rgba(255,255,255,.10);
}
.area-img img { filter: brightness(.92) contrast(1.03) saturate(.92); }

.contact,
.footer {
  background: #0b0d10;
}
.contact-card,
.contact-form {
  background: linear-gradient(180deg, #15191f, #101318);
  border-color: rgba(255,255,255,.11);
  box-shadow: 0 20px 60px rgba(0,0,0,.24);
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  background: rgba(255,255,255,.045);
  border-color: rgba(255,255,255,.12);
}
.footer-grid { align-items: start; }
.footer .logo-mark { width: min(280px, 100%); }
.footer-logos img { max-height: 30px; object-fit: contain; }

@media (max-width: 720px) {
  .badges { padding: 42px 0 22px; }
  .services-grid { gap: 18px; }
  .service-body { padding: 20px; }
  .process { padding: 68px 0; }
  .step { padding: 22px 20px; }
  .kontakt, .contact { padding-top: 68px; }
  .footer { padding-top: 48px; }
}

/* =========================================================
   Text polish 7 — wider hero facts, no cramped SBR card
   ========================================================= */
@media (min-width: 981px) {
  .hero-premium .hero-inner {
    max-width: var(--container) !important;
    grid-template-columns: minmax(520px, 1fr) minmax(360px, 420px) !important;
    gap: clamp(58px, 6.4vw, 96px) !important;
  }
  .hero-copy {
    width: 100% !important;
    max-width: 720px !important;
  }
  .hero-premium .hero-title,
  .hero-premium .hero-sub,
  .hero-premium .hero-cta,
  .hero-premium .hero-trust {
    max-width: 720px !important;
  }
  .hero-premium .hero-trust {
    width: 100% !important;
    grid-template-columns: repeat(3, minmax(168px, 1fr)) !important;
  }
  .hero-premium .hero-trust li {
    padding: 20px 24px !important;
    min-width: 0 !important;
    overflow: hidden !important;
  }
  .hero-premium .hero-trust strong {
    display: block !important;
    margin-bottom: 8px !important;
    line-height: 1 !important;
  }
  .hero-premium .hero-trust span {
    display: block !important;
    white-space: normal !important;
    line-height: 1.35 !important;
    letter-spacing: .105em !important;
    font-size: .72rem !important;
  }
}
@media (min-width: 981px) and (max-width: 1120px) {
  .hero-premium .hero-inner {
    grid-template-columns: minmax(500px, 1fr) minmax(340px, 380px) !important;
    gap: 42px !important;
  }
  .hero-premium .hero-trust {
    grid-template-columns: 1fr !important;
    max-width: 430px !important;
  }
}

/* Logo fix 8 — use high-resolution clean PNG, prevent color bleed/scaling artifacts */
.logo-mark {
  width: clamp(250px, 23vw, 370px) !important;
}
.logo-mark img {
  image-rendering: auto;
  backface-visibility: hidden;
  transform: translateZ(0);
  filter: drop-shadow(0 8px 18px rgba(0,0,0,.32)) !important;
}
@media (max-width: 720px) {
  .logo-mark { width: min(73vw, 275px) !important; }
}
.footer .logo-mark { width: min(300px, 100%) !important; }

/* Mobile menu final hardening for iOS/Android */
@media (max-width: 980px) {
  .header .nav.open {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: none !important;
    transition: none !important;
  }
  .header .nav:not(.open) {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(-8px) scale(.98) !important;
  }
}

/* =========================================================
   Tydlig kontakt + formulärstatus (mejlfix 2026-06-15)
   ========================================================= */
.contact-card-row-primary .contact-card-icon {
  background: var(--accent);
  color: #fff;
}
.contact-card-big {
  display: inline-block;
  margin-top: 3px;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 4.5vw, 1.6rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--text);
  overflow-wrap: anywhere;
}
.contact-card-big:hover { color: var(--accent); }

.form-status {
  display: none;
  margin: 2px 0 0;
  padding: 13px 15px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  line-height: 1.5;
  font-family: var(--font-body);
}
.form-status-ok, .form-status-err { display: block; }
.form-status-ok {
  background: rgba(46,170,100,0.12);
  border: 1px solid rgba(46,170,100,0.5);
  color: #74e0a4;
}
.form-status-err {
  background: var(--accent-faint);
  border: 1px solid rgba(255,106,26,0.5);
  color: var(--accent-soft);
}
.form-status a { color: inherit; font-weight: 700; text-decoration: underline; }
