@font-face {
  font-family: "Archivo";
  src: url("/fonts/archivo-latin-wdth-normal.woff2") format("woff2-variations"),
       url("/fonts/archivo-latin-wdth-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

:root {
  --natt: #13293d;     /* fjällnatt – mörk bakgrund, rubriker */
  --natt-2: #1c3a54;
  --sno: #fafbfc;      /* snö – sidbakgrund */
  --frost: #e3edf2;    /* frost – mjuka ytor */
  --frost-ink: #9fc3d6;/* kall siffra */
  --glod: #f2a541;     /* glöd – värme, knappar */
  --glod-dark: #d98b22;
  --ink: #22323f;
  --muted: #5e6e7a;
  --line: #d3dee5;
  --max: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-stretch: 100%;
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--sno);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--natt-2); text-underline-offset: 3px; }
a:hover { color: var(--glod-dark); }
:focus-visible { outline: 3px solid var(--glod); outline-offset: 3px; border-radius: 3px; }

h1, h2, h3 {
  font-stretch: 75%;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--natt);
  margin: 0 0 .5em;
}
h2 { font-size: clamp(2rem, 4.6vw, 3.2rem); max-width: 20ch; }
h3 { font-size: 1.55rem; }
p { margin: 0 0 1em; max-width: 64ch; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px 12px; z-index: 20; }

/* ---------- Header ---------- */
.top {
  position: sticky; top: 0; z-index: 10;
  background: rgba(250, 251, 252, .94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.top .wrap { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.top .logo img { width: 180px; height: auto; }
.top nav { display: flex; gap: 4px; margin-left: auto; }
.top nav a {
  text-decoration: none; color: var(--ink); font-weight: 600; font-size: .95rem;
  padding: 8px 10px; border-radius: 6px;
}
.top nav a:hover { background: var(--frost); color: var(--natt); }
.call {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--natt); color: #fff; text-decoration: none; font-weight: 700;
  padding: 10px 16px; border-radius: 999px; white-space: nowrap;
}
.call:hover { background: var(--natt-2); color: #fff; }
.call svg { width: 18px; height: 18px; }
@media (max-width: 820px) {
  .top nav { display: none; }
  .top .call { margin-left: auto; }
}
@media (max-width: 420px) {
  .top .logo img { width: 140px; }
  .call .num { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  background: var(--natt);
  color: #fff;
  overflow: hidden;
}
.hero .wrap {
  display: grid; gap: 40px;
  grid-template-columns: 1fr;
  padding-top: 56px; padding-bottom: 64px;
}
@media (min-width: 900px) {
  .hero .wrap { grid-template-columns: 1.05fr .95fr; align-items: center; padding-top: 80px; padding-bottom: 88px; }
}

.temps { margin: 0 0 28px; display: grid; gap: 4px; }
.temp {
  display: flex; align-items: baseline; gap: 14px;
  font-stretch: 62%; font-weight: 900; line-height: .86;
  font-size: clamp(5.5rem, 17vw, 10.5rem);
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.temp small {
  font-stretch: 100%; font-weight: 600; font-size: 1.1rem; letter-spacing: 0;
  line-height: 1.2;
}
.temp.ute { color: var(--frost-ink); }
.temp.ute small { color: var(--frost-ink); }
.temp.inne { color: var(--glod); }
.temp.inne small { color: #ffd9a3; }

@media (prefers-reduced-motion: no-preference) {
  .temp.inne { animation: warm 1.6s ease-out .5s both; }
  @keyframes warm {
    from { color: var(--frost-ink); }
    to   { color: var(--glod); }
  }
}

.hero h1 {
  color: #fff;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  max-width: 16ch;
}
.hero .lead { font-size: 1.2rem; color: #d5e2ea; max-width: 40ch; margin-bottom: 28px; }

.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 1.05rem; text-decoration: none;
  padding: 14px 24px; border-radius: 999px; border: 2px solid transparent;
}
.btn svg { width: 20px; height: 20px; }
.btn-warm { background: var(--glod); color: var(--natt); }
.btn-warm:hover { background: #ffb95c; color: var(--natt); }
.btn-line { border-color: rgba(255,255,255,.5); color: #fff; }
.btn-line:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.08); }

.hero-photo { position: relative; }
.hero-photo img { border-radius: 14px; width: 100%; aspect-ratio: 4 / 3.2; object-fit: cover; object-position: 70% center; }
.hero-photo figcaption { font-size: .9rem; color: #a9bdca; margin-top: 10px; }

/* ---------- Promises ---------- */
.promises { background: var(--frost); }
.promises ul {
  list-style: none; margin: 0; padding: 36px 0;
  display: grid; gap: 22px 32px;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}
.promises li { border-top: 3px solid var(--natt); padding-top: 14px; }
.promises strong { display: block; font-stretch: 75%; font-size: 1.35rem; font-weight: 800; color: var(--natt); line-height: 1.15; margin-bottom: 4px; }
.promises span { color: var(--muted); font-size: .98rem; }

/* ---------- Generic sections ---------- */
.block { padding: 88px 0; }
.block.tight { padding-top: 0; }
.block .intro { margin-bottom: 44px; }
.block .intro p { font-size: 1.15rem; color: var(--muted); }

/* ---------- Steps ---------- */
.steps {
  list-style: none; margin: 0; padding: 0; counter-reset: s;
  display: grid; gap: 28px;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}
.steps li { counter-increment: s; }
.steps li::before {
  content: counter(s);
  display: block;
  font-stretch: 62%; font-weight: 900; font-size: 4.2rem; line-height: 1;
  color: var(--glod);
  margin-bottom: 8px;
}
.steps h3 { font-size: 1.35rem; margin-bottom: 6px; }
.steps p { color: var(--muted); margin: 0; }

/* ---------- Product finder ---------- */
.need { padding: 48px 0; border-top: 1px solid var(--line); }
.need:first-of-type { border-top: 0; padding-top: 0; }
.need-head { display: grid; gap: 8px 40px; margin-bottom: 28px; }
@media (min-width: 900px) { .need-head { grid-template-columns: 1fr 1.3fr; align-items: end; } }
.need-head h3 { font-size: clamp(1.7rem, 3vw, 2.2rem); margin: 0; }
.need-head p { margin: 0; color: var(--muted); }

.models { display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); }
.model {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px;
  display: grid; grid-template-rows: auto auto 1fr auto; gap: 14px;
}
.model.featured { border: 2px solid var(--glod); }
.model figure { margin: 0; height: 150px; display: flex; align-items: center; justify-content: center; }
.model figure img { max-height: 150px; width: auto; object-fit: contain; }
.model .name { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.model h4 { margin: 0; font-stretch: 75%; font-size: 1.45rem; font-weight: 800; color: var(--natt); line-height: 1.1; }
.model h4 span { display: block; font-stretch: 100%; font-size: .9rem; font-weight: 600; color: var(--muted); }
.badge { background: var(--glod); color: var(--natt); font-weight: 700; font-size: .82rem; padding: 3px 10px; border-radius: 999px; }
.model p { margin: 0; color: var(--muted); font-size: 1rem; }
.specs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 6px 0 0; }
.specs div { background: var(--sno); border-radius: 8px; padding: 8px 10px; }
.specs dt { font-size: .8rem; color: var(--muted); }
.specs dd { margin: 0; font-weight: 700; font-stretch: 85%; font-size: 1.15rem; color: var(--natt); }
.model .foot {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  border-top: 1px solid var(--line); padding-top: 14px;
}
.price { font-stretch: 75%; font-weight: 800; font-size: 1.7rem; color: var(--natt); line-height: 1; }
.price small { display: block; font-stretch: 100%; font-size: .78rem; font-weight: 500; color: var(--muted); margin-bottom: 4px; }
.pdf { font-weight: 600; font-size: .95rem; display: inline-flex; gap: 6px; align-items: center; }
.pdf svg { width: 16px; height: 16px; }
.fineprint { font-size: .92rem; color: var(--muted); margin-top: 32px; }

/* ---------- ROT ---------- */
.rot { background: var(--natt); color: #d5e2ea; }
.rot .wrap { display: grid; gap: 36px; }
@media (min-width: 900px) { .rot .wrap { grid-template-columns: 1fr 1fr; align-items: center; } }
.rot h2 { color: #fff; }
.rot p { color: #d5e2ea; }
.calc {
  background: var(--natt-2); border-radius: 14px; padding: 28px;
  font-variant-numeric: tabular-nums;
}
.calc .row { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.calc .row:last-child { border-bottom: 0; }
.calc .row.total { font-stretch: 75%; font-weight: 800; font-size: 1.6rem; color: var(--glod); padding-top: 16px; }
.calc .label { color: #a9bdca; font-size: .95rem; margin-bottom: 8px; }

/* ---------- Full price list ---------- */
details.prices { border: 1px solid var(--line); border-radius: 14px; background: #fff; }
details.prices + details.prices { margin-top: 14px; }
details.prices summary {
  cursor: pointer; padding: 20px 24px; font-weight: 700; font-size: 1.15rem; color: var(--natt);
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
details.prices summary::-webkit-details-marker { display: none; }
details.prices summary::after { content: "+"; font-size: 1.6rem; line-height: 1; color: var(--glod-dark); }
details.prices[open] summary::after { content: "–"; }
details.prices .inner { padding: 0 24px 24px; }
table { width: 100%; border-collapse: collapse; font-size: 1rem; }
th, td { text-align: left; padding: 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: .9rem; color: var(--muted); font-weight: 600; }
td.num, th.num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; padding-left: 16px; }
tbody tr:last-child td { border-bottom: 0; }
.checklist { columns: 2 240px; column-gap: 32px; padding-left: 1.2em; margin: 0; }
.checklist li { break-inside: avoid; margin-bottom: 4px; }

/* ---------- Contact ---------- */
.contact .wrap { display: grid; gap: 48px; }
@media (min-width: 900px) { .contact .wrap { grid-template-columns: 1.1fr .9fr; align-items: center; } }
.big-phone {
  display: inline-block; text-decoration: none;
  font-stretch: 62%; font-weight: 900; color: var(--natt);
  font-size: clamp(3rem, 9vw, 5.4rem); line-height: 1; letter-spacing: -0.02em;
  margin: 8px 0 6px;
}
.big-phone:hover { color: var(--glod-dark); }
.contact dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 20px; margin: 28px 0 0; }
.contact dt { color: var(--muted); }
.contact dd { margin: 0; font-weight: 600; }
.contact .map { border-radius: 14px; border: 1px solid var(--line); }

/* ---------- Footer ---------- */
footer { background: var(--natt); color: #a9bdca; padding: 36px 0; font-size: .95rem; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between; }
footer a { color: #fff; }
footer strong { color: #fff; }

/* ---------- Mobile call bar ---------- */
.callbar { display: none; }
@media (max-width: 700px) {
  .callbar {
    display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 15;
    gap: 8px;
  }
  .callbar a {
    flex: 1; text-align: center; text-decoration: none; font-weight: 700;
    padding: 14px 10px; border-radius: 999px; box-shadow: 0 6px 20px rgba(19,41,61,.25);
  }
  .callbar .c1 { background: var(--glod); color: var(--natt); }
  .callbar .c2 { background: var(--natt); color: #fff; }
  footer { padding-bottom: 96px; }
}

/* ---------- Size guide ---------- */
.ytguide {
  background: var(--frost); border-left: 6px solid var(--glod);
  border-radius: 0 14px 14px 0; padding: 24px 28px; margin: 0 0 56px;
}
.ytguide h3 { font-size: 1.5rem; margin-bottom: 10px; }
.ytguide p { color: var(--ink); }
.ytguide p:last-child { margin-bottom: 0; }
.area { margin: 12px 0 0; font-size: .95rem; color: var(--muted); }
.area strong { color: var(--natt); font-stretch: 85%; font-size: 1.15rem; }
.area a { text-decoration: none; color: var(--glod-dark); font-weight: 700; margin-left: 1px; }
div.area { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; }
div.area ul { list-style: none; display: flex; gap: 14px; margin: 0; padding: 0; flex-wrap: wrap; }
div.area li { font-weight: 700; font-stretch: 85%; font-size: 1.1rem; color: var(--natt); }
div.area li span { font-weight: 500; font-stretch: 100%; font-size: .8rem; color: var(--muted); margin-right: 4px; }

/* ---------- Länkade modellnamn ---------- */
.model h4 a { color: inherit; text-decoration: none; }
.model h4 a:hover { color: var(--glod-dark); text-decoration: underline; }

.btn-ghost { border-color: var(--natt); color: var(--natt); }
.btn-ghost:hover { background: var(--natt); color: #fff; }

/* ---------- Vanliga frågor ---------- */
.faq { padding-top: 0; }
.faq details.prices summary { font-size: 1.1rem; }
.faq details.prices .inner p { margin: 0; }

/* ---------- Produktsida ---------- */
.product { padding-top: 40px; }
.crumbs { font-size: .92rem; color: var(--muted); margin-bottom: 32px; }
.crumbs a { color: var(--muted); }
.product-grid { display: grid; gap: 40px; }
@media (min-width: 900px) { .product-grid { grid-template-columns: 1fr 1fr; align-items: center; } }
.product-img { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 32px; display: flex; justify-content: center; }
.product-img img { max-height: 380px; width: auto; object-fit: contain; }
.product-kind { color: var(--muted); font-weight: 600; margin-bottom: 8px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.product h1 { font-size: clamp(2.4rem, 5.5vw, 3.8rem); max-width: 14ch; }
.product .lead { font-size: 1.2rem; color: var(--ink); }
.product .specs { margin: 20px 0 28px; }
.product-info { display: grid; gap: 48px; }
@media (min-width: 900px) { .product-info { grid-template-columns: 1.2fr 1fr; } }
.product-info h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); }
.sizes td strong { font-stretch: 85%; font-size: 1.15rem; color: var(--natt); }
.sizes + .fineprint { margin-top: 16px; }
.product-info .fineprint { margin-top: 12px; }

.others h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); }
.others ul { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.others li a { display: flex; flex-direction: column; gap: 10px; height: 100%; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px; text-decoration: none; color: var(--natt); }
.others li a:hover { border-color: var(--glod); }
.others li img { height: 70px; width: auto; max-width: 100%; object-fit: contain; align-self: center; }
.others li span { font-stretch: 75%; font-weight: 800; font-size: 1.3rem; line-height: 1.1; }
.others li small { display: block; font-stretch: 100%; font-weight: 500; font-size: .85rem; color: var(--muted); margin-top: 2px; }
