/* J.A Rörservice. Färgerna är tagna ur loggan: marinblått #154c79 och turkos #24aad1. */

@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400 800;
  font-stretch: 85% 100%;
  font-display: swap;
  src: url(/assets/fonts/archivo-latin.woff2) format('woff2');
  unicode-range: U+0020-007E, U+00A0-00FF, U+2013-2014, U+2018-2019, U+201C-201E, U+2022, U+2026, U+00B7, U+2192, U+2212, U+20AC;
}

:root {
  --navy: #154c79;
  --navy-mork: #0f3c61;
  --navy-djup: #0b2a44;
  --aqua: #24aad1;
  --aqua-mork: #127391;
  --blek: #edf3f7;
  --sand: #f4f2ee;
  --text: #0f1e2c;
  --text-2: #4b5b6a;
  --text-3: #5a6875;
  --linje: #dfe4e9;
  --vit: #fff;
  --radie: 6px;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --sidhuvud-h: 76px;
  --sektion: clamp(72px, 9vw, 128px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --font: 'Archivo', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--sidhuvud-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--vit);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-stretch: 100%;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; color: var(--text); font-weight: 700; }
ul, ol { margin: 0; padding: 0; }
button, input, textarea, select { font: inherit; color: inherit; }
svg { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
:focus-visible { outline: 2px solid var(--aqua); outline-offset: 3px; border-radius: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hoppa { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: var(--radie); text-decoration: none; }
.hoppa:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Typografi ---------- */
.rubrik-xl { font-size: clamp(2.45rem, 1.45rem + 3.9vw, 4.6rem); line-height: 1.02; letter-spacing: -.028em; font-weight: 760; font-stretch: 90%; text-wrap: balance; }
.rubrik-l { font-size: clamp(1.95rem, 1.35rem + 2.3vw, 3.15rem); line-height: 1.06; letter-spacing: -.022em; font-weight: 730; font-stretch: 92%; text-wrap: balance; }
.rubrik-m { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); line-height: 1.15; letter-spacing: -.015em; font-weight: 700; font-stretch: 95%; text-wrap: balance; }
.ingress { font-size: clamp(1.1rem, 1rem + .35vw, 1.25rem); line-height: 1.55; color: var(--text-2); max-width: 36em; }
.etikett { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 20px; font-size: .78rem; font-weight: 680; letter-spacing: .14em; text-transform: uppercase; color: var(--navy); }
.etikett::before { content: ''; width: 28px; height: 3px; background: var(--aqua); }
.text-2 { color: var(--text-2); }
.sektion { padding-block: var(--sektion); }
.sektion-huvud { display: grid; gap: 24px 64px; align-items: end; margin-bottom: clamp(40px, 5vw, 64px); }
@media (min-width: 900px) { .sektion-huvud { grid-template-columns: 1.15fr 1fr; } }
.sektion-huvud p { margin: 0; color: var(--text-2); max-width: 32em; }
.sektion-huvud:has(> :only-child) { grid-template-columns: 1fr; }
.textlank { display: inline-flex; align-items: center; gap: 8px; font-weight: 640; color: var(--navy); text-decoration: none; }
.textlank svg { transition: transform .35s var(--ease); }
.textlank:hover svg { transform: translateX(4px); }
.textlank:hover span { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Knappar ---------- */
.knapp { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 4px; border: 1.5px solid transparent; font-weight: 640; font-size: 1rem; line-height: 1.1; text-decoration: none; cursor: pointer; transition: background-color .25s, color .25s, border-color .25s, transform .25s var(--ease); white-space: nowrap; }
.knapp:active { transform: translateY(1px); }
.knapp svg { width: 20px; height: 20px; }
.knapp-fylld { background: var(--navy); color: #fff; }
.knapp-fylld:hover { background: var(--navy-mork); }
.knapp-kontur { border-color: rgba(21, 76, 121, .35); color: var(--navy); background: transparent; }
.knapp-kontur:hover { border-color: var(--navy); background: var(--blek); }
.knapp-ljus { background: #fff; color: var(--navy-djup); }
.knapp-ljus:hover { background: var(--blek); }
.knapp-liten { min-height: 44px; padding: 0 18px; font-size: .95rem; }
.knapp-stor { min-height: 58px; padding: 0 28px; }
.knappar { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Sidhuvud ---------- */
.sidhuvud { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .97); border-bottom: 1px solid transparent; transition: transform .45s var(--ease), border-color .3s, box-shadow .3s; }
@supports (backdrop-filter: blur(8px)) { .sidhuvud { background: rgba(255, 255, 255, .9); backdrop-filter: saturate(1.4) blur(12px); } }
.sidhuvud.skuggad { border-color: var(--linje); }
.sidhuvud.gomd { transform: translateY(-100%); }
.sidhuvud-inre { display: flex; align-items: center; gap: 24px; height: var(--sidhuvud-h); max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.logga { display: block; flex: none; }
.logga img { height: 42px; width: auto; }
.meny { margin-inline: auto; }
.meny ul { display: flex; gap: 4px; list-style: none; }
.meny a { position: relative; display: block; padding: 10px 14px; font-size: .98rem; font-weight: 580; text-decoration: none; color: var(--text); }
.meny a::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; background: var(--aqua); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.meny a:hover::after, .meny a[aria-current]::after { transform: scaleX(1); }
.meny-mobil-kontakt { display: none; }
.sidhuvud-handling { display: flex; align-items: center; gap: 20px; flex: none; margin-left: auto; }
.sidhuvud-tel { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 720; font-size: 1.02rem; letter-spacing: -.005em; }
.sidhuvud-tel small { display: block; font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); line-height: 1.1; }
.sidhuvud-tel-ikon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--blek); color: var(--navy); transition: background-color .25s, color .25s; }
.sidhuvud-tel-ikon svg { width: 18px; height: 18px; }
.sidhuvud-tel:hover .sidhuvud-tel-ikon { background: var(--navy); color: #fff; }
.meny-knapp { display: none; position: relative; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; border-radius: 4px; }
.meny-knapp span:not(.sr) { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--text); transition: transform .35s var(--ease), top .35s var(--ease); }
.meny-knapp span:nth-child(1) { top: 17px; }
.meny-knapp span:nth-child(2) { top: 25px; }
.meny-oppen .meny-knapp span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.meny-oppen .meny-knapp span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

@media (max-width: 1120px) {
  .meny-knapp { display: block; }
  .meny { position: fixed; inset: var(--sidhuvud-h) 0 0 0; z-index: 49; display: flex; flex-direction: column; justify-content: space-between; margin: 0; padding: 24px var(--gutter) calc(24px + env(safe-area-inset-bottom)); background: #fff; overflow-y: auto; visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s .3s; }
  .meny-oppen .meny { visibility: visible; opacity: 1; transform: none; transition: opacity .3s var(--ease), transform .3s var(--ease); }
  .meny ul { flex-direction: column; gap: 0; }
  .meny li { border-bottom: 1px solid var(--linje); }
  .meny a { padding: 18px 0; font-size: 1.6rem; font-weight: 680; font-stretch: 92%; letter-spacing: -.015em; }
  .meny a::after { display: none; }
  .meny a[aria-current] { color: var(--navy); }
  .meny-mobil-kontakt { display: grid; gap: 12px; padding-top: 28px; }
  .meny-mobil-kontakt .knapp { width: 100%; min-height: 56px; }
  .meny-mobil-kontakt p { margin: 0; color: var(--text-2); font-size: .95rem; text-align: center; }
  .meny-oppen { overflow: hidden; }
}
@media (max-width: 760px) {
  :root { --sidhuvud-h: 64px; }
  .logga img { height: 34px; }
  .sidhuvud-tel, .sidhuvud-handling .knapp { display: none; }
  .hjalte .knappar .knapp, .sidtopp-snabb .knapp { flex: 1 1 100%; }
  .meny-knapp { margin-right: -8px; }
}

/* ---------- Toppen på startsidan ---------- */
.hjalte { padding-top: clamp(28px, 4vw, 56px); padding-bottom: clamp(48px, 6vw, 88px); }
.hjalte-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 980px) { .hjalte-grid { grid-template-columns: 1.08fr 1fr; gap: 72px; } }
.hjalte h1 { margin-bottom: 22px; }
.hjalte-rubrik { font-size: clamp(3rem, 1.5rem + 5.2vw, 5.75rem); line-height: .98; letter-spacing: -.032em; }
.hjalte-rubrik span { display: block; }
.hjalte h1 span { color: var(--navy); }
.hjalte .ingress { margin-bottom: 32px; }
.hjalte-fakta { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 32px; list-style: none; color: var(--text-2); font-size: .95rem; }
.hjalte-fakta li { display: flex; align-items: center; gap: 8px; }
.hjalte-fakta svg { color: var(--aqua-mork); stroke-width: 2.2; width: 18px; height: 18px; }
.hjalte-bild { position: relative; margin: 0; }
.hjalte-bild > .bildram { aspect-ratio: 1 / 1; max-height: min(72vh, 600px); width: 100%; border-radius: var(--radie); overflow: hidden; background: var(--blek); }
.hjalte-bild > .bildram img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; }
.hjalte-bild figcaption { position: absolute; right: 16px; top: 16px; padding: 6px 10px; border-radius: 4px; background: rgba(11, 42, 68, .72); color: #fff; font-size: .78rem; font-weight: 560; letter-spacing: .02em; }
.senaste-plats { position: absolute; left: -36px; bottom: 36px; max-width: 360px; }
.senaste { display: flex; align-items: center; gap: 14px; padding: 12px 18px 12px 12px; background: #fff; border-radius: var(--radie); box-shadow: 0 18px 50px -18px rgba(11, 42, 68, .45), 0 2px 6px rgba(11, 42, 68, .08); text-decoration: none; transition: transform .35s var(--ease); }
.senaste:hover { transform: translateY(-3px); }
.senaste-bild { width: 56px; height: 56px; flex: none; border-radius: 4px; overflow: hidden; background: var(--blek); }
.senaste-bild img { width: 100%; height: 100%; object-fit: cover; }
.senaste-text { display: grid; gap: 2px; min-width: 0; }
.senaste-rubrik { font-size: .72rem; font-weight: 680; letter-spacing: .08em; text-transform: uppercase; color: var(--aqua-mork); }
.senaste-titel { display: inline-flex; align-items: center; gap: 6px; font-size: .95rem; font-weight: 640; color: var(--navy); }
.senaste-titel svg { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.senaste:hover .senaste-titel svg { transform: translateX(3px); }
@media (max-width: 979px) {
  .senaste-plats { position: static; max-width: none; margin-top: 14px; }
  .hjalte-bild > .bildram { aspect-ratio: 4 / 3.4; }
}

@media (prefers-reduced-motion: no-preference) {
  .hjalte-text > * { animation: upp .9s var(--ease) both; }
  .hjalte-text > :nth-child(2) { animation-delay: .08s; }
  .hjalte-text > :nth-child(3) { animation-delay: .16s; }
  .hjalte-text > :nth-child(4) { animation-delay: .24s; }
  .hjalte-text > :nth-child(5) { animation-delay: .32s; }
  @media (min-width: 980px) {
    .hjalte-bild > .bildram { animation: ramIn 1.1s var(--ease) both; }
    .hjalte-bild > .bildram img { animation: zoomUt 1.8s var(--ease) both; }
  }
  .senaste-plats { animation: inVanster 1s var(--ease) .75s both; }
}
@keyframes upp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes ramIn { from { clip-path: inset(10% 0 10% 18% round 6px); } to { clip-path: inset(0 0 0 0 round 6px); } }
@keyframes zoomUt { from { transform: scale(1.12); } to { transform: none; } }
@keyframes inVanster { from { opacity: 0; transform: translateX(-24px); } to { opacity: 1; transform: none; } }

/* ---------- Förtroenderaden ---------- */
.fortroende { border-block: 1px solid var(--linje); }
.fortroende-inre { display: grid; gap: 20px 40px; align-items: center; padding-block: 26px; }
@media (min-width: 1000px) { .fortroende-inre { grid-template-columns: auto 1fr auto; } }
.fortroende-rubrik { margin: 0; font-size: .78rem; font-weight: 680; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); line-height: 1.4; }
.fortroende-loggor { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 34px; list-style: none; }
.fortroende-loggor img { height: 36px; width: auto; max-width: 132px; object-fit: contain; }
.fortroende-loggor .hog img { height: 48px; }
.google-betyg { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; padding: 8px 14px 8px 10px; border: 1px solid var(--linje); border-radius: 40px; transition: border-color .25s; white-space: nowrap; }
.google-betyg:hover { border-color: var(--navy); }
.google-betyg b { font-size: 1.15rem; font-weight: 760; }
.google-betyg small { color: var(--text-2); font-size: .88rem; }
.stjarnor { display: inline-flex; gap: 1px; color: #e8a317; }
.stjarnor svg { width: 16px; height: 16px; fill: currentColor; stroke: none; }
.betyg { position: relative; display: inline-flex; color: #d5dbe1; }
.betyg .stjarnor { color: #d5dbe1; }
.betyg-fyllning { position: absolute; inset: 0 auto 0 0; overflow: hidden; white-space: nowrap; }
.betyg-fyllning .stjarnor { color: #e8a317; }
.g-logga { width: 22px; height: 22px; }
@media (max-width: 999px) {
  .fortroende-loggor { gap: 16px 28px; }
  .fortroende-loggor img { height: 32px; }
  .fortroende-loggor .hog img { height: 44px; }
}

/* ---------- Tjänstekort ---------- */
.tjanst-grid { display: grid; gap: clamp(28px, 3vw, 40px) clamp(20px, 2.4vw, 32px); list-style: none; }
@media (min-width: 640px) { .tjanst-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .tjanst-grid { grid-template-columns: repeat(3, 1fr); } }
.tjanst-kort a { display: block; text-decoration: none; height: 100%; }
.tjanst-kort .bildram { aspect-ratio: 4 / 3; border-radius: var(--radie); overflow: hidden; background: var(--blek); margin-bottom: 22px; }
.tjanst-kort img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.tjanst-kort a:hover img { transform: scale(1.045); }
.tjanst-nr { display: block; margin-bottom: 8px; font-size: .8rem; font-weight: 700; letter-spacing: .1em; color: var(--aqua-mork); font-variant-numeric: tabular-nums; }
.tjanst-kort h3 { font-size: 1.4rem; line-height: 1.2; letter-spacing: -.012em; font-weight: 700; font-stretch: 95%; margin-bottom: 10px; }
.tjanst-kort p { color: var(--text-2); margin-bottom: 16px; }
.tjanst-kort .textlank { font-size: .98rem; }
.tjanst-kort a:hover .textlank svg { transform: translateX(4px); }
@media (max-width: 639px) {
  .tjanst-grid { gap: 0; border-top: 1px solid var(--linje); }
  .tjanst-kort { border-bottom: 1px solid var(--linje); }
  .tjanst-kort a { display: grid; grid-template-columns: 104px 1fr; gap: 0 18px; padding-block: 20px; }
  .tjanst-kort .bildram { grid-row: span 4; aspect-ratio: 1; margin: 0; }
  .tjanst-kort a > :not(.bildram) { grid-column: 2; }
  .tjanst-kort h3 { font-size: 1.2rem; margin-bottom: 6px; }
  .tjanst-kort p { font-size: .97rem; margin-bottom: 8px; }
  .tjanst-nr { margin-bottom: 4px; }
}

/* ---------- Mörkt band, Säker Vatten ---------- */
.band-mork { background: var(--navy-djup); color: #fff; position: relative; overflow: hidden; }
.band-mork::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--aqua); }
.band-mork h2, .band-mork h3 { color: #fff; }
.band-mork .etikett { color: #9fd9ec; }
.band-mork .ingress, .band-mork p { color: rgba(255, 255, 255, .78); }
.sv-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 980px) { .sv-grid { grid-template-columns: 1.1fr .9fr; gap: 88px; } }
.sv-grid h2 { margin-bottom: 24px; }
.sv-grid .knappar { margin-top: 32px; }
.sv-kort { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--radie); padding: clamp(24px, 3vw, 36px); }
.sv-logga { background: #fff; border-radius: 4px; padding: 16px 20px; display: inline-block; margin-bottom: 28px; }
.sv-logga img { height: 64px; width: auto; }
.sv-fakta { display: grid; gap: 0; margin: 0; }
.sv-fakta div { display: flex; justify-content: space-between; gap: 24px; padding-block: 16px; border-top: 1px solid rgba(255, 255, 255, .14); }
.sv-fakta dt { color: rgba(255, 255, 255, .7); }
.sv-fakta dd { margin: 0; font-weight: 680; text-align: right; }

/* ---------- Instagram ---------- */
.instagram { background: var(--sand); overflow: hidden; }
.ig-huvud { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 40px; }
.ig-huvud p { margin: 12px 0 0; color: var(--text-2); }
.ig-styr { display: flex; align-items: center; gap: 10px; }
.ig-pil { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid rgba(15, 30, 44, .2); background: transparent; cursor: pointer; color: var(--text); transition: border-color .25s, background-color .25s, opacity .25s; }
.ig-pil:hover:not(:disabled) { border-color: var(--navy); background: #fff; }
.ig-pil:disabled { opacity: .35; cursor: default; }
.ig-pil.bak svg { transform: rotate(180deg); }
.ig-folj { margin-left: 8px; }
.ig-rad { --start: max(var(--gutter), calc((100vw - var(--wrap)) / 2)); display: grid; grid-auto-flow: column; grid-auto-columns: clamp(232px, 72vw, 300px); gap: 20px; list-style: none; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--start); padding: 0 var(--start) 8px; scrollbar-width: none; }
.ig-rad::-webkit-scrollbar { display: none; }
.ig-kort { scroll-snap-align: start; }
.ig-kort a { display: grid; gap: 10px; text-decoration: none; }
.ig-bild { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: var(--radie); overflow: hidden; background: #e6e2db; }
.ig-bild img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.ig-kort a:hover .ig-bild img { transform: scale(1.04); }
.ig-meta { font-size: .76rem; font-weight: 680; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }
.ig-text { font-size: .97rem; line-height: 1.45; color: var(--text); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ig-marke { position: absolute; top: 12px; right: 12px; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: rgba(11, 42, 68, .62); color: #fff; }
.ig-marke svg { width: 14px; height: 14px; stroke: none; }

/* ---------- Arbetsgång ---------- */
.steg-lista { display: grid; gap: 40px 32px; list-style: none; counter-reset: steg; }
@media (min-width: 700px) { .steg-lista { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .steg-lista { grid-template-columns: repeat(4, 1fr); } }
.steg { position: relative; padding-top: 28px; border-top: 2px solid var(--linje); }
.steg::before { content: ''; position: absolute; left: 0; top: -2px; height: 2px; width: 0; background: var(--navy); transition: width 1.1s var(--ease); transition-delay: calc(var(--i, 0) * .18s); }
.syns .steg::before, .steg.syns::before { width: 100%; }
.steg-nr { display: block; margin-bottom: 14px; font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--aqua-mork); }
.steg h3 { font-size: 1.3rem; line-height: 1.25; font-stretch: 95%; margin-bottom: 10px; }
.steg p { color: var(--text-2); margin: 0; }

/* ---------- Omdömen ---------- */
.omdomen { background: var(--blek); }
.omdome-grid { display: grid; gap: 48px; align-items: start; }
@media (min-width: 1000px) { .omdome-grid { grid-template-columns: .8fr 1.2fr; gap: 72px; } .omdome-sida { position: sticky; top: calc(var(--sidhuvud-h) + 32px); } }
.betyg-stor { display: flex; align-items: center; gap: 18px; margin: 32px 0 24px; }
.betyg-stor b { font-size: 4rem; line-height: 1; font-weight: 760; font-stretch: 85%; letter-spacing: -.03em; }
.betyg-stor .stjarnor svg { width: 22px; height: 22px; }
.betyg-stor .betyg { margin-bottom: 2px; }
.betyg-stor small { display: block; color: var(--text-2); font-size: .95rem; margin-top: 4px; }
.citat-lista { display: grid; gap: 20px; list-style: none; }
@media (min-width: 700px) { .citat-lista { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
@media (min-width: 1100px) { .citat-lista { grid-template-columns: repeat(4, 1fr); } }
.omdome-betyg { display: flex; align-items: center; justify-content: flex-start; gap: 20px 32px; flex-wrap: wrap; }
@media (min-width: 900px) { .omdome-betyg { justify-content: flex-end; } }
.omdome-betyg .betyg-stor { margin: 0; }
.citat { margin: 0; height: 100%; padding: 28px; background: #fff; border-radius: var(--radie); box-shadow: 0 1px 2px rgba(11, 42, 68, .05); display: flex; flex-direction: column; gap: 18px; }
.citat blockquote { margin: 0; font-size: 1.04rem; line-height: 1.55; color: var(--text); }
.citat figcaption { margin-top: auto; display: flex; align-items: center; gap: 12px; font-size: .92rem; }
.citat figcaption b { display: block; font-weight: 680; }
.citat figcaption small { color: var(--text-3); }
.citat-initial { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 700; font-size: .95rem; flex: none; }

/* ---------- Samarbetspartners ---------- */
.partner-rad { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--linje); border-left: 1px solid var(--linje); list-style: none; }
@media (min-width: 800px) { .partner-rad { grid-template-columns: repeat(4, 1fr); } }
.partner-rad li { display: grid; place-items: center; min-height: 148px; padding: 28px; border-right: 1px solid var(--linje); border-bottom: 1px solid var(--linje); }
.partner-rad img { max-height: 64px; width: auto; max-width: 170px; object-fit: contain; filter: grayscale(1); opacity: .72; transition: filter .4s, opacity .4s; }
.partner-rad li:hover img { filter: none; opacity: 1; }
@media (hover: none) { .partner-rad img { filter: none; opacity: 1; } }

/* ---------- Delad sektion med bild ---------- */
.delad { display: grid; gap: 40px; align-items: center; }
@media (min-width: 980px) { .delad { grid-template-columns: 1fr 1fr; gap: 88px; } .delad.omvand > :first-child { order: 2; } }
.delad .bildram { aspect-ratio: 5 / 4; border-radius: var(--radie); overflow: hidden; background: var(--blek); }
.delad .bildram img { width: 100%; height: 100%; object-fit: cover; }
.delad h2 { margin-bottom: 22px; }
.bock-lista { list-style: none; display: grid; gap: 12px; margin: 26px 0 32px; }
.bock-lista li { display: flex; gap: 12px; align-items: flex-start; }
.bock-lista svg { color: var(--aqua-mork); stroke-width: 2.4; width: 20px; height: 20px; margin-top: 3px; }

/* ---------- Vanliga frågor ---------- */
.fragor-grid { display: grid; gap: 40px; }
@media (min-width: 1000px) { .fragor-grid { grid-template-columns: .8fr 1.2fr; gap: 72px; } }
.fragor-lista { border-top: 1px solid var(--linje); }
.fraga { border-bottom: 1px solid var(--linje); interpolate-size: allow-keywords; }
.fraga summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; cursor: pointer; list-style: none; font-size: 1.12rem; font-weight: 650; line-height: 1.35; }
.fraga summary::-webkit-details-marker { display: none; }
.fraga-plus { position: relative; width: 28px; height: 28px; flex: none; border-radius: 50%; border: 1.5px solid var(--linje); transition: border-color .25s, background-color .25s; }
.fraga-plus::before, .fraga-plus::after { content: ''; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.8px; background: var(--text); transform: translate(-50%, -50%); transition: transform .35s var(--ease); }
.fraga-plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.fraga[open] .fraga-plus { background: var(--navy); border-color: var(--navy); }
.fraga[open] .fraga-plus::before, .fraga[open] .fraga-plus::after { background: #fff; }
.fraga[open] .fraga-plus::after { transform: translate(-50%, -50%) rotate(0); }
.fraga summary:hover .fraga-plus { border-color: var(--navy); }
.fraga-svar { padding: 0 48px 24px 0; color: var(--text-2); }
.fraga-svar p:last-child { margin: 0; }
.fraga::details-content { block-size: 0; overflow: hidden; transition: block-size .4s var(--ease), content-visibility .4s allow-discrete; }
.fraga[open]::details-content { block-size: auto; }

/* ---------- Kontakt och formulär ---------- */
.kontakt-kort { display: grid; border-radius: 8px; overflow: hidden; background: #fff; box-shadow: 0 30px 80px -40px rgba(11, 42, 68, .35), 0 0 0 1px var(--linje); }
@media (min-width: 1000px) { .kontakt-kort { grid-template-columns: .85fr 1.15fr; } }
.kontakt-info { --kp: clamp(28px, 4vw, 52px); background: var(--navy); color: #fff; padding: var(--kp); display: flex; flex-direction: column; gap: 28px; }
.kontakt-info h2 { color: #fff; }
.kontakt-info p { color: rgba(255, 255, 255, .8); margin: 0; }
.kontakt-info .etikett { color: #a9def0; margin-bottom: 0; }
.kontakt-tel { display: block; text-decoration: none; font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.4rem); font-weight: 760; font-stretch: 90%; letter-spacing: -.02em; line-height: 1.1; }
.kontakt-tel small { display: block; font-size: .8rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #a9def0; margin-bottom: 6px; }
.kontakt-tel:hover span { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.kontakt-lista { display: grid; gap: 14px; list-style: none; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .18); }
.kontakt-foto { position: relative; flex: 1 1 220px; min-height: 220px; margin: 4px calc(-1 * var(--kp)) calc(-1 * var(--kp)); overflow: hidden; }
.kontakt-foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.kontakt-foto::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, var(--navy), rgba(21, 76, 121, 0) 28%); }
@media (max-width: 999px) { .kontakt-foto { display: none; } }
.kontakt-lista li, .kontakt-lista a { display: flex; gap: 12px; align-items: flex-start; text-decoration: none; color: rgba(255, 255, 255, .92); }
.kontakt-lista a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.kontakt-lista svg { width: 20px; height: 20px; margin-top: 2px; color: #a9def0; }
.kontakt-form { padding: clamp(28px, 4vw, 52px); }
.kontakt-form h3 { font-size: 1.35rem; margin-bottom: 6px; }
.kontakt-form > p { color: var(--text-2); margin-bottom: 28px; }

.formular { display: grid; gap: 20px; }
.val-grupp { border: 0; padding: 0; margin: 0; }
.val-grupp legend { padding: 0; margin-bottom: 10px; font-weight: 640; font-size: .95rem; }
.val-lista { display: flex; flex-wrap: wrap; gap: 8px; }
.val { position: relative; }
.val input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.val span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border: 1.5px solid var(--linje); border-radius: 40px; font-size: .93rem; font-weight: 560; transition: border-color .2s, background-color .2s, color .2s; cursor: pointer; user-select: none; }
.val:hover span { border-color: rgba(21, 76, 121, .5); }
.val input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.val input:focus-visible + span { outline: 2px solid var(--aqua); outline-offset: 2px; }
.falt-rad { display: grid; gap: 20px; }
@media (min-width: 620px) { .falt-rad { grid-template-columns: 1fr 1fr; } }
.falt { display: grid; gap: 7px; }
.falt label { font-weight: 640; font-size: .95rem; }
.valfritt { font-weight: 450; color: var(--text-3); font-size: .85rem; margin-left: 4px; }
.falt input, .falt textarea { width: 100%; min-height: 52px; padding: 13px 15px; border: 1.5px solid var(--linje); border-radius: 4px; background: #fff; font-size: 1rem; line-height: 1.4; transition: border-color .2s, box-shadow .2s; }
.falt textarea { resize: vertical; min-height: 136px; }
.falt input::placeholder, .falt textarea::placeholder { color: #98a4af; }
.falt input:hover, .falt textarea:hover { border-color: #c2ccd5; }
.falt input:focus, .falt textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(36, 170, 209, .22); }
.falt.fel input, .falt.fel textarea { border-color: #c2412d; }
.falt-felmeddelande { color: #b03a26; font-size: .88rem; }
.falt-dold { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.formular-fot { display: grid; gap: 14px; align-items: center; }
@media (min-width: 620px) { .formular-fot { grid-template-columns: auto 1fr; gap: 24px; } }
.formular-not { margin: 0; font-size: .87rem; color: var(--text-3); line-height: 1.45; }
.formular-not a { color: var(--text-2); }
.formular button[disabled] { opacity: .7; cursor: progress; }
.formular-svar:empty { display: none; }
.formular-svar { padding: 18px 20px; border-radius: 4px; background: #fdf1ee; color: #7d2b1d; }
.formular-svar a { font-weight: 650; }
.formular-klar { padding: clamp(28px, 4vw, 44px); border-radius: var(--radie); background: var(--blek); }
.formular-klar h3 { font-size: 1.5rem; margin-bottom: 10px; display: flex; align-items: center; gap: 12px; }
.formular-klar h3 svg { width: 30px; height: 30px; padding: 5px; border-radius: 50%; background: var(--navy); color: #fff; stroke-width: 2.6; }
.formular-klar p { color: var(--text-2); margin: 0; }

/* ---------- Undersidor ---------- */
.sidtopp { padding-block: clamp(40px, 6vw, 88px) clamp(40px, 5vw, 72px); background: var(--sand); }
.sidtopp h1 { margin-bottom: 20px; max-width: 16em; }
.sidtopp .ingress { margin: 0; }
.sidtopp-grid { display: grid; gap: 40px; align-items: end; }
@media (min-width: 980px) { .sidtopp-grid { grid-template-columns: 1.2fr .8fr; gap: 72px; } }
.sidtopp-snabb { display: grid; gap: 10px; }
.sidtopp-snabb a { justify-content: center; }
.innehall-nav { position: sticky; top: var(--sidhuvud-h); z-index: 10; background: rgba(255, 255, 255, .96); border-bottom: 1px solid var(--linje); transition: top .45s var(--ease); }
.sidhuvud.gomd ~ main .innehall-nav { top: 0; }
.innehall-nav ul { display: flex; gap: 6px; list-style: none; overflow-x: auto; scrollbar-width: none; padding-block: 12px; }
.innehall-nav ul::-webkit-scrollbar { display: none; }
.innehall-nav a { display: block; padding: 8px 14px; border-radius: 40px; text-decoration: none; font-size: .93rem; font-weight: 600; white-space: nowrap; color: var(--text-2); transition: background-color .2s, color .2s; }
.innehall-nav a:hover { background: var(--blek); color: var(--navy); }
.innehall-nav a.aktiv { background: var(--navy); color: #fff; }

.tjanst-detalj { display: grid; gap: 36px; align-items: center; padding-block: clamp(56px, 7vw, 104px); border-bottom: 1px solid var(--linje); }
.tjanst-detalj:last-child { border-bottom: 0; }
@media (min-width: 980px) { .tjanst-detalj { grid-template-columns: 1fr 1.05fr; gap: 88px; } .tjanst-detalj:nth-child(even) > .tjanst-bilder { order: 2; } }
.tjanst-bilder { display: grid; grid-template-columns: 1.4fr 1fr; gap: 14px; align-items: end; }
.tjanst-bilder .bildram { border-radius: var(--radie); overflow: hidden; background: var(--blek); }
.tjanst-bilder .bildram:first-child { aspect-ratio: 4 / 4.4; }
.tjanst-bilder .bildram:nth-child(2) { aspect-ratio: 3 / 3.6; margin-bottom: 32px; }
.tjanst-bilder .bildram:only-child { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
.tjanst-bilder img { width: 100%; height: 100%; object-fit: cover; }
.tjanst-detalj h2 { margin-bottom: 20px; }
.tjanst-detalj .textblock p { color: var(--text-2); }
.marken { margin-top: 8px; font-size: .92rem; color: var(--text-3); }

.prosa { max-width: 44rem; }
.prosa h2 { font-size: 1.5rem; margin: 2.2em 0 .6em; letter-spacing: -.01em; }
.prosa p, .prosa li { color: var(--text-2); }
.prosa ul { padding-left: 1.2em; margin-bottom: 1em; }
.prosa li { margin-bottom: .4em; }

.ig-rutnat { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; list-style: none; }
@media (min-width: 700px) { .ig-rutnat { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
@media (min-width: 1100px) { .ig-rutnat { grid-template-columns: repeat(4, 1fr); gap: 20px; } }
.ig-ruta a { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: var(--radie); overflow: hidden; background: #e6e2db; text-decoration: none; }
.ig-ruta img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.ig-ruta-text { position: absolute; inset: auto 0 0 0; display: grid; gap: 4px; padding: 48px 16px 16px; background: linear-gradient(to top, rgba(8, 26, 42, .88), rgba(8, 26, 42, 0)); color: #fff; font-size: .9rem; line-height: 1.4; opacity: 0; transform: translateY(8px); transition: opacity .35s var(--ease), transform .35s var(--ease); }
.ig-ruta-text time { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #a9def0; }
.ig-ruta a:hover img, .ig-ruta a:focus-visible img { transform: scale(1.05); }
.ig-ruta a:hover .ig-ruta-text, .ig-ruta a:focus-visible .ig-ruta-text { opacity: 1; transform: none; }
.ig-ruta-bildtext { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
@media (hover: none) { .ig-ruta-text { opacity: 1; transform: none; padding: 32px 12px 10px; background: linear-gradient(to top, rgba(8, 26, 42, .7), rgba(8, 26, 42, 0)); } .ig-ruta-bildtext { display: none; } }

.galleri { display: grid; gap: 20px; list-style: none; }
@media (min-width: 700px) { .galleri { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .galleri { grid-template-columns: repeat(3, 1fr); } }
.galleri figure { margin: 0; }
.galleri .bildram { aspect-ratio: 4 / 5; border-radius: var(--radie); overflow: hidden; background: var(--blek); margin-bottom: 16px; }
.galleri img { width: 100%; height: 100%; object-fit: cover; }
.galleri figcaption b { display: block; font-size: 1.15rem; margin-bottom: 4px; }
.galleri figcaption { color: var(--text-2); }

.behorighet-grid { display: grid; gap: 1px; background: var(--linje); border: 1px solid var(--linje); border-radius: var(--radie); overflow: hidden; list-style: none; }
@media (min-width: 700px) { .behorighet-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .behorighet-grid { grid-template-columns: repeat(3, 1fr); } }
.behorighet-grid li { background: #fff; padding: 28px; display: grid; gap: 14px; align-content: start; }
.behorighet-grid img { height: 52px; width: auto; max-width: 180px; object-fit: contain; object-position: left; }
.behorighet-ikon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--navy); color: #fff; }
.behorighet-ikon svg { width: 26px; height: 26px; stroke-width: 2.4; }
.behorighet-grid h3 { font-size: 1.1rem; }
.behorighet-grid p { margin: 0; color: var(--text-2); font-size: .97rem; }

.fakta-lista { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin: 0; background: var(--linje); border: 1px solid var(--linje); border-radius: var(--radie); overflow: hidden; }
@media (min-width: 900px) { .fakta-lista { grid-template-columns: repeat(4, 1fr); } }
.fakta-lista div { background: #fff; padding: 22px 24px; }
.fakta-lista dt { font-size: .78rem; font-weight: 680; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); margin-bottom: 6px; }
.fakta-lista dd { margin: 0; font-size: 1.2rem; font-weight: 700; font-stretch: 95%; }

.cta-band { background: var(--navy); color: #fff; }
.cta-band-inre { display: grid; gap: 28px; align-items: center; padding-block: clamp(48px, 6vw, 80px); }
@media (min-width: 900px) { .cta-band-inre { grid-template-columns: 1fr auto; gap: 48px; } }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, .8); margin: 12px 0 0; }

.enkel-sida { padding-block: clamp(64px, 10vw, 140px); }
.enkel-sida h1 { margin-bottom: 20px; }

/* ---------- Sidfot ---------- */
.sidfot { background: var(--sand); border-top: 1px solid var(--linje); padding-top: clamp(56px, 7vw, 88px); font-size: .97rem; }
.sidfot-topp { display: grid; gap: 40px; padding-bottom: 48px; }
@media (min-width: 760px) { .sidfot-topp { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .sidfot-topp { grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 56px; } }
.sidfot-logga img { height: 44px; width: auto; margin-bottom: 18px; }
.sidfot-om p { color: var(--text-2); max-width: 26em; }
.sidfot-sv { display: inline-block; background: #fff; padding: 10px 14px; border-radius: 4px; border: 1px solid var(--linje); }
.sidfot-sv img { height: 40px; width: auto; }
.sidfot-rubrik { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); margin-bottom: 18px; }
.sidfot-lista { list-style: none; display: grid; gap: 10px; }
.sidfot-lista a { text-decoration: none; color: var(--text); }
.sidfot-lista a:hover { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.sidfot-kontakt a, .sidfot-kontakt span { display: flex; gap: 10px; align-items: flex-start; }
.sidfot-kontakt svg { width: 18px; height: 18px; margin-top: 3px; color: var(--navy); }
.sidfot-botten { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 22px; border-top: 1px solid var(--linje); color: var(--text-3); font-size: .87rem; }
.sidfot-botten p { margin: 0; }
.sidfot-botten a { color: var(--text-2); }

/* ---------- Mobilens knapprad ---------- */
.mobilbar { display: none; }
@media (max-width: 760px) {
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
  .mobilbar { position: fixed; inset: auto 0 0 0; z-index: 60; display: grid; grid-template-columns: 1fr 1.25fr; gap: 10px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .97); border-top: 1px solid var(--linje); box-shadow: 0 -8px 30px -12px rgba(11, 42, 68, .25); transition: transform .4s var(--ease); }
  .mobilbar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; border-radius: 4px; font-weight: 680; text-decoration: none; }
  .mobilbar-ring { border: 1.5px solid var(--navy); color: var(--navy); }
  .mobilbar-ring svg { width: 19px; height: 19px; }
  .mobilbar-offert { background: var(--navy); color: #fff; }
  .meny-oppen .mobilbar { transform: translateY(110%); }
}

/* ---------- Visas vid scroll ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-visa] { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
  .js [data-visa].syns { opacity: 1; transform: none; }
  .js [data-bild-in] { clip-path: inset(6% 6% 6% 6% round 6px); transition: clip-path 1.2s var(--ease); }
  .js [data-bild-in] img { transform: scale(1.1); transition: transform 1.6s var(--ease); }
  .js [data-bild-in].syns { clip-path: inset(0 0 0 0 round 6px); }
  .js [data-bild-in].syns img { transform: none; }
}

@media print {
  .sidhuvud, .mobilbar, .ig-styr, .formular { display: none !important; }
}

/* ---------- Kortare sida på mobil ---------- */
@media (max-width: 639px) {
  .tjanst-kort .textlank { display: none; }
  .tjanst-kort .bildram { grid-row: span 3; }
  .steg-lista { grid-template-columns: 1fr 1fr; gap: 32px 18px; }
  .steg { padding-top: 20px; }
  .steg h3 { font-size: 1.1rem; }
  .steg p { font-size: .95rem; }
  .citat-lista { display: grid; grid-auto-flow: column; grid-auto-columns: 84%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(-1 * var(--gutter)); padding: 0 var(--gutter) 6px; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
  .citat-lista::-webkit-scrollbar { display: none; }
  .citat-lista li { scroll-snap-align: start; }
  .omdome-grid { gap: 32px; }
  .betyg-stor { margin: 24px 0 18px; }
  .sidfot-topp { grid-template-columns: 1fr 1fr; gap: 36px 20px; }
  .sidfot-om, .sidfot-topp > div:last-child { grid-column: 1 / -1; }
  .fakta-lista dd { font-size: 1.05rem; }
}
