/* LeadrBoost – marknadsajt. Navy + boost, från visitkortet. */

:root {
  --navy: #1B3650;
  --navy-deep: #102433;
  --ink: #0c1c28;
  --boost: #35AABE;
  --boost-bright: #7ed6e4;
  --boost-soft: rgba(53, 170, 190, 0.14);
  --paper: #f3f6f4;
  --paper-2: #e7eeeb;
  --surface: #eef4f2;
  --white: #ffffff;
  --text: #173044;
  --meta: #3d4e5c;
  --meta-on-dark: #b7c6cc;
  --line: rgba(23, 48, 68, 0.12);
  --line-dark: rgba(255, 255, 255, 0.12);
  --radius: 16px;
  --header-h: 4.35rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-accent: "Instrument Serif", Georgia, "Times New Roman", serif;
  --shadow: 0 24px 60px rgba(8, 22, 32, 0.16);
}

*,
*::before,
*::after { box-sizing: border-box; }

/* Ingen CSS smooth-scroll - den får mobilscroll att "fastna".
   body = footer-navy (botten/overscroll). Header är solid så den inte blir blå. */
html {
  background: #08151e;
  height: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: #08151e;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  min-height: 100%;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

body > main {
  flex: 1 0 auto;
  width: 100%;
  background: var(--paper);
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }

::selection {
  background: rgba(53, 170, 190, 0.28);
  color: var(--ink);
}

:focus-visible {
  outline: 2px solid var(--boost);
  outline-offset: 3px;
}

section,
[id] { scroll-margin-top: calc(var(--header-h) + 0.75rem); }

.wrap {
  width: min(1180px, calc(100% - 2.5rem));
  margin-inline: auto;
}

/* —— Header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  flex-shrink: 0;
  height: var(--header-h);
  display: flex;
  align-items: center;
  /* Solid (ingen alpha) - annars lyser navy-body igenom och navbaren ser blå ut */
  background: #dce5ec;
  border-bottom: 1px solid var(--line);
}

.site-header .inner {
  width: min(1280px, calc(100% - 2.5rem));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.brand img {
  height: 28px;
  width: auto;
  transform: translateX(4px);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav a {
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text);
  opacity: 0.78;
}

.nav a:hover,
.nav a[aria-current="page"] { opacity: 1; }

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0.95rem;
  border-radius: 8px;
  background: var(--navy);
  color: var(--white) !important;
  opacity: 1 !important;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 8px;
  padding: 0.45rem 0.65rem;
  cursor: pointer;
}

@media (max-width: 820px) {
  .site-header {
    background: #f7faf9;
  }
  .site-header .brand img {
    height: 22px;
    transform: translateX(2px);
  }
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem 1.25rem 1.25rem;
    background: #f7faf9;
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s var(--ease), opacity 0.25s ease;
  }
  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav a {
    padding: 0.85rem 0.25rem;
    border-bottom: 1px solid var(--line);
  }
  .nav-cta {
    margin-top: 0.75rem;
    justify-content: center;
    border-bottom: none;
  }
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 2.85rem;
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s var(--ease);
}

.btn:hover { transform: translateY(-1px); }

.btn-boost {
  background: var(--boost);
  color: var(--ink);
}

.btn-boost:hover { background: #57c4d4; }

.btn-navy {
  background: var(--navy-deep);
  color: var(--white);
}

.btn-navy:hover { background: #17384a; }

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.28);
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.06);
}

.btn-ghost-dark {
  background: transparent;
  color: var(--navy);
  border-color: rgba(23, 48, 68, 0.22);
}

.text-link {
  color: var(--navy);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(23, 48, 68, 0.28);
  padding-bottom: 0.05rem;
}

.text-link:hover { border-color: var(--boost); color: #0e6f80; }

/* —— Hero (Northstar / Horizon3: copy above, video below) —— */
.hero {
  position: relative;
  background:
    radial-gradient(ellipse 80% 55% at 50% 0%, rgba(53, 170, 190, 0.1), transparent 58%),
    linear-gradient(180deg, #f7faf9 0%, var(--surface) 48%, #e6eef0 100%);
  color: var(--navy);
  padding: clamp(3rem, 6.8vw, 4.7rem) 0 clamp(3.25rem, 6vw, 5rem);
  overflow: hidden;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(2.5rem, 5vw, 3.5rem);
}

.hero-copy {
  text-align: center;
  max-width: 52rem;
  margin-inline: auto;
  padding-inline: 0.5rem;
}

.hero-kicker {
  margin: 0 0 0.75rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--boost);
}

.hero h1 {
  margin: 0 auto 1.35rem;
  font-size: clamp(2.75rem, 7.2vw, 4.625rem); /* ~74px som Horizon3 */
  font-weight: 400;
  letter-spacing: -0.028em;
  line-height: 1.05;
  color: var(--navy-deep);
  max-width: 12em;
}

.hero-line,
.hero-accent { display: block; }

.hero-accent {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 400;
  color: var(--boost);
  letter-spacing: -0.02em;
}

.lead-short { display: none; }

.hero-lead {
  margin: 0 auto;
  color: var(--meta);
  font-size: clamp(1.05rem, 2.1vw, 1.2rem);
  line-height: 1.6;
  max-width: 42ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
  margin-top: 2rem;
}

.hero-media {
  position: relative;
  width: min(1080px, 100%);
  border-radius: 18px;
  background: var(--navy-deep);
  border: 1px solid rgba(27, 54, 80, 0.08);
  aspect-ratio: 16 / 9;
  overflow: hidden;
  cursor: pointer;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.65) inset,
    0 28px 70px rgba(18, 42, 58, 0.18),
    0 8px 24px rgba(18, 42, 58, 0.08);
}

.hero-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-play {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin: 0;
  border: 0;
  background: rgba(18, 42, 58, 0.28);
  color: var(--white);
  cursor: pointer;
  transition: background 0.25s ease, opacity 0.25s ease;
}

.hero-play:hover {
  background: rgba(18, 42, 58, 0.38);
}

.hero-media.is-playing .hero-play {
  opacity: 0;
  pointer-events: none;
}

.hero-play-icon {
  width: 4.25rem;
  height: 4.25rem;
  border-radius: 999px;
  background: var(--boost);
  box-shadow: 0 10px 30px rgba(18, 42, 58, 0.28);
  position: relative;
}

.hero-play-icon::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 53%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 0.7rem 0 0.7rem 1.15rem;
  border-color: transparent transparent transparent var(--navy-deep);
}

.hero-play-label {
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.hero-mute {
  position: absolute;
  right: 0.85rem;
  bottom: 0.85rem;
  z-index: 3;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(18, 42, 58, 0.72);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 500;
  cursor: pointer;
  backdrop-filter: blur(8px);
}

.hero-mute[aria-pressed="true"] {
  opacity: 0.72;
}

.hero-mute[hidden] {
  display: none;
}

@media (max-width: 640px) {
  .hero h1 {
    max-width: none;
    font-size: min(2.75rem, 8.2vw);
    line-height: 1.04;
  }

  .hero-line { white-space: nowrap; }

  /* Bara mobil (.lead-short): bred nog för 2 rader, desktop oförändrad */
  .hero-lead {
    max-width: 26rem;
    font-size: 1.05rem;
  }

  .lead-long { display: none; }
  .lead-short { display: block; }

  .hero-media {
    border-radius: 14px;
  }

  .hero-play-icon {
    width: 3.5rem;
    height: 3.5rem;
  }
}

/* Bevisrad under hero, samma uppställning som Horizon3. */
.proof-bar {
  background: linear-gradient(180deg, #123044 0%, #0e2433 100%);
  color: #fff;
}

.proof-bar-inner {
  width: min(1248px, calc(100% - 4rem));
  margin-inline: auto;
  padding: 30px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 2.25rem;
}

.proof-bar-item {
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 0;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.35;
  color: #fff;
}

.proof-bar-item svg {
  flex: none;
  width: 40px;
  height: 40px;
}

.proof-bar-item svg.icon-pin {
  width: 22px;
  height: 32px;
  /* Samma 40px-spår som övriga ikoner, nålen centrerad i spåret */
  margin-left: 9px;
  margin-right: 9px;
}

.service-icon svg.icon-pin {
  width: 2.35rem;
  height: 2.9rem;
  overflow: visible;
}

@media (max-width: 980px) {
  .proof-bar-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.15rem;
    width: min(1248px, calc(100% - 2.5rem));
    padding: 1.4rem 0;
  }

  .proof-bar-item { font-size: 1.05rem; }
}

/* —— Sections —— */
.section { padding: clamp(4.2rem, 8vw, 6.5rem) 0; }

.section-head { margin-bottom: clamp(1.6rem, 3vw, 2.4rem); max-width: 40rem; }

.section-head-split { max-width: none; }

.section-kicker {
  margin: 0 0 0.55rem;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #0e7c8e;
}

.section-head h2,
.story-intro h2,
.page-hero h1 {
  margin: 0;
  font-size: clamp(2.15rem, 4.6vw, 3.5rem);
  font-weight: 520;
  letter-spacing: -0.042em;
  line-height: 1.02;
  color: var(--ink);
}

.section-head p,
.page-hero p {
  margin: 0.85rem 0 0;
  color: var(--meta);
  font-size: 1.05rem;
  line-height: 1.5;
  max-width: 36rem;
}

.section-cta {
  text-align: center;
}

.section-cta .section-head {
  margin-inline: auto;
}

.section-cta .section-head p {
  margin-inline: auto;
}

.section-cta .hero-actions {
  justify-content: center;
}

.section-cta .btn-ghost {
  color: var(--navy);
  border-color: var(--line);
}

.section-light { background: var(--white); }
.section-paper,
.section-surface { background: var(--paper); }
.section-proof {
  background: linear-gradient(180deg, #e6eef0 0%, #eef3f1 46%);
  padding-top: clamp(3.6rem, 7vw, 5.25rem);
  overflow-x: clip;
}

@media (min-width: 860px) {
  .section-head-split {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 2rem;
  }
  .section-head-split > p {
    margin: 0;
    max-width: 48ch;
    text-align: right;
  }
}

/* —— Proof wheel —— */
.wheel {
  --wheel-radius: 390px;
  --card-w: min(760px, 92vw);
  --card-radius: 18px;
  --shot-ratio: 1905 / 944;
}

.wheel[data-device="mobile"] {
  --wheel-radius: 280px;
  --card-w: min(220px, 52vw);
  --card-radius: 26px;
  --shot-ratio: 1170 / 2240;
}

.wheel-stage {
  position: relative;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  overflow: visible;
}

.wheel-toolbar {
  position: relative;
  z-index: 5;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.2rem;
  padding: 0.15rem 0.55rem 0.85rem;
}

.wheel-hint {
  margin: 0;
  color: var(--meta);
  font-size: 0.88rem;
}

.wheel-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
}

.device-toggle {
  display: inline-flex;
  padding: 0.25rem;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.device-toggle button {
  border: none;
  background: transparent;
  padding: 0.42rem 0.9rem;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--meta);
  cursor: pointer;
}

.device-toggle button[aria-pressed="true"] {
  background: var(--navy);
  color: var(--white);
}

.wheel-nav { display: flex; gap: 0.4rem; }

.wheel-nav button {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--navy);
  cursor: pointer;
  display: grid;
  place-items: center;
}

.wheel-nav button:hover { background: var(--surface); }

.wheel-scene {
  position: relative;
  z-index: 1;
  height: calc(var(--card-w) / 1905 * 944 + 240px);
  perspective: 1600px;
  perspective-origin: 50% 42%;
  cursor: grab;
  user-select: none;
  /* pan-y: vertikal scroll ska gå igenom karusellen */
  touch-action: pan-y;
  transition: height 0.55s var(--ease);
}

.wheel[data-device="mobile"] .wheel-scene {
  height: calc(var(--card-w) / 1170 * 2240 + 220px);
}

.wheel[data-device="mobile"] .wheel-card-inner,
.wheel[data-device="mobile"] .wheel-card.is-active .wheel-card-inner {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  overflow: visible;
}

.wheel[data-device="mobile"] .wheel-shot {
  border-radius: 26px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 18px 40px rgba(0, 0, 0, 0.35);
}

.wheel[data-device="mobile"] .wheel-card.is-active .wheel-shot {
  box-shadow:
    0 0 0 1px rgba(126, 214, 228, 0.55),
    0 22px 48px rgba(0, 0, 0, 0.4);
}

/* Absolut under shot så titelradbryt inte ger olika kort-höjd (sne vänster/höger). */
.wheel[data-device="mobile"] .wheel-card-body {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  bottom: auto;
  padding: 0.8rem 0.2rem 0;
  background: none;
  text-align: center;
  color: var(--navy-deep);
}

.wheel[data-device="mobile"] .wheel-card-body p {
  color: var(--meta);
}

.wheel[data-device="mobile"] .wheel-card-body h3 {
  font-size: 0.92rem;
  line-height: 1.25;
}

.wheel[data-device="mobile"] .wheel-card:not(.is-active) .wheel-card-body {
  visibility: hidden;
}

.wheel-scene.is-dragging { cursor: grabbing; }

.wheel-scene.is-dragging .wheel-ring,
.wheel-scene.is-dragging .wheel-card {
  will-change: transform;
}

.wheel-ring {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  backface-visibility: hidden;
}

.wheel-card {
  position: absolute;
  left: 50%;
  top: 54%;
  width: var(--card-w);
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  transform-style: preserve-3d;
  transform-origin: center center;
  will-change: transform, opacity;
  backface-visibility: hidden;
  transition: width 0.55s var(--ease);
}

.wheel-card-inner {
  position: relative;
  width: 100%;
  border-radius: var(--card-radius);
  overflow: hidden;
  background: #08141c;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  transition: border-radius 0.55s var(--ease), box-shadow 0.35s ease, border-color 0.35s ease;
}

.wheel-card.is-active .wheel-card-inner {
  border-color: rgba(126, 214, 228, 0.45);
  box-shadow:
    0 0 0 1px rgba(126, 214, 228, 0.25),
    0 22px 50px rgba(0, 0, 0, 0.35);
}

.wheel-shot {
  position: relative;
  width: 100%;
  aspect-ratio: var(--shot-ratio);
  overflow: hidden;
  background: #08141c;
  transition: aspect-ratio 0.55s var(--ease);
}

.wheel-shot img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  -webkit-user-drag: none;
  user-select: none;
  pointer-events: none;
}

.wheel[data-device="desktop"] .shot-mobile,
.wheel[data-device="mobile"] .shot-desktop { opacity: 0; }

.wheel[data-device="desktop"] .shot-desktop,
.wheel[data-device="mobile"] .shot-mobile { opacity: 1; }

.wheel-card-body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 2rem 1rem 0.85rem;
  background: linear-gradient(to top, rgba(6, 14, 20, 0.92), transparent);
  color: #fff;
}

.wheel-card-body h3 {
  margin: 0 0 0.12rem;
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.wheel-card-body p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
}

.wheel-dots {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 0.35rem;
}

.wheel-dots button {
  position: relative;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.55);
  box-shadow: 0 0 0 0.5px rgba(18, 42, 58, 0.5);
  padding: 0;
  cursor: pointer;
  box-sizing: border-box;
}

.wheel-dots button::before {
  content: "";
  position: absolute;
  inset: -9px;
}

.wheel-dots button[aria-current="true"] {
  background: var(--boost-bright);
  box-shadow: 0 0 0 0.5px rgba(18, 42, 58, 0.65);
  width: 1.35rem;
  border-radius: 999px;
}

.proof-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.5rem;
  align-items: flex-end;
  justify-content: space-between;
  margin-top: 1.15rem;
}

.proof-now { margin: 0; }

.proof-now strong {
  display: block;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
}

.proof-now span {
  color: var(--meta);
  font-size: 0.9rem;
}

.proof-foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.4rem;
}

@media (max-width: 700px) {
  .device-toggle { display: none; }

  .wheel .shot-desktop { opacity: 0; }
  .wheel .shot-mobile { opacity: 1; }

  .wheel,
  .wheel[data-device="mobile"] {
    --wheel-radius: 80px;
    --card-w: min(128px, 33vw);
    --card-radius: 24px;
    --shot-ratio: 1170 / 2240;
    content-visibility: auto;
    contain-intrinsic-size: 720px;
  }

  .wheel-scene {
    touch-action: pan-y;
  }

  .wheel[data-device="mobile"] .wheel-shot {
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, 0.08),
      0 10px 24px rgba(0, 0, 0, 0.28);
  }

  .wheel[data-device="mobile"] .wheel-card.is-active .wheel-shot {
    box-shadow:
      0 0 0 1px rgba(126, 214, 228, 0.55),
      0 14px 30px rgba(0, 0, 0, 0.32);
  }

  .section-head-split > p { text-align: left; }

  .wheel-nav button {
    width: 2.75rem;
    height: 2.75rem;
  }

  .wheel-dots button::before { inset: -16px; }
}

/* —— Vad du får —— */
.story {
  position: relative;
  background:
    radial-gradient(ellipse 40% 30% at 80% 20%, rgba(53, 170, 190, 0.16), transparent 60%),
    linear-gradient(180deg, #0e2432 0%, #0c1c28 40%, #0b1924 100%);
  color: #f3f7f8;
  padding: clamp(4.55rem, 7.125vw, 6.15rem) 0 0;
}

.story .section-kicker { color: var(--boost-bright); }

.story-intro {
  max-width: 42rem;
  margin-inline: auto;
  margin-bottom: 0.85rem;
  text-align: center;
}

.story-intro h2 { color: #f4f8f7; }

.story-intro-lead {
  margin: 0.65rem auto 0;
  max-width: 36ch;
  font-size: clamp(1.08rem, 2vw, 1.28rem);
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.74);
}

.scroll-switch {
  display: grid;
  gap: 1.5rem;
  align-items: start;
}

.scroll-step {
  /* Horizon3-rytm: högre steg = mer scroll per bild innan byte */
  min-height: min(72vh, 34rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1rem 0;
  opacity: 0.34;
  transition: opacity 0.35s ease;
}

.scroll-step.is-active { opacity: 1; }

.scroll-step-num {
  margin: 0 0 0.2rem;
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--boost-bright);
}

.scroll-step h3 {
  margin: 0 0 0.35rem;
  font-size: clamp(2.55rem, 5vw, 3.85rem);
  font-weight: 520;
  letter-spacing: -0.04em;
  line-height: 0.98;
  color: #f7fbfb;
}

.scroll-step-title {
  margin: 0 0 0.45rem;
  font-size: clamp(1.08rem, 1.9vw, 1.28rem);
  font-weight: 550;
  color: rgba(255, 255, 255, 0.92);
}

.scroll-step > p:last-child {
  margin: 0;
  max-width: 34ch;
  font-size: 1.02rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.68);
}

.scroll-step-visual { display: none; margin: 0 0 1rem; }

.scroll-step-visual img {
  width: 100%;
  border-radius: 16px;
  background: #07141c;
}

.scroll-switch__right {
  /* Bara bildspåret: start/höjd sätts via JS till Hemsida → SMS-slut */
  position: relative;
  align-self: start;
  width: 100%;
  margin-top: var(--story-media-top, 0px);
  height: var(--story-media-height, auto);
}

.scroll-frame {
  position: sticky;
  /* Vertikal mitt i viewport (sätts mer exakt via JS) */
  top: var(--story-sticky-top, calc(50vh - 28vh));
  width: 100%;
}

.scroll-frame-kicker {
  margin: 0 0 0.7rem;
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 1.35rem;
  color: var(--boost-bright);
}

.scroll-frame-kicker::after {
  content: "";
  display: block;
  margin-top: 0.55rem;
  height: 2px;
  width: calc(var(--story-p, 0.333) * 100%);
  max-width: 8rem;
  background: var(--boost-bright);
  border-radius: 999px;
  transition: width 0.45s var(--ease);
}

.scroll-switch__stack {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  overflow: hidden;
  background: #07141c;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 30px 70px rgba(0, 0, 0, 0.35);
}

.scroll-panel {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s var(--ease), visibility 0.5s;
}

.scroll-panel.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.scroll-panel img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #07141c;
}

.story-footer {
  margin-top: 0.5rem;
  padding-top: 1.4rem;
  transform: translateY(-4rem);
}

@media (min-width: 900px) {
  .scroll-switch {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(1.5rem, 4vw, 3.5rem);
    align-items: start;
  }

  .scroll-switch__left {
    position: relative;
    padding-left: 1.4rem;
  }

  .scroll-step[data-step="0"] {
    justify-content: flex-start;
    padding-top: calc((min(72vh, 34rem) - 11rem) / 2 - 4.5rem);
  }

  .scroll-switch__left::before {
    content: "";
    position: absolute;
    left: 0;
    /* Spegla 01-starten: samma inset nedtill, lite högre start */
    top: calc((min(72vh, 34rem) - 11rem) / 2 - 4.5rem);
    bottom: calc((min(72vh, 34rem) - 11rem) / 2);
    width: 1px;
    background: rgba(255, 255, 255, 0.14);
  }
}

@media (max-width: 899px) {
  .story-intro { margin-bottom: 3.6rem; }

  .scroll-step {
    min-height: 0;
    padding: 0 0 2.6rem;
    opacity: 1;
  }
  .scroll-switch__right { display: none; }
  .scroll-step-visual { display: block; order: 5; margin: 1.1rem 0 0; }
  .story-footer { transform: none; padding-bottom: 2.4rem; }
}

/* —— Process —— */
.steps {
  display: grid;
  gap: 1.25rem 1.5rem;
}

@media (min-width: 720px) {
  .steps { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1100px) {
  .steps { grid-template-columns: repeat(4, 1fr); }
}

.step {
  padding: 1.15rem 0.2rem 0;
  border-top: 1px solid rgba(23, 48, 68, 0.16);
  background: transparent;
}

.step-num {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 1.7rem;
  line-height: 1;
  color: #0e7c8e;
  margin-bottom: 0.85rem;
}

.step h3 {
  margin: 0 0 0.4rem;
  font-size: 1.12rem;
  letter-spacing: -0.02em;
}

.step p {
  margin: 0;
  color: var(--meta);
  font-size: 0.95rem;
  max-width: 28ch;
}

/* —— Contact band —— */
.contact-band {
  position: relative;
  background:
    radial-gradient(ellipse 42% 70% at 100% 0%, rgba(53, 170, 190, 0.2), transparent 58%),
    linear-gradient(180deg, #102838 0%, #0c1c28 100%);
  color: #f4f8f7;
  padding: clamp(4.2rem, 8vw, 6.4rem) 0;
}

.contact-band .section-kicker { color: var(--boost-bright); }

.contact-band-grid {
  display: grid;
  gap: 2.2rem;
  align-items: start;
}

@media (min-width: 900px) {
  .contact-band-grid {
    grid-template-columns: 0.95fr 1.05fr;
    gap: 3.5rem;
  }
}

.contact-band h2 {
  margin: 0 0 0.8rem;
  font-size: clamp(3rem, 6.4vw, 5rem);
  font-weight: 520;
  letter-spacing: -0.05em;
  line-height: 0.92;
  color: #f7fbfb;
}

.contact-band-copy > p:not(.section-kicker) {
  margin: 0;
  max-width: 32ch;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.08rem;
}

.contact-band-ways {
  display: grid;
  gap: 1rem;
  margin-top: 1.8rem;
}

.contact-band-ways a {
  text-decoration: none;
  display: grid;
  gap: 0.15rem;
}

.contact-band-ways span {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--boost-bright);
  font-weight: 600;
}

.contact-band-ways strong {
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  font-weight: 520;
  letter-spacing: -0.03em;
}

.form {
  display: grid;
  gap: 0.85rem;
  padding: 1.3rem;
  border-radius: 22px;
  background: #f7faf8;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
}

.form-row {
  display: grid;
  gap: 0.85rem;
}

@media (min-width: 640px) {
  .form-row { grid-template-columns: 1fr 1fr; }
}

.form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #3c5160;
}

.form input,
.form textarea,
.form select {
  width: 100%;
  padding: 0.75rem 0.8rem;
  border-radius: 12px;
  border: 1px solid rgba(23, 48, 68, 0.14);
  background: var(--white);
  color: var(--ink);
}

.form input:focus,
.form textarea:focus,
.form select:focus {
  outline: none;
  border-color: var(--boost);
  box-shadow: 0 0 0 3px rgba(53, 170, 190, 0.2);
}

.form textarea { min-height: 120px; resize: vertical; }

.form select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #3c5160 50%), linear-gradient(135deg, #3c5160 50%, transparent 50%);
  background-position: calc(100% - 18px) 52%, calc(100% - 13px) 52%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 2rem;
}

.page-center .page-hero .wrap,
.page-center .form-note {
  text-align: center;
}

.page-center .page-hero p { margin-inline: auto; }

.videor-hero {
  padding-bottom: clamp(1.4rem, 3vw, 2rem);
}

.videor-hero .wrap {
  display: grid;
  justify-items: center;
  gap: 0;
  max-width: 40rem;
}

.videor-lead {
  margin-top: 1rem !important;
  max-width: 28rem;
}

.videor-promise {
  margin-top: 1.75rem !important;
  max-width: 28rem;
  font-family: var(--font-accent);
  font-style: italic;
  font-size: clamp(1.85rem, 4.2vw, 2.55rem);
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: -0.025em;
  color: var(--navy-deep);
}

.videor-examples {
  list-style: none;
  margin: 1.35rem 0 0;
  padding: 1.15rem 1.25rem;
  width: min(34rem, 100%);
  display: grid;
  gap: 0.7rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(23, 48, 68, 0.08);
  color: var(--text);
  font-size: clamp(0.98rem, 1.5vw, 1.08rem);
  line-height: 1.4;
}

.videor-examples li { margin: 0; }

.videor-ask {
  margin-top: 1.5rem !important;
  max-width: 24rem;
  font-size: 1.08rem;
  font-weight: 520;
  color: var(--ink);
}

#videorform { padding-top: clamp(1.1rem, 2.4vw, 1.75rem); }

.videor-form {
  width: min(32rem, 100%);
  margin-inline: auto;
}

.videor-form textarea { min-height: 88px; }

.page-center .videor-form { text-align: center; }

.page-center .videor-form input,
.page-center .videor-form textarea,
.page-center .videor-form select { text-align: left; }

.page-center .videor-form .btn { justify-self: center; }

.form .btn { justify-self: start; margin-top: 0.2rem; }

.form-note {
  margin: 0;
  font-size: 0.8rem;
  color: var(--meta);
}

.form-note a { color: #0e6f80; }

.form-hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-error {
  margin: 0;
  font-size: 0.9rem;
  color: #9b2c2c;
}

.form-success {
  display: grid;
  gap: 0.45rem;
  padding: 1.35rem 1.4rem;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 10px 28px rgba(8, 22, 32, 0.06);
}

.form-success[hidden] { display: none; }

.form-success strong {
  color: var(--ink);
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.form-success p {
  margin: 0;
  color: var(--meta);
  line-height: 1.5;
}

[data-form-wrap].is-success .form { display: none; }

/* —— Page hero (undersidor) —— */
.page-hero {
  padding: clamp(2.8rem, 6vw, 4.2rem) 0 0.5rem;
  background: var(--paper);
}

.page-hero h1 { margin: 0; }

/* —— Sajter —— */
.case-list { display: grid; gap: 3rem; }

.case {
  display: grid;
  gap: 1.25rem;
  align-items: center;
}

.case:last-child { padding-bottom: 0; }

@media (min-width: 800px) {
  .case {
    grid-template-columns: 1.25fr 0.9fr;
    gap: 2.4rem;
  }
  .case:nth-child(even) .case-media { order: 2; }
}

.case-media {
  overflow: hidden;
  border-radius: 18px;
  background: #12161c;
  box-shadow: var(--shadow);
}

.case-media img { width: 100%; height: auto; }

.case-kicker {
  margin: 0 0 0.4rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: #0e7c8e;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.case-body h2 {
  margin: 0 0 0.6rem;
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  letter-spacing: -0.03em;
}

.case-body p {
  margin: 0 0 1.15rem;
  color: var(--meta);
  max-width: 36rem;
}

/* —— Tjänster —— */
.section-services {
  padding-top: clamp(6.4rem, 11vw, 9rem);
}

.service-blocks { display: grid; gap: 2.35rem; }

@media (min-width: 900px) {
  .service-blocks { grid-template-columns: repeat(3, 1fr); gap: 2.4rem; }
}

.service-block {
  padding: 0;
  background: transparent;
  border: none;
}

.service-icon {
  display: flex;
  align-items: flex-end;
  height: 3rem;
  margin: 0 0 0.95rem 0.15rem;
  color: var(--navy);
}

.service-icon svg {
  display: block;
  width: 2.9rem;
  height: 2.9rem;
}


.service-body {
  padding: 1.15rem 0.15rem 0.4rem;
  border-top: 2px solid var(--boost);
}

.service-block h2 {
  margin: 0.35rem 0 0.85rem;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.service-list {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--meta);
  display: grid;
  gap: 0.45rem;
}

.faq { max-width: 42rem; }

.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 0;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem 0;
  font-weight: 600;
  color: var(--ink);
  transition: color 0.25s var(--ease);
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "";
  flex: 0 0 auto;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 999px;
  background:
    linear-gradient(var(--navy), var(--navy)) center / 0.7rem 1.5px no-repeat,
    linear-gradient(var(--navy), var(--navy)) center / 1.5px 0.7rem no-repeat,
    var(--boost-soft);
  transition:
    transform 0.35s var(--ease),
    background-color 0.25s var(--ease);
}

.faq-item summary:hover { color: var(--navy); }

.faq-item summary:hover::after {
  background:
    linear-gradient(var(--navy), var(--navy)) center / 0.7rem 1.5px no-repeat,
    linear-gradient(var(--navy), var(--navy)) center / 1.5px 0.7rem no-repeat,
    rgba(53, 170, 190, 0.22);
}

.faq-item[open] summary::after,
.faq-item.is-open summary::after {
  transform: rotate(45deg);
  background:
    linear-gradient(var(--navy), var(--navy)) center / 0.7rem 1.5px no-repeat,
    linear-gradient(var(--navy), var(--navy)) center / 1.5px 0.7rem no-repeat,
    rgba(53, 170, 190, 0.22);
}

.faq-panel {
  overflow: hidden;
  height: 0;
  opacity: 0;
  transition:
    height 0.4s var(--ease),
    opacity 0.3s var(--ease);
}

.faq-item.is-open > .faq-panel {
  opacity: 1;
}

.faq-item p {
  margin: 0 0 1.05rem;
  color: var(--meta);
  max-width: 36rem;
}

/* —— Kontakt —— */
.contact-page {
  display: grid;
  gap: 2rem;
}

@media (min-width: 860px) {
  .contact-page {
    grid-template-columns: 0.85fr 1.15fr;
    align-items: start;
    gap: 2.5rem;
  }
}

.contact-aside h2 {
  margin: 0 0 1rem;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.contact-ways { display: grid; gap: 0.75rem; }

.contact-ways a {
  display: block;
  padding: 0.95rem 1.05rem;
  border-radius: 14px;
  background: var(--white);
  border: 1px solid var(--line);
  text-decoration: none;
}

.contact-ways a strong { display: block; }
.contact-ways a span { color: var(--meta); font-size: 0.9rem; }

.contact-meta {
  margin-top: 1.5rem;
  display: grid;
  gap: 1rem;
}

.contact-meta p { margin: 0; color: var(--meta); font-size: 0.95rem; }
.contact-meta strong { color: var(--ink); }

.section-surface .form,
.contact-page .form {
  box-shadow: 0 16px 40px rgba(16, 36, 51, 0.06);
}

/* —— Footer —— */
.site-footer {
  flex-shrink: 0;
  margin-top: auto;
  padding: 2.4rem 0 calc(2.2rem + env(safe-area-inset-bottom, 0px));
  background: #08151e;
  color: var(--meta-on-dark);
}

/* Extra navy under footern i dokumentflödet (syns bakom Safari-baren). */
.page-end-fill {
  flex: none;
  height: calc(env(safe-area-inset-bottom, 0px) + 64px);
  background: #08151e;
  pointer-events: none;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.25rem;
  align-items: center;
}

.site-footer .brand img { height: 24px; }

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 1.15rem;
}

.footer-links a {
  color: var(--meta-on-dark);
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-links a:hover { color: var(--white); }

.footer-copy {
  margin: 1.4rem 0 0;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
}

/* —— Integritet / legal —— */
.legal {
  max-width: 40rem;
  padding-bottom: 1rem;
}

.legal-block + .legal-block {
  margin-top: 2.35rem;
  padding-top: 2.35rem;
  border-top: 1px solid var(--line);
}

.legal h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-accent);
  font-size: clamp(1.45rem, 2.4vw, 1.85rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--ink);
}

.legal p {
  margin: 0;
  color: var(--meta);
  font-size: 1.02rem;
  line-height: 1.65;
}

.legal p + p {
  margin-top: 0.85rem;
}

.legal strong {
  color: var(--ink);
  font-weight: 600;
}

.legal ul {
  margin: 0.85rem 0 0;
  padding-left: 1.2rem;
  color: var(--meta);
  font-size: 1.02rem;
  line-height: 1.55;
}

.legal li + li {
  margin-top: 0.35rem;
}

.legal a {
  color: #0e6f80;
  text-decoration: underline;
  text-underline-offset: 0.15em;
  text-decoration-thickness: 1px;
  word-break: break-word;
}

.legal a:hover {
  color: var(--ink);
}

.legal-updated {
  margin-top: 1rem !important;
  font-size: 0.86rem !important;
  color: #5a6b78 !important;
}
