/* Bergslagens El & Data — utilitarian, rutnät, gul/svart. Demo-sajt. */

:root {
  --ink: #101110;
  --panel: #17181a;
  --paper: #f4f3ee;
  --yellow: #f4c60d;
  --yellow-deep: #d9ae00;
  --line: rgba(244, 243, 238, 0.16);
  --line-dark: rgba(16, 17, 16, 0.14);
  --danger: #e0472c;
  --font-head: "Space Grotesk", "Archivo", Arial, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --ease: cubic-bezier(.22, 1, .3, 1);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.5;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

.wrap { max-width: 1160px; 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: #0c0c0c;
  color: #f4f3ee;
  font: 700 12px/1 var(--font-mono);
  text-transform: uppercase;
  letter-spacing: .04em;
  padding: 11px 15px;
  text-decoration: none;
  border: 1px solid var(--yellow);
}
.demo-badge::before { content: ""; width: 7px; height: 7px; background: var(--yellow); flex: none; }
.demo-badge:hover { background: var(--yellow); color: #101110; }
@media (max-width: 480px) { .demo-badge { font-size: 10.5px; padding: 9px 11px; right: 10px; bottom: 10px; } }

/* ---------- jourbanner ---------- */
.jourbar {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 13px;
  text-align: center;
  padding: 8px 16px;
  letter-spacing: .02em;
}
.jourbar a { color: var(--yellow); text-decoration: none; font-weight: 600; }
.jourbar a:hover { text-decoration: underline; }

/* ---------- topp-nav ---------- */
.top {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--paper);
  border-bottom: 2px solid var(--ink);
}
.top__inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand__mark {
  width: 42px; height: 42px;
  background: var(--ink);
  display: grid; place-items: center;
  flex: none;
}
.brand__mark svg { width: 24px; height: 24px; stroke: var(--yellow); }
.brand__name { font-family: var(--font-head); font-weight: 700; font-size: 18px; text-transform: uppercase; letter-spacing: .01em; line-height: 1.15; }
.brand__name span { display: block; font-family: var(--font-mono); font-size: 11px; text-transform: none; color: #55564f; font-weight: 500; }

.nav { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; font-family: var(--font-mono); font-size: 13px; text-transform: uppercase; letter-spacing: .03em; }
.nav a { text-decoration: none; color: var(--ink); }
.nav a:hover { color: var(--yellow-deep); }
.top__cta {
  background: var(--yellow);
  color: var(--ink);
  padding: 12px 22px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid var(--ink);
  white-space: nowrap;
}
.top__cta:hover { background: var(--ink); color: var(--yellow); }
.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: 42px; height: 42px; background: var(--ink); border: none;
  }
  .nav-toggle svg { stroke: var(--yellow); }
}

.sheet { display: none; flex-direction: column; background: var(--ink); }
.sheet.is-open { display: flex; }
.sheet a {
  padding: 16px 24px; text-decoration: none; color: var(--paper);
  border-top: 1px solid var(--line); font-family: var(--font-mono); text-transform: uppercase; font-size: 13.5px;
}

/* ---------- hero ---------- */
.hero { background: var(--ink); color: var(--paper); padding: 70px 0 0; }
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; }
.hero__text { padding: 40px 0 60px; }
.hero__kicker { font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .1em; font-size: 12.5px; color: var(--yellow); margin: 0 0 20px; }
.hero h1 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.02;
  text-transform: uppercase;
  margin: 0 0 22px;
  letter-spacing: -.01em;
}
.hero h1 span { color: var(--yellow); }
.hero p.lede { font-size: 17px; color: #c9cac4; max-width: 46ch; margin: 0 0 30px; }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 15px 26px;
  font-family: var(--font-mono); font-weight: 700; font-size: 13.5px; text-transform: uppercase; letter-spacing: .02em;
  text-decoration: none;
  border: 2px solid var(--yellow);
  transition: background .3s var(--ease), color .3s var(--ease);
}
.btn--fill { background: var(--yellow); color: var(--ink); }
.btn--fill:hover { background: transparent; color: var(--yellow); }
.btn--line { border-color: var(--paper); color: var(--paper); }
.btn--line:hover { background: var(--paper); color: var(--ink); }

.hero__panel { background: var(--panel); border-left: 2px solid var(--yellow); padding: 40px 30px; align-self: stretch; display: flex; flex-direction: column; justify-content: center; gap: 22px; }
.hero__stat { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 1px solid var(--line); padding-bottom: 16px; }
.hero__stat:last-child { border: none; padding-bottom: 0; }
.hero__stat b { font-family: var(--font-head); font-size: 34px; color: var(--yellow); }
.hero__stat span { font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; color: #9c9d97; max-width: 16ch; text-align: right; }

@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__panel { border-left: none; border-top: 2px solid var(--yellow); flex-direction: row; flex-wrap: wrap; }
  .hero__stat { flex: 1 1 45%; flex-direction: column; align-items: flex-start; gap: 6px; }
  .hero__stat span { text-align: left; }
}

/* ---------- sektion ---------- */
.section { padding: 80px 0; }
.section--dark { background: var(--ink); color: var(--paper); }
.head { max-width: 620px; margin: 0 0 44px; }
.head .kicker { font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .1em; font-size: 12.5px; color: var(--yellow-deep); margin: 0 0 12px; }
.section--dark .head .kicker { color: var(--yellow); }
.head h2 { font-family: var(--font-head); font-weight: 700; text-transform: uppercase; font-size: clamp(26px, 3.4vw, 38px); margin: 0 0 12px; line-height: 1.08; }
.head p { color: #55564f; margin: 0; font-size: 16px; }
.section--dark .head p { color: #b9bab3; }

/* ---------- tjänster: bento ---------- */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; background: var(--ink); border: 2px solid var(--ink); }
.service {
  background: var(--paper);
  padding: 28px 22px;
  display: flex; flex-direction: column; gap: 14px;
}
.service:nth-child(2) { background: var(--yellow); }
.service__no { font-family: var(--font-mono); font-size: 12px; color: #86877e; }
.service:nth-child(2) .service__no { color: #7a5f00; }
.service svg { width: 30px; height: 30px; }
.service h3 { font-family: var(--font-head); font-size: 17px; text-transform: uppercase; margin: 0; letter-spacing: .01em; }
.service p { font-size: 13.5px; color: #55564f; margin: 0; }
.service:nth-child(2) p { color: #4a3c00; }

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

/* ---------- täckningsområde ---------- */
.coverage { display: flex; flex-wrap: wrap; gap: 10px; }
.coverage span {
  font-family: var(--font-mono); font-size: 13px; text-transform: uppercase;
  border: 1.5px solid var(--yellow); color: var(--paper);
  padding: 8px 14px;
}

/* ---------- pris ---------- */
.price-table { width: 100%; border-collapse: collapse; font-family: var(--font-body); }
.price-table th, .price-table td { text-align: left; padding: 16px 14px; border-bottom: 1px solid var(--line-dark); font-size: 15px; }
.price-table th { font-family: var(--font-mono); text-transform: uppercase; font-size: 12px; letter-spacing: .05em; color: #55564f; border-bottom: 2px solid var(--ink); }
.price-table td:last-child, .price-table th:last-child { text-align: right; font-weight: 700; font-family: var(--font-mono); }
.price-note { margin-top: 18px; font-size: 13.5px; color: #55564f; }

/* ---------- kontakt ---------- */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 2px; background: var(--ink); border: 2px solid var(--ink); }
.contact-info { background: var(--ink); color: var(--paper); padding: 40px 32px; }
.contact-info h3 { font-family: var(--font-head); text-transform: uppercase; font-size: 22px; margin: 0 0 18px; }
.contact-info__row { display: flex; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); font-size: 15px; }
.contact-info__row:first-of-type { border-top: none; }
.contact-info__row svg { flex: none; color: var(--yellow); margin-top: 2px; }
.contact-info__row a { text-decoration: none; color: var(--paper); }
.contact-info__row b { display: block; font-family: var(--font-mono); text-transform: uppercase; font-size: 11px; color: #9c9d97; margin-bottom: 3px; }

.contact-form { background: var(--paper); padding: 40px 32px; }
.form-row { margin-bottom: 16px; }
.form-row label { display: block; font-family: var(--font-mono); text-transform: uppercase; font-size: 11.5px; font-weight: 600; margin-bottom: 6px; color: #55564f; }
.form-row input, .form-row select, .form-row textarea {
  width: 100%; border: 2px solid var(--ink); background: #fff; 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(--yellow-deep); outline-offset: 1px; }
.form-note { font-size: 12.5px; color: #55564f; margin: 14px 0 0; }
.form-status { margin-top: 14px; padding: 12px 14px; background: var(--yellow); color: var(--ink); font-size: 14px; font-weight: 700; font-family: var(--font-mono); }
.form-status[hidden] { display: none; }

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

/* ---------- footer ---------- */
.foot { border-top: 2px solid var(--ink); padding: 34px 0 100px; }
.foot__inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; font-family: var(--font-mono); font-size: 12.5px; color: #55564f; text-transform: uppercase; }
.foot a { text-decoration: none; color: var(--ink); }
.foot a:hover { color: var(--yellow-deep); }
