/* ─────────────────────────────────────────────────────────────
   Preva Health — MVP stylesheet
   Restyled til å matche Preva Helseveiledning-uttrykket.
   All innhold/markup i index.html og tjenester.html beholdes;
   dette dokumentet erstatter det gamle designfundamentet.
   ───────────────────────────────────────────────────────────── */

/* ─── Reset ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
img, svg, video { max-width: 100%; display: block; }

/* ─── Tokens ──────────────────────────────────────────────── */
:root {
  --bg:            #FBFAF7;
  --bg-card:       #FFFFFF;
  --bg-alt:        #EFECE5;
  --sage:          #8FA28F;
  --sage-700:      #516856;
  --sage-muted:    #A8B79F;
  --sage-deep:     #0E4D52;
  --petrol-night:  #061A1B;
  --deep-teal:     #082729;
  --forest:        #15543B;
  --forest-dark:   #0B3328;
  --sand:          #EFECE5;
  --sand-soft:     #F4F1EA;
  --greige:        #D8D0C3;
  --ink:           #153B31;
  --ink-soft:      #44534E;
  --muted:         #5E6B62;   /* mørknet fra #6E7B72: 4,25:1 → 5,4:1 på varm hvit */
  --line:          rgba(21, 84, 59, 0.12);
  --on-dark:       #F7F4EE;
  --on-dark-soft:  rgba(247, 244, 238, 0.74);
  --amber:         #C8862B;   /* brukerbestilt: BHT-punkter i sammenligningen */

  --grad-dark:     linear-gradient(135deg, #061A1B 0%, #0E4D52 55%, #082729 100%);
  --grad-button:   linear-gradient(135deg, #15543B 0%, #0E4D52 100%);

  /* Legacy alias-tokens for eldre inline-referanser */
  --gold:          var(--forest);
  --gold-light:    var(--sage-muted);
  --charcoal:      var(--ink);
  --warm-dark:     var(--petrol-night);
  --cream:         var(--bg);
  --cream-dark:    var(--bg-alt);
  --sand:          var(--sand);
  --card-bg:       var(--bg-alt);
  --green:         var(--sage);

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans:  "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --maxw: 1120px;
  --gutter: clamp(20px, 5vw, 64px);
  --section-y: clamp(72px, 8vw, 132px);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --shadow-soft:      0 1px 2px rgba(9,31,28,.04), 0 18px 48px rgba(9,31,28,.10);
  --shadow-card:      0 1px 2px rgba(9,31,28,.05), 0 18px 48px rgba(9,31,28,.12);
  --shadow-dark-soft: 0 28px 80px rgba(0,0,0,.34);
  --shadow-button:    0 10px 22px rgba(14,77,82,.22);

  --ease: cubic-bezier(.22,.61,.36,1);
}

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
[id] { scroll-margin-top: 96px; }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.65;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
}
html { overflow-x: clip; }
body { overflow-x: clip; }

/* ─── Typography ──────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 450;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-wrap: balance;
}
.serif, .serif-italic { font-family: var(--serif) !important; }
.serif-italic { font-style: italic; font-weight: 500 !important; }
h1 em, h2 em, h3 em, .display em { font-style: italic; font-weight: 500; }

.display {
  font-size: clamp(2.6rem, 6.4vw, 5.4rem);
  line-height: .96;
  font-weight: 400;
  letter-spacing: -0.035em;
}
h2.section-title,
.section-title {
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  font-weight: 400;
  letter-spacing: -0.035em;
}

.eyebrow, .label-caps {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage-700); /* --sage gir bare 2,3–2,6:1 på lys flate; sage-700 gir >6:1 */
}

.lead {
  font-size: clamp(1.06rem, 1.7vw, 1.32rem);
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 60ch;
}

a { color: var(--forest); text-decoration: none; }
a:hover { color: var(--forest-dark); }

/* ─── Layout ──────────────────────────────────────────────── */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
section, .section {
  padding-block: var(--section-y);
  padding-inline: 0;
}
/* Kun .wrap får egen gutter — alle seksjonsklasser setter allerede padding-inline selv,
   så -inner-wrappere skal ikke legge på en gang til (ga 40px dobbel innrykk på mobil, 128px på desktop) */
section > .wrap { padding-inline: var(--gutter); }
.section-inner,
.features-header,
.features-scroll,
.ansatt-inner,
.editorial-grid,
.team-inner,
.stats-grid,
.bht-inner,
.how-two-col,
.proaktiv-inner,
.testimonials-header,
.testimonials-grid,
.datavern-inner,
.booking-inner,
.site-footer-inner {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
}

/* Dark panel (mørk seksjonsflate) */
.section.dark-panel,
.stats-strip,
.datavern-section,
.cta-section {
  background: var(--grad-dark);
  color: var(--on-dark);
  position: relative;
  overflow: hidden;
}
.section.dark-panel::before,
.stats-strip::before,
.datavern-section::before,
.cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 78% 18%, rgba(168,183,159,.14), transparent 40%);
  pointer-events: none;
}
.section.dark-panel > *,
.stats-strip > *,
.datavern-section > *,
.cta-section > * { position: relative; z-index: 1; }
.dark-panel h1, .dark-panel h2, .dark-panel h3, .dark-panel h4,
.stats-strip h1, .stats-strip h2, .stats-strip h3, .stats-strip h4,
.datavern-section h1, .datavern-section h2, .datavern-section h3, .datavern-section h4,
.cta-section h1, .cta-section h2, .cta-section h3 { color: var(--on-dark); }
.dark-panel .eyebrow, .dark-panel .label-caps,
.stats-strip .label-caps,
.datavern-section .label-caps,
.cta-section .label-caps { color: var(--sage-muted); }
.dark-panel .lead,
.stats-strip .lead,
.datavern-section .lead,
.cta-section .lead { color: var(--on-dark-soft); }

/* Card */
.kort {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.kort:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }

/* ─── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  min-height: 48px;
  padding: .8em 1.6em;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: .98rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  border: 1.5px solid transparent;
  white-space: nowrap;
  transition: transform .18s var(--ease), background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn .arrow { display: inline-block; transition: transform .2s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

.btn-primary,
.btn-dark,
.btn-gold,
.booking-submit {
  background: var(--grad-button);
  color: var(--on-dark);
  border-color: transparent;
  box-shadow: var(--shadow-button);
}
.btn-primary:hover,
.btn-dark:hover,
.btn-gold:hover,
.booking-submit:hover { color: var(--on-dark); box-shadow: 0 12px 26px rgba(14,77,82,.28); }

.btn-ghost,
.btn-outline-dark {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover,
.btn-outline-dark:hover { border-color: rgba(21,84,59,.35); color: var(--ink); }

.btn-light,
.btn-cream {
  background: var(--on-dark);
  color: var(--sage-deep);
  border-color: transparent;
}
.btn-light:hover, .btn-cream:hover { background: #fff; }

.btn-outline,
.btn-outline-light {
  background: transparent;
  color: var(--on-dark);
  border-color: rgba(247,244,238,.45);
}
.btn-outline:hover, .btn-outline-light:hover {
  background: rgba(247,244,238,.08);
  border-color: rgba(247,244,238,.7);
  color: var(--on-dark);
}

/* ─── Announcement bar ────────────────────────────────────── */
.announcement-bar {
  background: var(--petrol-night);
  color: var(--on-dark);
  text-align: center;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.01em;
}
.announcement-bar a { color: var(--sage-muted); text-decoration: none; font-weight: 500; }
.announcement-bar a:hover { color: var(--on-dark); text-decoration: underline; }

/* ─── Navigation ──────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: .85rem var(--gutter);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  background: transparent;
  transition: background .3s var(--ease), padding .4s var(--ease), box-shadow .3s var(--ease), backdrop-filter .3s var(--ease);
}
.nav-topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1001;
  display: flex;
  justify-content: flex-end;
  gap: 22px;
  padding: 8px var(--gutter);
  background: transparent;
  border-bottom: 1px solid rgba(21,84,59,.08);
  font-size: .8rem;
  font-family: var(--sans);
  color: var(--ink-soft);
  opacity: .82;
  transition: opacity .3s var(--ease), transform .35s var(--ease), background .3s var(--ease);
}
.nav-topbar a {
  color: inherit;
  text-decoration: none;
  transition: color .18s var(--ease);
}
.nav-topbar a:hover { color: var(--ink); }
/* Give nav vertical space for the topbar */
.nav { top: 36px; }
.nav.scrolled {
  top: 0;
  background: color-mix(in oklab, var(--bg) 88%, transparent);
  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  box-shadow: 0 1px 0 var(--line);
  padding-block: .6rem;
}
.nav.scrolled ~ .nav-topbar,
body.nav-scrolled .nav-topbar { opacity: 0; transform: translateY(-100%); pointer-events: none; }

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  justify-self: start;
}
.nav-logo img {
  width: auto;
  display: block;
  transition: height .4s var(--ease), filter .3s var(--ease);
  filter: none;
}
.nav-logo .logo-mark { height: 52px; }
.nav-logo .logo-word { height: 24px; }
.nav.scrolled .nav-logo .logo-mark { height: 44px; }
.nav.scrolled .nav-logo .logo-word { height: 20px; }
/* Under 1340px får ikke 24px-ordmerket plass ved siden av fem menylenker */
@media (max-width: 1340px) {
  .nav-logo .logo-word { height: 20px; }
  .nav.scrolled .nav-logo .logo-word { height: 17px; }
}
/* On dark hero, invert logo to a soft off-white */
body.hero-dark .nav:not(.scrolled) .nav-logo img { filter: brightness(0) invert(1); opacity: .96; }

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 34px;
  justify-self: center;
}
.nav-links a {
  position: relative;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
  padding: 4px 0;
  transition: color .18s var(--ease);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: var(--sage);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.nav-links a[aria-current="page"] { color: var(--ink); }
body.hero-dark .nav:not(.scrolled) .nav-links a { color: rgba(247,244,238,.9); text-shadow: 0 1px 4px rgba(0,0,0,.35); }
body.hero-dark .nav:not(.scrolled) .nav-links a:hover { color: #fff; }
body.hero-dark .nav-topbar { color: rgba(247,244,238,.85); border-color: rgba(247,244,238,.14); }

.nav-cta {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: .55em;
  min-height: 48px;
  padding: .8em 1.6em;
  border-radius: 999px;
  background: var(--grad-button);
  color: var(--on-dark);
  border: 1.5px solid transparent;
  text-decoration: none;
  font-size: .98rem;
  font-weight: 600;
  box-shadow: var(--shadow-button);
  transition: transform .18s var(--ease), box-shadow .2s var(--ease);
}
.nav-cta:hover { transform: translateY(-1px); color: var(--on-dark); box-shadow: 0 12px 26px rgba(14,77,82,.28); }
body.hero-dark .nav:not(.scrolled) .nav-cta {
  background: rgba(247,244,238,.14);
  color: #fff;
  border-color: rgba(247,244,238,.55);
  backdrop-filter: blur(6px);
  box-shadow: none;
}
body.hero-dark .nav:not(.scrolled) .nav-cta:hover { background: rgba(247,244,238,.24); }

.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
  justify-self: end;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .3s var(--ease), background .3s var(--ease);
}
body.hero-dark .nav:not(.scrolled) .nav-hamburger span { background: var(--on-dark); }
.nav-mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 999;
  background: var(--bg);
  padding: 96px var(--gutter) 40px;
  transform: translateY(-112%);
  transition: transform .42s var(--ease);
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-height: 100vh;
}
.nav-mobile-menu.is-open { transform: translateY(0); }
.nav-mobile-link {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 450;
  color: var(--ink);
  text-decoration: none;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  letter-spacing: -0.01em;
}
.nav-mobile-link.btn {
  margin-top: 22px;
  border-bottom: none;
  font-family: var(--sans);
  font-size: .98rem;
  padding: .8em 1.6em;
}
body.nav-open { overflow: hidden; }

/* ─── Hero ────────────────────────────────────────────────── */
.hero {
  position: relative;
  width: 100%;
  min-height: clamp(700px, 92vh, 1000px);
  display: flex;
  align-items: flex-end;
  padding: 0;
  overflow: hidden;
  background: var(--petrol-night); /* fallback bak fotoet så tekst alltid er lesbar */
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg,
      rgba(6,26,27,0.78) 0%,
      rgba(6,26,27,0.60) 45%,
      rgba(6,26,27,0.25) 75%,
      rgba(6,26,27,0.12) 100%),
    linear-gradient(180deg, rgba(0,0,0,0.10) 0%, rgba(0,0,0,0.05) 55%, rgba(0,0,0,0.35) 100%);
}
.hero-visual { position: absolute; inset: 0; z-index: 1; overflow: hidden; pointer-events: none; }
.hero-ring { position: absolute; border-radius: 50%; border: 1.5px solid rgba(247,244,238,0.12); }
.hero-ring-1 { width: 800px; height: 800px; top: -200px; right: -200px; }
.hero-ring-2 { width: 600px; height: 600px; top: -100px; right: -100px; }
.hero-ring-3 { width: 400px; height: 400px; top: 0; right: 0; }
.hero-ring-4 { width: 220px; height: 220px; top: 90px; right: 90px; }

.hero-phone {
  height: 580px;
  width: auto;
  position: absolute;
  bottom: 0;
  right: 380px;
  filter: drop-shadow(0 24px 48px rgba(0,0,0,0.35));
  z-index: 2;
}
.hero-app-mobile { display: none; }

.hero-cards {
  position: absolute;
  bottom: 48px;
  right: 80px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 3;
}
.hcard {
  background: rgba(6, 26, 27, 0.55);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid rgba(247,244,238,0.14);
  border-radius: 18px;
  padding: 20px 24px;
  color: var(--on-dark);
  min-width: 240px;
}
.hcard-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: .58;
  margin-bottom: 14px;
}
.hcard-row { display: flex; align-items: baseline; gap: 10px; }
.hcard-value {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 28px;
  line-height: 1;
  letter-spacing: -.02em;
}
.hcard-value.large { font-size: 44px; }
.hcard-sub { font-size: 12px; opacity: .7; margin-top: 3px; }
.hcard-divider { height: 1px; background: rgba(247,244,238,.14); margin: 12px 0; }
.hcard-green { color: var(--sage-muted); }

.hero-content {
  position: relative;
  z-index: 4;
  padding: 160px var(--gutter) 80px;
  max-width: 720px;
}
.hero-caption {
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(247,244,238,.78);
  margin-bottom: 14px;
}
.hero-content h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.6rem, 6.4vw, 5.4rem);
  line-height: .96;
  letter-spacing: -.035em;
  color: var(--on-dark);
  margin-bottom: 28px;
  text-wrap: balance;
}
.hero-content h1 em {
  font-style: italic;
  font-weight: 500;
  color: rgba(255,244,220,.94);
}
.hero-body {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: rgba(247,244,238,.86);
  max-width: 46ch;
  line-height: 1.65;
  margin-bottom: 28px;
}
.hero-body-mobile { display: none; }
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 36px;
}
.mobile-hero-stats { display: none; }

/* ─── Interlude quote ─────────────────────────────────────── */
.interlude-quote {
  background: var(--bg-alt);
  padding: clamp(48px, 8vw, 96px) var(--gutter);
  text-align: center;
}
.interlude-quote p {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  line-height: 1.25;
  color: var(--ink);
  max-width: 32ch;
  margin: 0 auto;
  letter-spacing: -.02em;
}

/* ─── Product cards (2 large) ─────────────────────────────── */
.product-cards-header {
  padding: var(--section-y) var(--gutter) 32px;
  text-align: center;
  background: var(--bg);
}
.product-cards-header h2 {
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  font-weight: 400;
  letter-spacing: -.035em;
  color: var(--ink);
}
.product-cards-header h2 em { font-style: italic; font-weight: 500; color: var(--forest); }

.product-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 16px var(--gutter) var(--section-y);
  max-width: calc(var(--maxw) + 160px);
  margin: 0 auto;
  background: var(--bg);
}
.product-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--deep-teal);
  display: flex;
  align-items: flex-end;
  box-shadow: var(--shadow-dark-soft);
}
.product-card-bg { position: absolute; inset: 0; z-index: 0; transition: transform .5s var(--ease); }
.product-card:hover .product-card-bg { transform: scale(1.03); }
/* Kort 2 («for den ansatte»): foto som bakgrunn, ansiktene rett over tekstsonen */
/* Kort 1 («for bedriften»): rapportbilde som bakgrunn — bildet er mørkt i seg selv, så lettere toning */
.card-bg-1 {
  background: url('produktkort-bedrift.webp') center / cover no-repeat, var(--deep-teal);
  filter: saturate(.9);
}
.product-card:has(.card-bg-1) .product-card-overlay {
  background: linear-gradient(to top,
    rgba(6,26,27,.86) 0%,
    rgba(6,26,27,.55) 36%,
    rgba(6,26,27,.16) 66%,
    rgba(6,26,27,.06) 100%);
}
.card-bg-2 {
  background: url('produktkort-ansatt.webp') center 38% / cover no-repeat, var(--deep-teal);
  filter: saturate(.88);
}
/* Petrol-toning: lett øverst, nesten dekkende nederst så tittel og ingress holder AA */
.product-card-overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(to top,
    rgba(6,26,27,.94) 0%,
    rgba(6,26,27,.72) 36%,
    rgba(6,26,27,.30) 66%,
    rgba(6,26,27,.16) 100%);
}
.product-card-content {
  position: relative;
  z-index: 4;
  padding: 32px;
  width: 100%;
}
.product-card-content h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.6rem, 2.6vw, 2.4rem);
  color: var(--on-dark);
  margin-bottom: 10px;
  line-height: 1.05;
  letter-spacing: -.025em;
}
.product-card-content h3 em { font-style: italic; font-weight: 500; color: rgba(255,244,220,.92); }
.product-card-subtitle {
  font-size: 15px;
  color: rgba(247,244,238,.82);
  line-height: 1.55;
  max-width: 42ch;
}

/* ─── Features (5 helsepilarer) ───────────────────────────── */
.features-section {
  background: var(--bg-alt);
  padding: var(--section-y) var(--gutter);
}
.features-header { margin-bottom: 48px; text-align: left; }
.features-header .label-caps { display: inline-block; margin-bottom: 14px; }
.features-header h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -.035em;
  color: var(--ink);
  max-width: 22ch;
}
.features-header h2 em { font-style: italic; font-weight: 500; color: var(--forest); }
.features-intro { max-width: 60ch; }

.features-scroll {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  padding: 0;
}
.features-scroll .feature-card:last-child { grid-column: 1 / -1; }
.feature-card {
  position: relative;
  width: 100%;
  min-height: 360px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  box-shadow: var(--shadow-soft);
}
.feature-card-inner {
  position: relative;
  z-index: 2;
  padding: 28px 32px;
  width: 100%;
  background: linear-gradient(to top, rgba(6,26,27,0.88) 0%, rgba(6,26,27,0.6) 55%, transparent 100%);
}
.feature-card-inner h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  color: var(--on-dark);
  margin-bottom: 8px;
  line-height: 1.1;
  letter-spacing: -.02em;
}
.feature-card-inner p { font-size: 15px; color: rgba(247,244,238,.86); line-height: 1.55; }
.feat-circle-chart {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(247,244,238,.16);
  border: 1px solid rgba(247,244,238,.28);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--on-dark);
  z-index: 3;
}
.features-nav { display: none; }

/* ─── Ansatt section ──────────────────────────────────────── */
.ansatt-section {
  background: var(--bg);
  padding: var(--section-y) var(--gutter);
}
.ansatt-inner .label-caps { display: inline-block; margin-bottom: 14px; }
.ansatt-section h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -.035em;
  color: var(--ink);
  margin-bottom: 48px;
}
.ansatt-section h2 em { font-style: italic; font-weight: 500; color: var(--forest); }
.ansatt-grid {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: clamp(20px, 3vw, 32px);
  align-items: stretch;
}
.ansatt-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 4vw, 44px);
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
}
.ansatt-statement-text {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  line-height: 1.25;
  color: var(--ink);
  letter-spacing: -.02em;
}
.ansatt-statement-note {
  margin-top: 18px;
  font-size: 13px;
  color: var(--muted);
  letter-spacing: .04em;
}
.ansatt-right { display: flex; flex-direction: column; gap: 14px; }
.ansatt-point {
  padding: 18px 22px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}
.ansatt-point h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.35rem;
  color: var(--ink);
  margin-bottom: 8px;
  letter-spacing: -.02em;
}
.ansatt-point p { color: var(--ink-soft); font-size: 15px; line-height: 1.6; }

/* ─── Editorial (Helseindeks) ─────────────────────────────── */
.editorial {
  background: var(--bg);
  padding: var(--section-y) var(--gutter);
}
.editorial-grid {
  display: grid;
  grid-template-columns: 6fr 5fr;
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
}
.editorial-img-col { display: flex; align-items: center; justify-content: center; position: relative; }
.editorial-img-col::after { display: none; }
.helseindeks-video {
  width: 100%;
  max-width: 620px;
  height: auto;
  display: block;
  margin: 0 auto;
  aspect-ratio: 1 / 1;
  background: transparent;
}
.editorial-right .label-caps { display: inline-block; margin-bottom: 14px; }
.editorial-right h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.9rem, 3.8vw, 3rem);
  line-height: 1.05;
  letter-spacing: -.035em;
  color: var(--ink);
}
.editorial-right h2 em { font-style: italic; font-weight: 500; color: var(--forest); }
.editorial-right p {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--ink-soft);
  line-height: 1.65;
  margin-bottom: 14px;
}
.metrics-list { list-style: none; margin: 24px 0 0; padding: 0; }
.metrics-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.metrics-list li:last-child { border-bottom: none; }
.metric-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--bg-alt);
  color: var(--sage-700);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.metric-text h4 {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 4px;
  letter-spacing: 0;
}
.metric-text p { font-size: 15px; color: var(--ink-soft); margin: 0; line-height: 1.55; }

/* ─── Team ─────────────────────────────────────────────────── */
.team-section {
  background: var(--bg-alt);
  padding: var(--section-y) var(--gutter);
}
.team-inner { max-width: var(--maxw); }
.team-header { margin-bottom: 56px; text-align: center; }
.team-header .label-caps { margin-bottom: 14px; display: inline-block; }
.team-header h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -.035em;
  color: var(--ink);
  margin-bottom: 16px;
}
.team-intro {
  font-size: 17px;
  color: var(--ink-soft);
  line-height: 1.65;
  max-width: 60ch;
  margin: 0 auto;
  text-align: center;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 56px;
}
.team-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.team-card img { display: block; width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.team-card-text { padding: 22px 22px 20px; }
.team-name { font-family: var(--serif); font-weight: 500; font-size: 1.25rem; color: var(--ink); letter-spacing: -.01em; }
.team-title { font-size: 13px; color: var(--sage-700); margin-top: 4px; letter-spacing: .02em; text-transform: uppercase; }
.team-role {
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.55;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.team-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}
.team-cta .serif-italic { font-family: var(--serif); font-style: italic; font-weight: 500; color: var(--forest); }

/* ─── Stats strip (dark) ──────────────────────────────────── */
.stats-strip { padding: var(--section-y) var(--gutter); }
.stats-strip h2 {
  font-family: var(--serif) !important;
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 3.2rem) !important;
  line-height: 1.05 !important;
  letter-spacing: -.035em;
  color: var(--on-dark) !important;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}
.stat-number {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.6rem, 5vw, 3.6rem);
  color: var(--on-dark);
  line-height: 1;
  margin-bottom: 10px;
  letter-spacing: -.03em;
}
.stat-number span { color: var(--sage-muted); font-weight: 500; }
.stat-label {
  font-size: 14px;
  color: var(--on-dark-soft);
  letter-spacing: .01em;
  line-height: 1.55;
}

/* ─── BHT comparison ──────────────────────────────────────── */
.bht-compare-section {
  background: var(--bg);
  padding: var(--section-y) var(--gutter);
}
.bht-inner { max-width: var(--maxw); margin: 0 auto; }
.bht-inner .label-caps { display: inline-block; margin-bottom: 14px; }
.bht-inner h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -.035em;
  color: var(--ink);
  margin-bottom: 16px;
}
.bht-inner h2 em { font-style: italic; font-weight: 500; color: var(--forest); }
.bht-intro {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--ink-soft);
  line-height: 1.65;
  max-width: 60ch;
  margin: 0 0 40px;
}
.faceoff {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 20px;
  align-items: start;
}
.fo-col {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.fo-head {
  padding: 18px 22px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.15rem;
  color: var(--ink);
  background: var(--bg-alt);
  letter-spacing: -.01em;
  display: flex;
  align-items: center;
  gap: 8px;
}
.fo-rail .fo-head { color: var(--sage-700); font-family: var(--sans); font-weight: 600; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; }
.fo-preva {
  background: var(--deep-teal);
  color: var(--on-dark);
  border-color: var(--deep-teal);
}
.fo-preva .fo-head { background: var(--forest-dark); color: var(--on-dark); }
.fo-preva .preva-mark {
  display: inline-flex;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--sage-muted);
  color: var(--forest-dark);
  align-items: center;
  justify-content: center;
}
.fo-preva .preva-mark svg { width: 12px; height: 12px; stroke: currentColor; fill: none; }
.fo-body { padding: 8px 22px 22px; display: flex; flex-direction: column; gap: 0; }
.fo-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  font-size: 15px;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line);
}
.fo-row:last-child { border-bottom: none; }
.fo-rail .fo-row { color: var(--ink); font-weight: 600; letter-spacing: -.01em; }
.fo-preva .fo-row { color: var(--on-dark-soft); border-bottom-color: rgba(247,244,238,.1); }
.fo-preva .fo-row .fo-text { color: var(--on-dark); }

.ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  flex-shrink: 0;
}
.ic svg { width: 12px; height: 12px; }
.ic-check { background: rgba(143,162,143,.24); color: var(--forest); }
.ic-cross { background: rgba(160,90,80,.15); color: #B95A4A; }
.ic-neutral { background: var(--bg-alt); color: var(--muted); }
/* Tradisjonell BHT: alle punkter i oransje (brukerbestilt) */
.fo-bht .ic, .mside-bht .ic { background: rgba(200,134,43,.16); color: var(--amber); }
.fo-preva .ic-check { background: var(--sage-muted); color: var(--forest-dark); }
.fo-preva .ic-neutral { background: rgba(247,244,238,.1); color: var(--sage-muted); }

.faceoff-mobile { display: none; }

.bht-foot {
  margin-top: 32px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--ink-soft);
}
.bht-foot .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sage); flex-shrink: 0; }

/* ─── How it works ────────────────────────────────────────── */
.how-it-works {
  background: var(--bg-alt);
  padding: var(--section-y) var(--gutter);
}
.how-two-col {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: clamp(32px, 6vw, 72px);
  align-items: start;
}
.how-left .label-caps { display: inline-block; margin-bottom: 14px; }
.how-left h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -.035em;
  color: var(--ink);
  margin-bottom: 22px;
}
.how-left h2 em { font-style: italic; font-weight: 500; color: var(--forest); }
.how-left .how-body {
  font-size: clamp(1rem, 1.4vw, 1.1rem);
  color: var(--ink-soft);
  line-height: 1.7;
  max-width: 46ch;
}
.how-right { display: flex; flex-direction: column; gap: 0; padding-top: 6px; }
/* Tall til venstre, tekst til høyre — horisontalt per punkt */
.how-step {
  display: grid;
  grid-template-columns: 64px 1fr;
  column-gap: 20px;
  align-items: start;
  padding: 24px 0;
  border-top: 1px solid var(--line);
}
.how-step:first-child { border-top: none; padding-top: 0; }
.how-step-number {
  grid-row: 1 / span 2;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 2.4rem;
  color: var(--sage-700);
  line-height: 1;
  margin: 0;
  padding-top: 3px;
  letter-spacing: -.03em;
}
.how-step-divider { display: none; }
.how-step h3 {
  grid-column: 2;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.35rem;
  color: var(--ink);
  margin-bottom: 6px;
  letter-spacing: -.02em;
}
.how-step p { grid-column: 2; font-size: 15px; color: var(--ink-soft); line-height: 1.6; }

/* ─── Proaktiv flow (5 steps) ─────────────────────────────── */
.proaktiv-section {
  background: var(--bg);
  padding: var(--section-y) var(--gutter);
}
.proaktiv-inner .label-caps { display: inline-block; margin-bottom: 14px; }
.proaktiv-inner h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -.035em;
  color: var(--ink);
  margin-bottom: 18px;
}
.proaktiv-inner h2 em { font-style: italic; font-weight: 500; color: var(--forest); }
.proaktiv-statement {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--ink-soft);
  max-width: 62ch;
  line-height: 1.6;
  margin-bottom: 48px;
}
/* Fem kort trenger mer bredde enn 1120-rammen for å puste */
.proaktiv-section .proaktiv-inner { max-width: 1360px; }
.proaktiv-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}
.proaktiv-step {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 24px 30px;
  box-shadow: var(--shadow-soft);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.proaktiv-step:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.proaktiv-step--highlight {
  background: var(--deep-teal);
  color: var(--on-dark);
  border-color: var(--deep-teal);
}
.proaktiv-step-number {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 2.2rem;
  color: var(--sage-700);
  line-height: 1;
  margin-bottom: 12px;
  letter-spacing: -.03em;
}
.proaktiv-step--highlight .proaktiv-step-number { color: var(--sage-muted); }
.proaktiv-step-divider { height: 1px; background: var(--line); margin: 6px 0 14px; }
.proaktiv-step--highlight .proaktiv-step-divider { background: rgba(247,244,238,.14); }
.proaktiv-step h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.22rem;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 10px;
  letter-spacing: -.01em;
}
.proaktiv-step--highlight h3 { color: var(--on-dark); }
.proaktiv-step p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.58; }
@media (max-width: 1240px) {
  .proaktiv-steps { grid-template-columns: repeat(3, 1fr); }
}
.proaktiv-step--highlight p { color: var(--on-dark-soft); }

/* ─── Testimonials ────────────────────────────────────────── */
.testimonials {
  background: var(--bg-alt);
  padding: var(--section-y) var(--gutter);
}
.testimonials-header { margin: 0 auto 56px; max-width: var(--maxw); }
.testimonials-header .label-caps { display: inline-block; margin-bottom: 14px; }
.testimonials-header h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -.035em;
  color: var(--ink);
  max-width: 22ch;
}
.testimonials-header h2 em { font-style: italic; font-weight: 500; color: var(--forest); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 30px;
  box-shadow: var(--shadow-soft);
}
.testimonial-quote {
  font-family: var(--serif);
  font-weight: 500;
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1.45;
  color: var(--ink);
  margin-bottom: 24px;
  letter-spacing: -.01em;
}
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.author-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--bg-alt);
  color: var(--sage-700);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 17px;
}
.author-name { font-size: 14px; font-weight: 600; color: var(--ink); }
.author-role { font-size: 13px; color: var(--muted); }

/* ─── Datavern ────────────────────────────────────────────── */
.datavern-section { padding: var(--section-y) var(--gutter); }
.datavern-inner .label-caps { color: var(--sage-muted); display: inline-block; margin-bottom: 14px; }
.datavern-inner h2 {
  font-family: var(--serif) !important;
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 3.2rem) !important;
  line-height: 1.05;
  letter-spacing: -.035em;
  color: var(--on-dark) !important;
  margin-bottom: 16px;
}
.datavern-inner > p {
  font-size: clamp(1rem, 1.5vw, 1.15rem) !important;
  color: var(--on-dark-soft) !important;
  margin: 0 0 40px !important;
  max-width: 60ch;
}
.datavern-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.datavern-card {
  background: rgba(247,244,238,.05);
  border: 1px solid rgba(247,244,238,.14);
  border-radius: var(--radius-lg);
  padding: 28px;
  color: var(--on-dark);
}
.datavern-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(168,183,159,.18);
  color: var(--sage-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.datavern-card h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.2rem;
  color: var(--on-dark);
  margin-bottom: 8px;
  letter-spacing: -.01em;
}
.datavern-card p { font-size: 14.5px; color: var(--on-dark-soft); line-height: 1.55; }

/* ─── Booking form ────────────────────────────────────────── */
.booking-section {
  background: var(--bg-alt);
  padding: var(--section-y) var(--gutter);
}
.booking-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.booking-inner .label-caps { display: inline-block; margin-bottom: 14px; }
.booking-inner h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -.035em;
  color: var(--ink);
  margin-bottom: 16px;
}
.booking-subtext {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--ink-soft);
  line-height: 1.6;
  max-width: 50ch;
  margin: 0 auto;
}
.booking-form-wrap {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-soft);
  margin-top: 40px;
  text-align: left;
}
.booking-fields { display: flex; flex-direction: column; gap: 18px; }
.booking-field label {
  display: block;
  font-family: var(--sans);
  font-size: .85rem;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: .45rem;
  text-transform: none;
  letter-spacing: 0;
}
.booking-field input,
.booking-field select,
.booking-field textarea {
  width: 100%;
  padding: .85em 1em;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-family: inherit;
  color: var(--ink);
  background: var(--bg);
  outline: none;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
  appearance: none;
  -webkit-appearance: none;
}
.booking-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2344534E' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}
.booking-field input:focus,
.booking-field select:focus,
.booking-field textarea:focus {
  border-color: var(--sage);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--sage) 18%, transparent);
}
.booking-field textarea { resize: vertical; }
.booking-submit {
  width: 100%;
  margin-top: 8px;
  padding: .95em 1.6em;
  font-size: 1rem;
  font-weight: 600;
  font-family: inherit;
  min-height: 52px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  color: var(--on-dark);
  background: var(--grad-button);
  box-shadow: var(--shadow-button);
  transition: transform .18s var(--ease), box-shadow .2s var(--ease);
}
.booking-submit:hover { transform: translateY(-1px); box-shadow: 0 12px 26px rgba(14,77,82,.28); }
.form-success h3 {
  font-family: var(--serif) !important;
  font-weight: 500;
  color: var(--ink);
}
.form-success p { color: var(--ink-soft) !important; }

/* ─── CTA section ─────────────────────────────────────────── */
.cta-section {
  padding: var(--section-y) var(--gutter);
  text-align: center;
}
.cta-section .label-caps { display: inline-block; margin-bottom: 18px; }
.cta-section h2 {
  font-family: var(--serif) !important;
  font-weight: 400;
  font-size: clamp(2.4rem, 5vw, 4rem) !important;
  color: var(--on-dark) !important;
  line-height: 1.02 !important;
  letter-spacing: -.035em;
  max-width: 22ch;
  margin: 0 auto 20px;
}
.cta-section h2 em { font-style: italic; font-weight: 500; color: var(--sage-muted); }
.cta-section p {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--on-dark-soft);
  max-width: 52ch;
  margin: 0 auto 40px;
  line-height: 1.6;
}
.cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.cta-section .btn-gold { background: var(--on-dark); color: var(--sage-deep); border-color: transparent; box-shadow: none; }
.cta-section .btn-gold:hover { background: #fff; color: var(--sage-deep); box-shadow: 0 12px 26px rgba(0,0,0,.24); }

/* ─── Footer ──────────────────────────────────────────────── */
.site-footer {
  background: var(--petrol-night);
  color: var(--on-dark-soft);
  padding: 72px var(--gutter) 32px;
}
.site-footer-inner { max-width: var(--maxw); }
.site-footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: start;
}
.site-footer-left { max-width: 380px; text-align: left; }
.site-footer-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}
.site-footer-logo img {
  width: auto;
  margin: 0;
  filter: brightness(0) invert(1);
  opacity: .96;
}
.site-footer-logo .logo-mark { height: 56px; }
.site-footer-logo .logo-word { height: 18px; }
.site-footer-left p {
  font-size: 15px !important;
  color: var(--on-dark-soft) !important;
  line-height: 1.6 !important;
  max-width: 32ch;
  margin-bottom: 24px !important;
}
.site-footer-left p[style*="uppercase"] {
  font-size: .76rem !important;
  color: rgba(247,244,238,.55) !important;
  text-transform: uppercase;
  letter-spacing: .16em !important;
  margin-bottom: 12px !important;
}
.site-footer-newsletter-form {
  display: flex;
  max-width: 320px;
  gap: 0;
  border: 1px solid rgba(247,244,238,.2);
  border-radius: 999px;
  overflow: hidden;
  background: rgba(247,244,238,.06);
}
.site-footer-newsletter-form input {
  flex: 1;
  padding: 12px 18px;
  background: transparent;
  border: none;
  outline: none;
  font-family: inherit;
  font-size: 14px;
  color: var(--on-dark);
}
.site-footer-newsletter-form input::placeholder { color: rgba(247,244,238,.5); }
.site-footer-newsletter-form button {
  padding: 12px 20px;
  background: var(--forest);
  color: var(--on-dark);
  border: none;
  cursor: pointer;
  font-size: 18px;
  transition: background .2s var(--ease);
}
.site-footer-newsletter-form button:hover { background: var(--sage-deep); }

.site-footer-top > div:last-child > p:first-child {
  font-size: .76rem !important;
  color: rgba(247,244,238,.55) !important;
  text-transform: uppercase;
  letter-spacing: .16em !important;
  margin-bottom: 20px !important;
}
.site-footer-col-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.site-footer-col-links a {
  font-size: .95rem;
  color: var(--on-dark-soft);
  text-decoration: none;
  transition: color .18s var(--ease);
}
.site-footer-col-links a:hover { color: var(--on-dark); }
/* «Utviklet av:»-etiketten har inline 40 % hvit — løft til lesbart nivå */
.site-footer-top > div:last-child div p { color: rgba(247,244,238,.62) !important; }

.site-footer-divider {
  border: none;
  border-top: 1px solid rgba(247,244,238,.12);
  margin: 40px 0 24px;
}
.site-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.site-footer-bottom > p {
  font-size: .82rem !important;
  color: rgba(247,244,238,.55) !important;
}
.site-footer-legal {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}
.site-footer-legal a {
  font-size: .82rem !important;
  color: rgba(247,244,238,.64) !important;
  text-decoration: none;
  transition: color .18s var(--ease);
}
.site-footer-legal a:hover { color: var(--on-dark) !important; }

/* Legacy footer (used elsewhere) */
footer.site-footer + * { display: none; }

/* ─── Scroll reveal ───────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ─── Responsive ──────────────────────────────────────────── */
@media (max-width: 1100px) {
  .hero-phone { display: none; }
}

@media (max-width: 980px) {
  .nav-topbar { display: none; }
  /* Mobil: logo sentrert, burger helt til høyre */
  .nav { top: 0; grid-template-columns: 1fr auto 1fr; gap: 12px; padding: .85rem 20px; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; grid-column: 3; justify-self: end; }
  .nav-logo { grid-column: 2; justify-self: center; gap: 10px; }
  .nav-logo .logo-mark, .nav.scrolled .nav-logo .logo-mark { height: 42px; }
  .nav-logo .logo-word, .nav.scrolled .nav-logo .logo-word { height: 16px; }
  .nav-cta { display: none; }

  .hero-cards { display: none; }
  .hero-content { padding: 132px var(--gutter) 60px; max-width: none; }

  .product-cards { grid-template-columns: 1fr; }
  .features-scroll { grid-template-columns: 1fr; }
  .features-scroll .feature-card:last-child { grid-column: auto; }

  .team-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .datavern-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; gap: 16px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }
  .proaktiv-steps { grid-template-columns: repeat(2, 1fr); }

  .ansatt-grid { grid-template-columns: 1fr; gap: 32px; }
  .editorial-grid { grid-template-columns: 1fr; gap: 32px; }
  .how-two-col { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 860px) {
  /* Mobil-hero: fyller skjermen. Tekst øverst med luft under headeren, knappene nederst. */
  .hero { align-items: stretch; min-height: 100svh; }
  /* Skyv den mørke venstresiden av fotoet bak teksten; mørk topp for tekst, lysere midt, litt mørkere bunn for knappene */
  .hero-bg img { object-position: 28% center; }
  .hero-bg::after {
    background:
      linear-gradient(180deg,
        rgba(6,26,27,0.90) 0%,
        rgba(6,26,27,0.78) 38%,
        rgba(6,26,27,0.42) 68%,
        rgba(6,26,27,0.62) 100%);
  }
  .hero-content {
    display: flex;
    flex-direction: column;
    min-height: 100svh;
    padding: 124px 20px 40px;
  }
  .hero-caption { font-size: .78rem; margin-bottom: 14px; color: rgba(247,244,238,.88); }
  .hero-content h1 { font-size: clamp(2rem, 8.5vw, 2.6rem); margin-bottom: 18px; }
  .hero-body, .hero-body-mobile { margin-bottom: 0; }
  .hero-actions { margin-top: auto; padding-top: 40px; gap: 10px; }
  .hero-body, .hero-body-mobile { color: rgba(247,244,238,.92); }
}

@media (max-width: 760px) {
  .hero-actions .btn,
  .cta-actions .btn { width: 100%; }
  .team-cta { flex-direction: column; }
  .booking-form-wrap { padding: 28px 22px; }
  /* Produktkort på mobil: høyere format så bildet får plass over teksten */
  .product-card { aspect-ratio: 4 / 5; }
  .product-card-content { padding: 24px 22px; }

  .faceoff { display: none; }
  .faceoff-mobile { display: flex; flex-direction: column; gap: 16px; }
  .mcard {
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow-soft);
  }
  .mcard-dim {
    font-family: var(--sans);
    font-size: .76rem;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--sage-700);
    margin-bottom: 14px;
  }
  .mside {
    display: grid;
    grid-template-columns: auto auto 1fr;
    gap: 10px;
    align-items: center;
    padding: 10px 0;
  }
  .mside + .mside { border-top: 1px solid var(--line); }
  .mtag {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 999px;
    background: var(--bg-alt);
    color: var(--sage-700);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
  }
  .mside-preva .mtag { background: var(--deep-teal); color: var(--sage-muted); }
  .mtext { font-size: 14px; color: var(--ink-soft); }

  .site-footer-top { grid-template-columns: 1fr; gap: 32px; }
  .site-footer-bottom { flex-direction: column; align-items: flex-start; }

  .stats-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  /* Fagpersonene: to og to i bredden på mobil, kompakt korttekst */
  .team-grid { grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 40px; }
  .team-card-text { padding: 14px 14px 16px; }
  .team-name { font-size: 1.1rem; }
  .team-title { font-size: 11.5px; }
  .team-role { font-size: 12.5px; line-height: 1.5; margin-top: 10px; padding-top: 10px; }
  .proaktiv-steps { grid-template-columns: 1fr; }

  .hero-body { display: none; }
  .hero-body-mobile { display: block; font-size: 1rem; }
  /* Hero-statistikken (724 / 38 år / 78 %) vises ikke lenger på mobil — markup står, base-regelen skjuler den */
}

/* Grid safety */
.faceoff > *, .team-grid > *, .stats-grid > *, .proaktiv-steps > *,
.testimonials-grid > *, .features-scroll > *, .datavern-grid > * {
  min-width: 0;
}
p, li { overflow-wrap: anywhere; hyphens: auto; }
/* Overskrifter skal ikke orddeles — bare bryte ved behov */
h1, h2, h3, h4 { overflow-wrap: break-word; hyphens: manual; }

/* Print / mobile-only helpers */
@media (max-width: 767px) {
  .helseindeks-video { max-width: 100%; }
}

/* ─────────────────────────────────────────────────────────────
   TJENESTER.HTML — sider som kun brukes der
   ───────────────────────────────────────────────────────────── */

/* Enkel hero (uten bilde) på tjenester */
body:has(.tilpassning-section) .hero {
  min-height: auto;
  padding: calc(var(--section-y) + 60px) var(--gutter) var(--section-y);
  display: block;
  align-items: start;
  background: var(--bg);
}
body:has(.tilpassning-section) .hero .hero-content {
  padding: 0;
  max-width: var(--maxw);
  margin: 0 auto;
}
body:has(.tilpassning-section) .hero .hero-caption {
  color: var(--sage-700);
}
body:has(.tilpassning-section) .hero h1 {
  color: var(--ink);
  font-size: clamp(2.6rem, 6vw, 4.6rem);
}
body:has(.tilpassning-section) .hero .hero-body {
  color: var(--ink-soft);
  max-width: 46ch;
}
body:has(.tilpassning-section) .hero-bg,
body:has(.tilpassning-section) .hero-bg::after,
body:has(.tilpassning-section) .hero-visual,
body:has(.tilpassning-section) .hero-cards,
body:has(.tilpassning-section) .hero-phone { display: none !important; }

/* Section-header (tittel + intro) block */
.section-header {
  max-width: var(--maxw);
  margin: 0 auto 48px;
}
.section-header h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -.035em;
  color: var(--ink);
  margin-bottom: 16px;
}
.section-header h2 em { font-style: italic; font-weight: 500; color: var(--forest); }
.section-header p {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--ink-soft);
  line-height: 1.6;
  max-width: 60ch;
}

/* Tilpassning */
.tilpassning-section {
  background: var(--bg);
  padding: var(--section-y) var(--gutter);
}
.tilpassning-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: var(--maxw);
  margin: 0 auto;
}
.tilpassning-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-soft);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.tilpassning-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.tilpassning-number {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 2.2rem;
  color: var(--sage-700);
  line-height: 1;
  margin-bottom: 14px;
  letter-spacing: -.03em;
}
.tilpassning-card h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.3rem;
  color: var(--ink);
  margin-bottom: 10px;
  letter-spacing: -.02em;
}
.tilpassning-card p { font-size: 15px; color: var(--ink-soft); line-height: 1.6; }

/* Tjenester-section (ytre wrapper) */
.tjenester-section {
  background: var(--bg-alt);
  padding: var(--section-y) 0;
}
.tjenester-section > .section {
  padding: 0 var(--gutter);
  margin-bottom: 72px;
}
.tjenester-section > .section:last-child { margin-bottom: 0; }
.slider-section-header {
  max-width: var(--maxw);
  margin: 0 auto 32px;
}
.slider-section-header .section-header {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1.05;
  letter-spacing: -.035em;
  color: var(--ink);
  margin-bottom: 10px;
  max-width: 20ch;
}
.section-subtext {
  font-size: clamp(.98rem, 1.4vw, 1.08rem);
  color: var(--ink-soft);
  line-height: 1.6;
  max-width: 55ch;
}

/* Slider (horisontal scrollrekke med kort) */
.slider-wrapper {
  max-width: var(--maxw);
  margin: 0 auto;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  padding-bottom: 8px;
}
.slider-wrapper::-webkit-scrollbar { height: 6px; }
.slider-wrapper::-webkit-scrollbar-thumb { background: var(--greige); border-radius: 3px; }
.slider {
  display: flex;
  gap: 18px;
  padding: 4px 4px 20px;
}
.slider-card-item {
  flex: 0 0 280px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.slider-card {
  position: relative;
  height: 380px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--deep-teal);
  color: var(--on-dark);
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.slider-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.slider-card-image {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.slider-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.slider-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6,26,27,.9) 0%, rgba(6,26,27,.35) 55%, rgba(6,26,27,.05) 100%);
  z-index: 1;
}
.slider-card-content {
  position: relative;
  z-index: 2;
  padding: 16px 20px 0;
}
.slider-card-content:last-child { padding: 8px 20px 22px; }
.card-label {
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--sage-muted);
}
.card-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.25rem;
  line-height: 1.15;
  color: var(--on-dark);
  letter-spacing: -.02em;
}
.card-title em { font-style: italic; font-weight: 500; color: rgba(255,244,220,.94); }
.card-toggle-icon {
  display: inline-block;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(247,244,238,.14);
  border: 1px solid rgba(247,244,238,.28);
  margin-top: 12px;
  position: relative;
  transition: background .2s var(--ease), transform .3s var(--ease);
}
.card-toggle-icon::before,
.card-toggle-icon::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  background: var(--on-dark);
  transition: transform .3s var(--ease);
}
.card-toggle-icon::before { width: 10px; height: 1.5px; }
.card-toggle-icon::after { width: 1.5px; height: 10px; }
.slider-card.card-active .card-toggle-icon { background: var(--sage-muted); }
.slider-card.card-active .card-toggle-icon::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.slider-card-content:last-child {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
}

.card-expand-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .5s var(--ease), opacity .3s var(--ease), border-color .3s var(--ease);
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid transparent;
  opacity: 0;
}
.card-expand-panel > .card-expand-inner { min-height: 0; overflow: hidden; }
.card-expand-panel.is-open {
  grid-template-rows: 1fr;
  opacity: 1;
  border-color: var(--line);
  box-shadow: var(--shadow-soft);
}
.card-expand-inner { padding: 20px 22px; }
.card-expand-inner p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.6; }

.scroll-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 8px 0 0 4px;
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 600;
  color: var(--sage-700);
  letter-spacing: .12em;
  text-transform: uppercase;
}
.scroll-arrow svg { width: 14px; height: 14px; }

/* Cards-grid + numbered cards (kompetanse/arbeidsplass) */
.tjenester-section .section-intro {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--ink-soft);
  line-height: 1.6;
  max-width: 60ch;
  margin: -12px auto 28px;
}
.tjenester-section .cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: var(--maxw);
  margin: 0 auto;
}
.numbered-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px 26px 28px;
  box-shadow: var(--shadow-soft);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.numbered-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.card-heading {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.25rem;
  color: var(--ink);
  margin-bottom: 10px;
  letter-spacing: -.02em;
}
.card-text { font-size: 15px; color: var(--ink-soft); line-height: 1.6; }

/* Eksempel section */
.eksempel-section {
  background: var(--bg);
  padding: var(--section-y) var(--gutter);
}
.eksempel-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: var(--maxw);
  margin: 0 auto;
}
.eksempel-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  box-shadow: var(--shadow-soft);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.eksempel-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.eksempel-meta {
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--sage-700);
  margin-bottom: 20px;
}
.eksempel-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  border-top: 1px solid var(--line);
}
.eksempel-list li {
  position: relative;
  padding: 12px 0 12px 22px;
  font-size: 15px;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.eksempel-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 20px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--sage);
}
.eksempel-forklaring {
  font-size: 14px;
  color: var(--ink-soft);
  font-style: italic;
  line-height: 1.6;
  padding-top: 4px;
}

/* Inkludert section */
.inkludert-section {
  background: var(--bg-alt);
  padding: var(--section-y) var(--gutter);
}
.inkludert-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px 32px;
  max-width: var(--maxw);
  margin: 0 auto;
}
.inkludert-item {
  padding: 18px 0 22px 22px;
  border-left: 2px solid var(--sage);
  position: relative;
}
.inkludert-item h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.2rem;
  color: var(--ink);
  margin-bottom: 6px;
  letter-spacing: -.02em;
}
.inkludert-item p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.55; }

/* CTA-section på tjenester (annerledes enn index sin CTA) */
.cta-section .section-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.cta-section .section-body {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--on-dark-soft);
  max-width: 52ch;
  margin: 0 auto 36px;
  line-height: 1.6;
}
.cta-note {
  margin-top: 26px;
  font-size: 13px;
  color: rgba(247,244,238,.6);
  letter-spacing: .04em;
}

@media (max-width: 980px) {
  .tilpassning-cards,
  .tjenester-section .cards-grid,
  .eksempel-grid { grid-template-columns: 1fr 1fr; }
  .inkludert-grid { grid-template-columns: 1fr 1fr; }
  .slider-card-item { flex-basis: 240px; }
}
@media (max-width: 760px) {
  .tilpassning-cards,
  .tjenester-section .cards-grid,
  .eksempel-grid,
  .inkludert-grid { grid-template-columns: 1fr; }
  body:has(.tilpassning-section) .hero { padding-top: 132px; }
}
