:root {
    --ink: #1f1d1a;
    --paper: #f4efe7;
    --surface: #fbf8f2;
    --surface-strong: #ffffff;
    --muted: #6d665e;
    --line: #ded6ca;
    --line-strong: #c8beb0;
    --button: #111111;
    --button-hover: #2a2723;
    --danger: #9f1d1d;
    --danger-bg: #fff0ed;
    --font-body: "Helvetica Neue", Helvetica, Arial, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

#tjanster,
#sa-funkar-det,
#om-oss,
#boka,
#faq,
.proof-strip {
    scroll-margin-top: 82px;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
}

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

h1 {
    max-width: 460px;
    margin-bottom: 18px;
    font-size: 46px;
    line-height: 1.04;
    letter-spacing: 0;
}

h2 {
    margin-bottom: 8px;
    font-size: 28px;
    line-height: 1.12;
    letter-spacing: 0;
}

h3 {
    margin-bottom: 8px;
    font-size: 15px;
    line-height: 1.2;
    letter-spacing: 0;
}

.skip-link {
    position: absolute;
    left: 12px;
    top: -48px;
    z-index: 200;
    background: var(--ink);
    color: #fff;
    padding: 9px 12px;
}

.skip-link:focus {
    top: 12px;
}

.site-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(251, 248, 242, 0.96);
    border-bottom: 1px solid var(--line);
}

.site-nav.scrolled {
    border-bottom-color: var(--line-strong);
}

.nav-inner {
    width: min(1120px, 100%);
    margin: 0 auto;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    color: var(--ink);
    text-decoration: none;
    font-weight: 800;
}

.brand-mark {
    width: 26px;
    height: 26px;
    display: inline-grid;
    place-items: center;
    color: var(--ink);
    background: transparent;
    font-size: 28px;
    font-weight: 500;
    line-height: 1;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    font-size: 14px;
    font-weight: 700;
}

.nav-links a {
    color: var(--ink);
    text-decoration: none;
}

.nav-links a:hover {
    color: var(--muted);
}

.nav-cta {
    min-height: 36px;
    padding: 9px 18px;
    border: 1px solid var(--button);
    border-radius: 2px;
    background: var(--button);
    color: #fff !important;
}

.nav-cta:hover {
    background: var(--button-hover);
    color: #fff !important;
}

.hero {
    padding: 0 18px;
    background: var(--paper);
}

.hero-inner {
    width: min(1120px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(340px, 0.42fr) minmax(0, 0.58fr);
    min-height: 330px;
    border-bottom: 1px solid var(--line);
}

.hero-content {
    padding: 66px 34px 46px 0;
    align-self: center;
}

.hero-media {
    min-height: 330px;
    overflow: hidden;
    border-left: 1px solid var(--line);
}

.hero-media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

.eyebrow {
    margin: 0 0 14px;
    color: #4f4a43;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero-copy {
    max-width: 390px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 26px;
}

.hero-actions,
.footer-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 18px;
    border: 1px solid var(--line-strong);
    border-radius: 2px;
    background: transparent;
    color: var(--ink);
    font-family: inherit;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
}

.button.primary {
    background: var(--button);
    border-color: var(--button);
    color: #fff;
}

.button.primary:hover {
    background: var(--button-hover);
    border-color: var(--button-hover);
}

.button.secondary {
    background: rgba(251, 248, 242, 0.74);
    color: var(--ink);
}

.button.secondary:hover {
    border-color: var(--ink);
}

.button.full {
    width: 100%;
}

.proof-strip {
    width: min(1120px, 100%);
    margin: 0 auto;
    padding: 0 18px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    transform: translateY(-1px);
}

.proof-strip div {
    min-height: 72px;
    padding: 16px 20px;
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    grid-template-areas:
        "icon title"
        "icon text";
    column-gap: 16px;
    align-items: center;
    border: 1px solid var(--line);
    border-right: 0;
    background: rgba(251, 248, 242, 0.9);
}

.proof-strip div:last-child {
    border-right: 1px solid var(--line);
}

.proof-strip svg {
    grid-area: icon;
    width: 30px;
    height: 30px;
    padding: 5px;
    border: 1px solid var(--line-strong);
    border-radius: 50%;
    fill: none;
    stroke: #7f786d;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.proof-strip strong,
.proof-strip span {
    display: block;
}

.proof-strip strong {
    grid-area: title;
    align-self: end;
    color: var(--ink);
    font-size: 14px;
    line-height: 1.2;
}

.proof-strip span {
    grid-area: text;
    align-self: start;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.35;
}

.section,
.about-section,
.booking-section {
    width: min(1120px, 100%);
    margin: 0 auto;
    padding: 34px 18px;
}

.section-head {
    max-width: 640px;
    margin-bottom: 18px;
}

.section-head p {
    margin-bottom: 0;
    color: var(--muted);
    font-size: 13px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
    background: rgba(251, 248, 242, 0.82);
}

.service-card {
    min-height: 355px;
    padding: 14px 14px 16px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: rgba(251, 248, 242, 0.78);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    background: #fffdf8;
}

.service-image {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    margin-bottom: 16px;
    object-fit: cover;
    object-position: center;
    border: 1px solid var(--line);
    background: #eee6db;
}

.service-card p,
.steps p,
.booking-copy p,
.faq-list p,
.simple-page p,
.about-section > p {
    color: var(--muted);
}

.service-card p {
    margin-bottom: 12px;
    font-size: 13px;
    line-height: 1.42;
}

.service-points {
    padding: 0;
    margin: auto 0 0;
    list-style: none;
    display: grid;
    gap: 5px;
}

.service-points li {
    position: relative;
    padding-left: 10px;
    color: #4c4740;
    font-size: 12px;
    line-height: 1.35;
}

.service-points li::before {
    content: "";
    width: 3px;
    height: 3px;
    position: absolute;
    left: 0;
    top: 7px;
    border-radius: 50%;
    background: #4c4740;
}

.service-arrow {
    display: block;
    width: 18px;
    height: 12px;
    margin-top: 14px;
    position: relative;
}

.service-arrow::before {
    content: "";
    position: absolute;
    left: 0;
    top: 5px;
    width: 16px;
    height: 1px;
    background: var(--ink);
}

.service-arrow::after {
    content: "";
    position: absolute;
    right: 0;
    top: 2px;
    width: 7px;
    height: 7px;
    border-top: 1px solid var(--ink);
    border-right: 1px solid var(--ink);
    transform: rotate(45deg);
}

.process {
    display: grid;
    grid-template-columns: minmax(190px, 0.35fr) minmax(0, 1fr);
    gap: 24px;
    border-top: 1px solid var(--line);
}

.process .section-head {
    margin: 0;
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-left: 1px solid var(--line);
}

.steps article {
    min-height: 126px;
    padding: 20px 20px 18px;
    border-right: 1px solid var(--line);
    background: rgba(251, 248, 242, 0.76);
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    column-gap: 18px;
}

.steps span {
    width: 30px;
    height: 30px;
    display: inline-grid;
    place-items: center;
    border: 1px solid var(--line-strong);
    border-radius: 50%;
    color: var(--ink);
    font-size: 14px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.steps h3,
.steps p {
    grid-column: 2;
}

.steps h3 {
    margin-top: 2px;
}

.steps p {
    margin-bottom: 0;
    font-size: 13px;
    line-height: 1.42;
}

.about-section {
    display: grid;
    grid-template-columns: 0.42fr 0.58fr;
    gap: 46px;
    border-top: 1px solid var(--line);
}

.about-section > p {
    margin: 26px 0 0;
    max-width: 620px;
}

.booking-section {
    display: grid;
    grid-template-columns: 0.42fr 0.58fr;
    gap: 46px;
    border-top: 1px solid var(--line);
}

.booking-copy {
    align-self: start;
    position: sticky;
    top: 86px;
}

.check-list {
    padding: 0;
    margin: 24px 0 0;
    list-style: none;
    display: grid;
    border-top: 1px solid var(--line);
}

.check-list li {
    position: relative;
    padding: 12px 0 12px 22px;
    border-bottom: 1px solid var(--line);
    color: #4c4740;
    font-size: 14px;
}

.check-list li::before {
    content: "";
    width: 7px;
    height: 7px;
    position: absolute;
    left: 0;
    top: 19px;
    background: var(--ink);
}

.booking-note-box {
    margin-top: 22px;
    padding: 16px;
    border: 1px solid var(--line);
    background: #fffdf8;
}

.booking-note-box strong,
.booking-note-box span {
    display: block;
}

.booking-note-box strong {
    margin-bottom: 8px;
    font-size: 15px;
}

.booking-note-box span {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.45;
}

.lead-form {
    padding: 0;
    border: 1px solid var(--line-strong);
    background: #fffdf8;
    overflow: hidden;
}

.form-intro {
    margin-bottom: 22px;
    padding: 18px 24px;
    border-bottom: 1px solid var(--line);
    background: #f1eadf;
}

.form-intro span,
.form-intro strong {
    display: block;
}

.form-intro span {
    margin-bottom: 6px;
    color: #4f4a43;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.form-intro strong {
    font-size: 22px;
    line-height: 1.15;
}

.field-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.lead-form > label,
.lead-form > .field-row,
.lead-form > .form-error,
.lead-form > .check-field,
.lead-form > .button,
.lead-form > .form-note {
    margin-left: 24px;
    margin-right: 24px;
}

.lead-form > .button.full {
    width: calc(100% - 48px);
}

label {
    display: grid;
    gap: 7px;
    margin-bottom: 14px;
    color: #4c4740;
    font-size: 14px;
    font-weight: 750;
}

input,
select,
textarea {
    width: 100%;
    border: 1px solid var(--line-strong);
    border-radius: 2px;
    background: #fff;
    color: var(--ink);
    font: inherit;
    padding: 11px 12px;
    outline: none;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--ink);
    box-shadow: 0 0 0 3px rgba(31, 29, 26, 0.1);
}

textarea {
    resize: vertical;
    min-height: 120px;
}

.check-field {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    align-items: start;
    gap: 10px;
    margin-bottom: 16px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.45;
    font-weight: 650;
}

.check-field input {
    width: 18px;
    height: 18px;
    margin: 1px 0 0;
    padding: 0;
    accent-color: var(--button);
}

.form-note {
    margin-top: 12px;
    margin-bottom: 24px;
    color: var(--muted);
    font-size: 13px;
}

.form-error {
    margin-bottom: 16px;
    padding: 11px 12px;
    border: 1px solid var(--danger);
    background: var(--danger-bg);
    color: var(--danger);
    font-weight: 700;
}

.hp-field {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
}

.faq {
    border-top: 1px solid var(--line);
}

.faq-list {
    max-width: 820px;
    border-top: 1px solid var(--line-strong);
}

.faq-list details {
    border-bottom: 1px solid var(--line-strong);
    padding: 18px 0;
}

.faq-list summary {
    cursor: pointer;
    font-weight: 800;
    list-style: none;
}

.faq-list summary::-webkit-details-marker {
    display: none;
}

.faq-list summary::after {
    content: "+";
    float: right;
    color: var(--muted);
}

.faq-list details[open] summary::after {
    content: "-";
}

.simple-page,
.admin-page {
    width: min(960px, 100%);
    margin: 0 auto;
    padding: 86px 18px 80px;
}

.simple-page {
    max-width: 760px;
}

.simple-page h1,
.admin-page h1 {
    color: var(--ink);
    font-size: 40px;
    line-height: 1.06;
}

.lead-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--line-strong);
}

.lead-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.lead-table th,
.lead-table td {
    padding: 12px 14px;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid var(--line);
}

.lead-table th {
    background: #f1eadf;
    font-weight: 850;
}

.text-link {
    color: var(--ink);
    font-size: 13px;
    font-weight: 850;
    text-decoration: none;
}

.text-link::after {
    content: " ->";
}

.text-link:hover {
    color: var(--muted);
}

.guide-grid,
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
    background: rgba(251, 248, 242, 0.82);
}

.guide-card,
.blog-card {
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: rgba(251, 248, 242, 0.78);
}

.guide-card {
    display: grid;
    grid-template-columns: 140px minmax(0, 1fr);
    min-height: 184px;
}

.guide-card img,
.blog-card img,
.article-hero-image {
    display: block;
    width: 100%;
    object-fit: cover;
    background: #eee6db;
}

.guide-card img {
    height: 100%;
}

.guide-card > div,
.blog-card-body {
    padding: 18px;
}

.guide-card span,
.blog-card-meta,
.article-meta,
.breadcrumb {
    color: var(--muted);
    font-size: 12px;
}

.guide-card span,
.blog-card-meta span {
    font-weight: 850;
}

.guide-card h3,
.blog-card h2 {
    margin-bottom: 9px;
}

.guide-card a,
.blog-card a,
.breadcrumb a {
    color: inherit;
    text-decoration: none;
}

.guide-card p,
.blog-card p,
.article-lead {
    color: var(--muted);
}

.guide-card p,
.blog-card p {
    font-size: 13px;
    line-height: 1.45;
}

.blog-hero {
    width: min(1120px, 100%);
    margin: 0 auto;
    padding: 70px 18px 34px;
}

.blog-hero h1 {
    max-width: 680px;
}

.blog-hero p {
    max-width: 660px;
    color: var(--muted);
}

.blog-list-section {
    width: min(1120px, 100%);
    margin: 0 auto;
    padding: 24px 18px 70px;
}

.blog-card-image img {
    aspect-ratio: 4 / 3;
}

.blog-card-meta {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.blog-card h2 {
    font-size: 20px;
    line-height: 1.18;
}

.article-page {
    width: min(1120px, 100%);
    margin: 0 auto;
    padding: 34px 18px 80px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
}

.article-header {
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(320px, 0.68fr);
    gap: 34px;
    align-items: end;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--line);
}

.article-header h1 {
    max-width: 700px;
}

.article-lead {
    max-width: 620px;
    font-size: 18px;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-weight: 800;
}

.article-hero-image {
    aspect-ratio: 4 / 3;
    border: 1px solid var(--line);
}

.article-layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 42px;
    padding-top: 34px;
}

.article-aside {
    position: sticky;
    top: 92px;
    align-self: start;
    padding: 20px;
    border: 1px solid var(--line);
    background: rgba(251, 248, 242, 0.78);
}

.article-aside strong {
    display: block;
    margin-bottom: 10px;
}

.article-aside ul,
.article-tldr ul {
    padding-left: 18px;
    margin: 0 0 18px;
    color: var(--muted);
}

.article-aside li,
.article-tldr li {
    margin-bottom: 8px;
}

.article-body {
    max-width: 720px;
}

.article-body p {
    color: #4c4740;
    font-size: 17px;
    line-height: 1.72;
}

.article-body h2 {
    margin-top: 36px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
}

.article-body h3 {
    font-size: 18px;
}

.article-tldr,
.article-cta {
    margin: 30px 0;
    padding: 22px;
    border: 1px solid var(--line);
    background: rgba(251, 248, 242, 0.78);
}

.article-tldr h2,
.article-cta h2 {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
}

.article-step {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 18px;
    padding: 24px 0;
    border-bottom: 1px solid var(--line);
}

.article-step > span {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border: 1px solid var(--line-strong);
    border-radius: 50%;
    color: var(--muted);
    font-size: 12px;
    font-weight: 850;
}

.article-faq details {
    border-top: 1px solid var(--line);
}

.article-faq details:last-child {
    border-bottom: 1px solid var(--line);
}

.article-faq summary {
    cursor: pointer;
    padding: 18px 0;
    font-weight: 850;
}

.article-faq p {
    margin-bottom: 18px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}

.related-grid article {
    padding: 18px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: rgba(251, 248, 242, 0.78);
}

.related-grid span {
    display: block;
    margin-bottom: 8px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 850;
}

.related-grid a {
    color: inherit;
    text-decoration: none;
}

.related-grid p {
    font-size: 14px;
    line-height: 1.48;
}

.site-footer {
    border-top: 1px solid var(--line-strong);
    padding: 30px 0;
    background: #eee6da;
}

.footer-inner {
    width: min(1120px, 100%);
    margin: 0 auto;
    padding: 0 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    color: var(--muted);
    font-size: 14px;
}

.footer-inner strong {
    display: block;
    color: var(--ink);
}

.footer-links a {
    color: var(--muted);
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--ink);
}

@media (max-width: 1040px) {
    .service-grid,
    .guide-grid,
    .blog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .guide-card {
        grid-template-columns: 1fr;
    }

    .guide-card img {
        aspect-ratio: 4 / 3;
    }
}

@media (max-width: 860px) {
    .nav-links a:not(.nav-cta) {
        display: none;
    }

    .hero-inner,
    .article-header,
    .article-layout,
    .process,
    .about-section,
    .booking-section {
        grid-template-columns: 1fr;
    }

    .hero-content {
        padding: 46px 0 30px;
    }

    .hero-media {
        min-height: 260px;
        border-left: 0;
        border-top: 1px solid var(--line);
    }

    h1 {
        max-width: 580px;
        font-size: 40px;
    }

    h2 {
        font-size: 27px;
    }

    .proof-strip,
    .steps {
        grid-template-columns: 1fr;
    }

    .proof-strip div,
    .proof-strip div:last-child {
        border-right: 1px solid var(--line);
        border-bottom: 0;
    }

    .proof-strip div:last-child {
        border-bottom: 1px solid var(--line);
    }

    .steps {
        border-left: 0;
    }

    .steps article {
        border-left: 1px solid var(--line);
        border-bottom: 1px solid var(--line);
    }

    .about-section > p {
        margin-top: 0;
    }

    .booking-copy {
        position: static;
    }

    .article-aside {
        position: static;
        order: 2;
    }
}

@media (max-width: 620px) {
    .nav-inner {
        padding: 12px 16px;
    }

    .brand {
        gap: 10px;
    }

    .brand span:last-child {
        max-width: 190px;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
    }

    .hero,
    .proof-strip,
    .section,
    .about-section,
    .booking-section,
    .simple-page,
    .admin-page,
    .footer-inner {
        padding-left: 16px;
        padding-right: 16px;
    }

    h1 {
        font-size: 33px;
    }

    .hero-copy {
        font-size: 15px;
    }

    .service-grid,
    .guide-grid,
    .blog-grid,
    .related-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        min-height: auto;
    }

    .field-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .lead-form > label,
    .lead-form > .field-row,
    .lead-form > .form-error,
    .lead-form > .check-field,
    .lead-form > .button,
    .lead-form > .form-note {
        margin-left: 18px;
        margin-right: 18px;
    }

    .lead-form > .button.full {
        width: calc(100% - 36px);
    }

    .form-intro {
        padding: 18px;
    }

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

    .blog-hero,
    .blog-list-section,
    .article-page {
        padding-left: 16px;
        padding-right: 16px;
    }

    .article-step {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .article-body p {
        font-size: 16px;
    }
}
