/* ════════════════════════════════════════════════════════════
   ParkSign – styles.css
   Version: 8.0
   ════════════════════════════════════════════════════════════ */

/* ─── RESET ──────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ─── DESIGN TOKENS ──────────────────────────────────────── */
:root {
  /* Brand colours */
  --ink:        #070707;
  --ink2:       #0f0f0f;
  --white:      #ffffff;
  --off:        #f7f6f3;
  --off2:       #f0efe9;

  --green:      #00c17c;
  --green-d:    #00a668;
  --green-glow: rgba(0,193,124,.28);
  --green-dim:  rgba(0,193,124,.10);
  --green-bord: rgba(0,193,124,.22);

  /* Text */
  --text-d:   #0f172a;
  --text-m:   #475569;
  --text-s:   #64748b;

  /* Borders & overlays */
  --bord:     rgba(255,255,255,.08);
  --bord2:    rgba(255,255,255,.14);
  --bord-l:   rgba(0,0,0,.09);
  --muted:    rgba(255,255,255,.50);
  --muted2:   rgba(255,255,255,.30);

  /* Layout */
  --max-w:    1120px;
  --nav-h:    90px;
  --r:        14px;
  --rL:       22px;

  /* Easing */
  --ease: cubic-bezier(.22,1,.36,1);
}

/* ─── BASE ───────────────────────────────────────────────── */
html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--ink);
  color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  line-height: 1.65;
}

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; height: auto; }
button { font-family: inherit; cursor: pointer; }
ul, ol { list-style: none; }

/* ─── LAYOUT UTILITIES ───────────────────────────────────── */
.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
}

section {
  padding: 88px 5vw;
  position: relative;
}

/* ─── TYPOGRAPHY ─────────────────────────────────────────── */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 20px;
}
.kicker::before {
  content: '';
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  flex-shrink: 0;
}

/* Light-background kicker variant */
.kicker-d {
  color: var(--text-s);
}

h1 {
  font-size: clamp(32px, 4.2vw, 56px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -1.5px;
}

h2 {
  font-size: clamp(30px, 4vw, 54px);
  font-weight: 800;
  line-height: 1.07;
  letter-spacing: -1.5px;
}

h3 {
  font-size: clamp(15px, 1.5vw, 17px);
  font-weight: 700;
  letter-spacing: -.2px;
}

h4 { font-size: 15px; font-weight: 700; letter-spacing: -.1px; }

.lead {
  font-size: clamp(15px, 1.5vw, 18px);
  color: var(--muted);
  line-height: 1.72;
  max-width: 520px;
  margin-top: 16px;
}

.lead-d {
  font-size: clamp(14px, 1.3vw, 17px);
  color: var(--text-m);
  line-height: 1.72;
  max-width: 520px;
  margin-top: 14px;
}

/* Green emphasis within headings */
em { color: var(--green); font-style: normal; }

/* ─── BUTTONS ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 700;
  border: none;
  white-space: nowrap;
  transition: transform .2s var(--ease), background .2s, box-shadow .2s, border-color .2s;
}

.btn-g {
  background: var(--green);
  color: var(--ink);
}
.btn-g:hover {
  background: var(--green-d);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px var(--green-glow);
}

.btn-lg { padding: 17px 44px; font-size: 15px; }

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,.22);
}
.btn-ghost:hover {
  border-color: rgba(255,255,255,.55);
  transform: translateY(-2px);
}

.btn-dark {
  background: var(--ink);
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,.16);
}
.btn-dark:hover {
  background: #161616;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,.5);
}

/* ─── SCROLL FADE-IN ─────────────────────────────────────── */
.fi {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.fi.v { opacity: 1; transform: none; }

/* Staggered delays */
.d1 { transition-delay: .08s; }
.d2 { transition-delay: .16s; }
.d3 { transition-delay: .24s; }
.d4 { transition-delay: .32s; }
.d5 { transition-delay: .40s; }
.d6 { transition-delay: .48s; }

/* ═══════════════════════════════════════════════════════════
   NAVIGATION
═══════════════════════════════════════════════════════════ */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5vw;
  background: rgba(7,7,7,.88);
  backdrop-filter: blur(22px) saturate(1.4);
  -webkit-backdrop-filter: blur(22px) saturate(1.4);
  border-bottom: 1px solid var(--bord);
  transition: background .3s, box-shadow .3s;
}

#nav.scrolled {
  background: rgba(7,7,7,.97);
  box-shadow: 0 4px 28px rgba(0,0,0,.45);
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  height: var(--nav-h);
  flex-shrink: 0;
  line-height: 0;
}
.nav-logo img {
  height: 36px;
  width: auto;
  object-fit: contain;
  opacity: .9;
  transition: opacity .2s;
}
.nav-logo:hover img { opacity: 1; }

/* Desktop nav links */
.nav-links {
  display: flex;
  gap: 24px;
}
.nav-links a {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,.38);
  transition: color .2s;
  letter-spacing: -.1px;
}
.nav-links a:hover { color: var(--white); }

/* CTA button in nav */
.nav-btn {
  height: 38px;
  padding: 0 22px;
  border-radius: 100px;
  background: var(--green);
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  transition: background .2s, transform .2s var(--ease), box-shadow .2s;
}
.nav-btn:hover {
  background: var(--green-d);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px var(--green-glow);
}

/* Hamburger button */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  padding: 4px;
  flex-shrink: 0;
}
.nav-hamburger span {
  display: block;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all .3s var(--ease);
}
.nav-hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ═══════════════════════════════════════════════════════════
   MOBILE NAV OVERLAY
═══════════════════════════════════════════════════════════ */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 800;
  background: rgba(7,7,7,.97);
  backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s var(--ease);
}
.mobile-nav.open {
  opacity: 1;
  pointer-events: all;
}

.mobile-nav-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}

.mobile-link {
  font-size: 22px;
  font-weight: 700;
  color: rgba(255,255,255,.50);
  padding: 12px 32px;
  border-radius: 12px;
  transition: color .2s, background .2s;
}
.mobile-link:hover {
  color: var(--white);
  background: var(--bord);
}

.mobile-cta {
  margin-top: 24px;
  font-size: 17px;
  font-weight: 800;
  color: var(--green);
  padding: 16px 44px;
  border-radius: 100px;
  border: 2px solid var(--green);
  transition: background .2s, color .2s;
}
.mobile-cta:hover {
  background: var(--green);
  color: var(--ink);
}

/* ═══════════════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════════════ */
#hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 0;          /* Override generic section padding */
  background: var(--ink);
}

/* Full-bleed background photo */
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

/* ── Hero background images – slideshow ── */
.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% center;
  pointer-events: none;
}

/* Slideshow: stack all images, crossfade via animation */
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  animation: heroFade 9s ease-in-out infinite;
}
.hero-slide-1 { animation-delay: 0s; }
.hero-slide-2 { animation-delay: 3s; }
.hero-slide-3 { animation-delay: 6s; }

@keyframes heroFade {
  0%   { opacity: 0; }
  8%   { opacity: 1; }
  33%  { opacity: 1; }
  41%  { opacity: 0; }
  100% { opacity: 0; }
}

/* Overlay – light enough to let images pop */
.hero-overlay-grad {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    105deg,
    rgba(7,7,7,.88) 0%,
    rgba(7,7,7,.72) 28%,
    rgba(7,7,7,.44) 50%,
    rgba(7,7,7,.18) 70%,
    rgba(7,7,7,.05) 100%
  );
}

/* Hero content layer */
.hero-wrap {
  position: relative;
  z-index: 1;
  padding: 140px 5vw 100px;
  width: 100%;
}

.hero-content {
  max-width: 600px;
}

/* ParkSign logo in hero */
.hero-logo {
  height: 44px;
  width: auto;
  opacity: .95;
  margin-bottom: 28px;
  display: block;
}

/* Eyebrow tag above headline */
.eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 24px;
}

/* Lead text under headline */
.hero-lead {
  font-size: clamp(15px, 1.5vw, 18px);
  color: var(--muted);
  line-height: 1.72;
  margin-top: 20px;
  max-width: 540px;
}

/* Three value-point checklist */
.hero-vals {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 26px;
  padding: 0;
  list-style: none;
}
.hero-vals li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,.82);
  line-height: 1.45;
}
.hero-vals li svg {
  color: var(--green);
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}

/* CTA button row */
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

/* Urgency bar – limited slots per area */
.hero-urgency {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,.55);
  line-height: 1.45;
}
.hero-urgency svg {
  flex-shrink: 0;
  color: var(--green);
  opacity: .85;
}

/* "Installed at" social proof strip */
.hero-proof {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 36px;
}
.proof-label {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,255,255,.30);
  text-transform: uppercase;
  letter-spacing: 2px;
}
.proof-logos {
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
}
.proof-logo {
  height: 28px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: .7;
  transition: opacity .2s;
}
.proof-logo:hover { opacity: 1; }
.proof-logo-ikea {
  height: 34px;
  filter: none;
  border-radius: 4px;
}
.proof-logo-ica {
  filter: none;
  opacity: .9;
}

/* ═══════════════════════════════════════════════════════════
   STATS BAR
═══════════════════════════════════════════════════════════ */
#stats-bar {
  background: var(--off);
  padding: 52px 5vw;
  border-bottom: 1px solid rgba(0,0,0,.06);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-val {
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 900;
  color: var(--ink);
  letter-spacing: -1px;
  line-height: 1.1;
}
.stat-val span {
  font-size: .48em;
  font-weight: 700;
  color: var(--text-m);
  letter-spacing: 0;
  margin-left: 3px;
}
.stat-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-m);
  margin-top: 6px;
}

/* ═══════════════════════════════════════════════════════════
   ROI / EKONOMI
═══════════════════════════════════════════════════════════ */
#roi { background: var(--off); }

/* Ensure ALL headings and text are dark on the light --off background */
#roi h2,
#roi h3,
#roi h4 { color: var(--text-d); }
#investering em { color: var(--green-d); }
#stats-bar h2,
#stats-bar h3 { color: var(--text-d); }

/* KPI cards */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 44px;
}

.kpi {
  background: var(--white);
  border: 1px solid var(--bord-l);
  border-radius: var(--rL);
  padding: 40px 34px;
  transition: transform .2s var(--ease), box-shadow .2s;
}
.kpi:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 44px rgba(0,0,0,.09);
}

.kpi.dark {
  background: var(--ink);
  border-color: var(--bord);
}
.kpi.dark:hover { box-shadow: 0 12px 36px rgba(0,0,0,.5); }

.kpi-val {
  font-size: clamp(40px, 4vw, 56px);
  font-weight: 900;
  color: var(--green);
  letter-spacing: -2px;
  line-height: 1;
}
.kpi-val span {
  font-size: .45em;
  font-weight: 700;
  color: var(--text-m);
  letter-spacing: 0;
  margin-left: 4px;
}
.kpi.dark .kpi-val span { color: var(--muted); }

.kpi-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-d);
  margin-top: 14px;
}
.kpi.dark .kpi-title { color: var(--white); }

.kpi-desc {
  font-size: 13.5px;
  color: var(--text-m);
  margin-top: 8px;
  line-height: 1.65;
}
.kpi.dark .kpi-desc { color: var(--muted2); }

/* ROI benefit rows */
.roi-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.roi-item {
  background: var(--white);
  border: 1px solid var(--bord-l);
  border-radius: var(--r);
  padding: 30px;
  transition: transform .2s var(--ease), box-shadow .2s;
}
.roi-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,0,0,.08);
}

.roi-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  margin-bottom: 14px;
}

.roi-item h4 { color: var(--text-d); margin-bottom: 10px; }
.roi-item p {
  font-size: 13.5px;
  color: var(--text-m);
  line-height: 1.67;
}

/* ROI bottom CTA */
.roi-cta {
  margin-top: 44px;
  text-align: center;
}

/* ═══════════════════════════════════════════════════════════
   REFERENSER
═══════════════════════════════════════════════════════════ */
#referenser { background: var(--ink); }
#referenser h2 { color: var(--white); }
#referenser .lead { color: var(--muted); }

/* Featured reference (large, video) */
.ref-featured {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 32px;
  margin-top: 48px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--bord);
  border-radius: var(--rL);
  overflow: hidden;
}
.ref-featured-media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0d0d0d;
}
.ref-featured-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ref-featured-body {
  padding: 36px 36px 36px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}
.ref-featured-body h3 {
  color: var(--white);
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 700;
  letter-spacing: -.3px;
}
.ref-featured-body p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.72;
}

/* 2-column grid for smaller cards */
.ref-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-top: 22px;
}

/* Reference card */
.ref-card {
  background: rgba(255,255,255,.04);
  border: 1px solid var(--bord);
  border-radius: var(--rL);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .25s var(--ease), border-color .25s, box-shadow .25s;
}
.ref-card:hover {
  transform: translateY(-4px);
  border-color: var(--bord2);
  box-shadow: 0 16px 48px rgba(0,0,0,.48);
}

/* Card media area */
.ref-card-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0d0d0d;
  flex-shrink: 0;
}
.ref-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .45s var(--ease);
}
.ref-card:hover .ref-card-img {
  transform: scale(1.04);
}

/* Kicker tags inside reference cards */
.ref-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-top: 14px;
  margin-top: 4px;
  border-top: 1px solid rgba(255,255,255,.07);
}
.ref-kicker-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 100px;
  background: var(--green-dim);
  border: 1px solid var(--green-bord);
  font-size: 11px;
  font-weight: 700;
  color: var(--green);
  letter-spacing: .5px;
  text-transform: uppercase;
}

/* Card body */
.ref-card-body {
  padding: 26px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.ref-card-body h3 {
  color: var(--white);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -.2px;
}
.ref-card-body p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.72;
  flex: 1;
}

/* "Visa referens" knapp på referenskort */
.ref-open-btn {
  align-self: flex-start;
  margin-top: 6px;
  font-size: 13px;
  padding: 8px 18px;
}

/* CTA block below reference cards */
.ref-cta-block {
  margin-top: 64px;
  text-align: center;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--bord);
  border-radius: var(--rL);
  padding: 56px 44px;
}
.ref-cta-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255,255,255,.15);
  margin-bottom: 18px;
}
.ref-cta-block h3 {
  font-size: clamp(17px, 2vw, 24px);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -.4px;
  line-height: 1.25;
  margin-bottom: 12px;
}
.ref-cta-block p {
  font-size: 15px;
  color: var(--muted);
  max-width: 460px;
  margin: 0 auto 28px;
  line-height: 1.72;
}

/* (Modal removed – references are no longer clickable) */

/* ─── Reference card quote ─── */
.ref-quote {
  margin-top: 10px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,.07);
  font-size: 13px;
  color: var(--muted);
  font-style: italic;
  line-height: 1.65;
}
.ref-quote-author {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  font-weight: 600;
  font-style: normal;
  color: rgba(255,255,255,.32);
}

/* ─── Advertiser logos bar ─── */
.advertiser-bar {
  margin-top: 56px;
  padding-top: 44px;
  border-top: 1px solid var(--bord);
  text-align: center;
}
.advertiser-bar-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,.22);
  margin-bottom: 24px;
}
.advertiser-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px 20px;
}
.advertiser-logo-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 18px;
  border-radius: 8px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  font-size: 12px;
  font-weight: 700;
  color: rgba(255,255,255,.22);
  letter-spacing: .5px;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color .2s, border-color .2s;
}
.advertiser-logo-pill:hover {
  color: rgba(255,255,255,.40);
  border-color: rgba(255,255,255,.15);
}

/* ═══════════════════════════════════════════════════════════
   LÖSNINGEN
═══════════════════════════════════════════════════════════ */
#losningen { background: var(--ink2); }
#losningen h2 { color: var(--white); }
#losningen .lead { color: var(--muted); }

/* 3-column grid on desktop */
.sol-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 44px;
}

.sol-card {
  background: rgba(255,255,255,.04);
  border: 1px solid var(--bord);
  border-radius: var(--rL);
  padding: 34px 30px;
  transition: background .2s, border-color .2s, transform .2s var(--ease);
}
.sol-card:hover {
  background: rgba(255,255,255,.065);
  border-color: var(--bord2);
  transform: translateY(-3px);
}

/* Accent card (last) */
.sol-card-accent {
  background: var(--green-dim) !important;
  border-color: var(--green-bord) !important;
}
.sol-card-accent:hover {
  background: rgba(0,193,124,.16) !important;
}

/* Card icon */
.sol-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(255,255,255,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--white);
  flex-shrink: 0;
}
.sol-icon-accent { background: rgba(0,193,124,.2); color: var(--green); }

.sol-card h3 { color: var(--white); margin-bottom: 10px; }
.sol-card p { font-size: 13.5px; color: var(--muted); line-height: 1.72; }

/* Bottom bar */
.sol-cta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 36px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--bord);
  border-radius: var(--rL);
  padding: 28px 32px;
}
.sol-cta-text h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}
.sol-cta-text p {
  font-size: 13px;
  color: var(--muted);
}

/* ═══════════════════════════════════════════════════════════
   INVESTERING / PRIS
═══════════════════════════════════════════════════════════ */
#investering { background: var(--off); overflow: hidden; }
#investering h2,
#investering h3,
#investering h4 { color: var(--text-d); }
#investering .lead-d { color: var(--text-m); }

.pris-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 24px;
  margin-top: 48px;
  align-items: start;
}

/* Price highlight card */
.pris-price-card {
  background: var(--ink);
  border: 1px solid var(--bord2);
  border-radius: var(--rL);
  padding: 44px 36px;
  text-align: center;
  position: sticky;
  top: calc(var(--nav-h) + 20px);
}
.pris-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}
.pris-amount {
  font-size: clamp(46px, 5.5vw, 72px);
  font-weight: 900;
  color: var(--white);
  letter-spacing: -3px;
  line-height: 1;
}
.pris-amount span {
  font-size: .38em;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0;
}
.pris-excl {
  font-size: 12px;
  color: rgba(255,255,255,.28);
  margin-top: 8px;
}
hr.pris-divider {
  border: none;
  border-top: 1px solid var(--bord);
  margin: 24px 0;
}
.pris-meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
}
.pris-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13.5px;
  gap: 12px;
}
.pris-meta-row .pris-meta-key { color: var(--muted); }
.pris-meta-row .pris-meta-val { color: var(--green); font-weight: 700; white-space: nowrap; }

/* Includes card */
.pris-includes-card {
  background: var(--white);
  border: 1px solid var(--bord-l);
  border-radius: var(--rL);
  padding: 36px 36px 40px;
}
.pris-includes-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-d);
  margin-bottom: 22px;
}
.pris-includes-list {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.pris-includes-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-d);
  line-height: 1.45;
}
.pris-includes-list li svg {
  color: var(--green);
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}
.pris-excl-note {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--bord-l);
  font-size: 13px;
  color: var(--text-s);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.5;
}
.pris-excl-note svg { flex-shrink: 0; margin-top: 1px; }

.pris-cta {
  margin-top: 36px;
  text-align: center;
}

@media (max-width: 1024px) {
  .pris-layout { grid-template-columns: 1fr; }
  .pris-price-card { position: static; }
}
@media (max-width: 600px) {
  .pris-price-card { padding: 32px 24px; }
  .pris-includes-card { padding: 28px 24px 32px; }
}

/* ═══════════════════════════════════════════════════════════
   SEKUNDÄR CTA – KALKYL
═══════════════════════════════════════════════════════════ */
#kalkyl {
  background: var(--ink);
  padding: 64px 0;
  position: relative;
  overflow: hidden;
  text-align: center;
  border-top: 1px solid var(--bord);
  border-bottom: 1px solid var(--bord);
}

/* Bakgrundsglöd – centrerad bakom innehållet */
.kalkyl-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(0,193,124,.11) 0%, transparent 70%);
  pointer-events: none;
}

.kalkyl-wrap { position: relative; }

.kalkyl-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

#kalkyl h2 {
  color: var(--white);
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.1;
}

.kalkyl-lead {
  color: var(--muted);
  font-size: clamp(14px, 1.5vw, 16px);
  line-height: 1.65;
  max-width: 440px;
}

/* ── Modal overlay ── */
.kalkyl-modal {
  position: fixed;
  inset: 0;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  visibility: hidden;
  pointer-events: none;
}
.kalkyl-modal.open {
  visibility: visible;
  pointer-events: auto;
}

.kalkyl-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.72);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity .3s var(--ease);
}
.kalkyl-modal.open .kalkyl-overlay { opacity: 1; }

/* ── Modal card ── */
.kalkyl-card {
  position: relative;
  background: var(--ink2);
  border: 1px solid var(--bord2);
  border-radius: var(--rL);
  width: 100%;
  max-width: 480px;
  padding: 44px 40px 40px;
  box-shadow: 0 32px 80px rgba(0,0,0,.6), 0 0 0 1px rgba(0,193,124,.10);
  transform: translateY(24px) scale(.97);
  opacity: 0;
  transition: transform .35s var(--ease), opacity .35s var(--ease);
}
.kalkyl-modal.open .kalkyl-card {
  transform: translateY(0) scale(1);
  opacity: 1;
}

/* Stäng-knapp */
.kalkyl-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--bord2);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, color .2s;
}
.kalkyl-close:hover { background: var(--bord2); color: var(--white); }

/* Kort-header */
.kalkyl-card-header { margin-bottom: 28px; }
.kalkyl-card-header h3 {
  color: var(--white);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -.02em;
  margin-bottom: 8px;
}
.kalkyl-card-header p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

/* Formulärfält */
.kalkyl-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.kalkyl-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.kalkyl-field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: .02em;
  text-transform: uppercase;
}
.kalkyl-field input {
  background: rgba(255,255,255,.05);
  border: 1px solid var(--bord2);
  border-radius: 10px;
  padding: 13px 16px;
  color: var(--white);
  font-size: 15px;
  font-family: inherit;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  width: 100%;
}
.kalkyl-field input::placeholder { color: var(--muted2); }
.kalkyl-field input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(0,193,124,.15);
}
.kalkyl-field input.error { border-color: #f87171; }

.kalkyl-submit { width: 100%; margin-top: 8px; justify-content: center; }

/* Bekräftelse */
.kalkyl-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
  padding: 12px 0;
}
.kalkyl-check {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--green-dim);
  border: 1px solid var(--green-bord);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
}
.kalkyl-success h3 {
  color: var(--white);
  font-size: 22px;
  font-weight: 700;
}
.kalkyl-success p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

/* ── Responsiv ── */
@media (max-width: 600px) {
  #kalkyl { padding: 52px 0; }
  .kalkyl-card { padding: 36px 24px 28px; }
  .kalkyl-card-header h3 { font-size: 18px; }
}

/* ─── Urgency / scarcity notice ─── */
.urgency-notice {
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 22px;
  background: rgba(0,193,124,.07);
  border: 1px solid rgba(0,193,124,.20);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,.65);
  line-height: 1.5;
  margin-bottom: 8px;
  max-width: 560px;
  text-align: left;
}
.urgency-notice svg {
  flex-shrink: 0;
  color: var(--green);
  margin-top: 1px;
}

/* ═══════════════════════════════════════════════════════════
   FAQ
═══════════════════════════════════════════════════════════ */
#faq { background: var(--off); }

/* Ensure ALL headings and text are dark on the light --off background */
#faq h2,
#faq h3 { color: var(--text-d); }

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 44px;
  max-width: 800px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--bord-l);
  border-radius: var(--r);
  overflow: hidden;
  transition: box-shadow .2s;
}
.faq-item:has(.faq-q[aria-expanded="true"]) {
  box-shadow: 0 4px 20px rgba(0,0,0,.07);
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px;
  background: none;
  border: none;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-d);
  text-align: left;
  cursor: pointer;
  transition: color .2s;
  line-height: 1.4;
}
.faq-q:hover { color: var(--ink); }

.faq-arrow {
  flex-shrink: 0;
  color: var(--text-s);
  transition: transform .35s var(--ease), color .2s;
}
.faq-q[aria-expanded="true"] .faq-arrow {
  transform: rotate(180deg);
  color: var(--green);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .45s var(--ease);
}
.faq-a.open { max-height: 420px; }

.faq-a p {
  padding: 0 24px 24px;
  font-size: 14px;
  color: var(--text-m);
  line-height: 1.78;
  border-top: 1px solid var(--bord-l);
  padding-top: 16px;
}

/* ═══════════════════════════════════════════════════════════
   KONTAKT / FINAL CTA
═══════════════════════════════════════════════════════════ */
#kontakt {
  background: var(--ink);
}

.kontakt-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

#kontakt .kicker { justify-content: center; }
#kontakt h2 { color: var(--white); }

.cta-sub {
  font-size: clamp(15px, 1.5vw, 18px);
  color: var(--muted);
  max-width: 460px;
  margin: 16px auto 0;
  line-height: 1.7;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-top: 40px;
}

.cta-micro {
  font-size: 12px;
  color: rgba(255,255,255,.32);
  font-weight: 500;
}

/* Contact card pill */
.contact-card {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  margin-top: 56px;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--bord);
  border-radius: 100px;
  padding: 14px 28px 14px 14px;
  text-align: left;
  transition: border-color .2s;
}
.contact-card:hover { border-color: var(--bord2); }

.contact-avatar-img {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid rgba(255,255,255,.15);
}

.contact-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
}
.contact-title {
  font-size: 12px;
  color: rgba(255,255,255,.38);
  margin-top: 2px;
}
.contact-links {
  display: flex;
  gap: 16px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.contact-link {
  font-size: 13px;
  color: var(--green);
  font-weight: 500;
  transition: opacity .2s;
}
.contact-link:hover { opacity: .7; }

/* ═══════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════ */
footer {
  background: #040404;
  padding: 64px 5vw 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 64px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--bord);
}

.footer-logo {
  height: 32px;
  width: auto;
  margin-bottom: 18px;
  opacity: .9;
}
.footer-brand p {
  font-size: 13.5px;
  color: rgba(255,255,255,.30);
  line-height: 1.72;
  max-width: 320px;
}

.footer-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col h5 {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255,255,255,.28);
  margin-bottom: 6px;
}
.footer-col a {
  font-size: 13px;
  color: rgba(255,255,255,.42);
  transition: color .2s;
}
.footer-col a:hover { color: var(--white); }

.footer-bottom {
  padding: 20px 0;
}
.footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px 20px;
  text-align: center;
}
.footer-bottom span,
.footer-legal-info {
  font-size: 12px;
  color: rgba(255,255,255,.18);
}
.footer-legal-link {
  font-size: 12px;
  color: rgba(255,255,255,.28);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color .2s;
}
.footer-legal-link:hover { color: rgba(255,255,255,.55); }

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE – TABLET (≤ 1024px)
═══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .ref-featured { grid-template-columns: 1fr; }
  .ref-featured-body { padding: 28px; }

  .sol-grid { grid-template-columns: repeat(2, 1fr); }
  .kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .roi-row  { grid-template-columns: repeat(2, 1fr); }
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE – MOBILE (≤ 768px)
═══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  :root { --nav-h: 60px; }

  section { padding: 72px 5vw; }
  #stats-bar { padding: 32px 5vw; }

  /* Show hamburger, hide desktop nav */
  .nav-links { display: none; }
  .nav-btn   { display: none; }
  .nav-hamburger { display: flex; }

  /* Hero adjustments for mobile */
  .hero-wrap { padding: 120px 5vw 80px; }
  .hero-content { max-width: 100%; }
  /* On mobile, center the sign in frame */
  .hero-bg { object-position: 55% center; }
  .hero-overlay-grad {
    background: linear-gradient(
      to bottom,
      rgba(7,7,7,.90) 0%,
      rgba(7,7,7,.78) 50%,
      rgba(7,7,7,.85) 100%
    );
  }
  /* hero-bg object-position overridden above for mobile */
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { text-align: center; justify-content: center; }

  /* Stats: 2-column */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    text-align: center;
  }

  /* Cards: single column */
  .ref-grid  { grid-template-columns: 1fr; }
  .ref-featured { grid-template-columns: 1fr; }
  .ref-featured-body { padding: 24px; }
  .sol-grid  { grid-template-columns: 1fr; }
  .kpi-grid  { grid-template-columns: 1fr; }
  .roi-row   { grid-template-columns: 1fr; }

  /* Reference CTA block stacks */
  .ref-cta-block { padding: 36px 24px; }

  /* Solution bottom bar stacks */
  .sol-cta-bar {
    flex-direction: column;
    text-align: center;
    padding: 24px;
  }

  /* Footer stacks */
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footer-nav { grid-template-columns: 1fr 1fr; }

  /* Contact card goes full-width, pill becomes rectangle */
  .contact-card {
    border-radius: var(--r);
    padding: 20px;
    flex-direction: column;
    text-align: center;
    width: 100%;
    max-width: 360px;
  }
  .contact-links { justify-content: center; }
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE – SMALL MOBILE (≤ 480px)
═══════════════════════════════════════════════════════════ */
@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  h1 { letter-spacing: -1.5px; }
  .hero-proof { flex-direction: column; align-items: flex-start; gap: 6px; }
  .ref-card-body h3 { font-size: 15px; }
}

/* ═══════════════════════════════════════════════════════════
   ACCESSIBILITY
═══════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  .fi { transition: none; opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
  .btn, .nav-btn, .sol-card, .kpi, .ref-card, .ref-btn-expand { transition: none; }
  .ref-modal, .ref-modal-panel { animation: none; }
}

/* Focus rings for keyboard navigation */
:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
  border-radius: 4px;
}
