/* =========================================================
   Tandläkarmottagning Ekersgatan 7 — designsystem
   ========================================================= */

/* ---------- 1. Variabler ---------- */
:root {
  /* Färger */
  --petrol-900: #06282b;
  --petrol-800: #0b3a3d;
  --petrol-700: #0f4c4f;
  --petrol-600: #14666a;
  --petrol-500: #1d8286;
  --petrol-100: #d9ebeb;
  --petrol-50:  #eef6f6;

  --gold-600: #a8823a;
  --gold-500: #c8a35a;
  --gold-200: #ecdcb9;

  --bone:  #fbf8f3;
  --sand:  #f2ece2;
  --paper: #ffffff;

  --ink:      #10262a;
  --ink-soft: #46605f;
  --line:     #e2ddd2;

  --danger: #b3453a;

  /* Typografi */
  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Mått */
  --wrap: 1180px;
  --wrap-narrow: 780px;
  --radius: 18px;
  --radius-sm: 12px;
  --radius-lg: 28px;

  --shadow-sm: 0 2px 8px rgba(6, 40, 43, .06);
  --shadow:    0 12px 34px -14px rgba(6, 40, 43, .22);
  --shadow-lg: 0 34px 70px -30px rgba(6, 40, 43, .38);

  --header-h: 84px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- 2. Grund ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bone);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.no-scroll { overflow: hidden; }

p, li, td, th, h1, h2, h3, h4, dd, figcaption { overflow-wrap: break-word; }

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

/* Standardstorlek för inline-ikoner – överskrivs av mer specifika regler */
.ico { width: 1.05em; height: 1.05em; flex: none; vertical-align: -.15em; }

a { color: var(--petrol-600); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--petrol-800); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -.015em;
  margin: 0 0 .5em;
  font-variation-settings: "SOFT" 0, "WONK" 0;
}

h1 { font-size: clamp(2.4rem, 6vw, 4.1rem); }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.85rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

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

.skip-link {
  position: absolute;
  left: 50%;
  top: -100px;
  transform: translateX(-50%);
  z-index: 999;
  background: var(--petrol-800);
  color: #fff;
  padding: .8rem 1.4rem;
  border-radius: 0 0 12px 12px;
  transition: top .2s;
}
.skip-link:focus { top: 0; color: #fff; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.wrap-narrow { width: min(100% - 2.5rem, var(--wrap-narrow)); margin-inline: auto; }

.section { padding: clamp(4rem, 9vw, 7.5rem) 0; }
.section--tight { padding: clamp(3rem, 6vw, 5rem) 0; }
.section--sand { background: var(--sand); }
.section--paper { background: var(--paper); }
.section--dark { background: var(--petrol-800); color: #e8f1f0; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark a { color: var(--gold-200); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--petrol-600);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--gold-500);
  flex: none;
}
.eyebrow svg { width: 15px; height: 15px; color: var(--gold-600); }
.section--dark .eyebrow { color: var(--gold-200); }

.lead {
  font-size: clamp(1.08rem, 1.6vw, 1.28rem);
  color: var(--ink-soft);
  line-height: 1.65;
}
.section--dark .lead { color: #bfd5d3; }

.section-head { max-width: 62ch; margin-bottom: clamp(2.2rem, 4vw, 3.4rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }

/* ---------- 3. Knappar ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  padding: 1.05rem 1.75rem;
  border-radius: 100px;
  border: 1.5px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease),
              background-color .2s, color .2s, border-color .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 18px; height: 18px; flex: none; }

.btn--primary {
  background: var(--petrol-700);
  color: #fff;
  box-shadow: var(--shadow);
}
.btn--primary:hover { background: var(--petrol-800); color: #fff; box-shadow: var(--shadow-lg); }

.btn--gold {
  background: var(--gold-500);
  color: var(--petrol-900);
  box-shadow: 0 12px 30px -14px rgba(168, 130, 58, .8);
}
.btn--gold:hover { background: var(--gold-600); color: #fff; }

.btn--ghost {
  background: transparent;
  color: var(--petrol-800);
  border-color: rgba(15, 76, 79, .3);
}
.btn--ghost:hover { background: var(--petrol-50); color: var(--petrol-800); border-color: var(--petrol-600); }

.btn--on-dark {
  background: rgba(255, 255, 255, .1);
  color: #fff;
  border-color: rgba(255, 255, 255, .38);
  backdrop-filter: blur(6px);
}
.btn--on-dark:hover { background: #fff; color: var(--petrol-800); border-color: #fff; }

.btn--sm { padding: .72rem 1.2rem; font-size: .92rem; }

.btn-row { display: flex; flex-wrap: wrap; gap: .9rem; }
.section-head--center .btn-row { justify-content: center; }

/* ---------- 4. Header ---------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: height .3s var(--ease), background-color .3s, box-shadow .3s, backdrop-filter .3s;
}
.header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(6, 40, 43, .55), transparent);
  opacity: 1;
  transition: opacity .3s;
  pointer-events: none;
}
.header.is-stuck {
  height: 68px;
  background: rgba(251, 248, 243, .82);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: 0 1px 0 rgba(16, 38, 42, .08), 0 12px 30px -22px rgba(6, 40, 43, .5);
}
.header.is-stuck::before { opacity: 0; }
/* Sidor utan mörk hero startar direkt i "stuck"-läge */
.header.header--solid {
  background: rgba(251, 248, 243, .9);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: 0 1px 0 rgba(16, 38, 42, .08);
}
.header.header--solid::before { opacity: 0; }

.header__inner {
  width: min(100% - 2.5rem, var(--wrap));
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  position: relative;
}

.brand {
  display: flex;
  align-items: center;
  gap: .7rem;
  text-decoration: none;
  color: #fff;
  transition: color .3s;
  flex: none;
}
.brand__mark { width: 38px; height: 38px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.06rem;
  letter-spacing: -.01em;
}
.brand__sub {
  font-size: .68rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  opacity: .8;
}
.header.is-stuck .brand,
.header--solid .brand { color: var(--petrol-800); }

.nav { margin-left: auto; display: flex; align-items: center; gap: .35rem; }
.nav__list { display: flex; align-items: center; gap: .15rem; list-style: none; margin: 0; padding: 0; }
.nav__link {
  display: block;
  padding: .55rem .8rem;
  border-radius: 100px;
  font-size: .94rem;
  font-weight: 500;
  color: rgba(255, 255, 255, .92);
  text-decoration: none;
  transition: background-color .2s, color .2s;
  white-space: nowrap;
}
.nav__link:hover { background: rgba(255, 255, 255, .15); color: #fff; }
.nav__link[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, .16); }
.header.is-stuck .nav__link,
.header--solid .nav__link { color: var(--ink-soft); }
.header.is-stuck .nav__link:hover,
.header--solid .nav__link:hover { background: var(--petrol-50); color: var(--petrol-800); }
.header.is-stuck .nav__link[aria-current="page"],
.header--solid .nav__link[aria-current="page"] { background: var(--petrol-50); color: var(--petrol-800); }

.nav__cta { margin-left: .6rem; }

/* Dropdown för behandlingar */
.nav__item--has-menu { position: relative; }
.nav__toggle {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  background: none;
  border: 0;
  font: inherit;
  cursor: pointer;
}
.nav__toggle svg { width: 11px; height: 11px; transition: transform .25s; }
.nav__item--open .nav__toggle svg { transform: rotate(180deg); }
.nav__menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translate(-50%, 8px);
  width: min(92vw, 560px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: .8rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .1rem;
  list-style: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
}
.nav__item--open .nav__menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav__menu a {
  display: block;
  padding: .5rem .7rem;
  border-radius: 10px;
  font-size: .92rem;
  color: var(--ink);
  text-decoration: none;
  transition: background-color .18s;
}
.nav__menu a:hover { background: var(--petrol-50); color: var(--petrol-800); }
.nav__menu .nav__menu-all { grid-column: 1 / -1; margin-top: .3rem; padding-top: .6rem; border-top: 1px solid var(--line); font-weight: 600; color: var(--petrol-700); }

/* Hamburgare */
.burger {
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  background: rgba(255, 255, 255, .14);
  border-radius: 50%;
  cursor: pointer;
  padding: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-left: auto;
}
.header.is-stuck .burger,
.header--solid .burger { background: var(--petrol-50); }
.burger span {
  display: block;
  width: 19px;
  height: 1.8px;
  background: #fff;
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s;
}
.burger span + span { margin-top: 5px; }
.header.is-stuck .burger span,
.header--solid .burger span { background: var(--petrol-800); }
.burger[aria-expanded="true"] span { background: var(--petrol-800); }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.8px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.8px) rotate(-45deg); }

/* Mobilmeny */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--bone);
  padding: calc(var(--header-h) + 1.5rem) 0 2.5rem;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
}
.mobile-nav.is-open { opacity: 1; visibility: visible; transform: none; }
.mobile-nav__list { list-style: none; margin: 0 0 1.6rem; padding: 0; }
.mobile-nav__list > li { border-bottom: 1px solid var(--line); }
.mobile-nav__list a {
  display: block;
  padding: .95rem 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--ink);
  text-decoration: none;
}
.mobile-nav__sub { list-style: none; margin: 0 0 1rem; padding: 0 0 .5rem; columns: 2; column-gap: 1.2rem; }
.mobile-nav__sub li { break-inside: avoid; }
.mobile-nav__sub a {
  font-family: var(--font-body);
  font-size: .95rem;
  padding: .38rem 0;
  color: var(--ink-soft);
  border: 0;
  text-decoration: none;
}
.mobile-nav__sub a:hover { color: var(--petrol-700); }
.mobile-nav__group-title {
  font-size: .74rem; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: var(--petrol-600); margin: 1.4rem 0 .4rem;
}
.mobile-nav .btn { width: 100%; }
.mobile-nav__contact { margin-top: 1.6rem; display: grid; gap: .7rem; }

/* ---------- 5. Hero ---------- */
.hero {
  position: relative;
  min-height: min(94vh, 900px);
  display: flex;
  align-items: flex-end;
  padding: calc(var(--header-h) + 5rem) 0 clamp(3rem, 7vw, 6rem);
  background: var(--petrol-900);
  overflow: hidden;
  isolation: isolate;
}
.hero__bg {
  position: absolute;
  inset: -8% 0 0;
  height: 116%;
  z-index: -2;
  will-change: transform;
}
.hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 74% 32%;
  filter: saturate(.78) contrast(1.04);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to top, rgba(6, 40, 43, .96) 6%, rgba(6, 40, 43, .72) 42%, rgba(6, 40, 43, .48) 100%),
    linear-gradient(105deg, rgba(11, 58, 61, .9), rgba(6, 40, 43, .3) 65%);
}
.hero__inner { position: relative; max-width: 52ch; color: #fff; }
.hero h1 { color: #fff; margin-bottom: .5em; max-width: 15ch; text-wrap: balance; }
.hero h1 em {
  font-style: normal;
  color: var(--gold-200);
  font-variation-settings: "SOFT" 40, "WONK" 1;
}
.hero__lead {
  font-size: clamp(1.05rem, 1.7vw, 1.24rem);
  color: rgba(232, 241, 240, .92);
  max-width: 46ch;
  margin-bottom: 2rem;
}
.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 1.8rem;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .42rem .9rem;
  border-radius: 100px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .2);
  backdrop-filter: blur(8px);
  font-size: .84rem;
  font-weight: 500;
  color: #e8f1f0;
}
.hero__badge svg { width: 14px; height: 14px; color: var(--gold-200); flex: none; }

.hero__scroll {
  position: absolute;
  right: max(2rem, calc((100vw - var(--wrap)) / 2));
  bottom: clamp(3rem, 7vw, 6rem);
  writing-mode: vertical-rl;
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .55);
  display: flex;
  align-items: center;
  gap: .8rem;
  text-decoration: none;
}
.hero__scroll::after {
  content: "";
  width: 1px;
  height: 54px;
  background: linear-gradient(to bottom, var(--gold-200), transparent);
}
@media (max-width: 900px) { .hero__scroll { display: none; } }

/* Sidhero för undersidor */
.pagehero {
  position: relative;
  padding: calc(var(--header-h) + clamp(3rem, 7vw, 5.5rem)) 0 clamp(2.5rem, 5vw, 4rem);
  background:
    radial-gradient(90rem 40rem at 15% -20%, rgba(29, 130, 134, .16), transparent 60%),
    var(--sand);
  border-bottom: 1px solid var(--line);
}
.pagehero__inner { max-width: 66ch; }
.pagehero h1 { color: var(--petrol-900); text-wrap: balance; }
.pagehero .lead { margin-top: .4rem; }
.pagehero .btn-row { margin-top: 2rem; }

.breadcrumbs {
  font-size: .85rem;
  color: var(--ink-soft);
  margin-bottom: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  align-items: center;
}
.breadcrumbs a { color: var(--ink-soft); text-decoration: none; }
.breadcrumbs a:hover { color: var(--petrol-700); text-decoration: underline; }
.breadcrumbs span[aria-hidden] { opacity: .45; }

/* ---------- 6. USP-band ---------- */
.usp-band { background: var(--petrol-800); color: #dceceb; padding: 1.6rem 0; }
.usp-band__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, .12);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.usp-band__item {
  background: var(--petrol-800);
  padding: 1.1rem 1.3rem;
  display: flex;
  align-items: center;
  gap: .85rem;
  font-size: .93rem;
  font-weight: 500;
}
.usp-band__item svg { width: 22px; height: 22px; color: var(--gold-500); flex: none; }
@media (max-width: 900px) { .usp-band__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .usp-band__grid { grid-template-columns: 1fr; } }

/* ---------- 7. Kort och grid ---------- */
.grid { display: grid; gap: 1.4rem; }
.grid > * { min-width: 0; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
}

.card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.7rem;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
  overflow: hidden;
}
.card::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 3px;
  background: linear-gradient(90deg, var(--petrol-500), var(--gold-500));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease);
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--petrol-100); }
.card:hover::after { transform: scaleX(1); }
.card h3 { margin-bottom: .35rem; }
.card p { font-size: .96rem; color: var(--ink-soft); margin: 0; }

.card__icon {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 13px;
  background: var(--petrol-50);
  color: var(--petrol-600);
  margin-bottom: 1.1rem;
}
.card__icon svg { width: 23px; height: 23px; }

.card-link { text-decoration: none; color: inherit; display: block; }
.card-link .card__more {
  display: inline-flex; align-items: center; gap: .4rem;
  margin-top: 1rem; font-size: .88rem; font-weight: 600; color: var(--petrol-600);
}
.card-link .card__more svg { width: 15px; height: 15px; transition: transform .3s var(--ease); }
.card-link:hover .card__more svg { transform: translateX(4px); }

/* ---------- 8. Split-sektioner ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.split--wide-text { grid-template-columns: 1.15fr .85fr; }
.split > * { min-width: 0; }
@media (max-width: 900px) {
  .split, .split--wide-text { grid-template-columns: 1fr; }
  .split__media { order: -1; }
  .split__media img { max-width: 480px; margin-inline: auto; }
}

.split__media { position: relative; }
.split__media img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.split__media--wide img { aspect-ratio: 16 / 10; }
.split__media::before {
  content: "";
  position: absolute;
  inset: 1.6rem -1.6rem -1.6rem 1.6rem;
  border: 1px solid var(--gold-500);
  border-radius: var(--radius-lg);
  z-index: -1;
  opacity: .5;
}

.quote-card {
  position: relative;
  background: var(--petrol-800);
  color: #fff;
  border-radius: var(--radius);
  padding: 1.8rem 1.9rem;
  margin-top: 1.8rem;
  box-shadow: var(--shadow);
}
.quote-card p {
  font-family: var(--font-display);
  font-size: 1.16rem;
  line-height: 1.45;
  color: #fff;
  margin: 0 0 .7rem;
}
.quote-card cite { font-style: normal; font-size: .86rem; color: var(--gold-200); }
.quote-card::before {
  content: "”";
  position: absolute;
  top: -.1em; right: .3em;
  font-family: var(--font-display);
  font-size: 6rem;
  color: rgba(255, 255, 255, .1);
  line-height: 1;
}

/* ---------- 9. Statistik ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
@media (max-width: 820px) { .stats { grid-template-columns: 1fr 1fr; } }
.stat {
  text-align: center;
  padding: 1.6rem 1rem;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius);
}
.stat__num {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.1rem);
  font-weight: 600;
  line-height: 1;
  color: var(--gold-200);
  display: block;
}
.stat__label { font-size: .89rem; color: #bfd5d3; margin-top: .55rem; display: block; }

/* ---------- 10. Öppettider & kontakt ---------- */
.hours { list-style: none; margin: 0; padding: 0; }
.hours li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .78rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 1rem;
}
.hours li:last-child { border-bottom: 0; }
.hours__day { color: var(--ink-soft); }
.hours__time { font-weight: 600; font-variant-numeric: tabular-nums; }
.section--dark .hours li { border-color: rgba(255, 255, 255, .14); }
.section--dark .hours__day { color: #a9c6c4; }
.section--dark .hours__time { color: #fff; }

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .4rem .95rem .4rem .8rem;
  border-radius: 100px;
  font-size: .85rem;
  font-weight: 600;
  background: rgba(29, 130, 134, .12);
  color: var(--petrol-700);
  margin-bottom: 1.2rem;
}
.status-pill .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #2e9e6b;
  box-shadow: 0 0 0 4px rgba(46, 158, 107, .22);
}
.status-pill.is-closed { background: rgba(179, 69, 58, .1); color: #8d372e; }
.status-pill.is-closed .dot { background: #b3453a; box-shadow: 0 0 0 4px rgba(179, 69, 58, .18); }
.section--dark .status-pill { background: rgba(255, 255, 255, .1); color: #fff; }

.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.1rem; }
.contact-list li { display: flex; gap: .95rem; align-items: flex-start; }
.contact-list svg { width: 20px; height: 20px; color: var(--gold-500); flex: none; margin-top: .2rem; }
.contact-list a { color: inherit; text-decoration: none; font-weight: 600; overflow-wrap: anywhere; }
.contact-list li > span { min-width: 0; }
.contact-list a:hover { text-decoration: underline; }
.contact-list small { display: block; font-weight: 400; font-size: .85rem; color: var(--ink-soft); }
.section--dark .contact-list small { color: #a9c6c4; }

/* ---------- 11. Karta ---------- */
.map-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  background: var(--sand);
  aspect-ratio: 16 / 11;
}
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- 12. Prislista ---------- */
.price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .96rem;
  background: var(--paper);
}
.price-table caption {
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  padding: 1.05rem 1.1rem .8rem;
  color: var(--petrol-800);
}
.price-table th, .price-table td { padding: .78rem 1rem; text-align: left; border-bottom: 1px solid var(--line); }
.price-table thead th {
  font-size: .74rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-soft); font-weight: 600; background: var(--petrol-50);
  border-bottom: 1px solid var(--petrol-100);
}
.price-table td:first-child { width: 68px; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.price-table--plain td:first-child { width: auto; color: inherit; }
.price-table .num { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; white-space: nowrap; }
.price-table tbody tr:hover { background: var(--bone); }
.price-table small { color: var(--ink-soft); font-weight: 400; }

.table-scroll {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  -webkit-overflow-scrolling: touch;
}
.table-scroll .price-table { border-radius: var(--radius); }

.price-note {
  font-size: .88rem;
  color: var(--ink-soft);
  margin-top: .9rem;
}

/* ---------- 13. Övriga komponenter ---------- */
.prose { max-width: 68ch; }
.prose h2 { margin-top: 2.4rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.9rem; }
.prose ul, .prose ol { padding-left: 1.3rem; margin: 0 0 1.2rem; }
.prose li { margin-bottom: .5rem; }
.prose li::marker { color: var(--gold-600); }

.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: .8rem; }
.checklist li { position: relative; padding-left: 2.15rem; }
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .22em;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--petrol-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314666a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.section--dark .checklist li::before {
  background-color: rgba(255, 255, 255, .12);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ecdcb9' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
}

.callout {
  background: var(--petrol-50);
  border: 1px solid var(--petrol-100);
  border-left: 3px solid var(--petrol-600);
  border-radius: var(--radius-sm);
  padding: 1.3rem 1.5rem;
  margin: 1.8rem 0;
  font-size: .98rem;
}
.callout--gold { background: #fdf8ee; border-color: var(--gold-200); border-left-color: var(--gold-500); }
.callout--alert { background: #fdf1ef; border-color: #f0d5d1; border-left-color: var(--danger); }
.callout strong { color: var(--petrol-800); }
.callout p:last-child { margin-bottom: 0; }

.figure { margin: 0; }
.figure img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.figure figcaption { font-size: .85rem; color: var(--ink-soft); margin-top: .7rem; text-align: center; }

/* Faq / accordion */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1.2rem 2.5rem 1.2rem 0;
  position: relative;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--petrol-800);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: .4rem; top: 50%;
  width: 13px; height: 13px;
  margin-top: -6px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314666a' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(135deg); }
.faq details > div { padding: 0 2rem 1.4rem 0; color: var(--ink-soft); }

/* CTA-band */
.cta-band {
  position: relative;
  background: var(--petrol-800);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(50rem 30rem at 85% 20%, rgba(29, 130, 134, .45), transparent 60%),
    radial-gradient(40rem 26rem at 5% 90%, rgba(200, 163, 90, .18), transparent 60%);
}
.cta-band__inner { text-align: center; max-width: 58ch; margin-inline: auto; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #c6dbd9; font-size: 1.08rem; }
.cta-band .btn-row { justify-content: center; margin-top: 2rem; }

/* Behandlingsindex-lista */
.treat-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
@media (max-width: 900px) { .treat-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .treat-list { grid-template-columns: 1fr; } }
.treat-list a {
  background: var(--paper);
  padding: 1.15rem 1.3rem;
  display: flex;
  align-items: center;
  gap: .8rem;
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
  font-size: .98rem;
  transition: background-color .2s, color .2s;
}
.treat-list a:hover { background: var(--petrol-50); color: var(--petrol-800); }
.treat-list svg { width: 16px; height: 16px; color: var(--gold-500); flex: none; margin-left: auto; transition: transform .25s var(--ease); }
.treat-list a:hover svg { transform: translateX(3px); }

/* Nästa/föregående navigation */
.pagenav {
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between;
  border-top: 1px solid var(--line); padding-top: 1.6rem; margin-top: 3rem;
}
.pagenav a { display: inline-flex; align-items: center; gap: .5rem; text-decoration: none; font-weight: 600; font-size: .94rem; }

/* ---------- 14. Footer ---------- */
.footer { background: var(--petrol-900); color: #a9c6c4; padding: clamp(3.5rem, 7vw, 5.5rem) 0 0; font-size: .95rem; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 2.5rem; }
@media (max-width: 980px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }
.footer h4 {
  font-family: var(--font-body);
  font-size: .75rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold-200); font-weight: 600; margin: 0 0 1.1rem;
}
.footer a { color: #d3e5e3; text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.footer .brand { color: #fff; margin-bottom: 1.1rem; }
.footer__bottom {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding: 1.5rem 0;
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between;
  font-size: .84rem; color: #7fa3a1;
}

/* ---------- 15. Sticky mobil-CTA ---------- */
.mobile-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  display: none;
  gap: .6rem;
  padding: .7rem .9rem calc(.7rem + env(safe-area-inset-bottom));
  background: rgba(251, 248, 243, .93);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  transform: translateY(110%);
  transition: transform .35s var(--ease);
}
.mobile-cta.is-visible { transform: none; }
.mobile-cta .btn { flex: 1; padding: .92rem 1rem; font-size: .95rem; }

/* ---------- 16. Animationer ---------- */
/* Döljs bara när JavaScript är aktiverat – utan JS visas allt direkt. */
.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.js .reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .09s; }
.reveal[data-delay="2"] { transition-delay: .18s; }
.reveal[data-delay="3"] { transition-delay: .27s; }
.reveal[data-delay="4"] { transition-delay: .36s; }

/* ---------- 17. Responsivt ---------- */
@media (max-width: 1080px) {
  .nav__list { display: none; }
  .nav__cta { display: none; }
  .burger { display: flex; }
  .nav { margin-left: auto; }
}
@media (max-width: 760px) {
  :root { --header-h: 72px; }
  body { font-size: 1rem; }
  .mobile-cta { display: flex; }
  .footer { padding-bottom: 4.5rem; }
  .split__media::before { display: none; }
  .hero { min-height: 88vh; }
}

@media print {
  .header, .mobile-nav, .mobile-cta, .hero__scroll, .cta-band { display: none !important; }
  body { background: #fff; }
}

/* ---------- 18. Reducerad rörelse ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .hero__bg { transform: none !important; }
}
