/* =====================================================================
   1. DESIGN TOKENS
   ===================================================================== */
:root {
  /* Varumärke */
  --c-navy:        #001b3d;
  --c-navy-700:    #0b2b57;   /* ljusare navy för hover/gradient */
  --c-blue:        #c2cdff;   /* Aeroscan ljusblå */
  --c-blue-soft:   #e9edff;   /* mycket ljus blå för ytor */
  --c-blue-deep:   #5a6fd8;   /* härledd ton för liten blå text på vit yta (kontrast) */
  --c-white:       #ffffff;

  /* Neutraler */
  --c-bg:          #ffffff;
  --c-bg-alt:      #f6f7fb;
  --c-line:        #e4e7ef;
  --c-text:        #4a5568;
  --c-text-strong: #0f1a2e;
  --c-text-muted:  #7a8599;
  --c-warn:        #e8743b;   /* markering av avvikelse i 3D-modellen */
  --c-error:       #c53030;
  --c-ok:          #2f855a;

  /* Typografi */
  --f-display: "Outfit", "Avenir Next", "Segoe UI Variable Display", "Helvetica Neue", Arial, sans-serif;
  --f-body:    "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* Form */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(0,27,61,.06), 0 2px 8px rgba(0,27,61,.05);
  --shadow-md: 0 6px 20px rgba(0,27,61,.08), 0 2px 6px rgba(0,27,61,.05);
  --shadow-lg: 0 24px 60px rgba(0,27,61,.14), 0 6px 18px rgba(0,27,61,.06);

  /* Layout */
  --container: 1200px;
  --gutter: clamp(20px, 5vw, 40px);
  --section-y: clamp(64px, 10vw, 120px);
  --header-h: 72px;

  /* Rörelse: kritiskt dämpade kurvor (ingen överskjutning) */
  --ease-out: cubic-bezier(.22,.61,.36,1);
  --ease-in:  cubic-bezier(.64,0,.78,.39);  /* spegling av ease-out för symmetriska övergångar */
  --t-fast: 140ms;
  --t-med:  320ms;

  color-scheme: light;
}

/* =====================================================================
   2. BAS
   ===================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--c-navy); text-underline-offset: .18em; }
a:hover { color: var(--c-navy-700); }
button { font: inherit; color: inherit; }
::selection { background: var(--c-blue); color: var(--c-navy); }

h1, h2, h3, h4 {
  font-family: var(--f-display);
  color: var(--c-text-strong);
  font-weight: 600;
  margin: 0 0 .5em;
  text-wrap: balance;
}
/* Storleksberoende spärrning: stora rubriker tätare, små luftigare */
h1 { font-size: clamp(2.25rem, 6vw, 4rem);  line-height: 1.05; letter-spacing: -.025em; font-weight: 700; }
h2 { font-size: clamp(1.85rem, 4vw, 2.75rem); line-height: 1.12; letter-spacing: -.02em; }
h3 { font-size: clamp(1.2rem, 2vw, 1.4rem);  line-height: 1.25; letter-spacing: -.01em; }
h4 { font-size: 1.0625rem; line-height: 1.35; letter-spacing: 0; }
p  { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.section { padding-block: var(--section-y); }
.section--alt { background: var(--c-bg-alt); }
.section--navy { background: var(--c-navy); color: rgba(255,255,255,.82); }
.section--navy h2, .section--navy h3 { color: #fff; }

.section-head { max-width: 680px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head--center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-block;
  font-family: var(--f-display);
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .12em;      /* liten text: positiv spärrning */
  text-transform: uppercase;
  color: var(--c-blue-deep);
  margin-bottom: 14px;
}
.section--navy .eyebrow { color: var(--c-blue); }
.lead { font-size: 1.1875rem; line-height: 1.55; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Fokus: tydlig ring, bara för tangentbord */
:focus { outline: none; }
:focus-visible { outline: 3px solid var(--c-blue-deep); outline-offset: 3px; border-radius: 6px; }
.section--navy :focus-visible, .site-footer :focus-visible, .hero :focus-visible { outline-color: var(--c-blue); }

/* =====================================================================
   3. KNAPPAR
   ===================================================================== */
.btn {
  --btn-bg: var(--c-navy);
  --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px;
  font-family: var(--f-display); font-weight: 600; font-size: 1rem; letter-spacing: .005em;
  color: var(--btn-fg); background: var(--btn-bg);
  border: 1.5px solid transparent; border-radius: 999px;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform var(--t-fast) var(--ease-out), background-color var(--t-fast) var(--ease-out),
              box-shadow var(--t-fast) var(--ease-out), color var(--t-fast) var(--ease-out);
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;   /* tar bort 300 ms tapp-fördröjning */
}
.btn:hover { background: var(--c-navy-700); color: #fff; box-shadow: var(--shadow-md); }
/* Respons på nedtryck, inte på släpp */
.btn:active { transform: scale(.97); transition-duration: 80ms; }
.btn svg { width: 18px; height: 18px; flex: none; }

.btn--secondary { --btn-bg: rgba(255,255,255,.12); --btn-fg: #fff; border-color: rgba(255,255,255,.45); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.btn--secondary:hover { background: rgba(255,255,255,.2); box-shadow: none; }
.btn--light { --btn-bg: var(--c-blue); --btn-fg: var(--c-navy); }
.btn--light:hover { background: #d3dbff; color: var(--c-navy); }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--c-navy); border-color: var(--c-navy); }
.btn--outline:hover { background: var(--c-blue-soft); color: var(--c-navy); box-shadow: none; }
.btn--sm { min-height: 42px; padding-inline: 18px; font-size: .9375rem; }
.btn--block { width: 100%; }

.text-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--f-display); font-weight: 600; font-size: .95rem;
  color: var(--c-navy); text-decoration: none; background: none; border: 0; padding: 0; cursor: pointer;
}
.text-link svg { width: 16px; height: 16px; transition: transform var(--t-med) var(--ease-out); }
.text-link:hover svg { transform: translateX(3px); }
.text-link[aria-expanded="true"] svg { transform: rotate(90deg); }

/* =====================================================================
   4. HEADER
   ===================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-med) var(--ease-out), box-shadow var(--t-med) var(--ease-out);
}
/* Glasytan ligger på ett pseudo-element: backdrop-filter direkt på headern skulle
   göra den till referensruta för den fixerade mobilmenyn. */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(255,255,255,.8);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  backdrop-filter: blur(18px) saturate(180%);
}
.site-header.is-scrolled { border-bottom-color: rgba(0,27,61,.08); box-shadow: 0 8px 30px rgba(0,27,61,.06); }
.site-header__inner { height: 100%; display: flex; align-items: center; gap: 24px; }

.brand {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--c-navy);
  font-family: var(--f-display); font-weight: 700; font-size: 1.25rem; letter-spacing: .16em; text-transform: uppercase;
}
.brand__img { height: 34px; width: auto; }
.site-footer .brand__img { height: 38px; }
@media (max-width: 420px) { .brand__img { height: 28px; } }
/* Reserv om logotypfilen saknas: enkel SVG-symbol + ordmärke */
.brand__fallback { display: none; align-items: center; gap: 10px; }
.brand.is-fallback .brand__img { display: none; }
.brand.is-fallback .brand__fallback { display: inline-flex; }
.brand__mark { width: 38px; height: 38px; color: var(--c-navy); flex: none; }
.brand__mark .swoosh { color: var(--c-blue-deep); }
.brand__word { line-height: 1; }
.brand__word b { font-weight: 700; color: var(--c-blue-deep); }
.site-footer .brand, .site-footer .brand__mark { color: #fff; }
.site-footer .brand__mark .swoosh, .site-footer .brand__word b { color: var(--c-blue); }

.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav__list { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav__link {
  display: inline-block; padding: 8px 12px; border-radius: 999px;
  font-family: var(--f-display); font-weight: 500; font-size: .9375rem; letter-spacing: .005em;
  color: var(--c-text-strong); text-decoration: none;
  transition: background-color var(--t-fast) var(--ease-out), color var(--t-fast) var(--ease-out);
}
.nav__link:hover { background: var(--c-blue-soft); color: var(--c-navy); }
.nav__link.is-active, .nav__link[aria-current="page"] { color: var(--c-navy); background: var(--c-blue-soft); }
.nav__cta { margin-left: 12px; }
.nav__cta .btn { min-height: 44px; padding-inline: 20px; }

.nav-toggle {
  display: none; margin-left: 4px;
  width: 44px; height: 44px; border-radius: 12px; border: 0; background: transparent; cursor: pointer;
  align-items: center; justify-content: center; flex-direction: column; color: var(--c-navy);
}
.nav-toggle:hover { background: var(--c-blue-soft); }
.nav-toggle span { display: block; width: 22px; height: 2px; background: currentColor; border-radius: 2px; transition: transform var(--t-med) var(--ease-out), opacity var(--t-med); }
.nav-toggle span + span { margin-top: 6px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.header-cta-mobile { display: none; }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .header-cta-mobile { display: inline-flex; margin-left: auto; min-height: 42px; padding-inline: 16px; font-size: .9375rem; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 49; margin: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px var(--gutter) 28px;
    background: rgba(255,255,255,.94);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    backdrop-filter: blur(24px) saturate(180%);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity var(--t-med) var(--ease-out), transform var(--t-med) var(--ease-out);
    overflow-y: auto;
  }
  /* visibility växlas av JS (is-closing hålls kvar tills uttoningen är klar) */
  .nav.is-open, .nav.is-closing { visibility: visible; }
  .nav.is-open { transform: none; opacity: 1; }
  .nav__list { flex-direction: column; gap: 2px; }
  .nav__link { display: block; padding: 14px 16px; font-size: 1.15rem; border-radius: 12px; }
  .nav__cta { margin: 16px 0 0; }
  .nav__cta .btn { width: 100%; min-height: 52px; }
  body.nav-open { overflow: hidden; }
}

/* =====================================================================
   5. HERO
   ===================================================================== */
.hero {
  position: relative; isolation: isolate;
  min-height: min(92svh, 860px);
  display: grid; align-items: center;
  background: var(--c-navy); color: #fff;
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; z-index: -2; background: linear-gradient(160deg, #0b2b57, #001b3d); }
.hero__media img, .hero__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__media video { opacity: 0; transition: opacity 900ms var(--ease-out); }
.hero__media video.is-playing { opacity: 1; }
.hero__overlay {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(0,27,61,.72) 0%, rgba(0,27,61,.55) 50%, rgba(0,27,61,.86) 100%),
    linear-gradient(90deg, rgba(0,27,61,.55) 0%, rgba(0,27,61,0) 70%);
}
.hero__inner { padding-block: clamp(96px, 14vw, 160px) clamp(72px, 10vw, 120px); max-width: 760px; }
.hero h1 { color: #fff; margin-bottom: 22px; max-width: 15ch; }
.hero__sub { font-size: clamp(1.1rem, 2vw, 1.3rem); line-height: 1.5; color: rgba(255,255,255,.86); max-width: 560px; margin-bottom: 36px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__actions .btn { min-height: 54px; padding-inline: 28px; }
.hero__actions .btn--primary { --btn-bg: #fff; --btn-fg: var(--c-navy); }
.hero__actions .btn--primary:hover { background: var(--c-blue); color: var(--c-navy); box-shadow: none; }
.hero__scroll {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%);
  width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.4); border-radius: 14px;
}
.hero__scroll::after {
  content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px;
  border-radius: 2px; background: rgba(255,255,255,.8);
  animation: scrollhint 1.8s var(--ease-out) infinite;
}
@keyframes scrollhint { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* Förtroendelist */
.trust { background: #fff; border-bottom: 1px solid var(--c-line); }
.trust__list {
  list-style: none; margin: 0; padding: 18px 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
}
.trust__item { display: flex; align-items: center; justify-content: center; gap: 10px; font-family: var(--f-display); font-weight: 500; font-size: .95rem; color: var(--c-text-strong); }
.trust__item svg { width: 22px; height: 22px; color: var(--c-blue-deep); flex: none; }
@media (max-width: 640px) {
  .trust__list { grid-template-columns: 1fr; gap: 10px; padding: 16px 0; }
  .trust__item { justify-content: flex-start; }
}

/* =====================================================================
   6. KORT & GRID
   ===================================================================== */
.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 1000px) { .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px)  { .grid--3, .grid--2 { grid-template-columns: 1fr; } }
@media (max-width: 560px)  { .grid--4 { grid-template-columns: 1fr; } }

.card {
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg);
  padding: clamp(24px, 3vw, 32px);
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-med) var(--ease-out), box-shadow var(--t-med) var(--ease-out), border-color var(--t-med);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--c-blue); }
.card--flat:hover { transform: none; box-shadow: var(--shadow-sm); border-color: var(--c-line); }
.icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--c-blue-soft); color: var(--c-navy); margin-bottom: 20px;
}
.icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: 8px; }
.card p { font-size: 1rem; }


/* =====================================================================
   7. SÅ FUNGERAR DET – tidslinje
   ===================================================================== */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 10%; right: 10%; top: 28px; height: 2px; background: linear-gradient(90deg, var(--c-blue), var(--c-blue-soft)); }
.step { position: relative; text-align: center; }
.step__num {
  position: relative; z-index: 1; width: 56px; height: 56px; margin: 0 auto 18px; border-radius: 50%;
  display: grid; place-items: center; background: var(--c-navy); color: #fff;
  font-family: var(--f-display); font-weight: 700; font-size: 1.1rem; box-shadow: 0 0 0 6px #fff;
}
.step h3 { font-size: 1.1rem; margin-bottom: 6px; }
.step p { font-size: .95rem; margin: 0; }
@media (max-width: 900px) {
  .timeline { grid-template-columns: 1fr; gap: 0; }
  .timeline::before { left: 27px; right: auto; top: 10px; bottom: 10px; width: 2px; height: auto; background: linear-gradient(180deg, var(--c-blue), var(--c-blue-soft)); }
  .step { display: grid; grid-template-columns: 56px 1fr; column-gap: 18px; text-align: left; padding-bottom: 28px; }
  .step:last-child { padding-bottom: 0; }
  .step__num { margin: 0; }
  .step__body { padding-top: 12px; }
}
.notice {
  margin-top: 40px; display: flex; gap: 14px; align-items: flex-start;
  padding: 18px 20px; border-radius: var(--r-md); background: var(--c-blue-soft); color: var(--c-navy); font-size: .95rem;
}
.notice svg { width: 22px; height: 22px; flex: none; margin-top: 2px; }

/* =====================================================================
   8. EXEMPEL: 3D-visare, galleri, rapport
   ===================================================================== */
.example-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 28px; align-items: start; }
@media (max-width: 960px) { .example-grid { grid-template-columns: 1fr; } }

.viewer {
  position: relative; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--c-line);
  background: radial-gradient(120% 90% at 50% 0%, #ffffff 0%, #eef1f8 60%, #e3e8f3 100%);
  box-shadow: var(--shadow-md);
}
.viewer__stage { position: relative; aspect-ratio: 16 / 11; }
.viewer__stage canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; touch-action: none; cursor: grab; outline-offset: -4px; border-radius: 0; }
.viewer__stage canvas:active { cursor: grabbing; }
.viewer__hint {
  position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%);
  padding: 7px 14px; border-radius: 999px; font-size: .8125rem; font-weight: 500; letter-spacing: .01em;
  background: rgba(255,255,255,.75); color: var(--c-navy); border: 1px solid rgba(255,255,255,.6);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  white-space: nowrap; pointer-events: none; transition: opacity 500ms var(--ease-out);
}
.viewer__hint.is-hidden { opacity: 0; }
.viewer__loading {
  position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 10px;
  font-family: var(--f-display); font-weight: 500; color: var(--c-navy); font-size: .95rem;
}
.viewer__loading.is-hidden { display: none; }
.viewer__loading .spinner { width: 36px; height: 36px; border-radius: 50%; border: 3px solid var(--c-blue); border-top-color: var(--c-navy); animation: spin 900ms linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.viewer__fallback { position: absolute; inset: 0; display: none; }
.viewer__fallback img { width: 100%; height: 100%; object-fit: cover; }
.viewer__fallback p {
  position: absolute; left: 16px; right: 16px; bottom: 16px; margin: 0;
  padding: 12px 16px; border-radius: var(--r-sm); background: rgba(0,27,61,.86); color: #fff; font-size: .9rem;
}
.viewer.is-fallback .viewer__fallback { display: block; }
.viewer.is-fallback .viewer__loading, .viewer.is-fallback .viewer__hint, .viewer.is-fallback .viewer__tools, .viewer.is-fallback canvas { display: none; }
.viewer__caption {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding: 14px 18px; border-top: 1px solid var(--c-line); background: #fff; font-size: .9rem;
}
.viewer__caption strong { color: var(--c-text-strong); font-weight: 600; }
.viewer__legend { display: inline-flex; align-items: center; gap: 8px; color: var(--c-text-muted); }
.viewer__legend i { width: 10px; height: 10px; border-radius: 50%; background: var(--c-warn); box-shadow: 0 0 0 3px rgba(232,116,59,.2); }
.viewer__tools { position: absolute; top: 12px; right: 12px; display: flex; gap: 6px; }
.viewer__tools button {
  width: 38px; height: 38px; border-radius: 10px; border: 1px solid rgba(255,255,255,.7);
  background: rgba(255,255,255,.75); color: var(--c-navy); cursor: pointer; display: grid; place-items: center;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transition: transform var(--t-fast) var(--ease-out), background-color var(--t-fast);
}
.viewer__tools button:hover { background: #fff; }
.viewer__tools button:active { transform: scale(.94); }
.viewer__tools svg { width: 18px; height: 18px; }

/* Galleri (slider) */
.gallery { position: relative; }
.gallery__viewport { overflow: hidden; border-radius: var(--r-lg); border: 1px solid var(--c-line); box-shadow: var(--shadow-sm); }
.gallery__track { display: flex; touch-action: pan-y; will-change: transform; cursor: grab; user-select: none; -webkit-user-select: none; }
.gallery__track.is-dragging { cursor: grabbing; }
.gallery__slide { flex: 0 0 100%; position: relative; aspect-ratio: 4 / 3; background: var(--c-blue-soft); }
.gallery__slide img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.gallery__label {
  position: absolute; left: 14px; bottom: 14px; margin: 0;
  padding: 8px 14px; border-radius: 999px; background: rgba(0,27,61,.82); color: #fff;
  font-family: var(--f-display); font-weight: 500; font-size: .875rem;
}
.gallery__nav { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; }
.gallery__dots { display: flex; gap: 6px; }
.gallery__dots button { width: 10px; height: 10px; border-radius: 50%; border: 0; padding: 0; background: var(--c-line); cursor: pointer; transition: background-color var(--t-fast), transform var(--t-fast); }
.gallery__dots button[aria-current="true"] { background: var(--c-navy); transform: scale(1.2); }
.gallery__btns { display: flex; gap: 6px; }
.gallery__btns button {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--c-line); background: #fff; color: var(--c-navy); cursor: pointer; display: grid; place-items: center;
  transition: transform var(--t-fast) var(--ease-out), background-color var(--t-fast), opacity var(--t-fast);
}
.gallery__btns button:hover { background: var(--c-blue-soft); }
.gallery__btns button:active { transform: scale(.94); }
.gallery__btns button:disabled { opacity: .35; cursor: default; }
.gallery__btns svg { width: 18px; height: 18px; }

/* Rapportkort */
.report-card { display: grid; grid-template-columns: 150px 1fr; gap: 22px; align-items: center; margin-top: 24px; }
@media (max-width: 520px) { .report-card { grid-template-columns: 1fr; } .report-thumb { max-width: 160px; } }
.report-thumb {
  position: relative; aspect-ratio: 210 / 297; border-radius: 8px; overflow: hidden;
  background: #fff; border: 1px solid var(--c-line); box-shadow: var(--shadow-md);
  transform: rotate(-2deg); transition: transform var(--t-med) var(--ease-out);
}
.report-card:hover .report-thumb { transform: rotate(0deg) scale(1.02); }
.report-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.report-thumb img[hidden] { display: none; }
.report-mock { position: absolute; inset: 0; padding: 10px; display: flex; flex-direction: column; gap: 6px; }
.report-mock__head { display: flex; justify-content: space-between; align-items: center; }
.report-mock__logo { width: 34px; height: 8px; border-radius: 2px; background: var(--c-navy); }
.report-mock__tag { width: 22px; height: 6px; border-radius: 2px; background: var(--c-blue); }
.report-mock__title { height: 7px; width: 70%; border-radius: 2px; background: var(--c-text-strong); margin-top: 4px; }
.report-mock__img { height: 34%; border-radius: 4px; background: linear-gradient(135deg, var(--c-blue-soft), var(--c-blue)); position: relative; overflow: hidden; }
.report-mock__img::before { content: ""; position: absolute; left: 30%; top: 25%; width: 40%; height: 50%; border: 1.5px dashed var(--c-navy); border-radius: 2px; }
.report-mock__img::after { content: ""; position: absolute; left: 58%; top: 40%; width: 7px; height: 7px; border-radius: 50%; background: var(--c-warn); box-shadow: 0 0 0 2px rgba(232,116,59,.3); }
.report-mock__line { height: 4px; border-radius: 2px; background: var(--c-line); }
.report-mock__line--short { width: 60%; }
.report-mock__status { margin-top: auto; display: flex; gap: 4px; }
.report-mock__status i { flex: 1; height: 6px; border-radius: 2px; background: var(--c-ok); }
.report-mock__status i:nth-child(2) { background: #e6b422; }
.report-mock__status i:nth-child(3) { background: var(--c-warn); flex: .5; }

@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* =====================================================================
   10. SIFFROR
   ===================================================================== */
.stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { text-align: center; padding: 8px 0; }
.stat__value { font-family: var(--f-display); font-weight: 700; font-size: clamp(2.2rem, 4.5vw, 3.2rem); line-height: 1; letter-spacing: -.02em; color: #fff; }
.stat__value span { color: var(--c-blue); }
.stat__label { margin-top: 10px; font-size: .95rem; color: rgba(255,255,255,.75); }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; } }


/* =====================================================================
   12. OM OSS
   ===================================================================== */
.about { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; margin-bottom: clamp(40px, 6vw, 72px); }
@media (max-width: 900px) { .about { grid-template-columns: 1fr; } }
.about__media { position: relative; }
.about__media > img { border-radius: var(--r-lg); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; box-shadow: var(--shadow-md); background: var(--c-blue-soft); }
.about__media .floating {
  position: absolute; left: -16px; bottom: -20px; padding: 14px 18px; border-radius: var(--r-md);
  background: #fff; box-shadow: var(--shadow-lg); border: 1px solid var(--c-line);
  display: flex; align-items: center; gap: 12px; font-size: .9rem; max-width: 260px;
}
.about__media .floating .icon { width: 42px; height: 42px; margin: 0; border-radius: 12px; flex: none; }
.about__media .floating .icon svg { width: 22px; height: 22px; }
.about__media .floating strong { display: block; color: var(--c-text-strong); font-family: var(--f-display); }
@media (max-width: 520px) { .about__media .floating { left: 10px; bottom: 10px; } }


.assurance { margin-top: clamp(40px, 6vw, 64px); padding: clamp(24px, 4vw, 40px); border-radius: var(--r-lg); background: var(--c-navy); color: rgba(255,255,255,.85); display: grid; grid-template-columns: 1fr 2fr; gap: 32px; align-items: center; }
.assurance h3 { color: #fff; font-size: 1.4rem; }
.assurance > div > p { font-size: .95rem; }
.assurance ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.assurance li { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; }
.assurance li svg { width: 22px; height: 22px; flex: none; color: var(--c-blue); margin-top: 2px; }
.assurance li strong { display: block; color: #fff; font-family: var(--f-display); font-weight: 600; }
@media (max-width: 860px) { .assurance { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .assurance ul { grid-template-columns: 1fr; } }

/* =====================================================================
   13. FAQ – dragspel
   ===================================================================== */
.faq { max-width: 820px; margin-inline: auto; }
.faq__item { border-bottom: 1px solid var(--c-line); }
.faq__item:first-child { border-top: 1px solid var(--c-line); }
.faq__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 4px; background: none; border: 0; text-align: left; cursor: pointer;
  font-family: var(--f-display); font-weight: 600; font-size: 1.1rem; color: var(--c-text-strong);
  transition: color var(--t-fast);
}
.faq__q:hover { color: var(--c-navy); }
.faq__q .chev { flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--c-blue-soft); color: var(--c-navy); display: grid; place-items: center; transition: transform var(--t-med) var(--ease-out), background-color var(--t-fast); }
.faq__q .chev svg { width: 16px; height: 16px; }
.faq__q[aria-expanded="true"] .chev { transform: rotate(180deg); background: var(--c-blue); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--t-med) var(--ease-out); }
.faq__a > div { min-height: 0; overflow: hidden; }
.faq__a p { padding: 0 4px 22px; margin: 0; max-width: 70ch; }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }

/* =====================================================================
   14. KONTAKT – mejl, telefon och sms
   ===================================================================== */
.contact-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .contact-options { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } }
.contact-option {
  display: flex; flex-direction: column; text-decoration: none; color: inherit;
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg);
  padding: clamp(24px, 3vw, 32px); box-shadow: var(--shadow-sm);
  transition: transform var(--t-med) var(--ease-out), box-shadow var(--t-med) var(--ease-out), border-color var(--t-med);
}
.contact-option:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--c-navy); color: inherit; }
.contact-option h3 { font-size: 1.25rem; margin-bottom: 4px; }
.contact-option__value { font-family: var(--f-display); font-weight: 600; color: var(--c-navy); margin-bottom: 12px; overflow-wrap: anywhere; }
.contact-option p { font-size: .95rem; flex: 1; margin-bottom: 20px; }
.contact-option__cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding-inline: 20px;
  border-radius: 999px; background: var(--c-navy); color: #fff; font-family: var(--f-display); font-weight: 600;
  transition: background-color var(--t-fast);
}
.contact-option__cta svg { width: 18px; height: 18px; transition: transform var(--t-fast); }
.contact-option:hover .contact-option__cta { background: var(--c-navy-700); }
.contact-option:hover .contact-option__cta svg { transform: translateX(3px); }
.contact-meta { margin-top: 28px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 32px; font-size: .95rem; }
.contact-meta span { display: inline-flex; align-items: center; gap: 10px; }
.contact-meta svg { width: 20px; height: 20px; flex: none; color: var(--c-blue-deep); }

/* =====================================================================
   15. FOOTER
   ===================================================================== */
.site-footer { background: var(--c-navy); color: rgba(255,255,255,.72); padding: clamp(48px, 7vw, 80px) 0 28px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.12); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }
.site-footer h4 { color: #fff; font-size: .9rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { color: rgba(255,255,255,.82); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer .brand { margin-bottom: 16px; }
.site-footer address { font-style: normal; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; font-size: .85rem; color: rgba(255,255,255,.55); }
.footer-bottom ul { display: flex; gap: 18px; }
.soon-tip { margin-left: 10px; font-size: .8rem; font-weight: 600; color: var(--c-blue); opacity: 0; transition: opacity .2s; }
.soon-tip.is-visible { opacity: 1; }

/* =====================================================================
   16. ÖVRIGT: reveal, toast, platshållare
   ===================================================================== */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 650ms var(--ease-out), transform 650ms var(--ease-out); transition-delay: calc(var(--i, 0) * 70ms); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 16px); z-index: 60;
  padding: 12px 18px; border-radius: 999px; background: var(--c-navy); color: #fff; font-size: .9rem;
  box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; max-width: calc(100% - 32px); text-align: center;
  transition: opacity var(--t-med) var(--ease-out), transform var(--t-med) var(--ease-out), visibility 0s linear var(--t-med);
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); visibility: visible; transition-delay: 0s; }

img.is-placeholder { object-fit: cover; }

/* =====================================================================
   16b. UNDERSIDOR OCH KORTA STARTSIDESEKTIONER
   ===================================================================== */
/* Rubrik + länk på samma rad (korta sektioner på startsidan) */
.section-head--split { max-width: none; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; }
.section-head--split > div { max-width: 680px; }
.section-head--split h2 { margin-bottom: 0; }
.section--tight { padding-block: clamp(40px, 6vw, 72px); }

/* Kort som är länkar */
.card--link { display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.card--link h3 { font-size: 1.125rem; }
.card--link p { flex: 1; }
.card__more { margin-top: 16px; display: inline-flex; align-items: center; gap: 6px; font-family: var(--f-display); font-weight: 600; font-size: .95rem; color: var(--c-navy); }
.card__more svg { width: 16px; height: 16px; transition: transform var(--t-med) var(--ease-out); }
.card--link:hover .card__more svg { transform: translateX(3px); }
.card--link:active { transform: scale(.985); transition-duration: 80ms; }

/* Sidhuvud på undersidor */
.page-hero {
  position: relative; overflow: hidden;
  background: radial-gradient(120% 140% at 100% 0%, #0b2d5c 0%, var(--c-navy) 55%);
  color: rgba(255,255,255,.82);
  padding-block: clamp(28px, 4vw, 52px) clamp(32px, 4.5vw, 56px);
}
.page-hero::after {   /* diskret "svep" i Aeroscans ljusblå, som i logotypen */
  content: ""; position: absolute; right: -10%; bottom: -60%; width: 70%; aspect-ratio: 1;
  border-radius: 50%; border: 2px solid rgba(194,205,255,.14); pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; font-size: clamp(1.75rem, 3.6vw, 2.5rem); max-width: 30ch; margin-bottom: 12px; }
.page-hero .lead { max-width: 72ch; font-size: clamp(1rem, 1.4vw, 1.125rem); }
.page-hero .hero__actions { margin-top: 20px; }
.page-hero .chips { margin-top: 18px; }
.page-hero :focus-visible { outline-color: var(--c-blue); }

/* 404-sidan */
.page-hero__code {
  margin: 0 0 4px; font-family: var(--f-display); font-weight: 700; line-height: 1;
  font-size: clamp(4.5rem, 16vw, 8.5rem); letter-spacing: -.03em; color: var(--c-blue);
}
.page-hero--404 .lead { margin-bottom: 28px; }

.breadcrumb ol { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: .9rem; }
.breadcrumb li { display: flex; align-items: center; gap: 6px; color: var(--c-blue); }
.breadcrumb li + li::before { content: "/"; color: rgba(255,255,255,.4); }
.breadcrumb a { color: rgba(255,255,255,.75); text-decoration: none; }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }

/* Hoppa till-länkar */
.chips { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px; border-radius: 999px;
  border: 1px solid rgba(194,205,255,.35); background: rgba(255,255,255,.06);
  color: #fff; text-decoration: none; font-family: var(--f-display); font-weight: 500; font-size: .95rem;
  transition: background-color var(--t-fast) var(--ease-out), border-color var(--t-fast), transform var(--t-fast);
}
.chip svg { width: 18px; height: 18px; color: var(--c-blue); flex: none; }
.chip:hover { background: rgba(255,255,255,.12); border-color: var(--c-blue); }
.chip:active { transform: scale(.97); }
/* Förtroendesignaler i hero: enkel text med ikon, ska inte se klickbara ut */
.chips--trust { gap: 8px 24px; margin-top: 24px; }
.chips--trust .chip {
  min-height: 0; padding: 0; border: 0; border-radius: 0; background: none;
  color: rgba(255,255,255,.72); font-weight: 400; font-size: .875rem; gap: 6px;
}
.chips--trust .chip svg { width: 16px; height: 16px; opacity: .85; }
.chips--trust .chip:hover, .chips--trust .chip:active { background: none; transform: none; }

/* Bild + text i två kolumner (målgruppssidan) */
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split--reverse > :first-child { order: 2; }
.split__media { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow-md); background: var(--c-blue-soft); }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split > .split__media { order: -1; } .split--reverse > :first-child { order: 0; } }
.checklist { margin: 20px 0 28px; padding: 0; list-style: none; display: grid; gap: 10px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist li svg { width: 20px; height: 20px; flex: none; color: var(--c-blue-deep); margin-top: 3px; }

/* Kontaktuppmaning längst ned på undersidor */
.cta-band {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px;
  padding: clamp(28px, 5vw, 56px); border-radius: var(--r-lg);
  background: radial-gradient(120% 160% at 0% 0%, #0b2d5c 0%, var(--c-navy) 60%); color: rgba(255,255,255,.82);
}
.cta-band > div:first-child { max-width: 560px; }
.cta-band h2 { color: #fff; font-size: clamp(1.6rem, 3.2vw, 2.25rem); margin-bottom: 10px; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-band :focus-visible { outline-color: var(--c-blue); }


/* =====================================================================
   17. TILLGÄNGLIGHET: reducerad rörelse, transparens, kontrast
   ===================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .hero__scroll { display: none; }
  .card:hover, .contact-option:hover { transform: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .site-header::before, .nav { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .viewer__hint, .viewer__tools button { background: #fff; }
  .btn--secondary { background: rgba(0,27,61,.6); }
}
@media (prefers-contrast: more) {
  :root { --c-line: #9aa3b5; --c-text: #2d3748; }
  .site-header { border-bottom-color: var(--c-navy); }
}

/* =========================== TEXTSIDOR (integritetspolicy, cookies) =========================== */
.prose { max-width: 72ch; }
.prose h2 { font-size: clamp(1.25rem, 2.4vw, 1.5rem); margin: 40px 0 12px; }
.prose h2:first-child, .prose__date + h2 { margin-top: 0; }
.prose p { margin: 0 0 14px; }
.prose ul { margin: 0 0 18px; padding-left: 1.25em; display: grid; gap: 6px; }
.prose li::marker { color: var(--c-blue-deep); }
.prose strong { color: var(--c-text-strong); }
.prose__date { font-size: .9rem; color: var(--c-text-muted); margin-bottom: 32px !important; }
.prose__related { margin-top: 40px !important; padding-top: 20px; border-top: 1px solid var(--c-line); }

/* =====================================================================
   18. GUIDER (/guide/)
   ===================================================================== */
/* Sidhuvud på guidesidor */
.guide-hero h1 { max-width: 34ch; }
.guide-hero__cat {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px;
  font-family: var(--f-display); font-size: .8125rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--c-blue);
}
.guide-hero__cat svg { width: 18px; height: 18px; }
.guide-meta { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: .9rem; color: rgba(255,255,255,.75); }
.guide-meta li { display: inline-flex; align-items: center; gap: 8px; }
.guide-meta svg { width: 18px; height: 18px; color: var(--c-blue); flex: none; }
.chip__count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: rgba(194,205,255,.18); font-size: .8rem; }

/* Layout: artikel + sidokolumn */
.guide-section { padding-block: clamp(32px, 5vw, 64px) clamp(48px, 7vw, 88px); }
.guide-layout { display: grid; grid-template-columns: minmax(0, 760px) 300px; gap: clamp(32px, 5vw, 64px); justify-content: center; align-items: start; }
@media (max-width: 1000px) { .guide-layout { grid-template-columns: minmax(0, 1fr); } .guide-aside { display: none; } }
.guide-article { min-width: 0; }

/* Artikeltext */
.guide-prose { max-width: none; font-size: 1.0625rem; }
.guide-prose h2 { font-size: clamp(1.45rem, 2.8vw, 1.85rem); margin: 48px 0 14px; scroll-margin-top: calc(var(--header-h) + 16px); }
.guide-prose h3 { font-size: clamp(1.1rem, 1.8vw, 1.25rem); margin: 28px 0 8px; }
.guide-prose ol { margin: 0 0 18px; padding-left: 1.4em; display: grid; gap: 8px; }
.guide-prose ol li::marker { color: var(--c-blue-deep); font-weight: 600; }
.guide-prose a { color: var(--c-navy); text-decoration-color: var(--c-blue-deep); text-decoration-thickness: 1.5px; }
.guide-prose a:hover { color: var(--c-blue-deep); }
.guide-disclaimer { font-size: .9rem; color: var(--c-text-muted); padding: 12px 16px; border-left: 3px solid var(--c-line); background: var(--c-bg-alt); border-radius: 0 var(--r-sm) var(--r-sm) 0; }

/* Bilder */
.guide-figure { margin: 28px 0; }
.guide-figure img { width: 100%; border-radius: var(--r-md); background: var(--c-blue-soft); box-shadow: var(--shadow-sm); }
.guide-figure figcaption { margin-top: 10px; font-size: .9rem; line-height: 1.5; color: var(--c-text-muted); }
.guide-figure--hero { margin-top: 0; }
.guide-figure--hero img { aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r-lg); box-shadow: var(--shadow-md); }

/* Sammanfattning och innehållsförteckning */
.guide-summary { margin: 28px 0; padding: clamp(20px, 3vw, 28px); border-radius: var(--r-md); background: var(--c-blue-soft); }
.guide-summary__title, .toc__title, .guide-callout__title, .guide-aside__title {
  font-family: var(--f-display); font-weight: 600; color: var(--c-text-strong); margin: 0 0 12px; font-size: 1.1rem;
}
.guide-summary ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.guide-summary li { display: flex; gap: 12px; align-items: flex-start; }
.guide-summary li svg { width: 20px; height: 20px; flex: none; margin-top: 3px; color: var(--c-blue-deep); }

.toc { margin: 0 0 36px; padding: 20px 24px; border: 1px solid var(--c-line); border-radius: var(--r-md); }
.toc ol { margin: 0; padding-left: 1.3em; columns: 2; column-gap: 32px; }
.toc li { margin-bottom: 6px; break-inside: avoid; }
.toc li::marker { color: var(--c-blue-deep); font-weight: 600; }
.toc a { color: var(--c-text); text-decoration: none; }
.toc a:hover { color: var(--c-navy); text-decoration: underline; }
@media (max-width: 640px) { .toc ol { columns: 1; } }

/* Faktarutor */
.guide-callout { display: flex; gap: 16px; align-items: flex-start; margin: 28px 0; padding: 20px 22px; border-radius: var(--r-md); border: 1px solid var(--c-line); background: var(--c-bg-alt); }
.guide-callout > svg { width: 26px; height: 26px; flex: none; color: var(--c-blue-deep); margin-top: 2px; }
.guide-callout__title { margin-bottom: 6px !important; font-size: 1.05rem; }
.guide-callout p { margin: 0 0 4px; }
.guide-callout--cta { background: var(--c-navy); border-color: var(--c-navy); color: rgba(255,255,255,.85); }
.guide-callout--cta > svg { color: var(--c-blue); }
.guide-callout--cta .guide-callout__title { color: #fff; }
.guide-prose .guide-callout--cta a { color: #fff; text-decoration-color: var(--c-blue); font-weight: 600; }
.guide-prose .guide-callout--cta a.btn--light { color: var(--c-navy); text-decoration: none; }

/* Tabeller */
.guide-table-wrap { margin: 24px 0; overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--c-line); border-radius: var(--r-md); }
.guide-table { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 520px; }
.guide-table caption { text-align: left; padding: 14px 16px 0; font-size: .85rem; color: var(--c-text-muted); }
.guide-table th, .guide-table td { padding: 12px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--c-line); }
.guide-table thead th { font-family: var(--f-display); font-weight: 600; color: var(--c-text-strong); background: var(--c-bg-alt); }
.guide-table tbody th { font-weight: 600; color: var(--c-text-strong); }
.guide-table tbody tr:last-child th, .guide-table tbody tr:last-child td { border-bottom: 0; }

/* Vanliga frågor i guiden */
.guide-faq { margin-top: 56px; }
.guide-faq h2 { font-size: clamp(1.45rem, 2.8vw, 1.85rem); margin-bottom: 16px; }
.guide-faq .faq { max-width: none; }

/* Sidokolumn */
.guide-aside { position: sticky; top: calc(var(--header-h) + 24px); }
.guide-aside__card { padding: 24px; border-radius: var(--r-lg); border: 1px solid var(--c-line); box-shadow: var(--shadow-md); background: #fff; display: grid; gap: 12px; }
.guide-aside__card .icon { margin-bottom: 4px; }
.guide-aside__card p { margin: 0; font-size: .95rem; }
.guide-aside__title { margin: 0 !important; font-size: 1.15rem !important; line-height: 1.3; }
.guide-aside__note { font-size: .85rem !important; color: var(--c-text-muted); text-align: center; }

/* Guidekort */
.guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 1000px) { .guide-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .guide-grid { grid-template-columns: 1fr; } }
.guide-card {
  display: flex; flex-direction: column; overflow: hidden; text-decoration: none; color: inherit;
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm);
  transition: transform var(--t-med) var(--ease-out), box-shadow var(--t-med) var(--ease-out), border-color var(--t-med);
}
.guide-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--c-blue); color: inherit; }
.guide-card:active { transform: scale(.985); transition-duration: 80ms; }
.guide-card__media { aspect-ratio: 16 / 9; overflow: hidden; background: var(--c-blue-soft); }
.guide-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease-out); }
.guide-card:hover .guide-card__media img { transform: scale(1.04); }
.guide-card__body { flex: 1; display: flex; flex-direction: column; padding: 20px 22px 22px; }
.guide-card__cat { font-family: var(--f-display); font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--c-blue-deep); margin-bottom: 8px; }
.guide-card h3 { font-size: 1.125rem; line-height: 1.3; margin-bottom: 8px; }
.guide-card p { font-size: .95rem; flex: 1; margin-bottom: 14px; }
.guide-card__meta { display: inline-flex; align-items: center; gap: 6px; font-size: .85rem; color: var(--c-text-muted); }
.guide-card__meta svg { width: 16px; height: 16px; }
.guide-intro { margin-inline: auto; }

/* Om Aeroscan / kontakt längst ned */
.guide-contact {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(28px, 5vw, 56px); align-items: center;
  padding: clamp(28px, 5vw, 56px); border-radius: var(--r-lg);
  background: radial-gradient(120% 160% at 0% 0%, #0b2d5c 0%, var(--c-navy) 60%); color: rgba(255,255,255,.82);
}
@media (max-width: 900px) { .guide-contact { grid-template-columns: 1fr; } }
.guide-contact .eyebrow { color: var(--c-blue); }
.guide-contact h2 { color: #fff; font-size: clamp(1.6rem, 3.2vw, 2.25rem); }
.guide-contact__list { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 10px; }
.guide-contact__list li { display: flex; gap: 10px; align-items: flex-start; }
.guide-contact__list svg { width: 18px; height: 18px; flex: none; margin-top: 4px; color: var(--c-blue); }
.guide-contact__actions { display: grid; gap: 12px; }
.guide-contact__option {
  display: flex; align-items: center; gap: 16px; padding: 16px 20px; border-radius: var(--r-md);
  background: rgba(255,255,255,.08); border: 1px solid rgba(194,205,255,.28); color: #fff; text-decoration: none;
  transition: background-color var(--t-fast) var(--ease-out), border-color var(--t-fast), transform var(--t-fast);
}
.guide-contact__option:first-child { background: var(--c-blue); border-color: var(--c-blue); color: var(--c-navy); }
.guide-contact__option:hover { background: rgba(255,255,255,.14); border-color: var(--c-blue); color: #fff; }
.guide-contact__option:first-child:hover { background: #d3dbff; color: var(--c-navy); }
.guide-contact__option:active { transform: scale(.98); }
.guide-contact__option svg { width: 24px; height: 24px; flex: none; }
.guide-contact__option span { display: grid; font-size: .9rem; }
.guide-contact__option strong { font-family: var(--f-display); font-size: 1.05rem; font-weight: 600; }
.guide-contact__more { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; color: rgba(255,255,255,.82); font-size: .95rem; }
.guide-contact__more svg { width: 16px; height: 16px; }
.guide-contact__more:hover { color: #fff; }
.guide-contact :focus-visible { outline-color: var(--c-blue); }
@media (prefers-reduced-motion: reduce) { .guide-card:hover, .guide-card:hover .guide-card__media img { transform: none; } }

/* ===================== PRISSIDA ===================== */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
@media (max-width: 960px) { .price-grid { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; } }
.price-card {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg);
  padding: clamp(24px, 3vw, 32px); box-shadow: var(--shadow-sm);
}
.price-card--featured { border: 2px solid var(--c-navy); box-shadow: var(--shadow-lg); }
.price-card__badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--c-navy); color: #fff; font-family: var(--f-display); font-weight: 600;
  font-size: .85rem; padding: 6px 14px; border-radius: 999px; white-space: nowrap;
}
.price-card h3 { margin: 16px 0 6px; font-size: 1.5rem; }
.price-card__for { font-size: .97rem; color: var(--c-text); min-height: 3em; }
.price-card__price { margin: 18px 0 20px; color: var(--c-text-muted); font-size: .95rem; }
.price-card__price span { display: block; font-family: var(--f-display); font-weight: 700; font-size: clamp(2.1rem, 4vw, 2.6rem); line-height: 1.1; color: var(--c-text-strong); }
.price-card__price .price-card__from { display: inline; font-size: .5em; font-weight: 600; color: var(--c-text-muted); }
.price-card__list { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 10px; flex: 1; align-content: start; }
.price-card__list li { display: flex; gap: 10px; align-items: flex-start; font-size: .97rem; }
.price-card__list svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--c-blue-deep); }
.price-table th, .price-table td { text-align: center; vertical-align: middle; }
.price-table th:first-child { text-align: left; }
.price-table__price { display: block; font-family: var(--f-body); font-weight: 500; font-size: .85rem; color: var(--c-text-muted); }
.price-table__yes { display: block; margin-inline: auto; width: 20px; height: 20px; color: var(--c-ok); }
.price-table__no { color: var(--c-text-muted); }

/* ===================== PLATSHÅLLARE FÖR BILD (guider utan egen bild) ===================== */
.guide-placeholder {
  aspect-ratio: 16 / 9; display: flex; align-items: center; justify-content: center; text-align: center;
  padding: 24px; border: 2px dashed var(--c-blue-deep); border-radius: var(--r-lg);
  background: var(--c-blue-soft); color: var(--c-blue-deep); font-family: var(--f-display); font-weight: 600; font-size: .95rem;
}
.guide-placeholder--card { aspect-ratio: auto; height: 100%; border-radius: 0; border-width: 0 0 2px; font-size: .85rem; }

/* Kompakta tjänstekort i sidhuvudet (tjänstesidan) */
.service-nav { list-style: none; margin: 4px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.service-nav li { display: flex; }
.service-nav__card { flex: 1; padding: 16px 14px; color: var(--c-text-strong); hyphens: manual; }
.service-nav__card .icon { width: 40px; height: 40px; border-radius: 11px; margin-bottom: 12px; }
.service-nav__card .icon svg { width: 20px; height: 20px; }
.service-nav__title { flex: 1; font-family: var(--f-display); font-weight: 600; font-size: .95rem; line-height: 1.25; }
.service-nav__card .card__more { margin-top: 10px; font-size: .85rem; }
@media (max-width: 640px)  { .service-nav { grid-template-columns: repeat(2, 1fr); gap: 10px; } }
