/* ==========================================================================
   Nettlegevakt – designforslag 2026
   Selvstendig stilark for v2-malene (views/v2). Ingen avhengighet til app.css,
   Foundation eller jQuery. Holdt lite med vilje: én fil, ingen rammeverk.
   ========================================================================== */

@font-face {
  font-family: 'sofia';
  font-display: swap;
  font-style: normal;
  font-weight: 700;
  src: url('font/sofiapro-bold-webfont.woff2') format('woff2');
}
@font-face {
  font-family: 'sofia';
  font-display: swap;
  font-style: normal;
  font-weight: 400;
  src: url('font/sofiapro-regular-webfont.woff2') format('woff2');
}

/* Fallback med Sofia Pro-lignende bredde (målt mot Arial) – hindrer at teksten
   flyter om når webfonten bytter inn (CLS) */
@font-face {
  font-family: 'sofia-fallback';
  font-weight: 400;
  src: local('Arial'), local('ArialMT'), local('Liberation Sans'), local('Roboto');
  size-adjust: 102.2%;
}
@font-face {
  font-family: 'sofia-fallback';
  font-weight: 700;
  src: local('Arial Bold'), local('Arial-BoldMT'), local('Liberation Sans Bold'), local('Roboto Bold');
  size-adjust: 96.8%;
}

:root {
  /* Merkevare – samme grønne hjerte og plomme-lilla som i dag, finjustert */
  --green: #21d37e;
  --green-600: #13b867;
  --green-50: #e9faf1;
  --plum: #3b2a55;
  --plum-800: #2c1f41;
  --plum-600: #55427a;
  --plum-100: #efeaf6;
  --plum-50: #f7f4fb;

  /* Nøytraler – varm, nordisk off-white i stedet for kaldt grått */
  --ink: #1d1828;
  --ink-2: #4a4458;
  --muted: #6d6780;
  --line: #e8e3ee;
  --sand: #faf7f3;
  --white: #ffffff;
  --star: #f5a524;

  --radius-s: 10px;
  --radius: 18px;
  --radius-l: 28px;
  --shadow-s: 0 1px 2px rgba(29, 24, 40, .06), 0 1px 1px rgba(29, 24, 40, .04);
  --shadow: 0 10px 30px -12px rgba(44, 31, 65, .22), 0 2px 6px rgba(44, 31, 65, .06);
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --font: 'sofia', 'sofia-fallback', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
/* Myk scrolling bare på nye sider – gamle skjema scroller med jQuery, og de to kjemper mot hverandre */
html:has(body.v2-native) { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
/* Grunnregler gjelder bare nye sider (.v2-native) og ny meny/footer. Gamle sider
   (.v2-legacy) beholder app.css' regler for innhold og skjema, se v2-skin.css. */
:where(.v2-native, .topbar, .footer) img, :where(.v2-native, .topbar, .footer) svg { display: block; max-width: 100%; height: auto; }
:where(.v2-native, .topbar, .footer) a { color: inherit; }
:where(.v2-native, .topbar, .footer) :is(h1, h2, h3, h4) { margin: 0; line-height: 1.12; letter-spacing: -.02em; font-weight: 700; font-family: var(--font); }
:where(.v2-native, .topbar, .footer) p { margin: 0; }
:where(.v2-native, .topbar, .footer) :is(ul, ol) { margin: 0; padding: 0; }
/* Lange norske sammensatte ord (f.eks. «lungebetennelsesvaksine») skal deles, ikke gi sideveis scroll */
h1, h2, h3 { overflow-wrap: break-word; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; top: 0; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--plum-600); }
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: clamp(28px, 4vw, 44px); }
.section-head h2 { font-size: clamp(28px, 3.4vw, 42px); max-width: 22ch; }
.section-head p { color: var(--muted); max-width: 46ch; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.link-arrow svg { transition: transform .2s; }
.link-arrow:hover svg { transform: translateX(3px); }

/* Knapper --------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px; border: 0;
  font: 700 17px/1 var(--font); text-decoration: none; cursor: pointer;
  transition: background-color .2s, transform .2s, box-shadow .2s;
}
.btn-primary { background: var(--green); color: var(--plum-800); box-shadow: 0 6px 18px -6px rgba(19, 184, 103, .55); }
.btn-primary:hover { background: var(--green-600); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-dark { background: var(--plum); color: #fff; }
.btn-dark:hover { background: var(--plum-800); }
.btn-disabled { background: var(--line); color: var(--muted); cursor: not-allowed; box-shadow: none; }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 15px; }
.btn-block { width: 100%; }

/* Toppmeny -------------------------------------------------------------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
}
.topbar.is-scrolled { border-bottom-color: var(--line); }
.topbar .wrap { display: flex; align-items: center; gap: 20px; height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 21px; letter-spacing: -.02em; color: var(--plum); }
.logo svg { width: 34px; height: auto; }
.status {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px;
  background: var(--green-50); color: #0b6b3d; font-size: 14px; font-weight: 700; white-space: nowrap;
}
.status i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(33, 211, 126, .6); animation: pulse 2.2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(33, 211, 126, 0); } 100% { box-shadow: 0 0 0 0 rgba(33, 211, 126, 0); } }
.status.is-closed, .book .wait.is-closed { background: var(--plum-50); color: var(--plum); }
.status.is-closed i, .book .wait.is-closed i { background: var(--muted); animation: none; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a { padding: 10px 14px; border-radius: 999px; text-decoration: none; font-size: 16px; color: var(--ink-2); }
.nav a:hover { background: var(--plum-50); color: var(--ink); }
.nav .btn { margin-left: 8px; color: var(--plum-800); }
.nav-burger { display: none; }

@media (max-width: 900px) {
  .topbar .wrap { height: 64px; gap: 12px; }
  .status { font-size: 13px; padding: 5px 10px; }
  .nav-burger {
    display: grid; place-items: center; margin-left: auto; width: 44px; height: 44px; border-radius: 12px; cursor: pointer;
    border: 0; background: none; padding: 0;
  }
  .nav-burger span, .nav-burger span::before, .nav-burger span::after { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: transform .2s; }
  .nav-burger span::before, .nav-burger span::after { content: ''; position: absolute; left: 0; }
  .nav-burger span::before { top: -6px; } .nav-burger span::after { top: 6px; }
  .nav {
    position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 20px; display: none;
  }
  .nav a { padding: 14px 4px; border-radius: 0; border-bottom: 1px solid var(--line); font-size: 18px; }
  .nav .btn { margin: 16px 0 0; border: 0; }
  .nav-open .nav { display: flex; }
  .nav-open .nav-burger span { transform: rotate(45deg); }
  .nav-open .nav-burger span::before { transform: translateY(6px) rotate(90deg); }
  .nav-open .nav-burger span::after { opacity: 0; }
}
@media (max-width: 360px) { .topbar .status { display: none; } }

/* Hero ------------------------------------------------------------------ */
.hero { background: var(--sand); position: relative; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; width: 720px; height: 720px; right: -220px; top: -260px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(33, 211, 126, .16), rgba(33, 211, 126, 0));
}
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(32px, 5vw, 72px); align-items: center; padding-top: clamp(40px, 6vw, 88px); padding-bottom: clamp(48px, 7vw, 96px); }
.hero h1 { font-size: clamp(40px, 5.6vw, 72px); letter-spacing: -.035em; margin: 18px 0 20px; color: var(--plum-800); }
.hero h1 em { font-style: normal; color: var(--green-600); white-space: nowrap; }
.hero .lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--ink-2); max-width: 34ch; }
.notice { margin-top: 20px; padding: 12px 16px; border-radius: var(--radius-s); background: #fff4e5; color: #7a4a00; font-size: 15px; max-width: 46ch; }

.picker { margin-top: 32px; }
.picker-label { font-size: 15px; font-weight: 700; color: var(--ink-2); margin-bottom: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; }
.chip {
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 18px 0 12px; border-radius: 999px;
  background: #fff; box-shadow: var(--shadow-s), inset 0 0 0 1px var(--line); text-decoration: none; font-weight: 700; font-size: 16px;
  transition: box-shadow .2s, transform .2s;
}
.chip:hover { transform: translateY(-1px); box-shadow: var(--shadow), inset 0 0 0 1px var(--plum-100); }
.chip .ico { width: 28px; height: 28px; border-radius: 50%; background: var(--green-50); color: #0b6b3d; display: grid; place-items: center; flex: none; }
.chip .ico svg { width: 16px; height: 16px; }
.chip-more { background: transparent; box-shadow: none; color: var(--plum); padding-left: 8px; }
.chip-more:hover { box-shadow: none; transform: none; text-decoration: underline; }
.chip-more .ico { background: transparent; color: var(--plum); }

.trust { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 32px; list-style: none; color: var(--ink-2); font-size: 15px; }
.trust li { display: inline-flex; align-items: center; gap: 8px; }
.trust svg { width: 18px; height: 18px; color: var(--green-600); flex: none; }
.trust .stars { color: var(--star); letter-spacing: 1px; }

/* Heltebildet er et bredt, frilagt bilde av to leger. Rammen er nesten kvadratisk, og bildet er
   litt bredere enn rammen og forankret i bunnen, slik at ansiktene havner i øvre tredjedel. */
.hero-visual { position: relative; justify-self: center; width: min(100%, 520px); margin: 0; }
.hero-photo {
  position: relative; display: flex; align-items: flex-end; justify-content: center; margin: 0;
  aspect-ratio: 1 / 1.02; border-radius: 260px 260px var(--radius-l) var(--radius-l); overflow: hidden;
  background: linear-gradient(160deg, #e6f7ee 0%, #efeaf6 100%);
}
.hero-photo img { flex: none; width: 106%; max-width: none; height: auto; }
.hero-names { margin-top: 14px; font-size: 14px; color: var(--muted); text-align: center; }
.hero-names b { color: var(--ink); font-weight: 700; }
.float-card {
  position: absolute; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 14px 16px;
  display: flex; align-items: center; gap: 12px; font-size: 14px; line-height: 1.35;
}
.float-card b { display: block; font-size: 15px; color: var(--ink); }
.float-card small { color: var(--muted); font-size: 13px; }
.float-card .badge { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.float-card .badge svg { width: 22px; height: 22px; }
/* Kortene ligger i den tomme flaten over hodene og over skjortene – aldri over ansiktene */
.float-a { left: -44px; top: 12%; }
.float-a .badge { background: var(--green-50); color: #0b6b3d; }
.float-b { left: -32px; bottom: 15%; }
.float-b .badge { background: var(--plum-100); color: var(--plum); }
.float-wait { right: -24px; top: 4%; padding: 14px 18px; gap: 12px; }
.float-wait .big { font-size: 30px; font-weight: 700; letter-spacing: -.03em; color: var(--plum-800); line-height: 1; }

@media (max-width: 900px) {
  /* Bildet legges mellom ingressen og snarveiene, så legene er synlige over folden */
  .hero .wrap { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .hero .wrap > .hero-text { display: contents; }
  .hero .eyebrow { order: 1; } .hero h1 { order: 2; } .hero .lead { order: 3; } .hero .notice { order: 4; }
  .hero-visual { order: 5; width: 100%; max-width: 560px; justify-self: start; margin-top: 24px; }
  .hero .picker { order: 6; } .hero .trust { order: 7; }
  .hero-photo { aspect-ratio: 16 / 9; border-radius: var(--radius-l); align-items: stretch; }
  .hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; }
  .float-card { display: none; }
  .hero-names { text-align: left; margin-top: 10px; }
  .hero .picker { margin-top: 24px; }
}
@media (max-width: 560px) {
  .hero .wrap { padding-top: 32px; padding-bottom: 40px; }
  .hero h1 { margin: 12px 0 14px; }
  .hero-visual { margin-top: 20px; }
  .chips { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .chip { width: 100%; min-height: 52px; padding: 8px 12px 8px 10px; font-size: 15px; line-height: 1.2; }
  .chips .more { grid-column: 1 / -1; }
  .chip-more { min-height: 40px; justify-content: flex-start; }
  .trust { margin-top: 24px; }
}

/* Partnerstripe --------------------------------------------------------- */
.partners { border-bottom: 1px solid var(--line); }
.partners .wrap { display: flex; align-items: center; gap: 24px 40px; padding-top: 26px; padding-bottom: 26px; flex-wrap: wrap; justify-content: center; }
.partners p { color: var(--muted); font-size: 15px; }
.partners ul { display: flex; align-items: center; gap: 36px; list-style: none; flex-wrap: wrap; justify-content: center; }
.partners img { height: 22px; width: auto; filter: brightness(0); opacity: .55; }
@media (max-width: 560px) {
  /* Logoene på én rad i stedet for tre */
  .partners .wrap { flex-direction: column; gap: 14px; padding-top: 20px; padding-bottom: 20px; }
  .partners ul { flex-wrap: nowrap; gap: 14px; max-width: 100%; }
  .partners img { height: 15px; }
}

/* Behandlingskort: kompakte rader – ikon, navn og pil. Hele kortet er lenken. */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; list-style: none; }
@media (max-width: 900px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid-3 { grid-template-columns: 1fr; gap: 10px; } }
.tcard {
  position: relative; display: flex; align-items: center; gap: 16px; height: 100%; padding: 18px 18px 18px 20px; border-radius: var(--radius);
  background: #fff; box-shadow: inset 0 0 0 1px var(--line); text-decoration: none; transition: box-shadow .2s, transform .2s;
}
.tcard:hover { transform: translateY(-2px); box-shadow: var(--shadow), inset 0 0 0 1px var(--plum-100); }
.tcard .ico { width: 48px; height: 48px; border-radius: 14px; background: var(--plum-50); color: var(--plum); display: grid; place-items: center; flex: none; }
.tcard .ico svg { width: 24px; height: 24px; }
.tcard h3 { flex: 1; font-size: 19px; }
.tcard .go { width: 36px; height: 36px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--green-50); color: #0b6b3d; transition: transform .2s, background-color .2s; }
.tcard .go svg { width: 20px; height: 20px; }
.tcard:hover .go { transform: translateX(3px); background: var(--green); color: var(--plum-800); }
@media (max-width: 560px) {
  .tcard { padding: 14px 14px 14px 16px; gap: 14px; }
  .tcard .ico { width: 42px; height: 42px; }
  .tcard h3 { font-size: 18px; }
}

/* Temaer ---------------------------------------------------------------- */
.topics-label { margin-top: 32px; font-size: 15px; font-weight: 700; color: var(--ink-2); }
.topics { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin-top: 12px; }
.topics a {
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 999px; background: var(--plum-50);
  text-decoration: none; font-weight: 700; color: var(--plum); transition: background-color .2s;
}
.topics a:hover { background: var(--plum-100); }

/* Videolegetime (vises når «sporlegen» er slått på i DatoCMS) */
.video-cta { display: grid; grid-template-columns: 160px 1fr auto; gap: 28px; align-items: center; padding: clamp(24px, 4vw, 40px); border-radius: var(--radius-l); background: var(--plum-50); }
.video-cta img { width: 160px; height: auto; border-radius: var(--radius); /* illustrasjonen har egen lys flate – vis den som en avrundet flis */ }
.video-cta h2 { font-size: clamp(24px, 2.6vw, 32px); margin-bottom: 6px; }
.video-cta p { color: var(--ink-2); }
@media (max-width: 760px) { .video-cta { grid-template-columns: 1fr; } .video-cta img { width: 120px; } }

/* Slik fungerer det ----------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; list-style: none; counter-reset: step; }
.steps > .step { position: relative; padding: 28px; border-radius: var(--radius-l); background: var(--sand); }
.steps > .step img { width: 132px; height: 132px; margin: -8px 0 12px -8px; }
.steps > .step .num { position: absolute; top: 24px; right: 26px; font-size: 15px; font-weight: 700; color: var(--muted); }
.steps > .step h3 { font-size: 21px; margin-bottom: 6px; }
.steps > .step p { color: var(--ink-2); }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; gap: 12px; }
  .steps > .step { display: grid; grid-template-columns: 88px 1fr; gap: 0 18px; align-items: center; padding: 18px; }
  .steps > .step img { width: 88px; height: 88px; margin: 0; grid-row: span 2; }
  .steps > .step .num { top: 16px; right: 18px; font-size: 13px; }
  .steps > .step h3 { padding-right: 28px; }
}

/* Tallstripe ------------------------------------------------------------ */
/* Antall kolonner følger antall tall (svartid skjules utenfor åpningstid) */
.figures { background: var(--plum); color: #fff; border-radius: var(--radius-l); display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; overflow: hidden; }
.figure { padding: clamp(28px, 4vw, 48px); }
.figure + .figure { border-left: 1px solid rgba(255, 255, 255, .12); }
.figure p { color: rgba(255, 255, 255, .72); font-size: 15px; }
.figure .big { display: block; font-size: clamp(40px, 5vw, 64px); font-weight: 700; letter-spacing: -.035em; line-height: 1.05; margin: 10px 0 8px; color: #fff; }
.figure .big small { font-size: .42em; letter-spacing: 0; margin-left: 10px; color: var(--green); }
@media (max-width: 760px) {
  /* Kompakt på mobil: tallene side om side i stedet for én skjermhøyde */
  .figure { padding: 20px 14px; }
  .figure p { font-size: 12px; line-height: 1.35; }
  .figure .big { font-size: clamp(22px, 7vw, 30px); margin: 8px 0 4px; }
  .figure .big small { display: block; margin: 2px 0 0; font-size: 13px; }
  .figure .sub { display: none; }
}

/* Anmeldelser – ren CSS scroll-snap, erstatter amp-carousel ---------- */
.reviews-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.reviews-head h2 { font-size: clamp(28px, 3.4vw, 42px); }
.reviews-head p { color: var(--muted); max-width: 44ch; margin-top: 10px; }
.score { display: flex; align-items: center; gap: 14px; }
.score .num { font-size: 48px; font-weight: 700; letter-spacing: -.03em; line-height: 1; color: var(--plum-800); }
.score .stars { color: var(--star); font-size: 20px; letter-spacing: 2px; }
.score small { display: block; color: var(--muted); font-size: 14px; }
.reviews {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 1fr); gap: 16px;
  overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px var(--gutter) 20px; margin: 0 calc(var(--gutter) * -1);
  scrollbar-width: thin; scrollbar-color: var(--line) transparent;
}
@media (min-width: 1100px) { .reviews { grid-auto-columns: calc((100% - 3 * 16px) / 4); margin: 0; padding: 4px 0 20px; } }
.reviews > div {
  scroll-snap-align: start; position: relative; display: flex; flex-direction: column; padding: 22px 24px;
  border-radius: var(--radius); background: #fff; box-shadow: inset 0 0 0 1px var(--line);
}
.reviews .slide-content { flex: 1; }
.reviews .slide-stars { font-size: 13px; letter-spacing: 2px; margin-bottom: 14px; }
.reviews .slide-text { font-size: 17px; line-height: 1.5; color: var(--ink); }
.reviews .slide-text::before { content: '«'; } .reviews .slide-text::after { content: '»'; }
.reviews .slide-name-container, .reviews .slide-date-container { margin-top: 16px; display: inline; }
.reviews .slide-name-text { font-weight: 700; font-size: 15px; }
.reviews .slide-date-container { position: absolute; right: 24px; bottom: 22px; }
.reviews .slide-date-text { color: var(--muted); font-size: 14px; }

/* Guider ---------------------------------------------------------------- */
.guides { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 32px; list-style: none; border-top: 1px solid var(--line); }
.guides a { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.guides b { display: block; font-size: 18px; }
.guides span { color: var(--muted); font-size: 15px; }
.guides svg { flex: none; color: var(--muted); transition: transform .2s, color .2s; }
.guides a:hover svg { transform: translateX(3px); color: var(--ink); }
@media (max-width: 900px) { .guides { grid-template-columns: 1fr; } }

/* Om oss ---------------------------------------------------------------- */
.about { display: grid; grid-template-columns: 320px 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; background: var(--green-50); border-radius: var(--radius-l); padding: clamp(28px, 5vw, 56px); }
.about figure { margin: 0; }
.about img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; background: #d7f3e4; }
.about figcaption { margin-top: 14px; text-align: center; font-size: 15px; color: var(--ink-2); }
.about figcaption b { display: block; color: var(--ink); }
.about h2 { font-size: clamp(28px, 3.4vw, 42px); margin: 10px 0 16px; }
.about p { font-size: 19px; color: var(--ink-2); max-width: 52ch; }
.about p a { color: var(--plum); font-weight: 700; }
@media (max-width: 760px) { .about { grid-template-columns: 1fr; text-align: left; } .about figure { width: 160px; } .about figcaption { text-align: left; } }

/* Behandlingsside ------------------------------------------------------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; font-size: 14px; color: var(--muted); }
.crumbs a { text-decoration: none; color: var(--muted); }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.crumbs li + li::before { content: '/'; margin-right: 8px; color: var(--line); }
.treat-hero { background: var(--sand); }
.treat-hero .wrap { padding-top: clamp(24px, 3vw, 40px); padding-bottom: clamp(36px, 5vw, 64px); }
.treat-hero h1 { font-size: clamp(30px, 5vw, 64px); letter-spacing: -.035em; margin: 22px 0 16px; color: var(--plum-800); }
.treat-hero .lead { font-size: clamp(18px, 1.6vw, 22px); color: var(--ink-2); max-width: 40ch; }
.treat-hero .trust { margin-top: 24px; }
.treat { display: grid; grid-template-columns: minmax(0, 1fr) 380px; grid-template-rows: auto 1fr; gap: 40px clamp(32px, 5vw, 72px); align-items: start; padding-top: clamp(36px, 5vw, 64px); padding-bottom: clamp(48px, 6vw, 80px); }
.prose { font-size: 18px; color: var(--ink-2); max-width: 66ch; }
.prose > * + * { margin-top: 1em; }
.prose h2 { font-size: 28px; color: var(--ink); margin-top: 1.6em; }
.prose h3 { font-size: 22px; color: var(--ink); margin-top: 1.4em; }
.prose ul { padding-left: 0; list-style: none; }
.prose li { position: relative; padding-left: 30px; margin: .5em 0; }
.prose li::before {
  content: ''; position: absolute; left: 0; top: .32em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--green-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b6b3d' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.prose a { color: var(--plum); font-weight: 700; text-underline-offset: 3px; }
.prose img { border-radius: var(--radius); max-width: 100%; height: auto; }

.checklist { grid-column: 1; padding: 28px; border-radius: var(--radius-l); background: var(--plum-50); }
.checklist h2 { font-size: 22px; margin-bottom: 6px; }
.checklist > p { color: var(--muted); font-size: 15px; margin-bottom: 16px; }
.checklist ul { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }
.checklist li { position: relative; padding-left: 30px; font-size: 16px; color: var(--ink-2); }
.checklist li::before {
  content: ''; position: absolute; left: 0; top: .2em; width: 20px; height: 20px; border-radius: 6px; background: #fff;
  box-shadow: inset 0 0 0 1.5px var(--plum-100);
}
@media (max-width: 640px) { .checklist ul { grid-template-columns: 1fr; } }

.book {
  grid-column: 2; grid-row: 1 / span 2;
  position: sticky; top: 96px; padding: 28px; border-radius: var(--radius-l); background: #fff; box-shadow: var(--shadow), inset 0 0 0 1px var(--line);
}
.book .row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.book .price:empty { display: none; }
.book .price { font-size: 40px; font-weight: 700; letter-spacing: -.03em; color: var(--plum-800); }
.book .price small { font-size: 16px; color: var(--muted); font-weight: 400; letter-spacing: 0; }
.book .wait { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: #0b6b3d; background: var(--green-50); padding: 6px 12px; border-radius: 999px; }
.book .wait i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); animation: pulse 2.2s infinite; }
.book ul { list-style: none; margin: 20px 0 24px; display: grid; gap: 12px; }
.book li { display: flex; gap: 12px; font-size: 16px; color: var(--ink-2); }
.book li svg { width: 20px; height: 20px; flex: none; color: var(--green-600); margin-top: 2px; }
.book .fine { margin-top: 14px; font-size: 13px; color: var(--muted); text-align: center; }
.mobile-cta { display: none; }
@media (max-width: 900px) {
  .treat { grid-template-columns: minmax(0, 1fr); }
  .book { position: static; grid-column: 1; grid-row: auto; }
  .checklist { grid-column: 1; }
  .mobile-cta {
    display: flex; align-items: center; gap: 14px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .94);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-top: 1px solid var(--line);
  }
  .mobile-cta div { font-size: 14px; color: var(--muted); line-height: 1.3; }
  .mobile-cta b { display: block; color: var(--ink); font-size: 17px; }
  .mobile-cta .btn { margin-left: auto; }
  body.has-mobile-cta { padding-bottom: 84px; }
  /* Intercom (lastes via GTM) legger chatknappen nederst til høyre, oppå «Bestill».
     Når knappen finnes, gi den plass i høyre ende av bestillingslinjen. */
  body:has(.intercom-lightweight-app-launcher, iframe[name="intercom-launcher-frame"]) .mobile-cta {
    padding-right: calc(max(16px, env(safe-area-inset-right, 0px)) + 76px);
  }
}

/* Footer ---------------------------------------------------------------- */
.footer { background: var(--plum-800); color: rgba(255, 255, 255, .78); font-size: 15px; }
.footer a { color: rgba(255, 255, 255, .78); text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-top: 64px; padding-bottom: 48px; }
.footer .logo { color: #fff; }
.footer-brand p { margin-top: 16px; max-width: 34ch; }
.footer h2 { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.footer ul { list-style: none; display: grid; gap: 10px; }
.apps { display: flex; gap: 10px; margin-top: 22px; }
.apps img { height: 40px; width: auto; }
.footer-partners { border-top: 1px solid rgba(255, 255, 255, .1); }
.footer-partners .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 36px; padding-top: 28px; padding-bottom: 28px; }
.footer-partners img { height: 20px; width: auto; filter: brightness(0) invert(1); opacity: .7; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); }
.footer-bottom .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-top: 22px; padding-bottom: 28px; font-size: 14px; color: rgba(255, 255, 255, .6); }
.footer-bottom a { text-decoration: underline; }
.footer-bottom button { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* Mobil: overskrift over ingress i seksjonshoder (må stå sist for å vinne over .reviews-head) */
@media (max-width: 760px) { .section-head, .reviews-head { flex-direction: column; align-items: start; gap: 14px; } }
