/* =====================================================
   Nacka Tandhälsa
   Svart/vitt/ljusgrått, bilderna står för färgen,
   guld endast som liten accent. Jost (Futura-känsla)
   för rubriker, Montserrat för brödtext.
   Fonterna self-hostas - inga anrop till tredje part.
   ===================================================== */

/* ---------- Fonter ---------- */

@font-face {
  font-family: "Jost";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../assets/fonts/jost-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Jost";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../assets/fonts/jost-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
    U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0,
    U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../assets/fonts/montserrat-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../assets/fonts/montserrat-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
    U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0,
    U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Tokens ---------- */

:root {
  --ink: #121212;
  --body: #4c4c4c;
  --muted: #5f5f5f;
  --paper: #ffffff;
  --grey: #f4f3f1;
  --line: #e4e4e4;
  --gold: #c79329;          /* dekorativ yta */
  --gold-strong: #b5851f;   /* guld för betydelsebärande grafik, 3,3:1 på vitt */
  --gold-ink: #8a6413;      /* guld som textfärg, 5,4:1 på vitt */
  --gold-light: #dec487;
  --field-line: #8f8f8f;    /* fältramar, 3,2:1 på vitt (WCAG 1.4.11) */
  --radius: 24px;
  --radius-lg: 32px;
  --font-display: "Jost", "Futura", "Trebuchet MS", sans-serif;
  --font-body: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --header-h: 84px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.75;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

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

.container {
  width: min(1240px, 100% - 3rem);
  margin-inline: auto;
}

/* Tangentbordsfokus ska alltid synas */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--gold-ink);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  padding: 0.9rem 1.4rem;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 0 0 12px 0;
}

.skip-link:focus {
  left: 0;
}

/* ---------- Typografi ---------- */

h1, h2, h3, h4, .display {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.05;
  color: var(--ink);
}

.display {
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.01em;
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
  margin-bottom: 1.2rem;
}

p { color: var(--body); }

.overline {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink);
  margin-bottom: 0.7rem;
}

.subhead {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.95rem;
  color: var(--ink);
  margin: clamp(2.5rem, 5vw, 3.5rem) 0 1.4rem;
}

.text-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

.text-link:hover { color: var(--gold-ink); }

/* ---------- Knappar ---------- */

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.btn-pill {
  padding: 0.85em 2em;
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--ink);
}

.btn-pill:hover {
  background: var(--ink);
  color: var(--paper);
}

.btn-white {
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--paper);
  box-shadow: 0 10px 24px rgba(18, 18, 18, 0.18);
}

.btn-white:hover {
  background: transparent;
  color: var(--paper);
}

.btn-dark {
  background: var(--ink);
  color: var(--paper);
  border: 1px solid var(--ink);
}

.btn-dark:hover {
  background: var(--paper);
  color: var(--ink);
}

.btn-sm { padding: 0.7em 1.6em; font-size: 0.85rem; }
.btn-block { display: block; width: 100%; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  transition: box-shadow 0.2s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 2px 20px rgba(18, 18, 18, 0.07);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
}

.brand-mark {
  width: 42px;
  height: 42px;
  color: var(--gold);
  flex-shrink: 0;
}

.brand-text { display: flex; flex-direction: column; line-height: 1.1; }

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: 0.01em;
  color: var(--ink);
}

.brand-sub {
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink);
}

.site-nav {
  display: flex;
  gap: 1.9rem;
}

.site-nav a {
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
}

.site-nav a:hover { opacity: 0.6; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}

.header-phone svg { width: 17px; height: 17px; flex-shrink: 0; }
.header-phone:hover { opacity: 0.6; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  cursor: pointer;
  padding: 0 11px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ---------- Hero ---------- */

.hero { padding-top: 0.5rem; }

.hero-card {
  position: relative;
  width: min(1360px, 100% - 2rem);
  margin-inline: auto;
  border-radius: var(--radius-lg);
  background: linear-gradient(105deg, #f2f1ef 0%, #ececea 55%, #e7e6e4 100%);
  overflow: hidden;
  min-height: min(78vh, 700px);
  display: flex;
  align-items: flex-end;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% 30%;
}

/* mjuk ljus ton över vänsterkanten så rubriken sitter lugnt */
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(244, 243, 241, 0.96) 0%, rgba(244, 243, 241, 0.86) 30%, rgba(244, 243, 241, 0.25) 55%, rgba(244, 243, 241, 0) 72%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  padding: clamp(1.5rem, 4vw, 3.5rem);
  max-width: 40rem;
}

/* H1 bär både varumärket (stort) och söktermen (underrad) */
.hero-copy h1 {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.h1-brand {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 0.95;
  font-size: clamp(2.6rem, 6.4vw, 5.4rem);
  color: var(--ink);
}

.h1-sub {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: clamp(0.82rem, 1.15vw, 0.95rem);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1.4;
  color: var(--ink);
}

.hero-lead {
  margin-top: 1.1rem;
  max-width: 34ch;
  font-size: clamp(0.95rem, 1.3vw, 1.05rem);
  color: var(--ink);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.6rem;
}

/* ---------- Trust-rad ---------- */

.hero-trust {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  padding: 2.2rem 0 2rem;
  border-bottom: 1px solid var(--line);
}

.hero-trust li { display: flex; flex-direction: column; gap: 0.15rem; }

.trust-num {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.9rem;
  color: var(--ink);
  line-height: 1.15;
}

.stars { display: inline-flex; gap: 1px; }

.stars svg {
  width: 15px;
  height: 15px;
  fill: var(--gold-strong);
  flex-shrink: 0;
}

.trust-label {
  font-size: 0.85rem;
  color: var(--body);
  max-width: 34ch;
  line-height: 1.55;
}

.trust-label a { color: var(--body); text-underline-offset: 2px; }
.trust-label a:hover { color: var(--ink); }

/* ---------- Guldband ---------- */

.gold-band { padding: clamp(3rem, 6vw, 5rem) 0 0; }

.gold-band-inner {
  width: min(1240px, 100% - 2rem);
  margin-inline: auto;
  background: linear-gradient(100deg, var(--gold) 0%, #d0a13c 55%, var(--gold-light) 130%);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 3.5vw, 2.4rem) clamp(1.5rem, 4vw, 3rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  box-shadow: 0 18px 40px rgba(18, 18, 18, 0.12);
}

/* Banden är uppmaningar, inte innehållsavsnitt - därför p, inte rubrik */
.gold-band-inner .band-title {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.05;
  font-size: clamp(1.4rem, 2.8vw, 2.1rem);
  color: var(--ink);
}

.gold-band-inner p {
  margin-top: 0.4rem;
  color: rgba(18, 18, 18, 0.78);
  font-size: 0.93rem;
}

.gold-band-inner em { font-style: normal; font-weight: 600; color: var(--ink); }

/* ---------- Sektioner ---------- */

.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }

.section-line { border-top: 1px solid var(--line); }

.section-head { margin-bottom: clamp(2rem, 4vw, 3.2rem); }

.section-head-center {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}

/* ---------- Behandlingar ---------- */

.treat-layout {
  display: grid;
  grid-template-columns: minmax(280px, 5fr) 7fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}

.treat-intro { position: sticky; top: calc(var(--header-h) + 24px); }

.treat-intro p {
  max-width: 38ch;
  margin-bottom: 1.6rem;
  font-size: 0.975rem;
}

.treat-list { list-style: none; }

.treat-list li { border-bottom: 1px solid var(--ink); }
.treat-list li:first-child { border-top: 1px solid var(--ink); }

.treat-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.35rem 0.2rem;
  text-decoration: none;
  color: var(--ink);
  transition: padding-left 0.2s ease;
}

.treat-list a:hover { padding-left: 0.8rem; }

.treat-list h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.25rem, 2.2vw, 1.7rem);
  line-height: 1.2;
}

.treat-list p {
  font-size: 0.88rem;
  margin-top: 0.25rem;
  max-width: 52ch;
}

.treat-list em { font-style: normal; font-weight: 600; color: var(--ink); }

.treat-list svg {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.treat-list a:hover svg { transform: translate(3px, -3px); }

/* ---------- Om oss ---------- */

.about-grid {
  display: grid;
  grid-template-columns: 6fr 5fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.about-copy p { margin-bottom: 1.1rem; max-width: 58ch; font-size: 0.975rem; }

.about-quote {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1.5;
  color: var(--ink);
  border-left: 3px solid var(--gold);
  padding-left: 1.1rem;
  margin-top: 1.6rem;
}

.check-list {
  list-style: none;
  margin: 1.4rem 0 0;
}

.check-list li {
  position: relative;
  padding: 0.7rem 0 0.7rem 1.85rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.93rem;
  color: var(--ink);
  font-weight: 500;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0.15rem;
  top: 1.15rem;
  width: 9px;
  height: 5px;
  border-left: 2px solid var(--gold-ink);
  border-bottom: 2px solid var(--gold-ink);
  transform: rotate(-45deg);
}

.check-list li:first-child { border-top: 1px solid var(--line); }

.about-img-main {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(18, 18, 18, 0.14);
}

.about-img-main img { width: 100%; height: auto; }

/* ---------- Team ---------- */

.lead-card {
  display: grid;
  grid-template-columns: minmax(260px, 4fr) 7fr;
  gap: clamp(1.75rem, 4vw, 3.5rem);
  background: var(--grey);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 4vw, 3rem);
}

.monogram {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--gold);
  color: var(--gold-ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.75rem;
  letter-spacing: 0.04em;
  margin-bottom: 1.1rem;
}

.monogram-sm {
  width: 68px;
  height: 68px;
  font-size: 1.3rem;
  margin-bottom: 0.9rem;
}

.lead-aside h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  line-height: 1.1;
}

.lead-role {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gold-ink);
  margin-top: 0.25rem;
}

.lead-meta {
  list-style: none;
  margin: 1.4rem 0 1.2rem;
}

.lead-meta li {
  display: flex;
  flex-direction: column;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(18, 18, 18, 0.1);
}

.lead-meta li:first-child { border-top: 1px solid rgba(18, 18, 18, 0.1); }

.lead-meta span {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.lead-meta strong {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
}

.lead-body p {
  font-size: 1.02rem;
  line-height: 1.8;
  margin-bottom: 1.1rem;
  max-width: 62ch;
}

.lead-body p:last-child { margin-bottom: 0; }

.staff-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 1.75rem);
  max-width: 760px;
}

.staff-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 3vw, 1.9rem);
}

.staff-card h4 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
  line-height: 1.2;
}

.staff-role {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold-ink);
  margin-top: 0.2rem;
}

.staff-note {
  font-size: 0.9rem;
  margin-top: 0.6rem;
}

/* ---------- Bildmosaik ---------- */

.mosaic { padding-bottom: clamp(3.5rem, 8vw, 6.5rem); }

.mosaic-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1.6fr;
  gap: 1.1rem;
}

/* Lika höjd på alla tre, så bildbandet får en rak underkant */
.mosaic-grid figure {
  border-radius: var(--radius);
  overflow: hidden;
  height: clamp(200px, 24vw, 340px);
}

.mosaic-grid picture { display: contents; }

.mosaic-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Steg ---------- */

.steps-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 3rem);
}

.step {
  border-top: 1px solid var(--ink);
  padding-top: 1.4rem;
}

.step-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.12em;
  color: var(--gold-ink);
  display: block;
  margin-bottom: 0.8rem;
}

.step h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}

.step p { font-size: 0.93rem; max-width: 36ch; }

/* ---------- Omdömen ---------- */

.reviews-source {
  font-size: 0.95rem;
  max-width: 60ch;
}

.reviews-source strong { color: var(--ink); }

.reviews-source a,
.contact-list a,
.faq-list a,
.cost-copy a,
.form-intro a,
.form-fine a,
.footer-patient a {
  color: inherit;
  text-underline-offset: 2px;
}

.reviews-source a:hover,
.faq-list a:hover,
.cost-copy a:hover { color: var(--gold-ink); }

.quote-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2vw, 1.5rem);
}

.quote-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  background: var(--paper);
}

.quote-card::before {
  content: "”";
  font-family: var(--font-display);
  font-size: 2.6rem;
  line-height: 0.6;
  color: var(--gold);
  height: 1.1rem;
}

.quote-card blockquote {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1.45;
  color: var(--ink);
  flex: 1;
}

.quote-card figcaption {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
  padding-top: 0.85rem;
}

.quote-card figcaption strong {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
  letter-spacing: 0.06em;
}

.quote-card figcaption span { font-size: 0.78rem; color: var(--muted); }

.reviews-link { text-align: center; margin-top: clamp(1.75rem, 3vw, 2.5rem); }

/* ---------- Kostnad ---------- */

.cost-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}

.cost-copy p { max-width: 44ch; margin-bottom: 1.1rem; font-size: 0.975rem; }

.cost-list { list-style: none; }

.cost-list li {
  padding: 1.35rem 0.2rem;
  border-bottom: 1px solid var(--ink);
}

.cost-list li:first-child { border-top: 1px solid var(--ink); }

.cost-list h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  margin-bottom: 0.35rem;
}

.cost-list p { font-size: 0.92rem; max-width: 60ch; }

/* ---------- FAQ ---------- */

.faq-wrap { max-width: 860px; }

.faq-list details {
  border-bottom: 1px solid var(--ink);
}

.faq-list details:first-child { border-top: 1px solid var(--ink); }

.faq-list summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.15rem 0.2rem;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--ink);
}

.faq-list summary::-webkit-details-marker { display: none; }

/* Frågan är en h3 för dispositionens skull, men ska se ut som förut */
.faq-list summary h3 {
  font: inherit;
  color: inherit;
  margin: 0;
}

.faq-icon {
  position: relative;
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  background: var(--ink);
  transition: transform 0.2s ease;
}

.faq-icon::before { width: 15px; height: 2px; }
.faq-icon::after { width: 2px; height: 15px; }

details[open] .faq-icon::after { transform: rotate(90deg); }

.faq-list details p {
  padding: 0 0.2rem 1.3rem;
  max-width: 68ch;
  font-size: 0.95rem;
}

.faq-list em { font-style: normal; font-weight: 600; color: var(--ink); }

/* ---------- Mörkt CTA-band ---------- */

.dark-band { padding: clamp(1rem, 2vw, 2rem) 0; }

.dark-band-inner {
  width: min(1360px, 100% - 2rem);
  margin-inline: auto;
  background: var(--ink);
  border-radius: var(--radius-lg);
  padding: clamp(3rem, 7vw, 5.5rem) clamp(1.5rem, 5vw, 4rem);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
}

.dark-band-inner .band-title {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.05;
  text-transform: uppercase;
  font-size: clamp(1.7rem, 3.6vw, 2.8rem);
  color: #fff;
  max-width: 22ch;
}

.dark-band-inner p { color: rgba(255, 255, 255, 0.78); font-size: 0.975rem; }

.dark-band-inner .btn { margin-top: 0.8rem; }

/* ---------- Kontakt ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}

.contact-list { list-style: none; margin-top: 0.5rem; }

.contact-list li {
  display: flex;
  flex-direction: column;
  padding: 0.95rem 0.2rem;
  border-bottom: 1px solid var(--line);
}

.contact-list li:first-child { border-top: 1px solid var(--line); }

.contact-list strong {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--ink);
}

.contact-list span { font-size: 0.93rem; color: var(--body); line-height: 1.6; }

.contact-list a { color: var(--body); }
.contact-list a:hover { color: var(--ink); }

.contact-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 3vw, 2.4rem);
  background: var(--paper);
  box-shadow: 0 24px 60px rgba(18, 18, 18, 0.07);
}

.contact-form h3 {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1.5rem;
  margin-bottom: 0.3rem;
}

.form-intro { font-size: 0.9rem; margin-bottom: 1.4rem; }

.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-field { margin-bottom: 1.1rem; }

.form-field label {
  display: block;
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 0.4rem;
  color: var(--ink);
}

.form-field label span { color: var(--gold-ink); }

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--field-line);
  border-radius: 14px;
  padding: 0.75em 1em;
  transition: border-color 0.15s ease;
}

.form-field textarea { resize: vertical; min-height: 6.5rem; }

/* Musfokus: bara en tydligare ram. Tangentbordsfokus behåller ringen
   från :focus-visible-regeln högst upp - därför bara :focus:not(:focus-visible). */
.form-field input:focus:not(:focus-visible),
.form-field select:focus:not(:focus-visible),
.form-field textarea:focus:not(:focus-visible) {
  outline: none;
  border-color: var(--ink);
}

.form-field input:focus-visible,
.form-field select:focus-visible,
.form-field textarea:focus-visible {
  border-color: var(--ink);
}

.form-field.has-error input,
.form-field.has-error select,
.form-field.has-error textarea { border-color: #a5170f; }

.field-error {
  color: #a5170f;
  font-size: 0.82rem;
  margin-top: 0.35rem;
  font-weight: 500;
}

.form-status:empty { display: none; }

.form-status {
  margin-top: 1rem;
  padding: 0.9rem 1.1rem;
  border-radius: 14px;
  font-weight: 600;
  font-size: 0.92rem;
  background: var(--grey);
  color: var(--ink);
}

.form-status.is-error { background: #fdecea; color: #8c1209; }

.form-notice {
  margin: 0 0 1.1rem;
  padding: 0.9rem 1.1rem;
  border-radius: 14px;
  background: var(--grey);
  border-left: 3px solid var(--gold);
  font-size: 0.82rem;
  line-height: 1.65;
  color: var(--body);
}

.form-notice strong { color: var(--ink); }

.form-fine {
  margin-top: 1rem;
  font-size: 0.78rem;
  line-height: 1.6;
  color: var(--muted);
}

/* ---------- Footer ---------- */

.site-footer { padding: clamp(1rem, 2vw, 2rem) 0 1.25rem; }

.footer-card {
  width: min(1360px, 100% - 2rem);
  margin-inline: auto;
  background: var(--ink);
  border-radius: var(--radius-lg);
  padding: clamp(2.2rem, 5vw, 3.5rem) clamp(1.5rem, 4vw, 3.5rem) 1.4rem;
  color: #fff;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.2rem;
}

.brand-light,
.brand-light .brand-name,
.brand-light .brand-sub { color: #fff; }

.brand-light .brand-mark { color: var(--gold); }

.footer-brand p {
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.93rem;
}

.footer-nav { display: flex; flex-direction: column; gap: 0.55rem; }

.footer-nav a,
.footer-contact a {
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
  font-size: 0.93rem;
}

.footer-nav a:hover,
.footer-contact a:hover { color: #fff; text-decoration: underline; }

.footer-contact p {
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.93rem;
  margin-bottom: 0.45rem;
  line-height: 1.6;
}

.footer-patient {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding: 1.3rem 0;
}

.footer-patient p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.8rem;
  line-height: 1.7;
  max-width: 92ch;
}

.footer-patient a { color: rgba(255, 255, 255, 0.9); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 1.2rem;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.8rem;
}

.footer-bottom a { color: rgba(255, 255, 255, 0.85); }

/* ---------- Sticky bokningsrad (mobil) ---------- */

.mobile-bar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  gap: 0.6rem;
  padding: 0.6rem 0.85rem calc(0.6rem + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  transform: translateY(110%);
  /* visibility gör att de dolda knapparna inte går att tabba till */
  visibility: hidden;
  transition: transform 0.25s ease, visibility 0.25s;
}

.mobile-bar.is-visible { transform: none; visibility: visible; }

.mobile-bar a {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 48px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
}

.mobile-bar-call {
  flex: 0 0 42% !important;
  border: 1px solid var(--ink);
  color: var(--ink);
  background: var(--paper);
}

.mobile-bar-call svg { width: 17px; height: 17px; }

.mobile-bar-book {
  background: var(--ink);
  color: var(--paper);
}

@media (max-width: 720px) {
  .mobile-bar { display: flex; }
  body { padding-bottom: 4.5rem; }
  /* så att fokuserade element inte hamnar bakom raden */
  html { scroll-padding-bottom: 5rem; }
}

@media (prefers-reduced-motion: reduce) {
  .mobile-bar { transition: none; }
}

/* ---------- Enkel undersida (integritetspolicy, 404) ---------- */

.page-narrow {
  width: min(760px, 100% - 3rem);
  margin-inline: auto;
  padding: clamp(2.5rem, 6vw, 4.5rem) 0;
}

.page-narrow h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.page-narrow h2 {
  font-size: 1.3rem;
  margin: 2.2rem 0 0.6rem;
}

.page-narrow p,
.page-narrow li { font-size: 0.97rem; margin-bottom: 0.8rem; }

.page-narrow ul { margin: 0 0 1rem 1.2rem; }

.page-narrow a { color: var(--ink); text-underline-offset: 3px; }

.page-updated { font-size: 0.85rem; color: var(--muted); }

.page-narrow .page-actions { margin-top: 2.5rem; }

.footer-flush { border-top: none; padding-top: 0; }

/* 404 */
.page-404 {
  text-align: center;
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.page-404-mark {
  width: 64px;
  height: 64px;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.page-404-actions {
  margin-top: 1.5rem;
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* ---------- Reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible { opacity: 1; transform: none; }

.reveal.delay-1 { transition-delay: 0.1s; }
.reveal.delay-2 { transition-delay: 0.2s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ---------- Responsivt ---------- */

@media (max-width: 1140px) {
  .site-nav { gap: 1.3rem; }
  .header-actions { gap: 0.9rem; }
}

@media (max-width: 1000px) {
  .site-nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--paper);
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 1.5rem 1rem;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px rgba(18, 18, 18, 0.08);
    display: none;
  }

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

  .site-nav a {
    padding: 0.95rem 0;
    border-bottom: 1px solid var(--line);
    font-size: 1.05rem;
  }

  .site-nav a:last-child { border-bottom: none; }

  .nav-toggle { display: flex; }

  .treat-layout { grid-template-columns: 1fr; }
  .treat-intro { position: static; }

  .about-grid,
  .cost-grid,
  .contact-grid,
  .lead-card { grid-template-columns: 1fr; }

  .steps-grid { grid-template-columns: 1fr; gap: 1.5rem; }

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

  .hero-trust { grid-template-columns: 1fr; gap: 1.4rem; }
  .trust-label { max-width: 46ch; }

  .mosaic-grid { grid-template-columns: 1fr 1fr; }
  .mosaic-grid figure { height: clamp(180px, 30vw, 260px); }
  .mosaic-grid figure:last-child { grid-column: 1 / -1; height: clamp(180px, 26vw, 240px); }

  .footer-inner { grid-template-columns: 1fr; gap: 1.8rem; }
}

@media (max-width: 720px) {
  .header-actions { gap: 0.65rem; }
  .header-actions .btn-pill { padding: 0.72em 1.15em; font-size: 0.82rem; }

  /* Telefonen blir en riktig ikonknapp med tillräcklig träffyta */
  .header-phone span { display: none; }
  .header-phone {
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 12px;
  }
  .header-phone svg { width: 19px; height: 19px; }

  .nav-toggle { width: 44px; height: 44px; }

  .hero-card {
    min-height: 76vh;
    flex-direction: column;
    justify-content: flex-end;
    align-items: stretch;
  }

  .hero-media img { object-position: 68% 28%; }

  .hero-media::after {
    background: linear-gradient(180deg, rgba(244, 243, 241, 0.1) 22%, rgba(244, 243, 241, 0.9) 62%);
  }

  .hero-copy { padding: 1.5rem 1.4rem 1.6rem; max-width: none; }

  .hero-actions .btn { flex: 1 1 auto; }

  .trust-num { font-size: 1.6rem; }

  .gold-band-inner { text-align: left; }

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

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

  .lead-card { padding: 1.4rem; }
}

/* Smala telefoner: headern får inte spilla utanför skärmen */
@media (max-width: 400px) {
  .container { width: min(1240px, 100% - 2rem); }
  .header-actions { gap: 0.5rem; }
  .header-actions .btn-pill { padding: 0.7em 0.95em; font-size: 0.78rem; }
  .brand-mark { width: 36px; height: 36px; }
  .brand-name { font-size: 1.2rem; }
}

/* Allra smalaste: bokningsknappen finns ändå i heron och i den fasta raden */
@media (max-width: 340px) {
  .header-actions .btn-pill { display: none; }
}
