/* Carbonlight – egen stylesheet, ej delad med andra projekt */
:root {
  --ink: #262b2f;
  --ink-soft: #4d565c;
  --paper: #f5f4f1;
  --card: #ffffff;
  --line: #d8d6d0;
  --steel: #37506b;
  --steel-dark: #27394e;
  --rust: #b4551d;
  --maxw: 62rem;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
}

h1, h2, h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink);
}

a { color: var(--steel); }
a:hover { color: var(--steel-dark); }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 1.5rem; }

/* Sidhuvud */
.topbar {
  background: var(--steel-dark);
  color: #cfd8e0;
  font-size: 0.85rem;
  padding: 0.4rem 0;
}
.topbar .wrap { display: flex; justify-content: flex-end; gap: 1.5rem; }
.topbar a { color: #cfd8e0; text-decoration: none; }
.topbar a:hover { color: #ffffff; }

.sitehead {
  background: var(--card);
  border-bottom: 3px solid var(--rust);
}
.sitehead .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  padding-bottom: 1rem;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
}
.brand .word {
  font-family: Georgia, serif;
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.01em;
}
.brand .word span { color: var(--rust); }

nav.main ul {
  display: flex;
  gap: 1.75rem;
  list-style: none;
}
nav.main a {
  text-decoration: none;
  font-size: 0.98rem;
  color: var(--ink-soft);
  padding-bottom: 0.2rem;
  border-bottom: 2px solid transparent;
}
nav.main a:hover,
nav.main a[aria-current="page"] {
  color: var(--ink);
  border-bottom-color: var(--rust);
}

/* Hero */
.hero {
  background: linear-gradient(160deg, #31445c 0%, #22303f 100%);
  color: #e8ecef;
  padding: 4rem 0 4.5rem;
}
.hero h1 {
  color: #ffffff;
  font-size: clamp(1.9rem, 4.5vw, 2.8rem);
  max-width: 44rem;
}
.hero p.lead {
  margin-top: 1.1rem;
  max-width: 40rem;
  font-size: 1.15rem;
  color: #c9d2d9;
}
.hero .kicker {
  display: inline-block;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #e0a37e;
  margin-bottom: 1rem;
}

/* Knappar */
.btn {
  display: inline-block;
  padding: 0.7rem 1.5rem;
  text-decoration: none;
  font-size: 1rem;
  border: 1px solid transparent;
}
.btn-primary { background: var(--rust); color: #fff; }
.btn-primary:hover { background: #9c4a19; color: #fff; }
.btn-ghost { border-color: #8fa1b3; color: #e8ecef; }
.btn-ghost:hover { border-color: #fff; color: #fff; }
.btn-dark { background: var(--steel-dark); color: #fff; }
.btn-dark:hover { background: #1b2835; color: #fff; }
.hero .actions { margin-top: 1.8rem; display: flex; gap: 1rem; flex-wrap: wrap; }

/* Sektioner */
section { padding: 3.25rem 0; }
section.tint { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.sec-label {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--rust);
  margin-bottom: 0.5rem;
}
section h2 { font-size: clamp(1.5rem, 3vw, 2rem); max-width: 40rem; }
section > .wrap > p.intro { margin-top: 0.9rem; max-width: 42rem; color: var(--ink-soft); }

/* Tjänstelista (numrerad, annan struktur än kort-grid) */
.svc { margin-top: 2.25rem; }
.svc article {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 1.25rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
}
.svc article:last-child { border-bottom: 1px solid var(--line); }
.svc .num {
  font-family: Georgia, serif;
  font-size: 1.7rem;
  color: var(--rust);
  font-weight: 700;
}
.svc h3 { font-size: 1.25rem; margin-bottom: 0.4rem; }
.svc p { color: var(--ink-soft); max-width: 44rem; }

/* Påstående-block */
.claims { margin-top: 2rem; display: grid; gap: 1.25rem; }
@media (min-width: 46rem) { .claims { grid-template-columns: repeat(3, 1fr); } }
.claims .claim {
  background: var(--paper);
  border-left: 4px solid var(--steel);
  padding: 1.1rem 1.25rem;
}
.claims h3 { font-size: 1.05rem; margin-bottom: 0.35rem; }
.claims p { font-size: 0.95rem; color: var(--ink-soft); }

/* Steg */
.steps { margin-top: 2rem; display: grid; gap: 1.25rem; }
@media (min-width: 46rem) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps .step { background: var(--paper); padding: 1.25rem; border: 1px solid var(--line); }
.steps .step .tag {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--steel);
}
.steps h3 { font-size: 1.1rem; margin: 0.35rem 0 0.4rem; }
.steps p { font-size: 0.95rem; color: var(--ink-soft); }

/* Citat/positionering */
.position {
  background: var(--steel-dark);
  color: #dfe6eb;
  padding: 3rem 0;
}
.position blockquote {
  font-family: Georgia, serif;
  font-size: clamp(1.25rem, 2.6vw, 1.6rem);
  line-height: 1.45;
  max-width: 46rem;
}
.position cite {
  display: block;
  margin-top: 1rem;
  font-style: normal;
  font-size: 0.9rem;
  color: #a9b8c4;
}

/* CTA-band */
.band {
  background: var(--rust);
  color: #fff;
  padding: 2.75rem 0;
}
.band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.band h2 { color: #fff; font-size: 1.5rem; }
.band p { color: #f7ded0; margin-top: 0.3rem; }
.band .btn { background: #fff; color: var(--rust); }
.band .btn:hover { background: var(--paper); }

/* Om oss */
.person { margin-top: 2rem; display: grid; gap: 1.5rem; }
@media (min-width: 46rem) { .person { grid-template-columns: 1fr 1fr; } }
.person .col h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.person .col p { color: var(--ink-soft); }
.principles { margin-top: 2rem; border-top: 1px solid var(--line); }
.principles div { padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.principles h3 { font-size: 1.1rem; }
.principles p { color: var(--ink-soft); max-width: 42rem; }

/* Kontakt */
.contact-grid { margin-top: 2rem; display: grid; gap: 2.5rem; }
@media (min-width: 46rem) { .contact-grid { grid-template-columns: 1fr 1.4fr; } }
.contact-grid dl dt { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--steel); margin-top: 1.2rem; }
.contact-grid dl dt:first-child { margin-top: 0; }
.contact-grid dl dd { margin-top: 0.2rem; }

form.contact label { display: block; margin-top: 1.1rem; font-size: 0.95rem; color: var(--ink-soft); }
form.contact input,
form.contact textarea {
  width: 100%;
  margin-top: 0.3rem;
  padding: 0.6rem 0.75rem;
  font: inherit;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
}
form.contact input:focus,
form.contact textarea:focus { outline: 2px solid var(--steel); border-color: var(--steel); }
form.contact textarea { min-height: 8rem; resize: vertical; }
form.contact button {
  margin-top: 1.4rem;
  padding: 0.7rem 1.75rem;
  font: inherit;
  background: var(--steel-dark);
  color: #fff;
  border: none;
  cursor: pointer;
}
form.contact button:hover { background: #1b2835; }
.form-note { margin-top: 1rem; font-size: 0.85rem; color: var(--ink-soft); max-width: 34rem; }

/* Sidfot */
.sitefoot {
  background: #20262b;
  color: #b7c0c7;
  padding: 2.5rem 0 1.5rem;
  font-size: 0.92rem;
}
.sitefoot .cols { display: flex; gap: 3rem; flex-wrap: wrap; justify-content: space-between; }
.sitefoot h4 {
  font-family: Georgia, serif;
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}
.sitefoot p { max-width: 22rem; }
.sitefoot ul { list-style: none; }
.sitefoot li { margin-top: 0.3rem; }
.sitefoot a { color: #b7c0c7; text-decoration: none; }
.sitefoot a:hover { color: #fff; text-decoration: underline; }
.sitefoot .legal {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid #39424a;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  color: #8a959d;
}

/* Sidhuvud för undersidor */
.pagehead { background: var(--card); border-bottom: 1px solid var(--line); padding: 2.5rem 0; }
.pagehead h1 { font-size: clamp(1.7rem, 3.5vw, 2.3rem); }
.pagehead p { margin-top: 0.6rem; color: var(--ink-soft); max-width: 42rem; }

/* Textinnehåll */
.prose { padding: 3rem 0; }
.prose h2 { font-size: 1.45rem; margin: 2.25rem 0 0.75rem; }
.prose h3 { font-size: 1.15rem; margin: 1.75rem 0 0.5rem; }
.prose p { margin-top: 0.75rem; max-width: 44rem; color: var(--ink); }
.prose ul { margin: 0.75rem 0 0 1.4rem; max-width: 42rem; }
.prose li { margin-top: 0.4rem; color: var(--ink-soft); }
.prose .lead { font-size: 1.12rem; color: var(--ink-soft); margin-top: 0.9rem; max-width: 44rem; }
