/* Heavy Solutions AB – stilmall
   Färger från logotypen: svart vikt + gul text (#F9B233). */

@font-face {
  font-family: "Montserrat";
  src: url("/assets/fonts/montserrat-latin.woff2") format("woff2");
  font-weight: 700 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #111214;
  --coal: #1a1c20;
  --steel: #2a2e35;
  --yellow: #f9b233;
  --yellow-dark: #e09a12;
  --yellow-soft: #fff4dc;
  --paper: #f6f5f1;
  --line: #e3e1da;
  --text: #24262b;
  --muted: #5b616b;
  --white: #ffffff;
  --ok: #17663a;
  --err: #a8261d;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 14px 40px rgba(17, 18, 20, 0.08);
  --head: "Montserrat", "Arial Black", Arial, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  margin: 0 0 0.5em;
  font-family: var(--head);
  font-weight: 800;
  line-height: 1.12;
  color: var(--ink);
  letter-spacing: -0.01em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.1rem, 5.2vw, 3.9rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.35rem); font-weight: 700; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

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

.container { width: min(1160px, calc(100% - 32px)); margin-inline: auto; }
.narrow { max-width: 760px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed; z-index: 200; top: 10px; left: 10px;
  padding: 10px 16px; border-radius: 8px;
  background: var(--yellow); color: var(--ink); font-weight: 700; text-decoration: none;
  transform: translateY(-160%);
}
.skip-link:focus { transform: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(1.4) blur(10px);
}
.nav-row { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex: 0 0 auto; }
.brand img { width: 64px; height: 64px; }
.brand-text { display: flex; flex-direction: column; align-items: center; text-align: center; white-space: nowrap; font-family: var(--head); font-weight: 800; font-size: 1.55rem; line-height: 1; color: var(--yellow); text-transform: uppercase; letter-spacing: 0.01em; }
.brand-text span { display: block; margin-top: 3px; font-size: 0.66rem; letter-spacing: 0.03em; color: var(--ink); }

.site-nav { display: flex; align-items: center; gap: clamp(14px, 2.2vw, 30px); margin-left: auto; }
.site-nav a {
  position: relative; padding: 26px 0; font-weight: 600; font-size: 0.97rem;
  color: var(--steel); text-decoration: none; white-space: nowrap;
}
.site-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 18px; height: 3px;
  background: var(--yellow); border-radius: 2px; transform: scaleX(0); transition: transform .18s ease;
}
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); }
.site-nav a[aria-current="page"] { color: var(--ink); }

.header-actions { display: flex; align-items: center; gap: 10px; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; color: var(--ink); white-space: nowrap; }
.header-phone svg { width: 18px; height: 18px; color: var(--yellow-dark); }

.menu-button {
  display: none; align-items: center; gap: 8px; margin-left: auto;
  min-height: 44px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 10px;
  background: var(--white); font-weight: 700; cursor: pointer;
}
.menu-icon { position: relative; width: 18px; height: 12px; }
.menu-icon::before, .menu-icon::after, .menu-icon span {
  content: ""; position: absolute; left: 0; width: 100%; height: 2px; background: currentColor; border-radius: 2px;
  transition: transform .18s ease, opacity .18s ease, top .18s ease;
}
.menu-icon::before { top: 0; } .menu-icon span { top: 5px; } .menu-icon::after { top: 10px; }
.menu-button[aria-expanded="true"] .menu-icon::before { top: 5px; transform: rotate(45deg); }
.menu-button[aria-expanded="true"] .menu-icon span { opacity: 0; }
.menu-button[aria-expanded="true"] .menu-icon::after { top: 5px; transform: rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 12px 22px; border: 2px solid transparent; border-radius: 12px;
  font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 18px; height: 18px; flex: 0 0 auto; }
.btn-primary { background: var(--yellow); color: var(--ink); box-shadow: 0 6px 18px rgba(249, 178, 51, 0.35); }
.btn-primary:hover { background: #ffbf47; }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: var(--steel); }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: var(--white); }
.btn-ghost { border-color: rgba(255, 255, 255, 0.55); color: var(--white); background: rgba(255, 255, 255, 0.06); }
.btn-ghost:hover { border-color: var(--white); background: rgba(255, 255, 255, 0.14); }
.btn-sm { min-height: 42px; padding: 8px 16px; font-size: 0.94rem; }
.btn[disabled] { opacity: .65; cursor: progress; transform: none; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink); text-decoration: none; border-bottom: 2px solid var(--yellow); padding-bottom: 2px; }
.text-link:hover { border-color: var(--ink); }
.text-link svg { width: 16px; height: 16px; transition: transform .15s ease; }
.text-link:hover svg { transform: translateX(3px); }

/* ---------- Generic sections ---------- */
.section { padding: clamp(64px, 9vw, 104px) 0; }
[id] { scroll-margin-top: calc(var(--header-h) + 12px); }
.section-paper { background: var(--paper); }
.section-dark { background: var(--ink); color: #d7d9de; }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.section-dark .section-head p { color: #b9bdc5; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px;
  font-size: 0.78rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--yellow-dark);
}
.eyebrow::before { content: ""; width: 26px; height: 3px; background: var(--yellow); border-radius: 2px; }
.section-dark .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: var(--yellow); }

.lead { font-size: clamp(1.08rem, 1.6vw, 1.25rem); color: var(--muted); }

/* ---------- Hero (startsida) ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--ink); color: var(--white); }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(17,18,20,.94) 0%, rgba(17,18,20,.82) 42%, rgba(17,18,20,.35) 100%);
}
.hero-inner { padding: clamp(80px, 12vw, 150px) 0 clamp(72px, 10vw, 120px); max-width: 700px; }
.hero h1 { color: var(--white); }
.hero h1 em { font-style: normal; color: var(--yellow); }
.hero .lead { color: #e2e4e8; max-width: 600px; }

.trust-list { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 34px 0 0; padding: 0; list-style: none; }
.trust-list li { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 0.95rem; color: #eef0f3; }
.trust-list svg { width: 20px; height: 20px; color: var(--yellow); flex: 0 0 auto; }

/* ---------- Page hero (undersidor) ---------- */
.page-hero {
  position: relative; overflow: hidden; color: var(--white);
  background: radial-gradient(circle at 85% 20%, rgba(249,178,51,.18), transparent 38%), linear-gradient(120deg, #111214 0%, #23262c 100%);
  padding: clamp(56px, 8vw, 96px) 0 clamp(56px, 8vw, 88px);
}
.page-hero::after {
  content: ""; position: absolute; right: -40px; bottom: -40px; width: 260px; height: 260px;
  background: repeating-linear-gradient(-45deg, rgba(249,178,51,.16) 0 14px, transparent 14px 28px);
  border-radius: 50%; pointer-events: none;
}
.page-hero h1 { color: var(--white); max-width: 820px; }
.page-hero .lead { color: #d3d6dc; max-width: 680px; }

.breadcrumbs { margin-bottom: 22px; font-size: 0.88rem; color: #aeb3bb; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; color: #6d727b; }
.breadcrumbs a { color: #e4e6ea; text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }

/* ---------- Service cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.card {
  position: relative; display: flex; flex-direction: column;
  padding: 30px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--white); box-shadow: 0 2px 10px rgba(17,18,20,.03);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #d2cfc5; }
.card h3 { margin-top: 4px; }
.card p { color: var(--muted); }
.card .text-link { margin-top: auto; align-self: flex-start; }
.card .text-link::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.card ul { margin: 0 0 22px; }

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

.side-note {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 20px;
  margin-top: 22px; padding: 22px 26px; border: 1px dashed #cfccc3; border-radius: var(--radius); background: var(--paper);
}
.side-note .icon { width: 46px; height: 46px; margin: 0; }
.side-note .icon svg { width: 24px; height: 24px; }
.side-note h3 { margin-bottom: 4px; font-size: 1.1rem; }
.side-note p { color: var(--muted); font-size: 0.97rem; }

.icon {
  display: inline-grid; place-items: center; width: 54px; height: 54px; margin-bottom: 20px;
  border-radius: 14px; background: var(--ink); color: var(--yellow);
}
.icon svg { width: 28px; height: 28px; }

.check-list { display: grid; gap: 10px; margin: 0 0 22px; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 30px; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 0.3em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111214' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center/12px no-repeat;
}
.section-dark .check-list li { color: #e1e3e7; }

/* ---------- Split ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 80px); align-items: center; }
.split-media { position: relative; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); background: var(--paper); }
.split-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.split-media figcaption {
  position: absolute; left: 16px; bottom: 16px; padding: 8px 12px; border-radius: 8px;
  background: rgba(17,18,20,.82); color: var(--white); font-size: 0.85rem; font-weight: 600;
}

.panel {
  padding: clamp(28px, 4vw, 44px); border-radius: 20px; background: var(--ink); color: #d7d9de;
  background-image: radial-gradient(circle at 100% 0, rgba(249,178,51,.16), transparent 45%);
}
.panel h2, .panel h3 { color: var(--white); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; counter-reset: step; margin: 0; padding: 0; list-style: none; }
.step { position: relative; padding: 30px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); counter-increment: step; }
.step::before {
  content: counter(step); display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 18px;
  border-radius: 50%; background: var(--yellow); color: var(--ink); font-family: var(--head); font-weight: 800; font-size: 1.15rem;
}
.step p { color: var(--muted); }
.steps-plain .step::before { content: "\2713"; counter-increment: none; font-family: system-ui, sans-serif; font-size: 1.24rem; }

/* ---------- Audience / chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.chips li { padding: 9px 16px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-weight: 600; font-size: 0.95rem; }
.section-dark .chips li { background: var(--steel); border-color: #3a3f47; color: var(--white); }

/* ---------- Kundloggor ---------- */
.kunder { padding: clamp(36px, 5vw, 56px) 0; border-top: 1px solid var(--line); text-align: center; }
.kunder h2 { font-size: 1.1rem; margin-bottom: 6px; }
.kunder p { margin: 0 auto 26px; color: var(--muted); }
.logo-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 28px 56px; margin: 0; padding: 0; list-style: none; }
.logo-row img { width: auto; height: auto; max-width: 200px; max-height: 56px; opacity: .85; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--yellow); color: var(--ink); padding: clamp(44px, 6vw, 64px) 0; }
.cta-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.cta-band h2 { margin-bottom: 6px; }
.cta-band p { margin: 0; max-width: 620px; color: #3a3216; }
.cta-band .button-row { margin-top: 0; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; max-width: 860px; }
.faq details { border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
.faq summary {
  position: relative; padding: 18px 56px 18px 22px; font-weight: 700; cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%;
  background: var(--paper); font-size: 1.25rem; font-weight: 700; line-height: 1;
}
.faq details[open] summary::after { content: "–"; background: var(--yellow); }
.faq .answer { padding: 0 22px 20px; color: var(--muted); }

/* ---------- Forms ---------- */
.contact-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr); gap: 26px; align-items: start; }
.form-card { padding: clamp(22px, 4vw, 38px); border: 1px solid var(--line); border-radius: 20px; background: var(--white); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.field { min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label, .field-label, fieldset legend.field-label { display: block; margin-bottom: 7px; font-weight: 700; font-size: 0.92rem; color: var(--ink); }
.field .hint { display: block; margin-top: 6px; font-size: 0.85rem; color: var(--muted); }
.req { color: var(--err); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid #cfccc3; border-radius: var(--radius-sm);
  background: var(--white); font-size: 1rem; transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(249,178,51,.35); }
.field input[type="file"] { padding: 11px; background: var(--paper); cursor: pointer; }
.field input:user-invalid, .field textarea:user-invalid, .field select:user-invalid { border-color: var(--err); }

fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.form-section { padding: 0 0 30px; margin: 0 0 30px; border-bottom: 1px solid var(--line); }
.form-section:last-of-type { border-bottom: 0; margin-bottom: 8px; padding-bottom: 0; }
.form-section > legend { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; padding: 0; font-family: var(--head); font-weight: 800; font-size: 1.15rem; color: var(--ink); }
.form-section > legend span { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--yellow); font-size: 0.9rem; }

.choice-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.choice {
  position: relative; display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 12px 14px;
  border: 1.5px solid #dcd9cf; border-radius: var(--radius-sm); background: var(--white); cursor: pointer; font-weight: 600; font-size: 0.95rem;
  transition: border-color .15s ease, background .15s ease;
}
.choice:hover { border-color: #a9a597; }
.choice input { width: 18px; height: 18px; margin: 0; accent-color: var(--ink); flex: 0 0 auto; }
.choice:has(input:checked) { border-color: var(--ink); background: var(--yellow-soft); }
.choice:has(input:focus-visible) { outline: 3px solid var(--yellow-dark); outline-offset: 2px; }

.service-picker { display: grid; grid-template-columns: repeat(auto-fit, minmax(118px, 1fr)); gap: 10px; }
.service-picker .choice { flex-direction: column; align-items: flex-start; gap: 4px; min-height: 84px; }
.service-picker .choice input { position: absolute; opacity: 0; }
.service-picker .choice strong { font-family: var(--head); font-weight: 800; font-size: 1rem; }
.service-picker .choice small { color: var(--muted); font-weight: 500; font-size: 0.82rem; line-height: 1.35; }

.consent { display: flex; gap: 12px; align-items: flex-start; margin-top: 22px; padding: 16px; border-radius: var(--radius-sm); background: var(--paper); font-size: 0.93rem; }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--ink); flex: 0 0 auto; }
.consent a { font-weight: 700; }

.form-actions { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; margin-top: 24px; }
.form-note { font-size: 0.87rem; color: var(--muted); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.alert { display: none; margin-bottom: 20px; padding: 14px 16px; border-radius: var(--radius-sm); font-weight: 600; }
.alert.show { display: block; }
.alert-error { background: #fdecea; color: var(--err); border: 1px solid #f3c1bc; }

.contact-card { padding: 30px; border-radius: 20px; background: var(--ink); color: #d7d9de; }
.contact-card h2, .contact-card h3 { color: var(--white); font-size: 1.3rem; }
.person { padding: 18px 0; border-top: 1px solid #33373e; }
.person:first-of-type { border-top: 0; padding-top: 4px; }
.person strong { display: block; color: var(--white); font-size: 1.05rem; }
.person span.role { display: block; font-size: 0.85rem; color: #9ea3ab; margin-bottom: 6px; }
.person a { display: flex; align-items: center; gap: 8px; width: fit-content; margin-top: 6px; color: #e6e8eb; text-decoration: none; }
.person a:hover { color: var(--yellow); }
.person svg { width: 17px; height: 17px; color: var(--yellow); }
.contact-meta { margin-top: 10px; padding-top: 18px; border-top: 1px solid #33373e; font-size: 0.9rem; color: #aeb3bb; }
.contact-meta a { color: var(--yellow); }

/* ---------- Prose (policy) ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.45rem; margin-top: 1.8em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 0.4em; }
.prose a { font-weight: 600; }

/* ---------- Thank you ---------- */
.done { max-width: 640px; margin-inline: auto; text-align: center; }
.done .icon { width: 72px; height: 72px; border-radius: 50%; background: var(--yellow); color: var(--ink); margin-inline: auto; }
.done .icon svg { width: 36px; height: 36px; }
.done .button-row { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #aeb3bb; font-size: 0.95rem; }
.footer-main { display: grid; grid-template-columns: 1.3fr 0.8fr 0.9fr 1fr; gap: 36px; padding: 60px 0 40px; }
.footer-brand .brand { margin-bottom: 16px; }
.footer-brand .brand img { background: var(--white); border-radius: 12px; padding: 4px; }
.footer-brand .brand-text { color: var(--yellow); }
.footer-brand .brand-text span { color: var(--white); }
.site-footer h2 { font-family: var(--head); font-size: 0.85rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--white); margin-bottom: 14px; }
.site-footer ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.site-footer a { color: #d7d9de; text-decoration: none; }
.site-footer a:hover { color: var(--yellow); }
.site-footer address { font-style: normal; display: grid; gap: 6px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding: 20px 0 28px; border-top: 1px solid #2c3037; font-size: 0.85rem; color: #868b93; }

/* ---------- Mobile action bar ---------- */
.mobile-bar { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1060px) {
  .header-phone span { display: none; }
}

@media (max-width: 960px) {
  .menu-button { display: inline-flex; }
  .header-actions { display: none; }
  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0;
    margin: 0; padding: 8px 16px 20px; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px rgba(17,18,20,.1);
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 15px 4px; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .site-nav a::after { display: none; }
  .site-nav a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--yellow); padding-left: 14px; }
  .site-nav .nav-cta { margin-top: 14px; border: 0; }

  .card-grid, .steps { grid-template-columns: 1fr 1fr; }
  .split, .contact-layout { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (min-width: 961px) {
  .site-nav .nav-cta { display: none; }
}

@media (max-width: 680px) {
  body { padding-bottom: 68px; }
  :root { --header-h: 66px; }
  .brand img { width: 52px; height: 52px; }
  .brand-text { font-size: 1.3rem; }
  .brand-text span { font-size: 0.56rem; }
  .card-grid, .card-grid-2, .steps, .form-grid { grid-template-columns: 1fr; }
  .side-note { grid-template-columns: auto 1fr; }
  .side-note .text-link { grid-column: 1 / -1; justify-self: start; }
  .card, .step { padding: 24px; }
  .hero::before { background: linear-gradient(180deg, rgba(17,18,20,.78) 0%, rgba(17,18,20,.9) 100%); }
  .button-row .btn { flex: 1 1 100%; }
  .footer-main { grid-template-columns: 1fr; }
  .cta-band .button-row { width: 100%; }

  .mobile-bar {
    position: fixed; z-index: 90; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); background: rgba(17,18,20,.97); box-shadow: 0 -6px 20px rgba(0,0,0,.18);
  }
  .mobile-bar .btn { min-height: 48px; padding: 10px; }
}

.hero-inner { max-width: 780px; }
.hero h1, .page-hero h1 { text-wrap: balance; }

/* ---------- Kakbanner ---------- */
.kakbanner { position: fixed; z-index: 120; left: 16px; right: 16px; bottom: 16px; max-width: 660px; margin: 0 auto; padding: 18px 20px; background: var(--white); color: var(--ink); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 18px 50px rgba(0,0,0,.25); }
.kakbanner[hidden] { display: none; }
.kakbanner-inner { display: flex; align-items: center; gap: 18px; }
.kak-truck { flex: 0 0 120px; width: 120px; height: auto; overflow: visible; }
.kak-lyft { animation: kak-lyft 3.2s ease-in-out infinite; }
@keyframes kak-lyft { 0%, 15%, 100% { transform: translateY(0); } 50%, 65% { transform: translateY(-30px); } }
.kakbanner h2 { margin: 0 0 6px; font-size: 1.15rem; }
.kakbanner p { margin: 0 0 14px; font-size: 0.92rem; color: var(--muted); }
.kakbanner p a { color: var(--ink); }
.kak-knappar { display: flex; flex-wrap: wrap; gap: 10px; }
.kak-knappar .btn { flex: 1 1 150px; }
.footer-links { display: inline-flex; flex-wrap: wrap; gap: 6px 20px; }
.link-button { padding: 0; border: 0; background: none; color: inherit; font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
@media (max-width: 680px) {
  .kakbanner { left: 10px; right: 10px; bottom: calc(76px + env(safe-area-inset-bottom)); padding: 16px; }
  .kakbanner-inner { flex-direction: column; align-items: stretch; gap: 8px; }
  .kak-truck { flex: none; width: 96px; align-self: center; }
}
@media (prefers-reduced-motion: reduce) { .kak-lyft { animation: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

@media print {
  .site-header, .mobile-bar, .cta-band, .site-footer { display: none; }
}
