/* Färger och grundinställningar. Ändra varumärkesfärgerna här. */
:root {
  --ink: #003b3d;
  --dark: #052f32;
  --green: #218b47;
  --blue: #007fbd;
  --mint: #bcebcf;
  --paper: #f5f6f2;
  --muted: #506263;
  --line: #cedbd5;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 115px;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Arial,Helvetica,sans-serif;
  line-height: 1.6;
  background: #fff;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a:focus-visible, button:focus-visible {
  outline: 3px solid #007fbd;
  outline-offset: 6px;
}

.skip {
  position: fixed;
  z-index: 20;
  top: -100px;
  background: white;
  padding: 15px;
}

.skip:focus {
  top: 10px;
}

.header {
  height: 110px;
  padding: 12px 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid #e5eae6;
}

.brand {
  width: 145px;
  flex-shrink: 0;
}

.brand img {
  width: 145px;
  height: 85px;
  object-fit: contain;
}

nav {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 13px;
  font-weight: 600;
}

nav>a:not(.button):hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  padding: 17px 23px;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  transition: background .2s,transform .2s;
}

.button:hover {
  background: #145859;
  transform: translateY(-2px);
}

.button span {
  font-size: 21px;
}

.button.small {
  padding: 12px 20px;
}

.button.mint {
  background: var(--mint);
  color: var(--ink);
}

.button.mint:hover {
  background: #daf4e3;
}

.hero {
  display: grid;
  grid-template-columns: 1.13fr 1fr;
  background: var(--dark);
  color: #fff;
  min-height: 660px;
}

.hero-copy {
  padding: 72px 8% 30px 9%;
  align-self: center;
}

.eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  margin: 0 0 25px;
  color: #17643c;
}

.eyebrow.light {
  color: var(--mint);
}

h1, h2, h3, p {
  margin-top: 0;
}

h1 {
  font-size: clamp(42px,4.5vw,74px);
  line-height: 1.06;
  letter-spacing: -2.7px;
  margin-bottom: 26px;
  font-weight: 600;
}

h1 span {
  color: var(--mint);
}

.intro {
  max-width: 480px;
  font-size: 18px;
  color: #d0ddda;
  line-height: 1.7;
  margin-bottom: 32px;
}

.text-link {
  display: block;
  width: fit-content;
  font-size: 13px;
  margin-top: 22px;
  border-bottom: 1px solid #688989;
  padding-bottom: 5px;
}

.text-link span {
  margin-left: 20px;
}

.hero-signoff {
  border-top: 1px solid #34595a;
  margin-top: 52px;
  padding-top: 20px;
  font-size: 12px;
  color: #c4d4d0;
}

.hero-image {
  position: relative;
  min-height: 660px;
  overflow: hidden;
}

.hero-image>img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
  position: absolute;
}

.hero-image:after {
  content: '';
  position: absolute;
  inset: 65% 0 0;
  background: linear-gradient(transparent,#002d32c9);
}

.image-caption {
  position: absolute;
  bottom: 30px;
  left: 30px;
  z-index: 1;
  font-size: 12px;
}

.dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--mint);
  border-radius: 50%;
  margin-right: 10px;
}

.service-strip {
  display: flex;
  padding: 24px 5%;
  gap: 36px;
  align-items: center;
  background: var(--mint);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
}

.service-strip>span:nth-child(even) {
  font-size: 20px;
  font-weight: 400;
  color: #387958;
}

.service-strip a {
  margin-left: auto;
  font-size: 22px;
}

.section {
  padding: 100px 7%;
  scroll-margin-top: 0;
}

h2 {
  font-size: clamp(32px,3.3vw,50px);
  font-weight: 500;
  letter-spacing: -1.7px;
  line-height: 1.13;
  margin-bottom: 25px;
}

h2 em {
  font-style: normal;
  color: #217b46;
}

.challenge {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12%;
  padding-top: 110px;
  padding-bottom: 110px;
}

.body-copy {
  padding-top: 32px;
  color: var(--muted);
  font-size: 16px;
}

.body-copy p:last-child {
  margin-bottom: 0;
}

.lead {
  font-size: 22px;
  line-height: 1.5;
  color: var(--ink);
}

.services {
  background: var(--paper);
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 70px;
  align-items: end;
  margin-bottom: 48px;
}

.section-heading>p {
  max-width: 360px;
  color: var(--muted);
  margin-bottom: 25px;
}

.section-heading h2 {
  max-width: 650px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  border-top: 1px solid var(--line);
}

.service-grid article {
  padding: 35px 30px 0;
  border-right: 1px solid var(--line);
}

.service-grid article:first-child {
  padding-left: 0;
}

.service-grid article:last-child {
  padding-right: 0;
  border: 0;
}

.number {
  font-size: 12px;
  color: #506b60;
}

.service-grid h3 {
  display: flex;
  justify-content: space-between;
  font-size: 31px;
  font-weight: 500;
  letter-spacing: -1px;
  margin: 28px 0 10px;
}

.service-grid h3 span {
  color: var(--green);
}

.service-grid p {
  font-size: 15px;
  color: var(--muted);
}

.service-grid .service-sub {
  font-weight: 700;
  color: var(--ink);
}

ul {
  padding: 12px 0 0;
  list-style: none;
  font-size: 13px;
}

ul li {
  padding: 9px 0;
  border-top: 1px solid var(--line);
}

ul li:before {
  content: '+';
  color: #217b46;
  margin-right: 12px;
}

.process {
  background: var(--dark);
  color: #fff;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10%;
}

.process-intro>p:not(.eyebrow) {
  color: #c0d2ce;
  max-width: 410px;
  margin: 25px 0 32px;
}

.steps {
  padding: 0;
  margin: 0;
  list-style: none;
}

.steps li {
  display: flex;
  gap: 25px;
  border-top: 1px solid #456363;
  padding: 24px 0;
}

.steps li>span {
  font-size: 12px;
  color: var(--mint);
  padding-top: 4px;
}

.steps h3 {
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 10px;
}

.steps p {
  font-size: 14px;
  color: #c0d2ce;
  margin-bottom: 0;
}

.values {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 50px;
  margin-top: 50px;
}

.values article {
  border-top: 1px solid var(--line);
  padding-top: 28px;
}

.values article>span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border: 1px solid #98c9b1;
  border-radius: 50%;
  color: var(--green);
  font-size: 17px;
  margin-bottom: 25px;
}

.values h3 {
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 13px;
}

.values p {
  font-size: 15px;
  color: var(--muted);
}

.contact {
  background: #e5eee7;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10%;
  align-items: center;
}

.contact h2 {
  font-size: clamp(38px,4.4vw,66px);
}

.contact>div>p:last-child {
  color: var(--muted);
}

.contact-name {
  font-size: 24px;
  margin-bottom: 0;
}

.contact-details>p:nth-child(2) {
  color: var(--muted);
  font-size: 14px;
}

.contact-link {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #aec6b8;
  padding: 17px 0;
  font-size: clamp(16px,1.7vw,24px);
  overflow-wrap: anywhere;
}

.contact-link:hover {
  text-decoration: underline;
}

.contact-details .button {
  margin-top: 30px;
}

.contact-link span {
  margin-left: 15px;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 40px 7%;
  font-size: 12px;
}

.footer-brand {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -.5px;
}

.footer-brand span {
  display: block;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0;
}

footer p {
  margin: 0;
  color: var(--muted);
}

.menu-toggle {
  border: 1px solid var(--line);
  background: white;
  padding: 10px 14px;
  color: var(--ink);
}

/* Stora skärmar */
@media (min-width:1600px) {
  .hero-copy {
    padding-left: max(9%,calc((100vw - 1400px)/2));
  }
  .section {
    padding-left: max(7%,calc((100vw - 1400px)/2));
    padding-right: max(7%,calc((100vw - 1400px)/2));
  }
}

/* Surfplattor och mindre datorer */
@media (max-width: 1000px) {
  nav {
    gap: 18px;
    font-size: 12px;
  }
  .hero-copy {
    padding: 55px 8% 30px;
  }
  h1 {
    font-size: 49px;
  }
  .hero, .hero-image {
    min-height: 640px;
  }
  .section {
    padding: 75px 6%;
  }
  .section-heading {
    gap: 35px;
  }
  .service-grid article {
    padding-left: 20px;
    padding-right: 20px;
  }
  .hero-signoff {
    margin-top: 35px;
  }
  .challenge {
    gap: 7%;
  }
  .contact {
    gap: 7%;
  }
}

/* Mobiltelefoner och mobilmeny */
@media (max-width: 760px) {
  html {
    scroll-padding-top: 89px;
  }
  .header {
    height: auto;
    min-height: 88px;
    flex-wrap: wrap;
    padding: 8px 6%;
    gap: 0;
  }
  .brand, .brand img {
    width: 120px;
    height: 70px;
  }
  .menu-toggle:not([hidden]) {
    display: block;
  }
  nav {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 0 15px;
  }
  nav a {
    padding: 12px 0;
    font-size: 15px;
  }
  nav[hidden] {
    display: none;
  }
  .hero {
    grid-template-columns: 1fr;
  }
  .hero-copy {
    padding: 48px 6% 30px;
  }
  h1 {
    font-size: clamp(39px,8vw,60px);
    letter-spacing: -1.7px;
  }
  .intro {
    font-size: 17px;
  }
  .hero-signoff {
    margin-top: 35px;
  }
  .hero-image {
    min-height: 440px;
  }
  .hero-image>img {
    object-position: center 27%;
  }
  .service-strip {
    gap: 15px;
    font-size: 10px;
    letter-spacing: 1px;
    padding: 20px 6%;
  }
  .service-strip>span:nth-child(even) {
    font-size: 16px;
  }
  .section {
    padding: 65px 6%;
  }
  .challenge, .process, .contact {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .body-copy {
    padding-top: 0;
  }
  .section-heading {
    display: block;
    margin-bottom: 30px;
  }
  .section-heading>p {
    max-width: 100%;
  }
  h2 {
    font-size: 36px;
    letter-spacing: -1.2px;
  }
  .service-grid {
    grid-template-columns: 1fr;
  }
  .service-grid article, .service-grid article:first-child, .service-grid article:last-child {
    padding: 28px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .service-grid h3 {
    margin-top: 15px;
  }
  .service-grid article:last-child {
    padding-bottom: 0;
    border-bottom: 0;
  }
  .values {
    grid-template-columns: 1fr;
    gap: 25px;
    margin-top: 30px;
  }
  .values article {
    position: relative;
    padding-left: 65px;
  }
  .values article>span {
    position: absolute;
    left: 0;
    top: 28px;
  }
  .contact h2 {
    font-size: 43px;
  }
  .contact-link {
    font-size: 20px;
  }
  footer {
    flex-direction: column;
    align-items: start;
    gap: 20px;
    padding: 35px 6%;
  }
}

/* Respektera besökarens inställning för minskad rörelse */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *, *:before, *:after {
    transition: none!important;
  }
}

/* Förtydligat erbjudande och konkret förstudie. */
.potential-quote {
  margin: 42px 0 0;
  padding: 25px 0 0;
  border-top: 2px solid var(--green);
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.4;
  letter-spacing: -0.5px;
}

.potential-quote strong {
  display: block;
  margin-top: 12px;
  color: #217b46;
  font-weight: 500;
}

.body-copy h3.lead {
  font-weight: 500;
}

.services-intro {
  max-width: 420px;
  flex: 1;
  color: var(--muted);
  font-size: 15px;
}

.services-intro p:last-child {
  margin-bottom: 25px;
}

.process {
  row-gap: 40px;
}

.process-intro > p:not(.eyebrow) {
  max-width: none;
  margin: 0 0 20px;
  font-size: 15px;
}

.study-details {
  min-width: 0;
}

.study-label {
  margin: 0 0 16px;
  font-size: 15px;
  font-weight: 500;
  color: var(--mint);
}

.study-questions {
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
  counter-reset: study-question;
}

.study-questions li {
  display: flex;
  gap: 18px;
  padding: 13px 0;
  border-top: 1px solid #456363;
  font-size: 16px;
  line-height: 1.5;
  counter-increment: study-question;
}

.study-questions li::before {
  content: '0' counter(study-question);
  flex-shrink: 0;
  padding-top: 3px;
  color: var(--mint);
  font-size: 11px;
}

.study-facts {
  padding: 24px;
  border: 1px solid #567973;
  background: #103e3e;
}

.study-facts dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 20px;
  margin: 0;
}

.study-facts dt {
  margin-bottom: 6px;
  color: #c0d2ce;
  font-size: 12px;
}

.study-facts dd {
  margin: 0;
  font-size: 12px;
}

.study-facts dd strong {
  font-size: clamp(23px, 2.5vw, 32px);
  font-weight: 500;
  letter-spacing: -0.7px;
}

.study-facts dd span {
  display: block;
  color: #c0d2ce;
  font-size: 11px;
}

.study-next {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 45px;
  justify-content: space-between;
  padding-top: 28px;
  border-top: 1px solid #456363;
}

.study-next p {
  max-width: 650px;
  margin: 0;
  color: #c0d2ce;
  font-size: 14px;
}

.study-next .button {
  flex-shrink: 0;
}

@media (max-width: 1000px) {
  .study-next {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
}

@media (max-width: 760px) {
  .potential-quote {
    margin-top: 30px;
  }

  .services-intro {
    max-width: none;
  }

  .study-facts {
    padding: 20px;
  }
}

@media (max-width: 360px) {
  .study-facts dl {
    grid-template-columns: 1fr;
  }
}
