/* Klinik Björkäng — klinisk, lugn, kortbaserad. Demo-sajt. */

:root {
  --ink: #16232a;
  --ink-soft: #4c6068;
  --bg: #f4f8f8;
  --panel: #ffffff;
  --blue: #2c6e8f;
  --blue-deep: #1d4f68;
  --mint: #bfe6da;
  --mint-deep: #6bb7a1;
  --line: rgba(22, 35, 42, 0.11);
  --radius: 18px;
  --font-display: "Outfit", "Inter", ui-sans-serif, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, sans-serif;
  --ease: cubic-bezier(.22, 1, .3, 1);
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-body); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ---------- demo-badge ---------- */
.demo-badge {
  position: fixed; z-index: 9999; right: 14px; bottom: 14px;
  display: flex; align-items: center; gap: 8px;
  background: var(--ink); color: #fff;
  font: 600 12.5px/1 var(--font-body); letter-spacing: .01em;
  padding: 11px 16px; border-radius: 999px; text-decoration: none;
  box-shadow: 0 8px 22px rgba(22,35,42,.28);
}
.demo-badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--mint-deep); flex: none; }
.demo-badge:hover { background: #000; }
@media (max-width: 480px) { .demo-badge { font-size: 11.5px; padding: 9px 13px; right: 10px; bottom: 10px; } }

/* ---------- topp-nav ---------- */
.top { position: sticky; top: 0; z-index: 40; background: rgba(244,248,248,.92); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.top__inner { max-width: 1120px; margin: 0 auto; padding: 18px 24px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); }
.brand__mark { width: 38px; height: 38px; border-radius: 11px; background: var(--blue); display: grid; place-items: center; flex: none; }
.brand__mark svg { width: 19px; height: 19px; stroke: #fff; }
.brand__name { font-family: var(--font-display); font-weight: 600; font-size: 18px; }
.nav { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; font-size: 14.5px; }
.nav a { text-decoration: none; color: var(--ink-soft); }
.nav a:hover { color: var(--blue-deep); }
.top__cta { background: var(--blue); color: #fff; border-radius: 10px; padding: 11px 20px; font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.top__cta:hover { background: var(--blue-deep); }
.nav-toggle { display: none; }

@media (max-width: 780px) {
  .nav { display: none; }
  .top__cta { display: none; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); background: var(--panel); }
}
.sheet { display: none; flex-direction: column; padding: 8px 24px 20px; border-bottom: 1px solid var(--line); background: var(--panel); }
.sheet.is-open { display: flex; }
.sheet a { padding: 13px 4px; text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--line); font-size: 15px; }
.sheet a:last-child { border-bottom: none; }

/* ---------- hero ---------- */
.hero { padding: 76px 0 90px; }
.hero__card {
  background: linear-gradient(150deg, var(--blue) 0%, var(--blue-deep) 100%);
  border-radius: 28px;
  padding: 60px 56px;
  color: #fff;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 40px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero__card::after {
  content: ""; position: absolute; right: -80px; top: -80px; width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(191,230,218,.35), transparent 70%);
}
.hero__kicker { text-transform: uppercase; letter-spacing: .1em; font-size: 12.5px; color: var(--mint); margin: 0 0 18px; font-weight: 600; position: relative; }
.hero h1 { font-family: var(--font-display); font-weight: 600; font-size: clamp(32px, 4.6vw, 50px); line-height: 1.1; margin: 0 0 20px; position: relative; }
.hero p.lede { font-size: 16.5px; color: rgba(255,255,255,.86); max-width: 44ch; margin: 0 0 30px; position: relative; }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; position: relative; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 24px; border-radius: 12px; text-decoration: none; font-weight: 600; font-size: 14.5px; transition: transform .3s var(--ease), background .3s var(--ease); }
.btn--fill { background: #fff; color: var(--blue-deep); }
.btn--fill:hover { background: var(--mint); transform: translateY(-1px); }
.btn--line { border: 1.5px solid rgba(255,255,255,.6); color: #fff; }
.btn--line:hover { background: rgba(255,255,255,.14); }
.btn--dark { background: var(--blue); color: #fff; }
.btn--dark:hover { background: var(--blue-deep); }

.hero__panel { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.28); border-radius: 18px; padding: 26px; position: relative; }
.hero__panel ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.hero__panel li { display: flex; justify-content: space-between; font-size: 14.5px; padding-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,.2); }
.hero__panel li:last-child { border: none; padding-bottom: 0; }
.hero__panel b { font-family: var(--font-display); font-size: 15px; }

@media (max-width: 860px) {
  .hero__card { grid-template-columns: 1fr; padding: 44px 30px; border-radius: 22px; }
  .hero { padding: 56px 0 64px; }
}

/* ---------- sektion ---------- */
.section { padding: 84px 0; }
.section--tinted { background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.head { max-width: 620px; margin: 0 0 46px; }
.head.center { margin-left: auto; margin-right: auto; text-align: center; }
.head .kicker { text-transform: uppercase; letter-spacing: .1em; font-size: 12.5px; color: var(--blue-deep); margin: 0 0 12px; font-weight: 600; }
.head h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(28px, 3.4vw, 38px); margin: 0 0 14px; }
.head p { color: var(--ink-soft); margin: 0; font-size: 16px; }

/* ---------- tjänster ---------- */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.service-card__icon { width: 46px; height: 46px; border-radius: 12px; background: var(--mint); display: grid; place-items: center; margin-bottom: 18px; }
.service-card__icon svg { width: 22px; height: 22px; stroke: var(--blue-deep); }
.service-card h3 { font-family: var(--font-display); font-size: 17px; font-weight: 600; margin: 0 0 8px; }
.service-card p { font-size: 14px; color: var(--ink-soft); margin: 0; }

@media (max-width: 980px) { .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .service-grid { grid-template-columns: 1fr; } }

/* ---------- priser ---------- */
.price-table { width: 100%; border-collapse: collapse; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.price-table th, .price-table td { text-align: left; padding: 16px 22px; font-size: 15px; }
.price-table thead th { background: var(--bg); font-size: 12.5px; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-soft); }
.price-table tbody tr:not(:last-child) td { border-bottom: 1px solid var(--line); }
.price-table td:last-child, .price-table th:last-child { text-align: right; font-weight: 700; color: var(--blue-deep); }
.price-note { margin-top: 18px; font-size: 13.5px; color: var(--ink-soft); }

/* ---------- personal ---------- */
.staff-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.staff-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; text-align: center; }
.staff-card__avatar { width: 68px; height: 68px; border-radius: 50%; margin: 0 auto 16px; display: grid; place-items: center; font-family: var(--font-display); font-weight: 600; font-size: 20px; color: #fff; }
.staff-card__avatar--1 { background: linear-gradient(150deg, #2c6e8f, #1d4f68); }
.staff-card__avatar--2 { background: linear-gradient(150deg, #6bb7a1, #2c6e8f); }
.staff-card__avatar--3 { background: linear-gradient(150deg, #1d4f68, #0f2f3e); }
.staff-card__avatar--4 { background: linear-gradient(150deg, #8fb7c9, #2c6e8f); }
.staff-card h3 { font-size: 15.5px; font-weight: 600; margin: 0 0 4px; }
.staff-card p { font-size: 13px; color: var(--ink-soft); margin: 0; }

@media (max-width: 980px) { .staff-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- trygghet ---------- */
.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.trust-item { display: flex; gap: 14px; align-items: flex-start; }
.trust-item svg { flex: none; width: 22px; height: 22px; stroke: var(--blue-deep); margin-top: 2px; }
.trust-item h3 { font-size: 15px; font-weight: 600; margin: 0 0 4px; }
.trust-item p { font-size: 13.5px; color: var(--ink-soft); margin: 0; }

@media (max-width: 780px) { .trust { grid-template-columns: 1fr; gap: 22px; } }

/* ---------- kontakt ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 26px; }
.contact-info { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; }
.contact-info h3 { font-family: var(--font-display); font-size: 19px; font-weight: 600; margin: 0 0 18px; }
.contact-info__row { display: flex; gap: 13px; padding: 13px 0; border-top: 1px solid var(--line); font-size: 14.5px; }
.contact-info__row:first-of-type { border-top: none; }
.contact-info__row svg { flex: none; color: var(--blue-deep); margin-top: 2px; }
.contact-info__row a { text-decoration: none; color: var(--ink); }
.contact-info__row b { display: block; font-size: 11.5px; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-soft); margin-bottom: 2px; }

.contact-form { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; }
.form-row { margin-bottom: 16px; }
.form-row label { display: block; font-size: 12.5px; font-weight: 600; margin-bottom: 6px; color: var(--ink-soft); }
.form-row input, .form-row select, .form-row textarea { width: 100%; border: 1px solid var(--line); background: var(--bg); border-radius: 10px; padding: 12px 14px; font: inherit; font-size: 15px; color: var(--ink); }
.form-row input:focus, .form-row select:focus, .form-row textarea:focus { outline: 2px solid var(--blue); outline-offset: 1px; }
.form-note { font-size: 12.5px; color: var(--ink-soft); margin: 14px 0 0; }
.form-status { margin-top: 14px; padding: 12px 14px; border-radius: 10px; background: var(--mint); color: var(--blue-deep); font-size: 14px; font-weight: 600; }
.form-status[hidden] { display: none; }

@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--line); padding: 34px 0 100px; }
.foot__inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; font-size: 13.5px; color: var(--ink-soft); }
.foot a { text-decoration: none; color: var(--ink); }
.foot a:hover { color: var(--blue-deep); }
