@import url('https://fonts.googleapis.com/css2?family=Public+Sans:wght@400;700;800&display=swap');

:root {
  --bg: #ffffff;
  --card: #ffffff;
  --text: #1c1c1c;
  --text-muted: #42474d;
  --text-soft: #5b6169;
  --border: #dcdfe3;
  --border-soft: #eceef0;
  --accent: #0087e7;
  --accent-tint: #d9edfc;
  --accent-hover: #005fa8;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Public Sans', Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
}

a {
  color: var(--accent);
}

a:hover {
  color: var(--accent-hover);
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 42px;
}

/* Header */
header {
  padding: 32px 0;
}

header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

header .logo img {
  height: 32px;
  width: auto;
  display: block;
  margin-left: 20px;
}

header nav {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

header nav a,
header nav a:visited {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
}

header nav a:hover {
  color: var(--accent);
}

header nav .sep {
  color: var(--border);
  font-size: 16px;
}

/* Hamburger toggle — visas bara på mobil */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 26px;
  border-radius: 8px;
  border: none;
  background: var(--accent);
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.btn:visited {
  color: #fff;
}

.btn:hover {
  background: var(--accent-hover);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 2px solid var(--border);
  box-shadow: none;
}

.btn-outline:visited {
  color: var(--text);
}

.btn-outline:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.btn-small {
  padding: 12px 22px;
  font-size: 16px;
  box-shadow: none;
  margin-left: 10px;
}

/* Card panel wrapping page sections */
.panel {
  max-width: 1140px;
  margin: 0 auto;
  background: var(--card);
  box-shadow: 0 24px 56px -20px rgba(0, 0, 0, 0.16);
  border-radius: 24px;
  overflow: hidden;
}

section {
  padding: 56px 42px;
}

section h2 {
  font-size: 26px;
  font-weight: 800;
  margin: 0 0 8px;
}

section .lead {
  font-size: 16px;
  color: var(--text-soft);
  margin: 0 0 28px;
  max-width: 640px;
}

hr.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0 42px;
}

/* Hero (centered, text-only) */
.hero-centered {
  text-align: center;
  padding: 80px 42px 48px;
}

.hero-centered h1 {
  font-size: 46px;
  line-height: 1.15;
  font-weight: 800;
  margin: 0 auto 20px;
  max-width: 760px;
}

/* Vänsterkolumnen på kontaktsidan */
.contact-column {
  padding-left: 20px;
}

/* Sidrubrik i vänsterställda sidhuvuden (t.ex. kontaktsidan) */
.page-title {
  font-size: 36px;
  font-weight: 800;
  margin: 0 0 8px;
}

/* Något mindre hero-rubrik på vissa sidor — bara på desktop */
@media (min-width: 761px) {
  .hero-centered h1.compact {
    font-size: 38px;
  }
}

.hero-centered p {
  font-size: 19px;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0 auto 36px;
  max-width: 640px;
}

.hero-centered .actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Video section */
.video-single {
  max-width: 840px;
  margin: 0 auto;
  padding: 0 42px 64px;
}

.video-main {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: #1c1c1c repeating-linear-gradient(45deg, #2a2a2a, #2a2a2a 10px, #232323 10px, #232323 20px);
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.video-main .play-btn {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.3);
}

.video-main .play-btn span {
  width: 0;
  height: 0;
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
  border-left: 22px solid var(--accent);
  margin-left: 6px;
  display: block;
}

.video-main .video-caption {
  position: absolute;
  bottom: 20px;
  left: 24px;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
}

/* Embedded video player (Vimeo) */
.video-embed {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  overflow: hidden;
  background: #1c1c1c;
}

.video-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Modules band */
.modules-band {
  background: #f6f7f8;
  border-radius: 20px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.modules-band .heading {
  text-align: center;
}

.modules-band .heading h2 {
  margin: 0 0 8px;
}

.modules-band .heading p {
  font-size: 16px;
  color: var(--text-soft);
  margin: 0;
}

.module-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.module-card {
  background: var(--card);
  border-radius: 14px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-top: 4px solid var(--accent);
}

.module-card img,
.module-card .icon-placeholder {
  width: 36px;
  height: 36px;
}

.module-card .icon-placeholder {
  border-radius: 8px;
}

.module-card .title {
  font-size: 16px;
  font-weight: 700;
}

.module-card p {
  font-size: 14px;
  color: var(--text-soft);
  margin: 0;
  line-height: 1.5;
}

/* Module detail rows (tjänstepaketet) */
.module-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.module-row .eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin: 0 0 14px;
}

.module-row .eyebrow img,
.module-row .eyebrow .icon-placeholder {
  width: 20px;
  height: 20px;
}

.module-row .eyebrow .icon-placeholder {
  border-radius: 5px;
}

.module-row h2 {
  font-size: 28px;
  font-weight: 800;
  margin: 0 0 12px;
}

.module-row .desc {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0 0 20px;
}

.module-row .video-main,
.module-row .media-frame {
  aspect-ratio: 4 / 3;
}

/* Image frame (used instead of a video block) */
.media-frame {
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  overflow: hidden;
  background: #f6f7f8 repeating-linear-gradient(45deg, #f6f7f8, #f6f7f8 10px, #eceef0 10px, #eceef0 20px);
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Illustrations: show the whole image instead of cropping it */
.media-frame.contain {
  background: #fff;
}

.media-frame.contain img {
  object-fit: contain;
}

/* Row of square photos (tjanstepaketet hero) */
.photo-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}

.photo-strip-item {
  aspect-ratio: 1 / 1;
  border-radius: 10px;
  overflow: hidden;
}

.photo-strip-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--text-muted);
}

.checklist .check {
  font-weight: 800;
  flex-shrink: 0;
}

/* Two-column split: main content (2/3) + sidebar card (1/3) */
.split-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  align-items: start;
}

.sidebar-card {
  background: var(--card);
  border: 1px solid var(--border-soft);
  border-radius: 20px;
  padding: 32px;
  position: sticky;
  top: 24px;
  text-align: center;
}

.sidebar-card h2 {
  font-size: 18px;
  font-weight: 800;
  margin: 0 0 8px;
}

.sidebar-card p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0 0 20px;
}

/* Generic CTA band (heading + text + buttons) */
.final-band {
  background: #f6f7f8;
  border-radius: 20px;
  padding: 40px;
  text-align: center;
}

.final-band h2 {
  font-size: 26px;
  font-weight: 800;
  margin: 0 0 8px;
}

.final-band p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-soft);
  margin: 0 auto 24px;
  max-width: 640px;
}

.final-band .actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.icon-badge {
  font-size: 40px;
  line-height: 1;
  margin-bottom: 30px;
}

/* Active nav link */
header nav a.active,
header nav a.active:visited {
  color: var(--accent);
}

/* Three-level funnel (för kommuner hero) */
.funnel-section {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.funnel-eyebrow {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.funnel-section h2 {
  font-size: 28px;
  font-weight: 800;
  line-height: 1.3;
  margin: 0 0 16px;
}

.funnel-lead {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.funnel {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.funnel-level {
  position: relative;
  width: 100%;
}

.funnel-shape {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  transform: scaleY(-1);
}

.funnel-level-1 .funnel-shape {
  fill: #ffffff;
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.18));
}

.funnel-level-2 .funnel-shape {
  fill: #eef5fd;
  filter: drop-shadow(0 5px 12px rgba(0, 0, 0, 0.1));
}

.funnel-level-3 .funnel-shape {
  fill: #cfe3f8;
  filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.05));
}

.funnel-level-1 {
  min-height: 169px;
  margin-top: 10px;
}

.funnel-level-2 {
  margin-top: 10px;
}

.funnel-level-3 {
  margin-top: 0;
}

@media (min-width: 761px) {
  .funnel-level-2 {
    width: calc(100% - 324px);
    margin-left: auto;
    margin-right: auto;
  }

  .funnel-level-3 {
    width: calc(100% - 581px);
    margin-left: auto;
    margin-right: auto;
  }
}

.funnel-level-inner {
  position: relative;
  z-index: 1;
  padding: 32px 16%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  text-align: left;
}

.funnel-level-1 .funnel-level-inner {
  position: absolute;
  inset: 0;
  box-sizing: border-box;
}

.funnel-level-2 .funnel-level-inner {
  padding: 30px 23%;
  justify-content: center;
  text-align: center;
}

.funnel-level-3 .funnel-level-inner {
  padding: 30px 60px;
  justify-content: center;
  text-align: center;
}

.funnel-main {
  display: flex;
  align-items: center;
  gap: 18px;
}

.funnel-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  color: var(--accent);
}

.funnel-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.funnel-icon.small {
  width: 26px;
  height: 26px;
}

.funnel-level h3 {
  font-size: 17px;
  font-weight: 800;
  margin: 0 0 4px;
}

.funnel-level-1 .funnel-main h3 {
  margin-top: -9px;
}

.funnel-level p {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}

.funnel-side {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-left: 24px;
  border-left: 1px solid rgba(0, 0, 0, 0.12);
  flex-shrink: 0;
}

.funnel-side-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 2px;
}

.funnel-arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin: -18px 0;
  position: relative;
  z-index: 1;
}

.funnel-arrow svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transform: rotate(180deg);
}

/* Challenge grid */
.challenge-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.challenge-item {
  background: #f6f7f8;
  border-radius: 14px;
  padding: 24px;
}

.challenge-item h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 8px;
}

.challenge-item p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
}

/* Law citation box */
.law-box {
  background: var(--accent-tint);
  border-left: 4px solid var(--accent);
  border-radius: 0 16px 16px 0;
  padding: 28px 32px;
}

.law-box .label {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 10px;
}

.law-box p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0 0 10px;
}

.law-box p:last-child {
  margin-bottom: 0;
}

/* Timeline / årshjul */
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 15px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: var(--border);
}

.timeline-item {
  position: relative;
  text-align: center;
  padding-top: 46px;
}

.timeline-item .num {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.timeline-item h3 {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 6px;
}

.timeline-item p {
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-soft);
  margin: 0;
}

/* Photo banner (om oss) */
.photo-banner {
  padding: 0 42px;
}

.photo-frame {
  position: relative;
  border-radius: 0 0 20px 20px;
  overflow: hidden;
}

.photo-frame img,
.photo-frame .photo-placeholder {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
}

.photo-frame .photo-placeholder {
  background: #e3e6e9 repeating-linear-gradient(45deg, #e3e6e9, #e3e6e9 10px, #d8dbde 10px, #d8dbde 20px);
}

.photo-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, 0.6) 100%);
}

.photo-frame .banner-text {
  position: absolute;
  left: 32px;
  right: 32px;
  bottom: 28px;
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.35;
  max-width: 440px;
  margin: 0;
}

/* Narrower prose column (om oss intro sections) */
.prose-section {
  padding-left: 84px;
  padding-right: 84px;
}

/* Why we exist */
.why-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
  align-items: start;
}

.why-grid h2 {
  font-size: 26px;
  font-weight: 800;
  margin: 0 0 16px;
}

.why-grid .highlight {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 16px;
}

.why-grid p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
}

.pro-bono-card {
  background: #f6f7f8;
  border-radius: 16px;
  padding: 28px;
}

.pro-bono-card .label {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 12px;
}

.pro-bono-card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0 0 16px;
}

.pro-bono-card .links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pro-bono-card .links a {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
}

.pro-bono-card .links a:hover {
  color: var(--accent-hover);
}

/* Method (Need, Ask, Develop, Implement, Organize) */
.step-label {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 10px;
}

.method-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 28px;
}

.method-feature .placeholder-box {
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  background: #f6f7f8 repeating-linear-gradient(45deg, #f6f7f8, #f6f7f8 10px, #eceef0 10px, #eceef0 20px);
}

.method-feature .placeholder-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.method-feature h3 {
  font-size: 20px;
  font-weight: 800;
  margin: 0 0 10px;
}

.method-feature p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.method-step {
  background: #f6f7f8;
  border-radius: 14px;
  padding: 20px;
}

.method-step h4 {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 6px;
}

.method-step p {
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-muted);
  margin: 0;
}

/* Municipality trust section */
.municipality-section {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 40px;
  align-items: center;
}

.municipality-section h2 {
  font-size: 26px;
  font-weight: 800;
  margin: 0 0 12px;
}

.municipality-section p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
}

.tag-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag-pill {
  background: #f6f7f8;
  border-radius: 20px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
}

/* Benefits */
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.benefit-item .num-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 8px;
}

.benefit-item .benefit-icon {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  color: var(--accent);
}

.benefit-item .benefit-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.benefit-item .number {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.benefit-item .title {
  font-size: 17px;
  font-weight: 700;
}

.benefit-item p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
}

/* Quote band */
.quote-band {
  background: #f6f7f8;
  border-radius: 20px;
  padding: 40px;
  text-align: center;
}

.quote-band blockquote {
  font-size: 22px;
  line-height: 1.5;
  font-weight: 700;
  margin: 0 auto 20px;
  max-width: 760px;
}

.quote-band cite {
  font-size: 15px;
  font-style: normal;
  color: var(--text-soft);
}

/* Role cards (reused pattern) */
.role-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.role-card {
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  background: var(--card);
}

.role-card .thumb {
  height: 140px;
  background-size: cover;
  background-position: center;
}

.role-card .body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.role-card .tag {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
}

.role-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0;
  line-height: 1.3;
}

/* News cards */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.news-card {
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: var(--card);
}

.news-card .thumb {
  display: block;
  height: 160px;
  background-size: cover;
  background-position: center;
  background-color: #f6f7f8;
}

.news-card .thumb.placeholder {
  background-image: repeating-linear-gradient(45deg, #f6f7f8, #f6f7f8 10px, #eceef0 10px, #eceef0 20px);
}

.news-card .body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.news-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0;
  line-height: 1.3;
}

.news-card p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
}

.news-card .read-more {
  margin-top: auto;
  padding-top: 4px;
  font-size: 15px;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
}

.news-card .read-more:hover {
  color: var(--accent-hover);
}

/* Feedback CTA */
.cta-band {
  background: #f6f7f8;
  border-radius: 20px;
  display: grid;
  grid-template-columns: 0.8fr 2fr 1fr;
  gap: 32px;
  align-items: center;
  overflow: hidden;
}

.cta-band .thumb {
  align-self: stretch;
  min-height: 160px;
  background: repeating-linear-gradient(45deg, #eceef0, #eceef0 10px, #e3e6e9 10px, #e3e6e9 20px);
}

.cta-band .text {
  padding: 40px 0;
}

.cta-band .text h2 {
  font-size: 24px;
  margin-bottom: 12px;
}

.cta-band .text p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
  max-width: 560px;
}

.cta-band > .btn {
  justify-self: start;
  margin-right: 40px;
}

/* Final CTA */
.final-cta {
  text-align: center;
}

.final-cta h2 {
  font-size: 28px;
  margin: 0 0 16px;
}

.final-cta p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0 auto 32px;
  max-width: 560px;
}

/* Footer */
.site-footer {
  background: #1c1c1c;
  border-radius: 20px 20px 0 0;
  padding: 48px;
  margin-top: 24px;
}

.site-footer .footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.site-footer .footer-brand img {
  height: 28px;
  width: auto;
  display: block;
  margin-bottom: 16px;
  filter: brightness(0) invert(1);
}

.site-footer .footer-brand p {
  font-size: 14px;
  line-height: 1.6;
  color: #b8bec6;
  margin: 0;
  max-width: 260px;
}

.site-footer h3 {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 14px;
}

.site-footer .footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.site-footer .footer-links a {
  font-size: 15px;
  color: #b8bec6;
  text-decoration: none;
}

.site-footer .footer-links a:hover {
  color: #fff;
}

.site-footer .social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.site-footer .social-link svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  flex-shrink: 0;
}

/* Simple content pages (FAQ, role pages) */
.page-header {
  padding: 40px 42px 0;
}

.page-header .back {
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  color: var(--text);
}

.content h1 {
  font-size: 36px;
  font-weight: 800;
  margin: 24px 0 32px;
}

.content .photo {
  width: 100%;
  border-radius: 16px;
  margin-bottom: 24px;
  display: block;
}

.content p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-muted);
  margin: 0 0 20px;
}

/* FAQ */
.faq-item {
  border-bottom: 1px solid var(--border-soft);
  padding: 24px 0;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-item h3 {
  font-size: 18px;
  margin: 0 0 10px;
}

.faq-item p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
}

/* Forms */
.form-page {
  padding: 56px 42px;
}

.form-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 560px;
}

.form-grid label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 6px;
}

.form-grid input,
.form-grid textarea {
  width: 100%;
  padding: 13px 14px;
  border-radius: 8px;
  border: 1.5px solid #b8bec6;
  font-size: 16px;
  font-family: inherit;
  background: #f6f7f8;
}

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

.honeypot-field {
  position: absolute;
  left: -9999px;
}

/* Responsive */
@media (max-width: 760px) {
  header {
    padding: 32px 0 48px;
  }

  .funnel-level-1,
  .funnel-level-2,
  .funnel-level-3 {
    border-radius: 16px;
    margin-top: 8px;
    overflow: hidden;
  }

  .funnel-level-1 {
    background: #ffffff;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
  }

  .funnel-level-2 {
    background: #eef5fd;
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.1);
  }

  .funnel-level-3 {
    background: #cfe3f8;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
  }

  .funnel-shape {
    display: none;
  }

  .funnel-level-inner,
  .funnel-level-2 .funnel-level-inner,
  .funnel-level-3 .funnel-level-inner {
    padding: 24px;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .funnel-side {
    border-left: none;
    padding-left: 0;
    padding-top: 16px;
    border-top: 1px solid rgba(0, 0, 0, 0.12);
    width: 100%;
  }

  .funnel-arrow {
    margin: 0;
  }

  .photo-strip {
    gap: 4px;
  }

  .photo-strip-item {
    border-radius: 6px;
  }

  .hero-centered {
    padding: 0 24px 40px;
  }

  .hero-centered h1,
  .page-title {
    font-size: 26px;
  }

  .modules-band {
    padding: 28px 20px;
  }

  .module-row {
    grid-template-columns: 1fr;
  }

  /* Bilden hamnar alltid under texten på mobil */
  .module-row .media-frame {
    order: 1;
  }

  /* Dölj element som bara ska synas på desktop */
  .hide-mobile {
    display: none;
  }

  .contact-column {
    padding-left: 0;
  }

  /* Samma indrag och toppavstånd som övriga sidor */
  .form-page {
    padding-top: 0;
    padding-left: 24px;
    padding-right: 24px;
  }

  .split-layout {
    grid-template-columns: 1fr;
  }

  .sidebar-card {
    position: static;
    padding: 24px 20px;
  }

  .final-band {
    padding: 28px 20px;
  }

  .icon-badge {
    font-size: 32px;
  }

  .module-grid {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

  .benefit-grid {
    grid-template-columns: 1fr;
  }

  .challenge-grid {
    grid-template-columns: 1fr;
  }

  .news-grid {
    grid-template-columns: 1fr;
  }

  .timeline {
    grid-template-columns: 1fr 1fr;
    row-gap: 32px;
  }

  .timeline::before {
    display: none;
  }

  .law-box {
    padding: 22px 20px;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .method-feature {
    grid-template-columns: 1fr;
  }

  .method-grid {
    grid-template-columns: 1fr 1fr;
  }

  .municipality-section {
    grid-template-columns: 1fr;
  }

  .site-footer {
    padding: 32px 24px;
    margin-top: 0;
    margin-left: -24px;
    margin-right: -24px;
    border-radius: 0;
  }

  .site-footer .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .photo-banner {
    padding: 0;
  }

  .photo-frame {
    border-radius: 0;
  }

  .photo-frame img,
  .photo-frame .photo-placeholder {
    height: 220px;
  }

  .photo-frame .banner-text {
    font-size: 18px;
    left: 20px;
    right: 20px;
    bottom: 20px;
  }

  .video-main {
    aspect-ratio: 16 / 9;
  }

  section {
    padding: 40px 24px;
  }

  .prose-section {
    padding-left: 24px;
    padding-right: 24px;
  }

  .container {
    padding: 0 24px;
  }

  /* Panelen går kant-i-kant på mobil */
  .panel {
    margin-left: -24px;
    margin-right: -24px;
    border-radius: 0;
  }

  /* All text vänsterställs på mobil */
  .hero-centered,
  .modules-band .heading,
  .sidebar-card,
  .final-band,
  .timeline-item,
  .quote-band,
  .final-cta,
  .funnel-section,
  .panel [style*="text-align:center"],
  .panel [style*="text-align: center"] {
    text-align: left !important;
  }

  .hero-centered .actions,
  .final-band .actions,
  .final-cta .actions {
    justify-content: flex-start;
  }

  /* Hero-bilder och film går kant-i-kant på mobil */
  .video-single .media-frame,
  .video-single .video-embed {
    margin-left: -42px;
    margin-right: -42px;
    border-radius: 0;
  }

  /* Grå band går kant-i-kant på mobil */
  .modules-band,
  .quote-band {
    margin-left: -24px;
    margin-right: -24px;
    border-radius: 0;
  }

  /* Hamburgermeny */
  .nav-toggle {
    display: flex;
    margin-top: -20px;
    margin-right: -20px;
  }

  header .logo img {
    height: 24px;
    margin-left: 0;
    margin-top: -20px;
  }

  header .inner {
    gap: 0;
  }

  header nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding-top: 8px;
  }

  header nav.open {
    display: flex;
  }

  header nav .sep {
    display: none;
  }

  header nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--border-soft);
  }

  header nav .btn {
    margin-left: 0;
    margin-top: 16px;
    border-bottom: none;
    text-align: center;
  }

  .cta-band {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .cta-band .thumb {
    min-height: 120px;
    border-radius: 12px;
  }

  .cta-band .text {
    padding: 0;
  }

  .cta-band > .btn {
    justify-self: start;
    margin-right: 0;
  }

  .content h1 {
    font-size: 28px;
  }
}

@media (max-width: 480px) {
  .module-grid {
    grid-template-columns: 1fr;
  }

  .method-grid {
    grid-template-columns: 1fr;
  }
}
