@font-face {
  font-family: "Frank Ruhl Libre";
  src: url("../fonts/frank-ruhl-libre.woff2") format("woff2");
  font-display: swap;
}

@font-face {
  font-family: "Mulish";
  src: url("../fonts/mulish-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Mulish";
  src: url("../fonts/mulish-700.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

:root {
  --paper: #eef1f2;
  --paper-deep: #dfe6e9;
  --white: #ffffff;
  --ink: #233a4d;
  --ink-soft: #526877;
  --blue: #55798f;
  --blue-dark: #294a60;
  --mist: #dce7eb;
  --mist-light: #f2f6f7;
  --clay: #a45539;
  --clay-dark: #803a25;
  --line: rgba(35, 58, 77, 0.16);
  --shadow: 0 18px 50px rgba(35, 58, 77, 0.1);
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --content: 1240px;
  --header-height: 74px;
}

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

html {
  overflow-x: clip;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Mulish", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

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

h1,
h2,
h3 {
  color: var(--ink);
  font-family: "Frank Ruhl Libre", Georgia, serif;
  font-weight: 400;
}

p:last-child {
  margin-bottom: 0;
}

.container {
  width: min(var(--content), calc(100% - 48px));
  margin-inline: auto;
}

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

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  transform: translateY(-160%);
  border-radius: 8px;
  background: var(--ink);
  color: white;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  text-decoration: none;
}

.wordmark-main {
  font-family: "Frank Ruhl Libre", Georgia, serif;
  letter-spacing: -0.035em;
  line-height: 1;
}

.wordmark-sub {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
}

.main-nav a {
  position: relative;
  color: var(--ink-soft);
  font-weight: 700;
  text-decoration: none;
}

.main-nav a:not(.nav-cta)::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 2px;
  transform: scaleX(0);
  background: var(--clay);
  content: "";
  transition: transform 160ms ease;
}

.main-nav a:hover::after,
.main-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid transparent;
  background: var(--clay);
  color: white !important;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
}

.button-arrow::after {
  content: "→";
  font-size: 1.1em;
}

.menu-button {
  display: none;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: white;
  color: var(--ink);
}

.menu-icon,
.menu-icon::before,
.menu-icon::after {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  content: "";
}

.menu-icon {
  position: relative;
}

.menu-icon::before,
.menu-icon::after {
  position: absolute;
  left: 0;
}

.menu-icon::before {
  top: -6px;
}

.menu-icon::after {
  top: 6px;
}

.menu-button[aria-expanded="true"] .menu-icon {
  background: transparent;
}

.menu-button[aria-expanded="true"] .menu-icon::before {
  top: 0;
  transform: rotate(45deg);
}

.menu-button[aria-expanded="true"] .menu-icon::after {
  top: 0;
  transform: rotate(-45deg);
}

.site-footer {
  color: rgba(255, 255, 255, 0.72);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 0.8fr;
}

.footer-brand .wordmark {
  margin-bottom: 18px;
}

.footer-brand .wordmark-main {
  color: white;
}

.footer-brand .wordmark-sub {
  color: #c8dce5;
}

.footer-brand p {
  max-width: 390px;
}

.footer-heading {
  margin-bottom: 14px;
  color: white;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.82);
  text-underline-offset: 4px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 13px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid #d98d6e;
  outline-offset: 3px;
}

body {
  background: var(--paper);
  font-size: 16px;
  line-height: 1.58;
}

h1,
h2,
h3 {
  line-height: 1.08;
}

h1 {
  font-size: clamp(2.75rem, 5vw, 4.8rem);
}

h2 {
  font-size: clamp(2rem, 3.5vw, 3.5rem);
}

h3 {
  font-size: clamp(1.35rem, 2vw, 1.8rem);
}

.site-header {
  position: relative;
  border-bottom-color: var(--line);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: none;
}

.header-inner {
  min-height: var(--header-height);
}

.wordmark-main {
  color: var(--blue-dark);
  font-size: 28px;
}

.wordmark-sub {
  color: var(--blue);
}

.main-nav {
  gap: 28px;
}

.main-nav a {
  font-size: 14px;
}

.nav-cta,
.button {
  min-height: 46px;
  padding: 11px 20px;
  border-radius: 8px;
}

.compact-home {
  min-height: calc(100svh - var(--header-height));
  padding: clamp(18px, 3vh, 30px) 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.55), transparent 52%),
    var(--paper-deep);
}

.compact-shell {
  display: grid;
  min-height: calc(100svh - var(--header-height) - clamp(36px, 6vh, 60px));
  gap: 18px;
  grid-template-columns: minmax(290px, 0.74fr) minmax(0, 1.46fr);
}

.compact-visual,
.compact-information {
  overflow: hidden;
  border: 1px solid rgba(35, 58, 77, 0.12);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow);
}

.compact-visual {
  display: flex;
  min-height: 0;
  flex-direction: column;
}

.compact-visual-image {
  position: relative;
  overflow: hidden;
  background: #c9dce4;
}

.compact-visual-image img {
  width: 100%;
  height: auto;
}

.compact-visual-image::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 40%;
  background: linear-gradient(transparent, rgba(41, 74, 96, 0.28));
  content: "";
}

.compact-visual-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(24px, 3vw, 36px);
  background: var(--blue-dark);
  color: rgba(255, 255, 255, 0.78);
}

.compact-visual-body h2 {
  max-width: 320px;
  margin-bottom: 16px;
  color: white;
  font-size: clamp(1.9rem, 3vw, 3rem);
}

.compact-visual-body p {
  max-width: 340px;
}

.compact-mini-contact {
  display: grid;
  gap: 8px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.compact-mini-contact a {
  width: fit-content;
  color: white;
  font-weight: 700;
  text-underline-offset: 4px;
}

.compact-information {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(26px, 4vw, 50px);
}

.compact-information h1 {
  margin-bottom: 10px;
  color: var(--blue-dark);
  font-size: clamp(2.7rem, 4.3vw, 4.35rem);
  letter-spacing: -0.045em;
}

.compact-lead {
  max-width: 760px;
  margin-bottom: clamp(16px, 2.5vh, 24px);
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.25vw, 1.13rem);
}

.compact-audiences {
  display: grid;
  gap: 8px 12px;
  margin: 0 0 clamp(18px, 2.8vh, 26px);
  padding: 0;
  grid-template-columns: repeat(3, 1fr);
  list-style: none;
}

.compact-audiences li {
  position: relative;
  padding: 11px 12px 11px 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--mist-light);
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}

.compact-audiences li::before {
  position: absolute;
  top: 12px;
  left: 12px;
  color: var(--blue);
  content: "✓";
}

.compact-section-title {
  margin-bottom: 10px;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.compact-services {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--line);
  grid-template-columns: repeat(3, 1fr);
}

.compact-service {
  min-width: 0;
  padding: clamp(14px, 1.7vw, 20px);
  background: var(--white);
}

.compact-service h2 {
  margin-bottom: 7px;
  font-family: "Mulish", Arial, sans-serif;
  font-size: clamp(0.92rem, 1.15vw, 1.05rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.25;
}

.compact-service p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 12.5px;
  line-height: 1.42;
}

.compact-contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: clamp(18px, 2.8vh, 28px);
  padding: 14px 16px;
  border-radius: 10px;
  background: var(--mist);
}

.compact-contact-copy {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 18px;
}

.compact-contact-copy strong {
  font-family: "Frank Ruhl Libre", Georgia, serif;
  font-size: 21px;
  font-weight: 400;
}

.compact-contact-copy a {
  color: var(--blue-dark);
  font-size: 14px;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.below-fold-note {
  padding: 18px 0;
  border-block: 1px solid var(--line);
  background: white;
  text-align: center;
}

.below-fold-note a {
  color: var(--blue-dark);
  font-size: 14px;
  font-weight: 700;
  text-underline-offset: 4px;
}

/* Undersidor – samma kompakta formspråk */
.page-hero {
  padding: clamp(52px, 6vw, 78px) 0;
  background: white;
}

.page-hero-grid {
  align-items: center;
}

.page-hero h1 {
  max-width: 780px;
  font-size: clamp(2.7rem, 5vw, 4.7rem);
}

.section {
  padding: clamp(60px, 7vw, 92px) 0;
}

.section-tight,
.page-cta-section {
  padding: clamp(46px, 5vw, 68px) 0;
}

.section-before-cta {
  padding-bottom: 10px;
}

.services-list {
  background: white;
}

.service-row {
  padding: 42px 22px;
}

.service-row:nth-child(even) {
  background: var(--mist-light);
}

.about-image,
.contact-card,
.contact-form,
.value-card,
.quote-panel {
  border-radius: var(--radius);
}

.about-copy h2 {
  font-size: clamp(2.1rem, 3.4vw, 3.3rem);
}

.quote-panel {
  padding: clamp(34px, 5vw, 58px);
  background: var(--mist);
}

.quote-panel h2 {
  font-size: clamp(2rem, 3.5vw, 3.4rem);
}

.contact-form {
  background: white;
}

.site-footer {
  padding-top: 48px;
  background: #233f52;
}

.footer-grid {
  gap: 42px;
  padding-bottom: 40px;
}

@media (min-width: 1600px) {
  :root {
    --content: 1360px;
  }

  .compact-shell {
    grid-template-columns: minmax(330px, 0.68fr) minmax(0, 1.52fr);
  }
}

@media (max-width: 980px) {
  :root {
    --header-height: 68px;
  }

  .compact-home {
    min-height: auto;
    padding: 14px 0 22px;
  }

  .menu-button {
    display: inline-flex;
  }

  .main-nav {
    position: absolute;
    z-index: 90;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    min-height: calc(100vh - var(--header-height));
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 22px;
    background: var(--white);
    box-shadow: 0 20px 50px rgba(35, 58, 77, 0.14);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 15px 8px;
    border-bottom: 1px solid var(--line);
    font-family: "Frank Ruhl Libre", Georgia, serif;
    font-size: 27px;
    font-weight: 400;
  }

  .main-nav a:not(.nav-cta)::after {
    display: none;
  }

  .main-nav .nav-cta {
    margin-top: 20px;
    border-bottom: 0;
    font-family: "Mulish", Arial, sans-serif;
    font-size: 15px;
    font-weight: 700;
  }

  .compact-shell {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .compact-visual {
    display: block;
  }

  .compact-visual-image {
    height: 140px;
  }

  .compact-visual-image img {
    width: 100%;
    height: auto;
    transform: translateY(-22%);
  }

  .compact-visual-body {
    display: none;
  }
}

@media (max-width: 680px) {
  .container,
  .narrow {
    width: min(100% - 20px, var(--content));
  }

  .compact-home {
    min-height: calc(100svh - var(--header-height));
    padding: 8px 0 10px;
  }

  .compact-shell {
    gap: 8px;
  }

  .compact-visual {
    display: block;
    border-radius: 12px;
  }

  .compact-visual-image {
    height: auto;
  }

  .compact-visual-image img {
    width: 100%;
    height: auto;
    transform: none;
  }

  .compact-visual-body {
    display: none;
  }

  .compact-information {
    display: block;
    padding: 16px;
    border-radius: 12px;
  }

  .compact-information h1 {
    margin-bottom: 8px;
    font-size: clamp(2.15rem, 10.5vw, 2.85rem);
  }

  .compact-lead {
    margin-bottom: 12px;
    font-size: 14px;
    line-height: 1.42;
  }

  .compact-audiences {
    gap: 5px;
    margin-bottom: 12px;
    grid-template-columns: 1fr;
  }

  .compact-audiences li {
    padding: 7px 9px 7px 29px;
    font-size: 12px;
  }

  .compact-audiences li::before {
    top: 7px;
    left: 9px;
  }

  .compact-section-title {
    margin-bottom: 6px;
    font-size: 10px;
  }

  .compact-services {
    grid-template-columns: repeat(3, 1fr);
  }

  .compact-service {
    display: grid;
    min-height: 64px;
    place-items: center;
    padding: 8px 6px;
    text-align: center;
  }

  .compact-service h2 {
    margin-bottom: 0;
    font-size: 11px;
    line-height: 1.28;
  }

  .compact-service p {
    display: none;
  }

  .compact-contact {
    display: grid;
    gap: 9px;
    margin-top: 12px;
    padding: 10px;
  }

  .compact-contact-copy {
    justify-content: center;
    gap: 2px 12px;
    text-align: center;
  }

  .compact-contact-copy strong {
    width: 100%;
    font-size: 17px;
  }

  .compact-contact-copy a {
    font-size: 11.5px;
  }

  .compact-contact .button {
    width: 100%;
    min-height: 42px;
  }

  .below-fold-note {
    padding: 13px 0;
  }
}

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

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .wordmark-sub {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-height: 720px) and (max-width: 680px) {
  .compact-home {
    padding-top: 4px;
    padding-bottom: 4px;
  }

  .compact-shell {
    gap: 4px;
  }

  .compact-information {
    padding: 12px 14px;
  }

  .compact-information h1 {
    font-size: 2rem;
  }

  .compact-lead {
    font-size: 12.5px;
  }

  .compact-audiences li {
    padding-block: 5px;
  }

  .compact-audiences li::before {
    top: 5px;
  }

  .compact-service {
    min-height: 50px;
  }

  .compact-contact {
    margin-top: 8px;
  }
}
