:root {
  --ink: #202526;
  --muted: #66706c;
  --paper: #fffaf3;
  --linen: #f2e7dc;
  --mist: #e5f0ed;
  --sage: #6f8b7f;
  --deep: #173d43;
  --teal: #2c7671;
  --rose: #b85b70;
  --clay: #a16f5e;
  --gold: #c39a5f;
  --line: rgba(32, 37, 38, 0.14);
  --shadow: 0 22px 58px rgba(32, 37, 38, 0.16);
  --radius: 8px;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

a {
  color: inherit;
}

button {
  font: inherit;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 14px clamp(18px, 4vw, 56px);
  color: #fff;
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--ink);
  background: rgba(255, 250, 243, 0.96);
  box-shadow: 0 10px 28px rgba(32, 37, 38, 0.12);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.brand strong,
.brand small {
  display: block;
  white-space: nowrap;
}

.brand strong {
  line-height: 1.1;
}

.brand small {
  color: currentColor;
  font-size: 0.78rem;
  opacity: 0.82;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.2vw, 28px);
  font-size: 0.94rem;
  font-weight: 750;
}

.site-nav a {
  position: relative;
  text-decoration: none;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 2px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 160ms ease;
}

.site-nav a:hover::after,
.site-nav a.is-active::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  color: currentColor;
  background: transparent;
  border: 1px solid currentColor;
  border-radius: 50%;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  border-radius: 999px;
}

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: min(84dvh, 780px);
  overflow: hidden;
  color: #fff;
  isolation: isolate;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  z-index: -2;
  background-image: url("assets/klinik-stemning.jpg");
  background-position: 62% center;
  background-size: cover;
  transform: scale(1.02);
}

.hero-overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(18, 51, 56, 0.94) 0%, rgba(29, 72, 70, 0.78) 43%, rgba(29, 72, 70, 0.18) 100%),
    linear-gradient(0deg, rgba(30, 26, 23, 0.24), rgba(30, 26, 23, 0.1));
}

.hero-inner {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 118px 0 72px;
}

.eyebrow,
.section-kicker {
  max-width: 100%;
  margin: 0 0 12px;
  color: var(--rose);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.09em;
  line-height: 1.55;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f5cfc7;
}

h1,
h2,
h3,
p,
li,
a {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
}

h1 {
  max-width: 840px;
  font-size: clamp(3rem, 7vw, 6.8rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.7rem);
}

h3 {
  font-size: 1.12rem;
}

.hero-text {
  max-width: 680px;
  margin: 24px 0 0;
  font-size: clamp(1.08rem, 1.8vw, 1.42rem);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 19px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 850;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #fff;
  background: var(--rose);
  box-shadow: 0 14px 34px rgba(184, 91, 112, 0.3);
}

.button-secondary {
  color: #fff;
  background: var(--teal);
  box-shadow: 0 14px 34px rgba(44, 118, 113, 0.24);
}

.button-ghost {
  color: var(--deep);
  background: transparent;
  border-color: rgba(23, 61, 67, 0.35);
}

.section {
  padding: clamp(64px, 9vw, 118px) 0;
}

.section-inner {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 34px;
}

.intro {
  background: var(--paper);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: clamp(30px, 6vw, 74px);
  align-items: center;
}

.intro-copy p:not(.section-kicker),
.image-band p,
.price-intro p {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.05rem;
}

.portrait-feature {
  margin: 0;
}

.portrait-feature img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.portrait-feature figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.92rem;
}

.services {
  background: var(--mist);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.service-card {
  min-height: 245px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(44, 118, 113, 0.14);
  border-radius: var(--radius);
  box-shadow: 0 14px 34px rgba(44, 118, 113, 0.08);
}

.service-number {
  display: inline-block;
  margin-bottom: 22px;
  color: var(--rose);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.8rem;
}

.service-card h3 {
  color: var(--deep);
}

.service-card p {
  margin: 14px 0 0;
  color: var(--muted);
}

.focus-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 30px 0 0;
  list-style: none;
}

.focus-list li {
  padding: 9px 14px;
  color: var(--deep);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(44, 118, 113, 0.18);
  border-radius: 999px;
  font-weight: 800;
}

.image-band {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
  min-height: 480px;
  background: var(--linen);
}

.image-band img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.image-band div {
  display: grid;
  align-content: center;
  padding: clamp(36px, 6vw, 78px);
}

.image-band h2 {
  max-width: 560px;
}

.prices {
  background: var(--paper);
}

.prices-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.text-link {
  display: inline-flex;
  margin-top: 16px;
  color: var(--rose);
  font-weight: 850;
  text-decoration-color: rgba(184, 91, 112, 0.35);
  text-underline-offset: 5px;
}

.price-list {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 16px 48px rgba(32, 37, 38, 0.08);
}

.price-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  gap: 18px;
  align-items: baseline;
  padding: 17px 20px;
  border-bottom: 1px solid var(--line);
}

.price-row:last-child {
  border-bottom: 0;
}

.price-row span {
  color: var(--muted);
}

.price-row strong {
  color: var(--deep);
  white-space: nowrap;
}

.testimonial-section {
  color: #fff;
  background:
    linear-gradient(130deg, rgba(23, 61, 67, 0.98), rgba(44, 118, 113, 0.86)),
    url("assets/christina-portraet-lys.jpg") center / cover;
}

.testimonial-section .section-kicker {
  color: #f5cfc7;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 380px);
  gap: clamp(28px, 5vw, 62px);
  align-items: center;
}

blockquote {
  margin: 28px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 3vw, 2.35rem);
  line-height: 1.25;
}

.quote-source {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.76);
}

.testimonial-card {
  padding: 28px;
  color: var(--ink);
  background: rgba(255, 250, 243, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: var(--radius);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.22);
}

.testimonial-card p {
  margin: 0 0 18px;
  color: var(--muted);
}

.testimonial-card span {
  color: var(--deep);
  font-weight: 850;
}

.gallery-section {
  background: var(--linen);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.gallery img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 16px 38px rgba(32, 37, 38, 0.12);
}

.contact-section {
  padding: clamp(58px, 8vw, 96px) 0;
  color: #fff;
  background: var(--deep);
}

.contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: 28px;
  align-items: center;
}

.contact-inner p {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.78);
}

.contact-section .section-kicker {
  color: #f5cfc7;
}

.contact-box {
  display: grid;
  gap: 8px;
  padding: 22px;
  font-style: normal;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
}

.contact-box a {
  font-weight: 850;
  text-decoration: none;
}

.contact-box span {
  color: rgba(255, 255, 255, 0.76);
}

.contact-actions {
  grid-column: 1 / -1;
  margin-top: 0;
}

.contact-section .button-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.44);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px clamp(18px, 4vw, 56px);
  color: var(--muted);
  background: #fff;
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--deep);
  font-weight: 850;
  text-decoration: none;
}

.to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 15;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: #fff;
  pointer-events: none;
  background: var(--rose);
  border: 0;
  border-radius: 50%;
  box-shadow: 0 16px 34px rgba(32, 37, 38, 0.22);
  opacity: 0;
  transition: opacity 160ms ease, transform 160ms ease;
  transform: translateY(8px);
}

.to-top.is-visible {
  pointer-events: auto;
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 960px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 76px;
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    color: var(--ink);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 12px 14px;
  }

  .site-nav a::after {
    display: none;
  }

  .intro-grid,
  .prices-layout,
  .testimonial-grid,
  .contact-inner {
    grid-template-columns: 1fr;
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .image-band {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: 68px;
    padding: 12px 16px;
  }

  .brand-mark {
    flex-basis: 40px;
    width: 40px;
    height: 40px;
  }

  .brand strong {
    max-width: 230px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .brand small {
    display: none;
  }

  .site-nav {
    top: 68px;
  }

  .hero {
    min-height: 78dvh;
  }

  .hero-media {
    background-position: 70% center;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(18, 51, 56, 0.93), rgba(29, 72, 70, 0.66)),
      linear-gradient(0deg, rgba(30, 26, 23, 0.2), rgba(30, 26, 23, 0.1));
  }

  .hero-inner,
  .section-inner {
    width: min(358px, calc(100% - 32px));
    margin-right: auto;
    margin-left: 16px;
  }

  .hero-inner {
    padding: 102px 0 54px;
  }

  h1 {
    font-size: clamp(2.45rem, 11.8vw, 3.4rem);
  }

  h2 {
    font-size: clamp(1.78rem, 7.8vw, 2.35rem);
  }

  .hero-text {
    font-size: 1.05rem;
  }

  .hero-actions,
  .contact-actions {
    gap: 10px;
  }

  .button {
    width: 100%;
  }

  .service-grid,
  .gallery {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: auto;
  }

  .image-band div {
    padding: 44px 16px;
  }

  .price-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
