/* Helhetlig Healing – demo. Skoggrønn + gull fra logoen, krem fra originalsiden. */

@font-face {
  font-family: "Jost";
  src: url("/assets/fonts/Jost.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("/assets/fonts/SourceSans3.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("/assets/fonts/SourceSans3-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

:root {
  --green: #1a3c0a;
  --green-deep: #112807;
  --green-mid: #2a5a1a;
  --gold: #c9a24e;
  --gold-light: #e6cd8a;
  --gold-soft: #f3e7c6;
  --cream: #fbfaf3;
  --sage: #eef2e6;
  --ink: #1e241c;
  --ink-soft: #4b554a;
  --line: #dbe2d1;
  --white: #ffffff;
  --aurora: #4e9c68;

  --font-head: "Jost", "Futura", "Trebuchet MS", sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", Helvetica, Arial, sans-serif;

  --wrap: 1140px;
  --gutter: clamp(1rem, 4vw, 2rem);
  --radius: 8px;
  --section: clamp(3.5rem, 8vw, 6.5rem);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 500;
  line-height: 1.15;
  margin: 0 0 0.6em;
  color: inherit;
  letter-spacing: -0.005em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 5.2vw, 3.9rem); }
h2 { font-size: clamp(1.85rem, 3.2vw, 2.6rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--green); text-decoration-thickness: 1px; text-underline-offset: 0.15em; }
a:hover { color: var(--green-mid); }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

.lead { font-size: 1.3rem; line-height: 1.5; color: var(--ink-soft); max-width: 40em; }

.skip {
  position: absolute; left: 1rem; top: -4rem;
  background: var(--gold); color: var(--ink); padding: 0.6rem 1rem; border-radius: 4px; z-index: 100;
}
.skip:focus { top: 1rem; }

/* Knapper ------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: var(--font-head); font-weight: 500; font-size: 1.05rem; line-height: 1;
  padding: 0.95rem 1.5rem; border-radius: 6px; text-decoration: none; border: 1.5px solid transparent;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}
.btn--gold { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.btn--gold:hover { background: var(--gold-light); border-color: var(--gold-light); color: var(--ink); }
.btn--green { background: var(--green); color: var(--cream); border-color: var(--green); }
.btn--green:hover { background: var(--green-mid); border-color: var(--green-mid); color: var(--cream); }
.btn--outline { background: transparent; color: var(--green); border-color: var(--green); }
.btn--outline:hover { background: var(--sage); }
.btn--outline-light { background: transparent; color: var(--cream); border-color: rgba(251, 250, 243, 0.55); }
.btn--outline-light:hover { border-color: var(--cream); background: rgba(255, 255, 255, 0.08); color: var(--cream); }
.btn--lg { font-size: 1.15rem; padding: 1.1rem 1.8rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* Header -------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  min-height: 78px;
}
.brand { display: flex; align-items: center; gap: 0.8rem; text-decoration: none; color: var(--ink); position: relative; z-index: 2; }
.brand__logo { width: 52px; height: 52px; border-radius: 50%; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name { font-family: var(--font-head); font-weight: 500; font-size: 1.25rem; color: var(--green); }
.brand__sub { font-size: 0.85rem; color: var(--ink-soft); }

.site-nav { display: flex; align-items: center; gap: 1.5rem; }
.site-nav__list { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.4rem; }
.site-nav__list a {
  font-family: var(--font-head); font-weight: 500; font-size: 1rem; color: var(--ink); text-decoration: none;
  padding: 0.4rem 0; border-bottom: 2px solid transparent;
}
.site-nav__list a:hover, .site-nav__list a[aria-current="page"] { border-bottom-color: var(--gold); color: var(--green); }
.site-nav__phone { font-family: var(--font-head); font-weight: 500; font-size: 1.05rem; color: var(--green); text-decoration: none; white-space: nowrap; }
.site-nav__phone:hover { color: var(--green-mid); text-decoration: underline; }

.nav-toggle {
  display: none; align-items: center; gap: 0.6rem;
  background: none; border: 1.5px solid var(--line); border-radius: 6px; padding: 0.55rem 0.8rem;
  font-family: var(--font-head); font-weight: 500; font-size: 1rem; color: var(--ink); cursor: pointer;
  position: relative; z-index: 2;
}
.nav-toggle__bars { position: relative; width: 20px; height: 2px; background: var(--ink); display: block; }
.nav-toggle__bars::before, .nav-toggle__bars::after {
  content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: var(--ink); transition: transform 0.2s ease;
}
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }
.nav-open .nav-toggle__bars { background: transparent; }
.nav-open .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 899px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none; position: fixed; inset: 78px 0 0 0; background: var(--cream);
    flex-direction: column; align-items: stretch; padding: 1rem var(--gutter) 2rem; gap: 1rem; overflow-y: auto; z-index: 40;
  }
  .nav-open .site-nav { display: flex; }
  .site-nav__list { flex-direction: column; gap: 0; }
  .site-nav__list a { display: block; padding: 0.9rem 0; font-size: 1.2rem; border-bottom: 1px solid var(--line); }
  .site-nav__list a[aria-current="page"], .site-nav__list a:hover { border-bottom-color: var(--line); color: var(--green); }
  .site-nav__phone { font-size: 1.2rem; padding: 0.9rem 0; }
  .nav-open { overflow: hidden; }
}

/* Hero ---------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--green-deep); color: var(--cream);
  padding-block: clamp(3rem, 7vw, 5.5rem);
}
.hero::before, .hero::after {
  content: ""; position: absolute; inset: -20%; pointer-events: none;
}
.hero::before {
  background:
    radial-gradient(55% 45% at 72% 22%, rgba(78, 156, 104, 0.55), transparent 70%),
    radial-gradient(40% 40% at 88% 70%, rgba(201, 162, 78, 0.28), transparent 70%),
    radial-gradient(45% 50% at 15% 90%, rgba(42, 90, 26, 0.6), transparent 70%);
  animation: aurora 30s ease-in-out infinite alternate;
}
.hero::after {
  background: radial-gradient(35% 30% at 60% 40%, rgba(230, 205, 138, 0.16), transparent 70%);
  animation: aurora 42s ease-in-out infinite alternate-reverse;
}
@keyframes aurora {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(3%, -2%, 0) scale(1.06); }
}
@media (prefers-reduced-motion: reduce) {
  .hero::before, .hero::after { animation: none; }
}
.hero__inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
}
.hero h1 { color: var(--cream); margin-bottom: 0.5em; }
.hero__lead { font-size: 1.3rem; line-height: 1.5; color: rgba(251, 250, 243, 0.86); max-width: 34em; margin-bottom: 1.6rem; }
.hero__contact { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.1rem; margin: 0; color: rgba(251, 250, 243, 0.85); }
.hero__contact a:not(.btn) { color: var(--gold-light); }
.hero__contact a:not(.btn):hover { color: var(--gold); }
.hero__figure { margin: 0; position: relative; justify-self: end; width: min(100%, 440px); }
.hero__frame { position: relative; }
.hero__frame::before {
  content: ""; position: absolute; inset: 14px -14px -14px 14px; border: 1px solid rgba(201, 162, 78, 0.7); border-radius: var(--radius); pointer-events: none;
}
.hero__frame img {
  width: 100%; aspect-ratio: 4 / 5; height: auto; object-fit: cover; object-position: 50% 28%;
  border-radius: var(--radius); position: relative;
}
.hero__caption { margin-top: 1.4rem; font-size: 0.95rem; color: rgba(251, 250, 243, 0.75); }

@media (max-width: 899px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__figure { justify-self: start; width: min(100%, 380px); order: -1; }
  .hero__frame img { aspect-ratio: 4 / 4.6; }
}

/* Seksjoner ----------------------------------------------------------- */
.section { padding-block: var(--section); }
.section--sage { background: var(--sage); }
.section--white { background: var(--white); }
.section__head { max-width: 46em; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section__head h2 { margin-bottom: 0.4em; }
.section__head p { color: var(--ink-soft); font-size: 1.15rem; }

/* Tjenester */
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 2.5rem); }
.service { display: flex; flex-direction: column; }
.service__img { aspect-ratio: 4 / 3; width: 100%; height: auto; object-fit: cover; border-radius: var(--radius); margin-bottom: 1.1rem; }
.service h3 { margin-bottom: 0.4em; }
.service p { color: var(--ink-soft); margin-bottom: 0.9em; }
.service__link { font-family: var(--font-head); font-weight: 500; margin-top: auto; }
@media (max-width: 899px) { .services { grid-template-columns: 1fr 1fr; } }
@media (max-width: 599px) { .services { grid-template-columns: 1fr; } }

/* Slik foregår det – grønn stripe */
.steps-band {
  position: relative; overflow: hidden;
  background: var(--green); color: var(--cream); padding-block: var(--section);
}
.steps-band::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(50% 60% at 100% 0%, rgba(78, 156, 104, 0.35), transparent 70%),
    radial-gradient(40% 50% at 0% 100%, rgba(201, 162, 78, 0.18), transparent 70%);
}
.steps-band .wrap { position: relative; }
.steps-band h2 { color: var(--cream); }
.steps-band .section__head p { color: rgba(251, 250, 243, 0.8); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.5rem; counter-reset: steg; position: relative; }
.steps::before {
  content: ""; position: absolute; left: 22px; right: 22px; top: 22px; height: 1px; background: rgba(201, 162, 78, 0.45);
}
.step { position: relative; counter-increment: steg; padding-top: 3.4rem; }
.step::before {
  content: counter(steg); position: absolute; left: 0; top: 0;
  width: 44px; height: 44px; border-radius: 50%; background: var(--gold); color: var(--ink);
  font-family: var(--font-head); font-weight: 600; font-size: 1.15rem; display: grid; place-items: center;
  box-shadow: 0 0 0 6px var(--green);
}
.step h3 { font-size: 1.2rem; margin-bottom: 0.35em; color: var(--cream); }
.step p { color: rgba(251, 250, 243, 0.8); font-size: 1rem; }
@media (max-width: 899px) {
  .steps { grid-template-columns: 1fr; gap: 0.5rem; }
  .steps::before { left: 22px; right: auto; top: 22px; bottom: 40px; width: 1px; height: auto; }
  .step { padding-top: 0; padding-left: 4rem; padding-bottom: 1.6rem; }
}
.steps-band__note { margin: clamp(2rem, 4vw, 3rem) 0 0; color: rgba(251, 250, 243, 0.8); }

/* Om – todelt */
.split { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.split__figure { margin: 0; position: relative; }
.split__figure::before {
  content: ""; position: absolute; inset: 18px -18px -18px 18px; background: var(--gold-soft); border-radius: var(--radius); z-index: 0;
}
.split__figure img { position: relative; z-index: 1; width: 100%; aspect-ratio: 4 / 5; height: auto; object-fit: cover; object-position: 50% 25%; border-radius: var(--radius); }
.split__text p { color: var(--ink-soft); }
.split__text p.lead { color: var(--ink); }
@media (max-width: 899px) {
  .split { grid-template-columns: 1fr; }
  .split__figure { max-width: 380px; }
}

/* Pris */
.price-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.price-grid p { color: var(--ink-soft); }
.price-card { background: var(--white); border-top: 4px solid var(--gold); border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.5rem); }
.price-card__amount { font-family: var(--font-head); font-weight: 500; font-size: clamp(3rem, 6vw, 4rem); line-height: 1; color: var(--green); }
.price-card__amount small { font-size: 0.4em; color: var(--ink-soft); font-weight: 400; margin-left: 0.3em; }
.price-card__note { font-style: italic; color: var(--ink-soft); margin: 0.75rem 0 1.5rem; font-size: 1rem; }
.price-card dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 0.5rem 1.25rem; border-top: 1px solid var(--line); padding-top: 1.25rem; }
.price-card dt { font-family: var(--font-head); font-weight: 500; color: var(--ink); }
.price-card dd { margin: 0; color: var(--ink-soft); }
@media (max-width: 899px) { .price-grid { grid-template-columns: 1fr; } }

/* FAQ */
.faq { max-width: 52em; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.1rem 0; font-family: var(--font-head); font-weight: 500; font-size: 1.2rem; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 12px; height: 12px; border-right: 2px solid var(--green); border-bottom: 2px solid var(--green);
  transform: rotate(45deg); transition: transform 0.2s ease; margin-right: 4px;
}
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq summary:hover { color: var(--green); }
.faq details p { padding: 0 0 1.25rem; color: var(--ink-soft); max-width: 46em; }

/* Kontakt (global) */
.contact { background: var(--green-deep); color: var(--cream); padding-block: var(--section); }
.contact__inner { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.contact h2 { color: var(--cream); }
.contact__text p { color: rgba(251, 250, 243, 0.85); max-width: 36em; }
.contact__phone {
  display: inline-block; font-family: var(--font-head); font-weight: 500; font-size: clamp(2rem, 4.5vw, 3rem); color: var(--gold-light);
  text-decoration: none; margin: 0.5rem 0 1.5rem; letter-spacing: 0.01em;
}
.contact__phone:hover { color: var(--gold); }
.contact__phone--dark { color: var(--green); margin-bottom: 1rem; }
.contact__phone--dark:hover { color: var(--green-mid); }
.contact__facts { margin: 0; display: grid; gap: 0.9rem; border-left: 1px solid rgba(201, 162, 78, 0.5); padding-left: 1.5rem; }
.contact__facts dt { font-size: 0.9rem; color: rgba(251, 250, 243, 0.65); }
.contact__facts dd { margin: 0; font-family: var(--font-head); font-weight: 500; font-size: 1.15rem; }
.contact__facts a { color: var(--gold-light); }
@media (max-width: 899px) { .contact__inner { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { background: #0c1c05; color: rgba(251, 250, 243, 0.75); padding-block: 2.5rem; font-size: 0.95rem; }
.site-footer__inner { display: grid; grid-template-columns: 1fr auto; gap: 1.5rem 3rem; align-items: center; }
.site-footer__brand { display: flex; align-items: center; gap: 1rem; }
.site-footer__brand strong { color: var(--cream); font-family: var(--font-head); font-weight: 500; font-size: 1.1rem; }
.site-footer__nav { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.4rem 1.4rem; }
.site-footer__nav a { color: var(--cream); text-decoration: none; }
.site-footer__nav a:hover { color: var(--gold-light); }
.site-footer__note { grid-column: 1 / -1; margin: 0; max-width: 60em; color: rgba(251, 250, 243, 0.6); border-top: 1px solid rgba(255, 255, 255, 0.1); padding-top: 1.25rem; }
.site-footer__copy { grid-column: 1 / -1; margin: 0; color: rgba(251, 250, 243, 0.55); }
@media (max-width: 699px) { .site-footer__inner { grid-template-columns: 1fr; } }

/* Undersider ---------------------------------------------------------- */
.page { padding-block: clamp(2.5rem, 5vw, 4.5rem) var(--section); }
.page__grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.prose { max-width: 62ch; }
.prose h1 { margin-bottom: 0.4em; }
.prose h2 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); margin-top: 2.2rem; }
.prose p, .prose li { color: var(--ink-soft); }
.prose p.lead { color: var(--ink); font-size: 1.3rem; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: 0.4rem; }
.prose figure { margin: 2.2rem 0; }
.prose figure img { border-radius: var(--radius); width: 100%; }
.prose figcaption { font-size: 0.95rem; color: var(--ink-soft); margin-top: 0.6rem; }
.prose .btn-row { margin-top: 1.8rem; }
.note { background: var(--sage); border-left: 3px solid var(--gold); padding: 1rem 1.25rem; border-radius: 0 var(--radius) var(--radius) 0; margin: 2rem 0; }
.note p { margin: 0; color: var(--ink); font-size: 1rem; }

.aside-card { position: sticky; top: 98px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.aside-card__img { width: 100%; aspect-ratio: 4 / 3; height: auto; object-fit: cover; }
.aside-card__img--portrait { aspect-ratio: 4 / 3.4; object-position: 50% 22%; }
.aside-card__body { padding: 1.5rem; }
.aside-card h2 { font-size: 1.35rem; margin-bottom: 0.4em; }
.aside-card p { color: var(--ink-soft); font-size: 1rem; }
.aside-card .btn { width: 100%; margin-top: 0.75rem; }
.aside-card__facts { margin: 1.25rem 0 0; padding-top: 1.1rem; border-top: 1px solid var(--line); display: grid; gap: 0.5rem; font-size: 0.98rem; }
.aside-card__facts div { display: flex; justify-content: space-between; gap: 1rem; }
.aside-card__facts dt { color: var(--ink-soft); }
.aside-card__facts dd { margin: 0; font-weight: 600; text-align: right; }
@media (max-width: 899px) {
  .page__grid { grid-template-columns: 1fr; }
  .aside-card { position: static; max-width: 480px; }
}

/* Relaterte tjenester */
.related { border-top: 1px solid var(--line); padding-top: clamp(2rem, 4vw, 3rem); margin-top: clamp(2.5rem, 5vw, 4rem); }
.related h2 { font-size: 1.5rem; margin-bottom: 1.25rem; }
.related__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; }
.related__list a {
  display: flex; align-items: center; gap: 0.9rem; padding: 0.75rem; border: 1px solid var(--line); border-radius: var(--radius);
  text-decoration: none; color: var(--ink); background: var(--white); font-family: var(--font-head); font-weight: 500;
}
.related__list a:hover { border-color: var(--gold); color: var(--green); }
.related__list img { width: 64px; height: 64px; object-fit: cover; border-radius: 6px; flex: none; }

/* 404 */
.notfound { text-align: left; padding-block: var(--section); }
