/* FineTech Solutions — finetech.se
   Byggd för läsbarhet: stor text, hög kontrast, stora knappar.
   Mörkt tema: hela sajten går i samma djupblå ton som heron. */

:root {
  --navy: #0c3b54;
  --navy-dark: #082c40;
  --navy-deep: #051e2d;
  --cyan: #2ee0e0;
  --cyan-soft: rgba(46, 224, 224, 0.15);
  --text: #e6f0f6;
  --text-soft: #a9c2cf;
  --bg: #051e2d;
  --bg-soft: #082c40;
  --panel: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.16);
  --shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
  --shadow-lift: 0 14px 34px rgba(0, 0, 0, 0.4);
  --max: 1100px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

/* Ingen grå tryck-blixt på Android/iOS — egna :active-stilar ger feedback */
html { -webkit-tap-highlight-color: transparent; }

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1.25rem;            /* 20 px brödtext */
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
}

img { max-width: 100%; display: block; }

a { color: var(--cyan); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: #fff; }

:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; border-radius: 4px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ---------- Sidhuvud ---------- */

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--navy); color: #fff; padding: 10px 16px; z-index: 20;
}
.skip-link:focus { left: 0; }

header.site {
  background: rgba(8, 44, 64, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: #fff;
  position: sticky; top: 0; z-index: 10;
  box-shadow: 0 2px 18px rgba(5, 30, 45, 0.35);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.25s ease, box-shadow 0.25s ease;
  transform: translateZ(0);
  backface-visibility: hidden;
}
header.site.scrolled {
  background: rgba(5, 30, 45, 0.92);
  box-shadow: 0 6px 26px rgba(0, 0, 0, 0.5);
}
@supports not (backdrop-filter: blur(14px)) {
  header.site { background: var(--navy-dark); }
}
header.site .bar {
  max-width: var(--max); margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: #fff; margin-right: auto; }
/* Glödlampan i PNG:en fyller bara ~43% av canvasen och sitter för högt (mer luft
   under än över). scale() förstorar glyfen UTAN att ändra layout-ytan (så
   telefon-pillen inte trycks till ny rad); translateY optiskt-centrerar den. */
.brand img { width: auto; height: 52px; }
.brand .name { font-size: 1.3rem; font-weight: 800; letter-spacing: -0.01em; line-height: 1.15; }
.brand .tag { font-size: 0.82rem; color: var(--cyan); letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; }

nav.main { display: flex; gap: 4px; flex-wrap: wrap; align-items: center; }
.nav-burger { display: none; } /* hamburgare visas bara på mobil (media-query nedan) */
nav.main a {
  color: #dceaf2; text-decoration: none; font-size: 1.02rem; font-weight: 600;
  padding: 12px 16px; border-radius: 999px;
  transition: background 0.15s ease, color 0.15s ease;
}
nav.main a:hover, nav.main a:active { background: rgba(46, 224, 224, 0.12); color: #fff; }
nav.main a[aria-current="page"] { background: rgba(46, 224, 224, 0.16); color: var(--cyan); }

.phone-pill {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--cyan); color: var(--navy-deep);
  font-weight: 800; font-size: 1.12rem;
  padding: 13px 22px; border-radius: 999px; text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(46, 224, 224, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.phone-pill:hover { background: #56ecec; color: var(--navy-deep); transform: translateY(-1px); box-shadow: 0 8px 20px rgba(46, 224, 224, 0.45); }
.phone-pill svg { flex: none; }

/* ---------- Hero ---------- */

.hero {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-dark) 55%, var(--navy-deep) 100%);
  color: #fff;
  text-align: center;
  padding: 44px 0 92px;
  position: relative;
  overflow: hidden;
}
/* Undersidornas enkla hero (utan .inner/hero-art) fyller inte ut botten, så
   stor bottenpadding + nästa sektions toppadding blev en tom lucka. Dra ihop. */
.hero:not(:has(.inner)) { padding-inline: 24px; padding-bottom: 36px; }
.hero:not(:has(.inner)) + section.block { padding-top: 44px; }
.hero::before {
  content: "";
  position: absolute; inset: -10%;
  background:
    radial-gradient(600px 300px at 85% -10%, rgba(46, 224, 224, 0.16), transparent 70%),
    radial-gradient(500px 260px at 10% 110%, rgba(46, 224, 224, 0.10), transparent 70%);
  pointer-events: none;
  animation: aurora 26s ease-in-out infinite alternate;
}
@keyframes aurora {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(-50px, 28px, 0) scale(1.12); }
}
.hero > * { position: relative; }
.hero .kicker {
  display: inline-block;
  background: rgba(46, 224, 224, 0.14);
  border: 1px solid rgba(46, 224, 224, 0.4);
  color: var(--cyan);
  font-size: 0.95rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 8px 18px; border-radius: 999px; margin-bottom: 26px;
}
.hero h1 {
  font-size: clamp(2.2rem, 5.5vw, 3.6rem);
  line-height: 1.12; letter-spacing: -0.02em;
  margin: 0 0 18px; color: #fff; font-weight: 800;
}
.hero h1 .accent { color: var(--cyan); }
@supports ((background-clip: text) or (-webkit-background-clip: text)) {
  .hero h1 .accent {
    background: linear-gradient(100deg, var(--cyan) 20%, #9ff5f5 80%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
  }
}
.hero p.sub { font-size: 1.3rem; color: #b9d2de; max-width: 33em; margin: 0 auto 36px; }
.hero a { color: var(--cyan); }

.cta-row { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; align-items: center; }
.btn-big {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--cyan); color: var(--navy-deep);
  font-size: 1.4rem; font-weight: 800;
  padding: 19px 36px; border-radius: 16px; text-decoration: none;
  box-shadow: 0 8px 26px rgba(46, 224, 224, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn-big:hover { background: #56ecec; color: var(--navy-deep); transform: translateY(-2px); box-shadow: 0 14px 32px rgba(46, 224, 224, 0.45); }
.hero .btn-big { animation: puls 4.5s ease-in-out infinite; }
@keyframes puls {
  0%, 100% { box-shadow: 0 8px 26px rgba(46, 224, 224, 0.35); }
  50%      { box-shadow: 0 10px 42px rgba(46, 224, 224, 0.55); }
}
.hero .btn-big, .hero .btn-big:hover { color: var(--navy-deep); }
.btn-second {
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent; color: #fff;
  font-size: 1.15rem; font-weight: 700;
  padding: 17px 30px; border-radius: 16px; text-decoration: none;
  border: 2px solid rgba(255, 255, 255, 0.65);
  transition: background 0.15s ease, transform 0.15s ease;
}
.btn-second:hover { background: rgba(255, 255, 255, 0.1); color: #fff; transform: translateY(-1px); }

/* ---------- Sektioner ---------- */

section.block { padding: 84px 0; }
section.block.alt { background: var(--bg-soft); position: relative; overflow: hidden; }
section.block.alt::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(560px 280px at 92% 0%, rgba(46, 224, 224, 0.07), transparent 70%);
  pointer-events: none;
}
section.block.alt > .wrap { position: relative; }
.eyebrow {
  display: block;
  color: var(--cyan);
  font-size: 0.92rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase;
  margin: 0 0 10px;
}
section.block h2 { font-size: clamp(1.7rem, 3.5vw, 2.3rem); letter-spacing: -0.015em; color: #fff; margin: 0 0 10px; font-weight: 800; }
section.block .lead { font-size: 1.2rem; color: var(--text-soft); margin: 0 0 40px; max-width: 40em; }

/* Tjänstekort */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); gap: 22px; }
.card {
  background: var(--panel); border: 1px solid var(--border); border-radius: 20px;
  padding: 28px; display: flex; flex-direction: column; gap: 10px;
  box-shadow: var(--shadow);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); border-color: rgba(46, 224, 224, 0.4); }
.card .icon {
  width: 54px; height: 54px; border-radius: 14px;
  background: var(--cyan-soft); color: var(--cyan);
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.2s ease;
}
.card:hover .icon { transform: scale(1.1) rotate(-4deg); }
.card h3 { margin: 6px 0 0; font-size: 1.3rem; color: #fff; font-weight: 700; letter-spacing: -0.01em; }
.card p { margin: 0; font-size: 1.05rem; color: var(--text-soft); flex: 1; }
.card .price {
  align-self: flex-start;
  background: var(--cyan-soft); color: var(--cyan);
  font-weight: 700; font-size: 0.98rem;
  padding: 6px 14px; border-radius: 999px; margin-top: 4px;
}

/* Steg */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 22px; counter-reset: steg; }
.step {
  background: var(--panel); border: 1px solid var(--border); border-radius: 20px; padding: 30px;
  box-shadow: var(--shadow);
}
.step::before {
  counter-increment: steg; content: counter(steg);
  display: inline-flex; align-items: center; justify-content: center;
  width: 50px; height: 50px; border-radius: 16px;
  background: var(--cyan-soft); border: 1px solid rgba(46, 224, 224, 0.4);
  color: var(--cyan); font-weight: 800; font-size: 1.35rem;
  margin-bottom: 16px;
}
/* Reservera plats för två rubrikrader så brödtexten börjar på samma höjd i
   alla tre steg-kort, även när en rubrik radbryts. */
.step h3 { margin: 0 0 8px; font-size: 1.3rem; line-height: 1.25; color: #fff; font-weight: 700; min-height: 2.5em; }
.step p { margin: 0; font-size: 1.05rem; color: var(--text-soft); }

/* Trygghetsrad */
.trust { display: flex; gap: 14px 36px; flex-wrap: wrap; justify-content: center; padding: 0; margin: 0; list-style: none; }
.trust li { display: flex; align-items: center; gap: 12px; font-size: 1.12rem; font-weight: 600; color: #fff; }
.trust .check {
  flex: none; width: 30px; height: 30px; border-radius: 999px;
  background: var(--cyan-soft); color: var(--cyan);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.05rem;
}

/* Team */
.team { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }
.person {
  background: var(--panel); border: 1px solid var(--border); border-radius: 20px; padding: 32px 26px;
  text-align: center; box-shadow: var(--shadow);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.person:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); border-color: rgba(46, 224, 224, 0.4); }
.person .ini {
  width: 92px; height: 92px; border-radius: 50%; margin: 0 auto 16px;
  background: linear-gradient(150deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--cyan);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; font-weight: 800;
  border: 3px solid rgba(46, 224, 224, 0.4);
}
.person img.foto { width: 128px; height: 128px; border-radius: 50%; object-fit: cover; margin: 0 auto 16px; border: 3px solid rgba(46, 224, 224, 0.4); }
.person h3 { margin: 0; font-size: 1.28rem; color: #fff; font-weight: 700; }
.person p { margin: 8px 0 0; font-size: 1rem; color: var(--text-soft); }

/* Pristabell */
.pricelist {
  width: 100%; border-collapse: separate; border-spacing: 0;
  background: var(--panel); border: 1px solid var(--border); border-radius: 20px; overflow: hidden;
  box-shadow: var(--shadow);
}
.pricelist th, .pricelist td { text-align: left; padding: 18px 22px; border-bottom: 1px solid var(--border); font-size: 1.1rem; }
.pricelist th { background: rgba(255, 255, 255, 0.08); color: #fff; font-size: 1rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.pricelist tbody tr:nth-child(even) { background: rgba(255, 255, 255, 0.04); }
.pricelist tr:last-child td { border-bottom: none; }
.pricelist td.pris { white-space: nowrap; font-weight: 800; color: var(--cyan); }

/* Mobil: prislistan som staplade kort istället för tabell — en trekolumns-
   tabell får aldrig plats på 320-430px och ska inte sidoskrollas. */
@media (max-width: 700px) {
  .pricelist, .pricelist tbody, .pricelist tr, .pricelist td { display: block; width: 100%; }
  .pricelist thead { display: none; }
  .pricelist {
    background: none; border: 0; border-radius: 0;
    box-shadow: none; overflow: visible;
  }
  .pricelist tr {
    background: var(--panel); border: 1px solid var(--border);
    border-radius: 16px; padding: 16px 18px; margin-bottom: 14px;
    box-shadow: var(--shadow);
  }
  .pricelist tbody tr:nth-child(even) { background: var(--panel); }
  .pricelist td { padding: 0; border-bottom: 0; font-size: 1.02rem; }
  .pricelist td:first-child { margin-bottom: 5px; font-size: 1.12rem; }
  .pricelist td:nth-child(2) { color: var(--text-soft); margin-bottom: 10px; }
  .pricelist td.pris { white-space: normal; }
  .pricelist tr:last-child td { border-bottom: 0; }
}

.infobox {
  background: var(--panel); border: 1px solid var(--border); border-radius: 20px;
  border-left: 6px solid var(--cyan);
  padding: 28px 32px; margin-top: 30px;
}
.infobox h3 { margin: 0 0 8px; font-size: 1.25rem; color: #fff; font-weight: 700; }
.infobox p { margin: 0 0 10px; font-size: 1.1rem; }
.infobox p:last-child { margin-bottom: 0; }

/* ---------- Formulär ---------- */

form.contact {
  max-width: 660px; display: grid; gap: 22px;
  background: var(--panel); border: 1px solid var(--border); border-radius: 24px;
  padding: 36px; box-shadow: var(--shadow);
}
form.contact label { font-weight: 700; color: #fff; display: block; margin-bottom: 8px; }
form.contact input, form.contact select, form.contact textarea {
  width: 100%; font: inherit; padding: 15px 18px;
  border: 2px solid var(--border); border-radius: 14px;
  background: rgba(255, 255, 255, 0.07); color: var(--text);
  transition: border-color 0.15s ease, background 0.15s ease;
}
form.contact input::placeholder, form.contact textarea::placeholder { color: #7f9aa9; }
form.contact select option { background: var(--navy-dark); color: #fff; }
form.contact input:focus, form.contact select:focus, form.contact textarea:focus { border-color: var(--cyan); background: rgba(255, 255, 255, 0.11); outline: none; }
form.contact button {
  font: inherit; font-size: 1.3rem; font-weight: 800;
  background: var(--cyan); color: var(--navy-deep); border: none; border-radius: 16px;
  padding: 19px 36px; cursor: pointer; justify-self: start;
  box-shadow: 0 8px 26px rgba(46, 224, 224, 0.3);
  transition: background 0.15s ease, transform 0.15s ease;
}
form.contact button:hover { background: #56ecec; transform: translateY(-2px); }
.hint { font-size: 1rem; color: var(--text-soft); margin-top: 6px; }
.check-row { display: flex; align-items: flex-start; gap: 12px; }
.check-row input[type="checkbox"] {
  width: 22px; height: 22px; flex: 0 0 auto; margin: 3px 0 0; padding: 0;
  border-radius: 6px; accent-color: var(--cyan); cursor: pointer;
}
.check-row label { margin: 0; font-weight: 500; line-height: 1.55; }
.check-row a { color: var(--cyan); text-decoration: underline; }

/* ---------- Sidfot ---------- */

footer.site { background: var(--navy-deep); color: #fff; margin-top: 90px; padding: 56px 0 40px; border-top: 1px solid rgba(255, 255, 255, 0.12); }
footer.site .cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 32px; }
footer.site h3 { font-size: 0.95rem; color: var(--cyan); letter-spacing: 0.1em; text-transform: uppercase; margin: 0 0 12px; }
footer.site p, footer.site li { font-size: 1.05rem; margin: 0 0 8px; color: #c3d6e0; }
footer.site ul { list-style: none; padding: 0; margin: 0; }
footer.site a { color: #fff; text-decoration: none; }
footer.site a:hover { color: var(--cyan); }
footer.site .fine { margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.14); font-size: 0.95rem; color: #7f9aa9; }
footer.site .social { display: flex; gap: 12px; margin-top: 2px; }
footer.site .social a {
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.18);
  display: inline-flex; align-items: center; justify-content: center; color: #fff;
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
footer.site .social a:hover { background: var(--cyan); color: var(--navy-deep); transform: translateY(-2px); }
footer.site .social svg { width: 22px; height: 22px; display: block; }

/* Hero-chips */
.hero .chips { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }
.hero .chip {
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.16);
  color: #cfe4ee; font-size: 0.98rem; font-weight: 600;
  padding: 10px 18px; border-radius: 999px;
}
.hero .chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); flex: none; }

/* USP-grid (utan kortramar — luftig feature-grid) */
.usps { display: grid; grid-template-columns: repeat(auto-fit, minmax(235px, 1fr)); gap: 40px 32px; }
.usp .icon {
  width: 54px; height: 54px; border-radius: 14px;
  background: var(--cyan-soft); color: var(--cyan);
  display: flex; align-items: center; justify-content: center; margin-bottom: 14px;
  transition: transform 0.2s ease;
}
.usp:hover .icon { transform: scale(1.1) rotate(-4deg); }
.usp h3 { margin: 0 0 6px; font-size: 1.25rem; color: #fff; font-weight: 700; }
.usp p { margin: 0; font-size: 1.05rem; color: var(--text-soft); }

/* Lyft kampanjband (mörk sektion i sidan) */
.band {
  background: linear-gradient(150deg, var(--navy) 0%, var(--navy-deep) 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 28px; color: #fff;
  padding: 56px 60px;
  display: flex; gap: 44px; align-items: center; flex-wrap: wrap;
  box-shadow: var(--shadow-lift);
  position: relative; overflow: hidden;
}
.band::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(420px 240px at 90% 0%, rgba(46, 224, 224, 0.18), transparent 70%);
  pointer-events: none;
}
.band > * { position: relative; }
.band .icon {
  flex: none; width: 88px; height: 88px; border-radius: 24px;
  background: rgba(46, 224, 224, 0.14); border: 1px solid rgba(46, 224, 224, 0.4); color: var(--cyan);
  display: flex; align-items: center; justify-content: center;
}
.band .text { flex: 1; min-width: 260px; }
.band .eyebrow { color: var(--cyan); }
.band h2, section.block .band h2 { color: #fff; margin: 0 0 8px; font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; letter-spacing: -0.015em; }
.band p { margin: 0; color: #b9d2de; font-size: 1.12rem; max-width: 36em; }
.band .btn-big { flex: none; }
.band .btn-big, .band .btn-big:hover { color: var(--navy-deep); }

/* FAQ */
.faq { max-width: 780px; display: grid; gap: 14px; }
.faq details {
  background: var(--panel); border: 1px solid var(--border); border-radius: 18px;
  padding: 4px 26px; box-shadow: var(--shadow);
}
.faq summary {
  font-size: 1.18rem; font-weight: 700; color: #fff;
  padding: 18px 0; cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 18px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none;
  width: 34px; height: 34px; border-radius: 999px;
  background: var(--cyan-soft); color: var(--cyan);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.4rem; font-weight: 600; line-height: 1;
  transition: transform 0.25s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 20px; color: var(--text-soft); font-size: 1.08rem; }
.faq details[open] p { animation: faq-in 0.3s ease; }
@keyframes faq-in {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: none; }
}

/* Avslutande CTA */
.cta-final { text-align: center; }
.cta-final h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
/* section.block .lead vinner annars på specificitet och vänsterpinnar blocket —
   matcha den nivån så margin auto faktiskt centrerar paragrafen under rubriken. */
section.block.cta-final .lead { margin-left: auto; margin-right: auto; }

/* Hero: split-layout med svävande kort-grafik.
   På mobil visas bara snabbtestet (chip-kollaget är ren dekoration och
   döljs); på desktop (920px+) blir hero-art kolumnen med test + chips. */
/* padding-inline 24px (border-box) linjerar hero-innehållet med .wrap-sektionerna
   och headern (alla 187px) i stället för att ligga 24px längre vänster. */
.hero .inner { max-width: var(--max); margin: 0 auto; padding-inline: 24px; box-sizing: border-box; display: grid; gap: 48px; align-items: center; }
.hero-art { display: block; position: relative; min-height: 0; }
.hero-art .glow { position: absolute; inset: 8% 2%; background: radial-gradient(closest-side, rgba(46, 224, 224, 0.2), transparent 72%); }
.hero-art .glow, .hero-art .mini { display: none; }

/* Snabbtest i heron */
.snabbtest {
  margin: 6px auto 0;
  max-width: 430px;
  background: rgba(23, 62, 84, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  padding: 20px 22px;
  box-shadow: 0 18px 40px rgba(5, 30, 45, 0.45);
  text-align: left;
}
.st-head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.st-head .mi {
  width: 46px; height: 46px; border-radius: 12px; flex: none;
  background: rgba(46, 224, 224, 0.16); color: var(--cyan);
  display: flex; align-items: center; justify-content: center;
}
.st-head b { display: block; color: #fff; font-size: 1.02rem; }
.st-sub { display: block; color: var(--text-soft); font-size: 0.88rem; margin-top: 2px; }
.st-result { margin: 4px 0 14px; }
/* Siffror + enhet delar baslinje (annars sitter "Mbit/s" skevt högre än talen
   pga line-height:1 på talen). Etiketterna läggs absolut OVANFÖR varje tal så de
   inte drar kolumnens baslinje uppåt; padding-top reserverar plats för dem. */
.st-nums { display: flex; align-items: baseline; justify-content: center; gap: 18px; padding-top: 22px; }
.st-col { position: relative; }
.st-col small { position: absolute; bottom: 100%; left: 0; white-space: nowrap; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.05em; margin-bottom: 3px; }
.st-col small.dn { color: var(--cyan); }
.st-col small.up { color: #9085e9; }
.st-num { font-size: 2.2rem; font-weight: 800; color: var(--cyan); line-height: 1; }
.st-num.st-upnum { color: #9085e9; }
.st-unit { color: var(--text-soft); font-weight: 600; }
.st-verdict { margin: 8px 0 0; color: var(--text); font-size: 0.95rem; line-height: 1.45; }
.st-btn {
  display: block; width: 100%;
  background: var(--cyan); color: var(--navy-deep);
  font: inherit; font-size: 1.05rem; font-weight: 800;
  border: 0; border-radius: 13px; padding: 13px 18px;
  cursor: pointer;
  box-shadow: 0 8px 26px rgba(46, 224, 224, 0.3);
  transition: transform 0.15s ease, filter 0.15s ease;
}
.st-btn:hover { transform: translateY(-1px); filter: brightness(1.06); }
.st-btn:disabled { opacity: 0.75; cursor: default; transform: none; }
/* Sekundär knapp (inte länk) — ska synas bredvid huvudknappen */
.st-more {
  display: block; margin-top: 10px; text-align: center;
  background: rgba(46, 224, 224, 0.08);
  border: 1px solid rgba(46, 224, 224, 0.5);
  color: var(--cyan); font-size: 0.98rem; font-weight: 700;
  padding: 11px 16px; border-radius: 13px;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.st-more:hover { background: rgba(46, 224, 224, 0.16); border-color: var(--cyan); }
.mini {
  position: absolute; display: flex; align-items: center; gap: 14px;
  /* Ingen backdrop-filter här: blur + ständig animation tvingar omritning
     varje bildruta och fick hela sidan att flimra på vissa datorer. */
  background: rgba(23, 62, 84, 0.72); border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px; padding: 18px 22px;
  box-shadow: 0 18px 40px rgba(5, 30, 45, 0.45);
}
.mini .mi {
  width: 46px; height: 46px; border-radius: 12px; flex: none;
  background: rgba(46, 224, 224, 0.16); color: var(--cyan);
  display: flex; align-items: center; justify-content: center;
}
.mini b { display: block; color: #fff; font-size: 1.02rem; }
.mini .ok { display: block; color: var(--cyan); font-size: 0.9rem; font-weight: 600; }
.mini { --tilt: 0deg; animation: svava 7s ease-in-out infinite alternate; }
.mini.one { top: 5%; left: 2%; --tilt: -3deg; }
.mini.two { top: 38%; right: 0; --tilt: 2deg; animation-delay: 1.3s; }
.mini.three { bottom: 5%; left: 10%; --tilt: -1.5deg; animation-delay: 2.6s; }
@keyframes svava {
  from { transform: rotate(var(--tilt)) translateY(0); }
  to   { transform: rotate(var(--tilt)) translateY(-13px); }
}

@media (min-width: 920px) {
  /* Vänsterställningen gäller bara startsidans tvåkolumns-hero (.inner) —
     undersidornas enkla heros ska förbli centrerade. */
  .hero .inner { text-align: left; grid-template-columns: 1.05fr 0.95fr; }
  .hero .inner .cta-row, .hero .inner .picker-row { justify-content: flex-start; }
  .hero .inner p.sub { margin-left: 0; }
  /* De tre chipsen svävar i en fast zon överst (px-positioner så de inte
     flyttar sig när testkortet expanderar); snabbtestet ligger i flödet
     under och får kolumnen att växa nedåt när resultatet visas. */
  /* margin-top linjerar första chipet med h1 ("Vi hjälper dig …");
     padding-top ger luft mellan sista chipet och testkortet. */
  .hero-art { display: block; min-height: 0; padding-top: 360px; align-self: start; margin-top: 72px; }
  .hero-art .glow { display: block; }
  .hero-art .mini { display: flex; }
  .snabbtest { position: relative; z-index: 1; margin: 0 0 0 auto; max-width: 400px; }
  .mini.one { top: 0; left: 2%; }
  .mini.two { top: 98px; right: 0; }
  .mini.three { top: 196px; left: 10%; bottom: auto; }
}

/* Snabbval i heron */
.picker { margin-top: 36px; }
.picker-label {
  display: block; font-size: 0.92rem; font-weight: 700;
  letter-spacing: 0.07em; text-transform: uppercase;
  color: #8fb0c0; margin-bottom: 14px;
}
.picker-row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.picker-row a {
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff; text-decoration: none; font-weight: 600; font-size: 1.02rem;
  padding: 12px 19px; border-radius: 999px;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.picker-row a:hover { background: rgba(46, 224, 224, 0.16); border-color: var(--cyan); color: #fff; transform: translateY(-1px); }
.picker-row a svg { color: var(--cyan); flex: none; }

/* Märkesband */
.brands { padding: 26px 0; border-top: 1px solid rgba(255, 255, 255, 0.08); border-bottom: 1px solid rgba(255, 255, 255, 0.1); background: rgba(255, 255, 255, 0.03); }
.brands .wrap { display: flex; align-items: center; gap: 24px; }
.brands .label { flex: 0 0 290px; font-size: 0.9rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-soft); }
.brands span.b { font-size: 1.3rem; font-weight: 800; letter-spacing: -0.01em; color: #7f9aa9; }

/* Samarbeten — rullande band (marquee). Text nu, logotyper kan läggas in senare. */
.samarbeten { padding: 20px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.1); background: rgba(255, 255, 255, 0.03); }
.samarbeten .wrap { display: flex; align-items: center; gap: 24px; }
.samarbeten .label { flex: 0 0 290px; font-size: 0.9rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-soft); }
.marquee { position: relative; overflow: hidden; flex: 1; min-width: 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 34s linear infinite; }
.marquee-track .b { padding: 0 26px; white-space: nowrap; font-size: 1.25rem; font-weight: 800; letter-spacing: -0.01em; color: #7f9aa9; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee:hover .marquee-track { animation-play-state: paused; }
@media (max-width: 700px) {
  .samarbeten .wrap, .brands .wrap { flex-direction: column; align-items: flex-start; gap: 10px; }
  .samarbeten .label, .brands .label { flex: none; width: auto; }
  .marquee { width: 100%; }
  .marquee-track .b { font-size: 1.12rem; padding: 0 18px; }
}
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* Boka-länk i tjänstekorten */
.card .card-link {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 10px;
  font-weight: 700; font-size: 1.05rem; color: var(--cyan); text-decoration: none;
}
.card .card-link:hover { text-decoration: underline; color: #fff; }

/* Mobil ring-list (app-känsla) */
.callbar { display: none; }

/* Google-betyg (vit pill — medveten kontrast mot det mörka) */
.gbadge {
  display: inline-flex; align-items: center; gap: 10px;
  background: #fff; color: #16242d;
  border-radius: 999px; padding: 11px 20px;
  font-weight: 700; font-size: 1.02rem;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
}
.gbadge .stars { color: #f5a623; letter-spacing: 2px; font-size: 1.05rem; }
.gbadge b { font-size: 1.1rem; color: #082c40; }
.hero .gbadge { margin-top: 32px; }
a.gbadge { color: #16242d; text-decoration: none; transition: transform 0.15s ease, box-shadow 0.15s ease; }
a.gbadge:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45); color: #16242d; }

/* Omdömen från Google */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; margin-bottom: 36px; }
.quote {
  background: var(--panel); border: 1px solid var(--border); border-radius: 20px;
  padding: 28px; margin: 0;
  display: flex; flex-direction: column; gap: 12px;
  box-shadow: var(--shadow);
}
.quote .stars { color: #f5a623; letter-spacing: 2px; font-size: 1.1rem; }
.quote p { margin: 0; font-size: 1.08rem; color: var(--text); flex: 1; }
.quote figcaption { font-size: 1rem; font-weight: 700; color: #fff; }

/* Omdömen — horisontell bläddring (besökaren styr själv, ingen auto-rörelse) */
.reviews-scroll { position: relative; }
.qtrack {
  display: flex; gap: 22px; overflow-x: auto;
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  padding: 6px 2px 22px; scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.28) transparent;
}
.qtrack::-webkit-scrollbar { height: 8px; }
.qtrack::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.24); border-radius: 999px; }
.qtrack .quote { flex: 0 0 clamp(275px, 80vw, 360px); scroll-snap-align: start; }
.qbtns { display: flex; justify-content: center; gap: 14px; margin-top: 4px; }
.qnav {
  width: 54px; height: 54px; border-radius: 999px;
  background: var(--panel); border: 1px solid var(--border); color: var(--cyan);
  font-size: 1.7rem; line-height: 1; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform 0.15s ease, background 0.15s ease, opacity 0.15s ease;
}
.qnav:hover { transform: translateY(-2px); background: var(--cyan-soft); }
.qnav:disabled { opacity: 0.35; cursor: default; transform: none; }
@media (prefers-reduced-motion: reduce) { .qtrack { scroll-behavior: auto; } }

/* Produktkort — mest bokade */
.prods { display: grid; grid-template-columns: repeat(auto-fit, minmax(235px, 1fr)); gap: 22px; }
.prod {
  background: var(--panel); border: 1px solid var(--border); border-radius: 20px;
  padding: 26px 22px; text-align: center;
  display: flex; flex-direction: column; gap: 8px;
  box-shadow: var(--shadow);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.prod:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); border-color: rgba(46, 224, 224, 0.4); }
.prod img { height: 150px; width: auto; max-width: 100%; object-fit: contain; margin: 0 auto 10px; }
.prod h3 { margin: 0; font-size: 1.25rem; color: #fff; font-weight: 700; }
.prod p { margin: 0; font-size: 1rem; color: var(--text-soft); flex: 1; }
.prod .price {
  align-self: center;
  background: var(--cyan-soft); color: var(--cyan);
  font-weight: 700; font-size: 0.98rem;
  padding: 6px 14px; border-radius: 999px;
  white-space: nowrap;
}
.prod .boka-btn {
  display: inline-flex; align-items: center; justify-content: center; margin-top: 10px;
  background: var(--cyan); color: var(--navy-deep); text-decoration: none;
  font-weight: 800; font-size: 1.08rem;
  padding: 13px 22px; border-radius: 12px;
  transition: background 0.15s ease;
}
.prod .boka-btn:hover { background: #56ecec; color: var(--navy-deep); }

/* Samarbeten */
.partners { display: grid; grid-template-columns: repeat(auto-fit, minmax(205px, 1fr)); gap: 16px; }
.partner {
  display: block; text-decoration: none;
  background: var(--panel); border: 1px solid var(--border); border-radius: 16px;
  padding: 24px 18px; text-align: center;
  font-weight: 800; font-size: 1.12rem; color: #fff;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  /* Långa svenska sammansättningar (Pensionärsorganisationernas) ska brytas/
     avstavas istället för att spilla ut ur kortet på smala skärmar. */
  overflow-wrap: break-word;
  hyphens: auto;
}
a.partner:hover { transform: translateY(-3px); border-color: var(--cyan); box-shadow: var(--shadow-lift); color: #fff; }
.partner small { display: block; font-weight: 600; color: var(--text-soft); margin-top: 4px; font-size: 0.92rem; }

/* Direktkontakt i teamkort */
.person .direkt { margin-top: 12px; font-size: 0.98rem; }
.person .direkt a { color: var(--cyan); font-weight: 600; text-decoration: none; }
.person .direkt a:hover { text-decoration: underline; }
/* Håll ihop telefonnummer så de aldrig radbryts mitt i siffergrupperna */
.person .direkt a[href^="tel:"], footer.site p a[href^="tel:"] { white-space: nowrap; }

/* Juridisk text (allmänna villkor m.m.) */
.legal { max-width: 780px; }
.legal h2 { font-size: 1.5rem; color: #fff; font-weight: 800; letter-spacing: -0.01em; margin: 44px 0 12px; }
.legal h3 { font-size: 1.2rem; color: #fff; font-weight: 700; margin: 28px 0 10px; }
.legal p { margin: 0 0 14px; font-size: 1.1rem; color: var(--text-soft); }
.legal p a { color: var(--cyan); }
.legal .hint {
  background: var(--panel); border: 1px solid var(--border); border-left: 6px solid var(--cyan);
  border-radius: 16px; padding: 18px 24px; margin: 0 0 20px;
  font-size: 1.05rem; color: var(--text);
}

/* Scroll-reveal (bara med JS, stängs av vid reducerad rörelse) */
html.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.55s ease, transform 0.55s ease; }
html.js .reveal.in { opacity: 1; transform: none; }

/* Vågvis inflygning av kort i rutnät med class="stagger" */
html.js .reveal .stagger > * { opacity: 0; transform: translateY(18px); transition: opacity 0.5s ease, transform 0.5s ease; }
html.js .reveal.in .stagger > * { opacity: 1; transform: none; }
html.js .reveal.in .stagger > *:nth-child(2) { transition-delay: 70ms; }
html.js .reveal.in .stagger > *:nth-child(3) { transition-delay: 140ms; }
html.js .reveal.in .stagger > *:nth-child(4) { transition-delay: 210ms; }
html.js .reveal.in .stagger > *:nth-child(5) { transition-delay: 280ms; }
html.js .reveal.in .stagger > *:nth-child(6) { transition-delay: 350ms; }
html.js .reveal.in .stagger > *:nth-child(7) { transition-delay: 420ms; }
html.js .reveal.in .stagger > *:nth-child(8) { transition-delay: 490ms; }

/* Tillbaka till toppen */
.totop {
  position: fixed; right: 18px; bottom: 18px; z-index: 25;
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--cyan); color: var(--navy-deep);
  border: none; border-radius: 999px; padding: 13px 20px;
  font: inherit; font-size: 1rem; font-weight: 800; cursor: pointer;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.4);
  opacity: 0; pointer-events: none; transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease, background 0.15s ease;
}
/* Upp-knappen visas när man scrollat en bit (.visas) OCH callbar-en är framme
   (show-callbar) → syncar med callbar/fab och aldrig i toppen. transition-delay
   gör att den (+ fab) glider in lite EFTER callbar-en (staggad entré). */
html.show-callbar .totop.visas { opacity: 1; pointer-events: auto; transform: none; transition-delay: 0.15s; }
.totop:hover { background: #56ecec; }

/* Flytande kontaktknapp (mail + messenger) */
.fab { position: fixed; left: 20px; bottom: 22px; z-index: 28; }
.fab > summary {
  list-style: none; cursor: pointer;
  width: 50px; height: 50px; border-radius: 50%;
  background: var(--cyan); color: var(--navy-deep);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  transition: transform 0.15s ease, background 0.15s ease;
}
.fab > summary::-webkit-details-marker { display: none; }
.fab > summary:hover { transform: translateY(-2px); background: #56ecec; }
.fab > summary svg { width: 24px; height: 24px; }
.fab .fab-close { display: none; }
.fab[open] > summary .fab-open { display: none; }
.fab[open] > summary .fab-close { display: block; }
.fab-menu {
  position: absolute; left: 0; bottom: 64px;
  display: flex; flex-direction: column; gap: 12px; align-items: flex-start;
}
.fab-opt {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--navy-dark); color: #fff; text-decoration: none;
  padding: 10px 20px 10px 12px; border-radius: 999px;
  border: 1px solid var(--border); box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  font-weight: 700; font-size: 1.05rem; white-space: nowrap;
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.fab-opt:hover { transform: translateY(-2px); border-color: var(--cyan); color: #fff; }
.fab-opt .ic { width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.fab-opt .ic svg { width: 22px; height: 22px; }
.fab-opt.mail .ic { background: var(--cyan); color: var(--navy-deep); }
.fab-opt.msgr .ic { background: #0084ff; color: #fff; }
.fab-opt.sms .ic { background: #34c759; color: #fff; }

/* Mobil: verktygsknapparna krymper och dämpas så ring/boka-listen får vara
   huvudnumret — tre skrikande element i botten blir annars för mycket. */
@media (max-width: 700px) {
  .fab {
    bottom: calc(88px + env(safe-area-inset-bottom)); left: 14px;
    transform: translateY(120%); opacity: 0; pointer-events: none;
    transition: transform 0.35s ease, opacity 0.35s ease;
  }
  /* Fab flyger in samtidigt som callbar-en (när man skrollat förbi hero-knapparna) */
  html.show-callbar .fab { transform: translateY(0); opacity: 1; pointer-events: auto; transition-delay: 0.15s; }
  .fab > summary {
    width: 38px; height: 38px;
    background: rgba(8, 44, 64, 0.92); color: var(--cyan);
    border: 1px solid rgba(255, 255, 255, 0.22);
  }
  .fab > summary:hover { background: var(--navy); }
  .fab > summary svg { width: 18px; height: 18px; }
  .fab-menu { bottom: 56px; gap: 10px; }
  .fab-opt { font-size: 0.98rem; padding: 8px 16px 8px 10px; }
  .fab-opt .ic { width: 36px; height: 36px; }
  .fab-opt .ic svg { width: 20px; height: 20px; }
}

/* ---------- Blogg (ljus läsyta, brand-accent) ---------- */
main.blog { background: #eef2f4; color: #1e2f38; }
.blog-inner { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.blog-hero { text-align: center; padding: 60px 24px 30px; }
.blog-hero .eyebrow { color: #0f7d86; }
.blog-hero h1 { color: #0c3b54; font-size: clamp(2rem, 5vw, 3rem); margin: 6px 0 14px; }
.blog-hero p { color: #4a616c; font-size: 1.2rem; max-width: 640px; margin: 0 auto; }
.blog-cats { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 26px 0 4px; }
.blog-cat { background: #dfeef0; color: #0c3b54; border: 1px solid #c5dde0; border-radius: 999px; padding: 9px 18px; font: inherit; font-weight: 700; font-size: 1rem; cursor: pointer; }
.blog-cat:hover, .blog-cat.on { background: var(--cyan); color: #08303f; border-color: var(--cyan); }
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 26px; padding: 30px 0 80px; }
.blog-card { background: #fff; border: 1px solid #dbe4e8; border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 6px 20px rgba(12, 59, 84, 0.06); }
a.blog-card { text-decoration: none; color: inherit; transition: transform 0.15s ease, box-shadow 0.15s ease; }
a.blog-card:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(12, 59, 84, 0.14); }
.blog-card .thumb { height: 164px; background: linear-gradient(135deg, #0c3b54, #14607a); display: flex; align-items: center; justify-content: center; color: var(--cyan); }
.blog-card .thumb svg { width: 52px; height: 52px; }
.blog-card .body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 11px; flex: 1; }
.blog-card .tag { align-self: flex-start; background: #dfeef0; color: #0c3b54; border-radius: 999px; padding: 4px 12px; font-size: 0.85rem; font-weight: 700; }
.blog-card h2 { color: #0c3b54; font-size: 1.26rem; margin: 0; line-height: 1.3; }
.blog-card .excerpt { color: #4a616c; font-size: 1.02rem; margin: 0; flex: 1; }
.blog-card .meta { color: #6b8290; font-size: 0.9rem; display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-top: 2px; }
.blog-card .more { color: #0f7d86; font-weight: 700; }
.blog-card .soon { color: #93a7b2; font-weight: 700; font-size: 0.92rem; }

.article { max-width: 720px; margin: 0 auto; padding: 46px 24px 70px; }
.article .crumb { font-size: 0.98rem; color: #6b8290; margin-bottom: 18px; }
.article .crumb a { color: #0f7d86; text-decoration: none; }
.article .a-tag { display: inline-block; background: var(--cyan); color: #08303f; border-radius: 999px; padding: 5px 14px; font-size: 0.9rem; font-weight: 700; margin-bottom: 14px; }
.article h1 { color: #0c3b54; font-size: clamp(1.9rem, 4.5vw, 2.55rem); line-height: 1.2; margin: 0 0 16px; }
.article .byline { display: flex; gap: 16px; flex-wrap: wrap; color: #6b8290; font-size: 0.98rem; border-bottom: 1px solid #d8e2e6; padding-bottom: 20px; margin-bottom: 30px; }
.article .byline .who { color: #0c3b54; font-weight: 700; }
/* Långa svenska sammansättningar ("seniororganisationerna") får aldrig
   tvinga sidled-skroll på smala mobiler — bryt/avstava vid behov. */
h1, h2, h3 { overflow-wrap: break-word; }
@media (max-width: 700px) {
  h1, h2, h3 { hyphens: auto; -webkit-hyphens: auto; }
}

.article-body { font-size: 1.17rem; line-height: 1.78; color: #24404b; overflow-wrap: break-word; }
.article-body h2 { color: #0c3b54; font-size: 1.55rem; margin: 38px 0 12px; }
.article-body p { margin: 0 0 20px; }
.article-body ul { margin: 0 0 22px; padding-left: 22px; }
.article-body li { margin-bottom: 9px; }
.article-body h3 { color: #0c3b54; font-size: 1.24rem; margin: 28px 0 10px; }
.article-body ol { margin: 0 0 22px; padding-left: 22px; }
.article-body ol li { margin-bottom: 9px; }
.article-body li ul { margin: 8px 0 6px; }
.article-body strong { color: #0c3b54; }
.article-body a { color: #0f7d86; overflow-wrap: anywhere; }
.article-body figure { margin: 28px 0; }
.article-body figure img { max-width: 100%; height: auto; border-radius: 14px; display: block; margin: 0 auto; }
.article-body figcaption { text-align: center; font-size: 0.95rem; color: #6b8290; margin-top: 10px; }
.article-body table { width: 100%; border-collapse: collapse; margin: 0 0 26px; font-size: 1.02rem; }
.article-body th, .article-body td { text-align: left; padding: 10px 14px; border: 1px solid #d8e2e6; vertical-align: top; }
.article-body th { background: #dfe9ed; color: #0c3b54; font-weight: 700; }
.article-body tr:nth-child(even) td { background: #f6f9fa; }
@media (max-width: 700px) { .article-body table { display: block; overflow-x: auto; } }

/* Kommentarer på blogginlägg — gäster skriver utan konto, som på gamla bloggen */
.comments { margin-top: 46px; border-top: 1px solid #d8e2e6; padding-top: 34px; }
.comments h2 { color: #0c3b54; font-size: 1.45rem; margin: 0 0 20px; }
.comments-info { color: #6b8290; font-size: 1.05rem; background: #e4ecef; border-radius: 12px; padding: 16px 20px; }
.comment { display: flex; gap: 14px; padding: 18px 0; border-bottom: 1px solid #e2eaee; }
.comment:last-child { border-bottom: none; }
.c-avatar {
  flex: none; width: 44px; height: 44px; border-radius: 50%;
  background: #0c3b54; color: var(--cyan);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.15rem;
}
.c-body { min-width: 0; }
.c-head { display: flex; gap: 12px; align-items: baseline; flex-wrap: wrap; }
.c-head strong { color: #0c3b54; font-size: 1.05rem; }
.c-head span { color: #6b8290; font-size: 0.92rem; }
.c-body p { margin: 6px 0 0; color: #24404b; font-size: 1.05rem; line-height: 1.65; overflow-wrap: break-word; }
.comment-form { margin-top: 26px; display: grid; gap: 16px; }
.comment-form label { display: block; font-weight: 700; color: #0c3b54; margin-bottom: 6px; font-size: 1.02rem; }
.comment-form input, .comment-form textarea {
  width: 100%; font: inherit; font-size: 1.05rem; padding: 12px 15px;
  border: 2px solid #cfdde3; border-radius: 12px; background: #fff; color: #1e2f38;
  box-sizing: border-box;
}
.comment-form input:focus, .comment-form textarea:focus { border-color: #0f7d86; outline: none; }
.comment-form button {
  justify-self: start; font: inherit; font-size: 1.08rem; font-weight: 800;
  background: var(--cyan); color: #08303f; border: none; border-radius: 12px;
  padding: 13px 26px; cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}
.comment-form button:hover { background: #56ecec; transform: translateY(-1px); }
.comment-form button:disabled { opacity: 0.6; cursor: default; transform: none; }
.comment-form .k-fake { position: absolute; left: -9999px; top: -9999px; }
.k-status { margin: 0; font-size: 1.02rem; font-weight: 600; }
.k-status.ok { color: #0e7d54; }
.k-status.fel { color: #b3402a; }

/* Blogg: live-statistik (visningar / kommentarer / likes) — ljust bloggtema */
.card-stats { display: flex; gap: 14px; color: #6b8290; font-size: 0.9rem; margin-top: 2px; flex-wrap: wrap; }
.cstat { display: inline-flex; align-items: center; gap: 5px; }
.card-stats svg { width: 15px; height: 15px; opacity: 0.85; flex: none; }

.post-stats { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 30px; padding-top: 22px; border-top: 1px solid #d8e2e6; color: #6b8290; font-size: 1rem; }
.post-stats .stat { display: inline-flex; align-items: center; gap: 7px; }
.post-stats .stat b { color: #0c3b54; font-weight: 700; }
.post-stats svg { width: 18px; height: 18px; flex: none; }
.like-btn { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1.5px solid #d8e2e6; color: #6b8290; border-radius: 999px; padding: 8px 16px; font: inherit; font-size: 1rem; cursor: pointer; transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease, transform 0.1s ease; }
.like-btn b { color: #0c3b54; font-weight: 700; }
.like-btn svg { fill: none; transition: fill 0.15s ease; }
.like-btn:hover { border-color: #f2789f; color: #e0245e; transform: translateY(-1px); }
.like-btn.on { border-color: #f2789f; color: #e0245e; background: #fff0f5; }
.like-btn.on svg { fill: #e0245e; color: #e0245e; }
.like-btn.on b { color: #e0245e; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.article-cta { background: #0c3b54; color: #fff; border-radius: 18px; padding: 30px 28px; margin: 42px 0; text-align: center; }
.article-cta h3 { color: #fff; margin: 0 0 8px; font-size: 1.4rem; }
.article-cta p { color: #bcd6df; margin: 0 0 18px; font-size: 1.05rem; }
.article-cta .row { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; max-width: 440px; margin: 0 auto; }
.article-cta .row .b { flex: 1 1 0; justify-content: center; min-width: 0; }
.article-cta .row .b.primary { flex-basis: 100%; } /* Ring på egen full-bredds-rad; Boka + Maila bredvid varandra under */
.article-cta .b { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 800; border-radius: 999px; padding: 13px 22px; font-size: 1.05rem; }
.article-cta .b.primary { background: var(--cyan); color: #08303f; }
.article-cta .b.ghost { background: rgba(255, 255, 255, 0.1); color: #fff; border: 1px solid rgba(255, 255, 255, 0.32); }
.article-engage { border-top: 1px solid #d8e2e6; margin-top: 42px; padding-top: 24px; }
.article-engage .stats { display: flex; flex-wrap: wrap; gap: 8px 22px; font-weight: 700; color: #0c3b54; font-size: 1.05rem; margin-bottom: 10px; }
.article-engage .stats span { display: inline-flex; align-items: center; gap: 7px; }
.article-engage .note { font-size: 0.96rem; color: #6b8290; background: #e4edef; border: 1px dashed #b9d0d5; border-radius: 12px; padding: 12px 16px; }

@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  html.js .reveal .stagger > * { opacity: 1; transform: none; transition: none; }
  .hero::before, .mini, .hero .btn-big { animation: none; }
  .faq details[open] p { animation: none; }
  .faq summary::after { transition: none; }
  .totop { transition: none; }
  .card:hover .icon, .usp:hover .icon { transform: none; }
}

@media (max-width: 700px) {
  .band { padding: 36px 28px; }
  .callbar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: rgba(8, 44, 64, 0.94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    gap: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    transform: translateY(110%); opacity: 0; pointer-events: none;
    transition: transform 0.35s ease, opacity 0.35s ease;
  }
  /* Callbar glider in först när man skrollat förbi hero-knapparna (site-nav.js
     togglar html.show-callbar) → ingen dubblett högst upp, kvar resten av sidan. */
  html.show-callbar .callbar { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .callbar a {
    flex: 1; display: flex; align-items: center; justify-content: center; gap: 10px;
    font-weight: 800; font-size: 1.12rem; text-decoration: none;
    padding: 15px 10px; border-radius: 14px;
  }
  .callbar .ring { background: var(--cyan); color: var(--navy-deep); }
  .callbar .boka { background: rgba(255, 255, 255, 0.1); color: #fff; border: 1px solid rgba(255, 255, 255, 0.25); }
  body { padding-bottom: 86px; }

  body { font-size: 1.15rem; }
  header.site { position: static; }
  /* Mobil: kompakt huvud på EN rad — logga + namn till vänster, hamburgare till
     höger. Menyn fälls ut under (html.nav-open) i stället för att alltid ta plats.
     Styrs av /assets/site-nav.js. */
  header.site .bar { flex-wrap: wrap; justify-content: space-between; text-align: left; padding: 10px 14px; gap: 6px 10px; }
  header.site .phone-pill { display: none; }
  .brand { width: auto; margin: 0 0 0 10px; position: static; justify-content: flex-start; gap: 16px; flex: 1 1 auto; min-width: 0; }
  .brand img { width: auto; height: 42px; position: static; transform: none; }
  .brand .name { font-size: 1.18rem; }
  .brand .tag { font-size: 0.7rem; }
  .brand span { text-align: left; }
  .nav-burger {
    display: inline-flex; align-items: center; justify-content: center;
    width: 46px; height: 46px; flex: none; padding: 0; margin: 0;
    background: transparent; border: 0; border-radius: 10px; color: #fff; cursor: pointer;
  }
  .nav-burger:hover, .nav-burger:focus-visible { background: rgba(46, 224, 224, 0.14); }
  .nav-burger .i-close { display: none; }
  html.nav-open .nav-burger .i-open { display: none; }
  html.nav-open .nav-burger .i-close { display: inline; }
  nav.main {
    display: none; order: 3; width: 100%; flex-basis: 100%;
    flex-direction: column; align-items: stretch; gap: 2px; margin-top: 4px;
  }
  html.nav-open nav.main { display: flex; }
  nav.main a { font-size: 1.05rem; padding: 13px 14px; border-radius: 10px; text-align: center; }
  /* Google-badgen: centrerad, jämn radbrytning och lagom stor på mobil */
  .gbadge {
    flex-wrap: wrap; justify-content: center; text-align: center;
    gap: 6px 10px; font-size: 0.95rem; padding: 10px 18px;
  }
  .gbadge .gtxt { white-space: nowrap; }
  .hero { padding: 30px 0 64px; }
  .hero .kicker { font-size: 0.76rem; padding: 6px 13px; letter-spacing: 0.03em; margin-bottom: 16px; }
  section.block { padding: 56px 0; }
  .btn-big { width: 100%; justify-content: center; }
  .btn-second { width: 100%; }
  /* Liten, tyst ikon-knapp på mobil — samma höjd som chatt-bubblan så
     botten känns balanserad. "Upp"-texten döljs via font-size 0. */
  .totop {
    bottom: calc(88px + env(safe-area-inset-bottom)); right: 14px;
    width: 38px; height: 38px; padding: 0; gap: 0;
    justify-content: center; font-size: 0;
    background: rgba(8, 44, 64, 0.92); color: var(--cyan);
    border: 1px solid rgba(255, 255, 255, 0.22);
  }
  .totop:hover { background: var(--navy); }
  .totop svg { width: 18px; height: 18px; }
}

/* Riktigt smala skärmar: krymp logga+namn så de inte överlappar
   när texten är centrerad och loggan ligger till vänster. */
@media (max-width: 350px) {
  .brand img { width: 44px; height: 44px; }
  .brand .name { font-size: 1.14rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card, .person, .btn-big, .btn-second, .phone-pill, form.contact button { transition: none; }
  .card:hover, .person:hover, .btn-big:hover, .btn-second:hover, .phone-pill:hover, form.contact button:hover { transform: none; }
}
