/* Archivo (SIL Open Font License), självhostad för snabbare laddning */
@font-face {
    font-family: 'Archivo';
    font-style: normal;
    font-weight: 400 800;
    font-stretch: 62% 125%;
    font-display: swap;
    src: url('/fonts/archivo-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Archivo';
    font-style: normal;
    font-weight: 400 800;
    font-stretch: 62% 125%;
    font-display: swap;
    src: url('/fonts/archivo-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ============================================================
   MTN DEKOR – stilmall
   Riktning: lackverkstad. Grafit och ljus betonggrå i växling,
   loggans orange som enda signalfärg, smala feta rubriker som
   dekaler. Ett typsnitt (Archivo) i två bredder.
   Variablerna --bg-dark, --bg-card, --text-light, --text-muted,
   --accent-primary och --accent-hover används även av admin.html.
   ============================================================ */

:root {
    /* Palett */
    --ink: #0c0d0e;
    --ink-2: #15171a;
    --ink-3: #1e2125;
    --paper: #e7e6e2;
    --paper-2: #d9d8d3;
    --chalk: #f4f3ef;
    --steel: #9a9994;
    --graphite-text: #141517;
    --graphite-muted: #56575b;
    --orange: #f27405;
    --orange-hot: #ff8b26;
    --danger: #e5675f;

    /* Namn som admin.html använder */
    --bg-dark: var(--ink);
    --bg-card: var(--ink-2);
    --text-light: var(--chalk);
    --text-muted: var(--steel);
    --accent-primary: var(--orange);
    --accent-hover: var(--orange-hot);
    --on-accent: var(--ink);

    /* Ytfärger som byts per sektion (mörk som standard) */
    --surface: var(--ink);
    --surface-2: var(--ink-2);
    --fg: var(--chalk);
    --fg-muted: var(--steel);
    --line: rgba(255, 255, 255, 0.1);
    --line-strong: rgba(255, 255, 255, 0.22);

    /* Typografi */
    --font: 'Archivo', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --narrow: 72%;
    --step--1: 0.875rem;
    --step-0: 1.0625rem;
    --step-1: 1.3rem;
    --step-2: clamp(1.6rem, 1.3rem + 1.2vw, 2.1rem);
    --step-3: clamp(2.4rem, 1.6rem + 3.4vw, 4.2rem);
    --step-4: clamp(3.2rem, 1.8rem + 6.4vw, 7.4rem);
    --step-5: clamp(3.6rem, 1.6rem + 8.8vw, 9.5rem);

    /* Mått */
    --container: 1240px;
    --gutter: clamp(1.25rem, 4vw, 3rem);
    --radius: 4px;
    --header-h: 76px;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

.on-paper {
    --surface: var(--paper);
    --surface-2: var(--paper-2);
    --fg: var(--graphite-text);
    --fg-muted: var(--graphite-muted);
    --line: rgba(20, 21, 23, 0.14);
    --line-strong: rgba(20, 21, 23, 0.3);
    background-color: var(--surface);
    color: var(--fg);
}

.on-orange {
    --surface: var(--orange);
    --fg: var(--ink);
    --fg-muted: rgba(12, 13, 14, 0.72);
    --line: rgba(12, 13, 14, 0.2);
    --line-strong: rgba(12, 13, 14, 0.45);
    background-color: var(--orange);
    color: var(--ink);
}

/* ============================================================
   GRUND
   ============================================================ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font);
    font-size: var(--step-0);
    line-height: 1.6;
    background-color: var(--ink);
    color: var(--chalk);
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}
a:hover { color: var(--orange); }

:focus-visible {
    outline: 2px solid var(--orange);
    outline-offset: 3px;
}

h1, h2, h3, h4 {
    font-weight: 800;
    font-stretch: var(--narrow);
    line-height: 0.95;
    letter-spacing: -0.01em;
    overflow-wrap: break-word;
    min-width: 0;
}

.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.band {
    background-color: var(--surface);
    color: var(--fg);
    padding-block: clamp(4rem, 9vw, 8rem);
}

.band-head {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    align-items: end;
    gap: 1.5rem 4rem;
    margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.band-head h2 { font-size: var(--step-4); }
.band-head p { color: var(--fg-muted); max-width: 44ch; }

.muted { color: var(--fg-muted); }

/* ============================================================
   KNAPPAR
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    min-height: 52px;
    padding: 0.85rem 1.6rem;
    font-family: inherit;
    font-size: var(--step-0);
    font-weight: 700;
    line-height: 1.2;
    color: var(--ink);
    background-color: var(--orange);
    border: 1px solid var(--orange);
    border-radius: var(--radius);
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s var(--ease);
}
.btn:hover {
    color: var(--ink);
    background-color: var(--orange-hot);
    border-color: var(--orange-hot);
}
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: 0.55; cursor: progress; }

.btn-ghost {
    color: var(--fg);
    background-color: transparent;
    border-color: var(--line-strong);
}
.btn-ghost:hover {
    color: var(--fg);
    background-color: transparent;
    border-color: var(--fg);
}

.btn-dark {
    color: var(--chalk);
    background-color: var(--ink);
    border-color: var(--ink);
}
.btn-dark:hover {
    color: var(--chalk);
    background-color: var(--ink-3);
    border-color: var(--ink-3);
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.3rem 0;
    font: inherit;
    font-weight: 700;
    color: var(--fg);
    background: none;
    border: 0;
    border-bottom: 2px solid var(--orange);
    cursor: pointer;
    transition: color 0.2s ease;
}
.text-link:hover { color: var(--orange); }
.on-orange .text-link { border-bottom-color: var(--ink); }
.on-orange .text-link:hover { color: var(--chalk); }

/* ============================================================
   HEADER
   ============================================================ */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    height: var(--header-h);
    padding-inline: max(var(--gutter), calc((100% - var(--container)) / 2 + var(--gutter)));
    color: var(--chalk);
    background-color: rgba(12, 13, 14, 0.9);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

/* Genomskinlig över bildspelet tills man skrollar */
body.over-hero header {
    background-color: transparent;
    border-bottom-color: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--chalk);
}
.logo img { height: 50px; width: auto; }
.logo h2 { font-size: var(--step-1); margin: 0; }
.logo-word {
    font-weight: 800;
    font-stretch: var(--narrow);
    font-size: 1.35rem;
    letter-spacing: 0.01em;
}

nav {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 0.15rem;
}

.nav-tab {
    position: relative;
    display: block;
    padding: 0.55rem 0.8rem;
    font-size: 0.98rem;
    font-weight: 600;
    color: rgba(244, 243, 239, 0.72);
    cursor: pointer;
    transition: color 0.2s ease;
}
.nav-tab::after {
    content: '';
    position: absolute;
    left: 0.8rem;
    right: 0.8rem;
    bottom: 0.2rem;
    height: 2px;
    background-color: var(--orange);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s var(--ease);
}
.nav-tab:hover { color: var(--chalk); }
.nav-tab.active { color: var(--chalk); }
.nav-tab.active::after { transform: scaleX(1); }

.cart-icon-container {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    color: var(--chalk);
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius);
    cursor: pointer;
    transition: border-color 0.2s ease;
}
.cart-icon-container:hover { border-color: var(--chalk); }

#cart-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 21px;
    height: 21px;
    padding: 0 5px;
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--ink);
    background: var(--orange);
    border-radius: 999px;
}

.hamburger {
    display: none;
    align-items: center;
    gap: 0.6rem;
    min-height: 46px;
    padding: 0 0.95rem;
    font: inherit;
    font-size: var(--step--1);
    font-weight: 700;
    color: var(--chalk);
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius);
    cursor: pointer;
    z-index: 1001;
    -webkit-tap-highlight-color: transparent;
}
.hamburger .bars { display: grid; gap: 4px; }
.hamburger .bar {
    display: block;
    width: 18px;
    height: 2px;
    background-color: currentColor;
    transition: transform 0.25s var(--ease), opacity 0.2s ease;
}

/* På huvudsidan ligger headern fast över bildspelet */
body.site header { position: fixed; inset: 0 0 auto 0; }
body.site main > .tab-content:not(#hem) { padding-top: var(--header-h); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
    position: relative;
    display: grid;
    grid-template-rows: 1fr auto;
    min-height: 100svh;
    min-height: max(100svh, 640px);
    color: var(--chalk);
    background-color: var(--ink-2);
    overflow: hidden;
    isolation: isolate;
}

#hero-slides-container {
    position: absolute;
    inset: 0;
    z-index: -2;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(180deg, rgba(12, 13, 14, 0.7) 0%, rgba(12, 13, 14, 0) 22%),
        linear-gradient(0deg, rgba(12, 13, 14, 0.96) 0%, rgba(12, 13, 14, 0.55) 42%, rgba(12, 13, 14, 0.1) 75%);
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.06);
    transition: opacity 1.4s ease-in-out, transform 7s linear;
}
.hero-slide.active {
    opacity: 1;
    transform: scale(1);
}

.hero-inner {
    align-self: end;
    padding-top: calc(var(--header-h) + 3rem);
    padding-bottom: clamp(2rem, 5vw, 3.5rem);
}

.hero h1 {
    font-size: clamp(3.2rem, 1.4rem + 6.4vw, 8.2rem);
    max-width: 15ch;
    margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
}
.hero h1 .accent-stop { color: var(--orange); }

.hero-row {
    display: flex;
    justify-content: space-between;
    align-items: end;
    flex-wrap: wrap;
    gap: 2rem 3rem;
}

.hero-copy p {
    font-size: var(--step-1);
    color: rgba(244, 243, 239, 0.84);
    max-width: 38ch;
    margin-bottom: 1.75rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}
.hero .btn-ghost {
    --fg: var(--chalk);
    --line-strong: rgba(255, 255, 255, 0.35);
}

/* Bildspelets reglage */
.hero-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: min(100%, 280px);
}
.hero-controls[hidden] { display: none; }
.hero-count {
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    font-size: var(--step--1);
    color: rgba(244, 243, 239, 0.8);
    white-space: nowrap;
}
.hero-dots {
    display: flex;
    gap: 6px;
    flex: 1;
}
.hero-dot {
    position: relative;
    flex: 1;
    height: 28px;
    background: none;
    border: 0;
    cursor: pointer;
}
.hero-dot::before,
.hero-dot::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.28);
}
.hero-dot::after {
    background-color: var(--orange);
    transform: scaleX(0);
    transform-origin: left;
}
.hero-dot.done::after { transform: scaleX(1); }
.hero-dot.active::after {
    animation: slideProgress var(--slide-ms, 6000ms) linear forwards;
}
@keyframes slideProgress {
    from { transform: scaleX(0); }
    to   { transform: scaleX(1); }
}

.hero-arrow {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    color: var(--chalk);
    background: rgba(12, 13, 14, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}
.hero-arrow:hover { background: var(--orange); border-color: var(--orange); color: var(--ink); }
.hero-progress {
    position: relative;
    flex: 1;
    height: 2px;
    background: rgba(255, 255, 255, 0.28);
    overflow: hidden;
}
.hero-progress span {
    position: absolute;
    inset: 0;
    background: var(--orange);
    transform: scaleX(0);
    transform-origin: left;
}

/* Rad med fakta under hero */
.hero-facts {
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    background-color: rgba(12, 13, 14, 0.55);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.hero-facts .container {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.hero-facts .fact {
    padding: 1.1rem 1.25rem 1.1rem 0;
    font-size: var(--step--1);
    color: rgba(244, 243, 239, 0.75);
}
.hero-facts .fact + .fact {
    padding-left: 1.25rem;
    border-left: 1px solid rgba(255, 255, 255, 0.14);
}
.hero-facts strong {
    display: block;
    color: var(--chalk);
    font-size: var(--step-0);
}
.hero-facts a:hover strong { color: var(--orange); }

/* ============================================================
   STARTSIDA: INTRO
   ============================================================ */
.intro {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 2fr);
    gap: 2rem 4rem;
    align-items: start;
}
.intro-label {
    font-size: var(--step-1);
    font-weight: 700;
    font-stretch: 100%;
    line-height: 1.3;
    color: var(--fg-muted);
}
.intro-statement {
    font-size: var(--step-2);
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.01em;
    max-width: 30ch;
}
.intro-statement em {
    font-style: normal;
    background-image: linear-gradient(var(--orange), var(--orange));
    background-size: 100% 0.18em;
    background-position: 0 92%;
    background-repeat: no-repeat;
}

/* ============================================================
   TJÄNSTER: RADER PÅ STARTSIDAN
   ============================================================ */
.service-rows {
    list-style: none;
    border-top: 1px solid var(--line);
}
.service-row {
    border-bottom: 1px solid var(--line);
}
.service-row a {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) auto;
    align-items: center;
    gap: 1rem 3rem;
    padding-block: clamp(1.25rem, 2.6vw, 2rem);
    color: var(--fg);
}
.service-row a::before {
    content: '';
    position: absolute;
    left: 0;
    top: -1px;
    width: 100%;
    height: 2px;
    background-color: var(--orange);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.45s var(--ease);
}
.service-row h3 {
    font-size: var(--step-3);
    transition: transform 0.45s var(--ease), color 0.2s ease;
}
.service-row p { color: var(--fg-muted); max-width: 40ch; }
.service-row .row-icon {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border: 1px solid var(--line-strong);
    border-radius: 50%;
    transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.45s var(--ease);
}
.service-row a:hover::before { transform: scaleX(1); }
.service-row a:hover h3 { color: var(--orange); transform: translateX(0.5rem); }
.service-row a:hover .row-icon {
    color: var(--ink);
    background-color: var(--orange);
    border-color: var(--orange);
    transform: rotate(-45deg);
}

/* ============================================================
   KORT: PROJEKT & PRODUKTER (byggs av main.js)
   ============================================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
    gap: clamp(1rem, 2vw, 1.5rem);
}

/* Startsidans projekt: det senaste stort */
.project-feature {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.project-feature > .service-card:first-child {
    grid-column: span 2;
    grid-row: span 2;
}
.project-feature > .service-card:first-child .card-media {
    aspect-ratio: auto;
    flex: 1;
    min-height: 320px;
}
.project-feature > .service-card:first-child h3 { font-size: var(--step-3); }

.service-card {
    display: flex;
    flex-direction: column;
    color: var(--fg);
    background-color: var(--surface-2);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform 0.4s var(--ease);
}
a.service-card { color: var(--fg); }

.card-media {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background-color: var(--ink-3);
}
.card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease);
}

.card-body {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    flex: 1;
    padding: 1.25rem 1.35rem 1.4rem;
}
.card-body h3 {
    font-size: var(--step-2);
    color: var(--fg);
    transition: color 0.2s ease;
}
.card-body p { color: var(--fg-muted); font-size: 0.98rem; }

.card-price {
    font-size: var(--step-2);
    font-weight: 800;
    font-stretch: var(--narrow);
    color: var(--fg);
}
.card-body .btn { margin-top: auto; }
.card-body .card-price + .btn { margin-top: 0.85rem; }

.card-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: auto;
    padding-top: 0.6rem;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--fg);
}
.card-more::after {
    content: '';
    width: 1.4rem;
    height: 2px;
    background-color: var(--orange);
    transition: width 0.35s var(--ease);
}

a.service-card:hover .card-media img { transform: scale(1.05); }
a.service-card:hover h3 { color: var(--orange); }
a.service-card:hover .card-more::after { width: 2.4rem; }

.empty-note {
    grid-column: 1 / -1;
    padding: 2rem;
    color: var(--fg-muted);
    border: 1px dashed var(--line-strong);
    border-radius: var(--radius);
}

/* ============================================================
   OMDÖMEN
   ============================================================ */
.testimonial-card {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    padding: 2rem;
    background-color: var(--surface-2);
    border-radius: var(--radius);
}
.testimonial-stars { color: var(--orange); letter-spacing: 0.15em; }
.testimonial-text {
    font-size: var(--step-1);
    line-height: 1.5;
    color: var(--fg);
}
.testimonial-author {
    margin-top: auto;
    font-weight: 700;
    color: var(--fg-muted);
}

/* ============================================================
   AVSLUTANDE RING-OSS
   ============================================================ */
.call-band { padding-block: clamp(4rem, 9vw, 7.5rem); }
.call-band .call-intro {
    font-size: var(--step-1);
    font-weight: 600;
    font-stretch: 100%;
    line-height: 1.4;
    letter-spacing: 0;
    max-width: 34ch;
    margin-bottom: 1rem;
}
.call-number {
    display: block;
    width: fit-content;
    font-size: var(--step-5);
    font-weight: 800;
    font-stretch: var(--narrow);
    line-height: 0.95;
    letter-spacing: -0.01em;
    color: var(--ink);
    white-space: nowrap;
}
.call-number:hover { color: var(--chalk); }
.call-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem 2rem;
    margin-top: 2rem;
}

/* ============================================================
   UNDERSIDOR
   ============================================================ */
.page-head {
    padding-top: clamp(3.5rem, 8vw, 6.5rem);
    padding-bottom: clamp(2.5rem, 5vw, 4rem);
    border-bottom: 1px solid var(--line);
}
.page-head .section-title {
    font-size: var(--step-5);
    margin-bottom: 1.5rem;
    max-width: 12ch;
}
.page-head p {
    font-size: var(--step-1);
    color: var(--fg-muted);
    max-width: 50ch;
}
.page-body { padding-block: clamp(3rem, 6vw, 5rem); }

/* Tjänster-sidan */
.service-detail-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
    gap: 1.25rem clamp(2rem, 6vw, 5rem);
    padding-block: clamp(2.5rem, 5vw, 4rem);
    border-bottom: 1px solid var(--line);
    scroll-margin-top: calc(var(--header-h) + 1rem);
}
.service-detail-card:first-child { padding-top: 0; }
.service-detail-card h3,
.service-detail-card h2 { font-size: var(--step-3); }
.service-detail-card .detail-body > p + p { margin-top: 1.1rem; }
.service-detail-card .more-link { margin-top: 1.75rem; }

/* Tjänstesidor (solfilm.html m.fl.) */
.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: var(--step--1);
    color: var(--fg-muted);
}
.breadcrumbs a { color: var(--fg-muted); }
.breadcrumbs a:hover { color: var(--orange); }
.service-page .page-head .section-title { max-width: 14ch; }

.check-list-plain li { color: var(--fg); font-weight: 600; }

/* Från-pris */
.price-tag {
    display: inline-flex;
    align-items: baseline;
    gap: 0.4rem;
    margin-top: 1.25rem;
    padding: 0.45rem 0.9rem;
    font-size: var(--step-0) !important;
    font-weight: 600;
    color: var(--fg) !important;
    background: rgba(242, 116, 5, 0.12);
    border: 1px solid rgba(242, 116, 5, 0.45);
    border-radius: 999px;
}
.price-tag strong {
    font-size: 1.2em;
    font-weight: 800;
    font-stretch: var(--narrow);
    color: var(--orange);
}
.row-price {
    display: block;
    margin-top: 0.35rem;
    font-weight: 700;
    color: var(--orange);
}
.detail-body .price-tag { margin-top: 1.5rem; }
.price-note {
    margin-top: 0.6rem;
    font-size: var(--step--1) !important;
    line-height: 1.5;
    color: var(--fg-muted) !important;
    max-width: 52ch;
}
.service-rows + .price-note { margin-top: 1.25rem; }

.faq-list {
    display: grid;
    border-top: 1px solid var(--line);
}
.faq-list > div {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
    gap: 0.75rem clamp(2rem, 6vw, 5rem);
    padding-block: 1.75rem;
    border-bottom: 1px solid var(--line);
}
.faq-list dt {
    font-size: var(--step-2);
    font-weight: 800;
    font-stretch: var(--narrow);
    line-height: 1.05;
}
.faq-list dd {
    font-size: var(--step-1);
    line-height: 1.6;
    color: var(--fg-muted);
    max-width: 58ch;
}
@media (max-width: 860px) {
    .faq-list > div { grid-template-columns: minmax(0, 1fr); }
}

.service-note > *,
.service-area > * { max-width: 62ch; }
.service-note h2,
.service-area h2 {
    font-size: var(--step-3);
    margin-bottom: 1.25rem;
}
.service-note p,
.service-area p {
    font-size: var(--step-1);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}
.service-detail-card .detail-body > p {
    font-size: var(--step-1);
    line-height: 1.6;
    max-width: 58ch;
}

.check-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem 2rem;
    margin-top: 2rem;
}
.check-list li {
    padding-top: 0.9rem;
    border-top: 2px solid var(--orange);
    color: var(--fg-muted);
    font-size: 0.98rem;
}
.check-list strong {
    display: block;
    margin-bottom: 0.2rem;
    color: var(--fg);
    font-weight: 700;
}

/* Om oss */
.about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
    gap: 2.5rem clamp(2rem, 6vw, 5rem);
    align-items: start;
}
.founder {
    position: sticky;
    top: calc(var(--header-h) + 2rem);
}
.founder h3 { font-size: var(--step-4); margin-bottom: 0.75rem; }
.founder p { color: var(--fg-muted); font-weight: 600; }
.about-story p {
    font-size: var(--step-1);
    line-height: 1.6;
    margin-bottom: 1.4rem;
    max-width: 58ch;
}

.about-quote {
    position: relative;
    padding-block: clamp(3rem, 7vw, 6rem);
}
.about-quote::before {
    content: '\201D';
    display: block;
    height: 0.55em;
    font-size: clamp(6rem, 12vw, 10rem);
    font-weight: 800;
    line-height: 1;
    color: var(--orange);
}
.about-quote p {
    font-size: var(--step-3);
    font-weight: 800;
    font-stretch: var(--narrow);
    line-height: 1.02;
    max-width: 22ch;
    margin-bottom: 1.5rem;
}
.about-quote cite {
    font-style: normal;
    font-weight: 600;
    color: var(--fg-muted);
}

.values {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
}
.values > div {
    padding-top: 1rem;
    border-top: 2px solid var(--fg);
}
.values h4 { font-size: var(--step-2); margin-bottom: 0.5rem; }
.values p { color: var(--fg-muted); }

/* Kontakt */
.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: 3rem clamp(2rem, 6vw, 5rem);
}
.contact-label {
    display: block;
    margin-bottom: 0.4rem;
    font-size: var(--step--1);
    font-weight: 700;
    color: var(--fg-muted);
}
.contact-primary a {
    display: block;
    width: fit-content;
    max-width: 100%;
    font-size: var(--step-3);
    font-weight: 800;
    font-stretch: var(--narrow);
    line-height: 1;
    color: var(--fg);
    white-space: nowrap;
}
.contact-primary a:hover { color: var(--orange); }
.contact-primary a.contact-email {
    font-size: var(--step-2);
    white-space: normal;
    overflow-wrap: anywhere;
}
.contact-primary .contact-label:not(:first-child) { margin-top: 2.25rem; }

.contact-details {
    display: grid;
    gap: 2rem;
    align-content: start;
    padding: clamp(1.5rem, 3vw, 2.25rem);
    background-color: var(--surface-2);
    border-radius: var(--radius);
}
.contact-details address {
    font-style: normal;
    line-height: 1.7;
    margin-bottom: 0.5rem;
}

.social-links { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 46px;
    padding: 0 1rem;
    font-weight: 700;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius);
    transition: border-color 0.2s ease, color 0.2s ease;
}
.social-link:hover { border-color: var(--orange); color: var(--orange); }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
    color: var(--steel);
    background-color: #070808;
    font-size: 0.95rem;
}
.footer-word::before { content: 'MTN DEKOR'; }
.footer-word {
    padding-top: clamp(3rem, 6vw, 5rem);
    font-size: clamp(3rem, 1rem + 13vw, 14rem);
    font-weight: 800;
    font-stretch: var(--narrow);
    line-height: 0.85;
    letter-spacing: -0.02em;
    color: var(--ink-3);
    white-space: nowrap;
    user-select: none;
}
.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr));
    gap: 2rem;
    padding-block: 2.5rem 2rem;
}
.footer-grid h4,
.footer-grid .footer-h {
    margin-bottom: 0.9rem;
    font-size: var(--step-0);
    font-stretch: 100%;
    color: var(--chalk);
}
.footer-grid ul { list-style: none; display: grid; gap: 0.5rem; }
.footer-grid a:hover { color: var(--orange); }
.footer-bottom {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    padding-block: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: var(--step--1);
}

/* ============================================================
   FLIKAR & ANIMATIONER
   Innehållet syns utan JavaScript; rörelse bara med .js och
   när användaren inte valt minskad rörelse.
   ============================================================ */
.tab-content { display: none; }
.tab-content.active-tab {
    display: block;
    animation: fadeInTab 0.4s var(--ease) both;
}
@keyframes fadeInTab {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.js .fade-in,
.js .fade-in-section {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.js .fade-in.appear,
.js .fade-in-section.appear {
    opacity: 1;
    transform: none;
}

/* ============================================================
   VARUKORG
   ============================================================ */
.buy-btn { width: 100%; }

.cart-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 3000;
    display: flex;
    flex-direction: column;
    width: min(100%, 440px);
    height: 100dvh;
    color: var(--chalk);
    background-color: var(--ink-2);
    border-left: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: -24px 0 60px rgba(0, 0, 0, 0.5);
    transform: translateX(105%);
    visibility: hidden;
    transition: transform 0.4s var(--ease), visibility 0s linear 0.4s;
}
.cart-sidebar.open {
    transform: none;
    visibility: visible;
    transition: transform 0.4s var(--ease), visibility 0s;
}
.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--line);
}
.cart-header h2 { margin: 0; font-size: var(--step-2); }
.close-cart-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    font-size: 1.6rem;
    line-height: 1;
    color: var(--steel);
    background: none;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    cursor: pointer;
    transition: color 0.2s ease, border-color 0.2s ease;
}
.close-cart-btn:hover { color: var(--chalk); border-color: var(--line-strong); }
.cart-items { flex: 1; overflow-y: auto; padding: 1.5rem; }
.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding-block: 1rem;
    border-bottom: 1px solid var(--line);
}
.cart-item:first-child { padding-top: 0; }
.cart-item-info h4 {
    margin: 0 0 0.3rem;
    font-size: var(--step-0);
    font-stretch: 100%;
    font-weight: 700;
    line-height: 1.3;
}
.cart-item-info p { margin: 0; color: var(--orange); font-weight: 700; }
.cart-item-info small { color: var(--steel); font-weight: 400; }
.remove-item-btn {
    font: inherit;
    font-size: var(--step--1);
    color: var(--danger);
    background: none;
    border: none;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.cart-footer {
    padding: 1.5rem;
    background-color: var(--ink-3);
    border-top: 1px solid var(--line);
}
.cart-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    color: var(--steel);
}
.cart-total {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--line);
    font-size: var(--step-1);
}
#checkout-btn { width: 100%; margin-top: 1.5rem; }

.cart-overlay {
    position: fixed;
    inset: 0;
    z-index: 2500;
    display: none;
    background: rgba(6, 7, 8, 0.66);
    backdrop-filter: blur(3px);
}
.cart-overlay.show { display: block; }

.flying-img {
    position: fixed;
    z-index: 9999;
    border-radius: 50%;
    object-fit: cover;
    pointer-events: none;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
    transition: transform 0.6s var(--ease), opacity 0.6s ease;
}
@keyframes cartBounce {
    0%, 100% { transform: scale(1); }
    50%      { transform: scale(1.15); }
}
.cart-bounce { animation: cartBounce 0.3s ease-in-out; }

/* ============================================================
   KONTAKTFORMULÄR
   ============================================================ */
.contact-form {
    display: grid;
    gap: 1.1rem;
    padding: clamp(1.5rem, 3vw, 2.25rem);
    background-color: var(--surface-2);
    border-radius: var(--radius);
}
.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.1rem;
}
.field label {
    display: block;
    margin-bottom: 0.4rem;
    font-size: var(--step--1);
    font-weight: 700;
    color: var(--fg-muted);
}
.field input,
.field select,
.field textarea {
    width: 100%;
    min-height: 50px;
    padding: 0.75rem 0.9rem;
    font: inherit;
    font-size: 1rem;
    color: var(--fg);
    background-color: var(--surface);
    border: 1px solid var(--line-strong);
    border-radius: var(--radius);
    transition: border-color 0.2s ease;
}
.field textarea { min-height: 140px; resize: vertical; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--fg-muted) 50%), linear-gradient(135deg, var(--fg-muted) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 2.5rem; }
.field input:hover,
.field select:hover,
.field textarea:hover { border-color: var(--fg-muted); }
.field input:focus,
.field select:focus,
.field textarea:focus { outline: none; border-color: var(--orange); }
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible { outline: 2px solid var(--orange); outline-offset: 1px; }
.contact-form .btn { width: 100%; }
.hp-field {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
.form-status {
    padding: 0.85rem 1rem;
    border-radius: var(--radius);
    font-weight: 600;
}
.form-status.ok { color: #0f2a17; background-color: #8fe0a8; }
.form-status.error { color: #3a0d0b; background-color: #f2a39d; }

/* ============================================================
   RING-RAD PÅ MOBILEN (skapas av track.js)
   ============================================================ */
.mobile-call-bar { display: none; }
@media (max-width: 860px) {
    .mobile-call-bar {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 900;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
        padding: 0.6rem max(0.75rem, env(safe-area-inset-right)) calc(0.6rem + env(safe-area-inset-bottom)) max(0.75rem, env(safe-area-inset-left));
        background: rgba(12, 13, 14, 0.94);
        border-top: 1px solid rgba(255, 255, 255, 0.12);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }
    .mobile-call-bar .btn { min-height: 48px; padding-inline: 0.75rem; }
    .mobile-call-bar .btn-dark { color: var(--chalk); background: var(--ink-3); border-color: rgba(255, 255, 255, 0.18); }
    body.has-call-bar { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
    body.has-call-bar #cookie-banner { bottom: calc(80px + env(safe-area-inset-bottom)); }
}

/* ============================================================
   PROJEKTFILTER
   ============================================================ */
.filter-bar { margin-bottom: 1.5rem; }

/* ============================================================
   COOKIE-RUTA
   ============================================================ */
#cookie-banner {
    position: fixed;
    left: max(1rem, env(safe-area-inset-left));
    right: max(1rem, env(safe-area-inset-right));
    bottom: max(1rem, env(safe-area-inset-bottom));
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
    max-width: 920px;
    margin-inline: auto;
    padding: 1.1rem 1.25rem;
    color: var(--chalk);
    background-color: var(--ink-2);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}
#cookie-banner p { flex: 1 1 280px; margin: 0; color: var(--steel); font-size: 0.95rem; }
#cookie-banner .cookie-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }
#cookie-banner .btn { min-height: 44px; padding: 0.6rem 1.1rem; font-size: 0.95rem; }
#cookie-banner .btn-ghost { --fg: var(--chalk); --line-strong: rgba(255, 255, 255, 0.3); }

/* ============================================================
   ÄLDRE KLASSER (används av products.html och customshop.html)
   ============================================================ */
.form-group { display: flex; flex-direction: column; }
.custom-content ul { margin-left: 1.5rem; margin-bottom: 1rem; }
.service-card > a { color: inherit; }
.card-link { display: block; }
.card-body h3 a { color: inherit; }
.card-body h3 a:hover { color: var(--orange); }
.service-card:has(.card-link:hover) .card-media img { transform: scale(1.05); }

/* ============================================================
   RESPONSIVT
   ============================================================ */
@media (max-width: 1024px) {
    .band-head,
    .intro,
    .about-grid,
    .contact-grid { grid-template-columns: minmax(0, 1fr); }
    .founder { position: static; }
    .service-row a { grid-template-columns: minmax(0, 1fr) auto; }
    .service-row p { grid-column: 1 / -1; grid-row: 2; }
    .values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .project-feature { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
    :root { --header-h: 66px; }
    .logo img { height: 42px; }
    .hamburger { display: inline-flex; }

    nav .nav-links {
        position: fixed;
        inset: 0 0 0 auto;
        z-index: 1000;
        flex-direction: column;
        justify-content: center;
        gap: 0.1rem;
        width: min(86vw, 360px);
        height: 100dvh;
        padding: 2rem 1.75rem;
        background-color: var(--ink-2);
        border-left: 1px solid rgba(255, 255, 255, 0.12);
        box-shadow: -24px 0 60px rgba(0, 0, 0, 0.5);
        transform: translateX(105%);
        visibility: hidden;
        transition: transform 0.35s var(--ease), visibility 0s linear 0.35s;
    }
    nav .nav-links.active {
        transform: none;
        visibility: visible;
        transition: transform 0.35s var(--ease), visibility 0s;
    }
    nav .nav-links .nav-tab {
        font-size: var(--step-3);
        font-weight: 800;
        font-stretch: var(--narrow);
        line-height: 1.1;
        padding: 0.35rem 0;
    }
    nav .nav-links .nav-tab::after { left: 0; right: auto; width: 2.5rem; bottom: 0; }

    .hamburger.active .bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
    .hamburger.active .bar:nth-child(2) { opacity: 0; }
    .hamburger.active .bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

    .hero-facts .container { grid-template-columns: minmax(0, 1fr); }
    .hero-facts .fact { padding: 0.8rem 0; }
    .hero-facts .fact + .fact { padding-left: 0; border-left: 0; border-top: 1px solid rgba(255, 255, 255, 0.14); }
    .hero-facts .fact:nth-child(3) { display: none; }

    .service-detail-card { grid-template-columns: minmax(0, 1fr); }
    .check-list { grid-template-columns: minmax(0, 1fr); }
    .form-row { grid-template-columns: minmax(0, 1fr); }
    .footer-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 600px) {
    .hamburger .menu-text { display: none; }
    .hero-actions .btn { flex: 1 1 100%; }
    .hero-controls { width: 100%; }
    .project-feature { grid-template-columns: minmax(0, 1fr); }
    .project-feature > .service-card:first-child { grid-column: auto; grid-row: auto; }
    .project-feature > .service-card:first-child .card-media { aspect-ratio: 4 / 3; min-height: 0; }
    .values { grid-template-columns: minmax(0, 1fr); }
    .service-row .row-icon { width: 44px; height: 44px; }
    .call-number { font-size: clamp(2.6rem, 13vw, 4rem); }
    .contact-primary a { font-size: clamp(2.4rem, 12vw, 3.4rem); }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .hero-slide { transform: none; }
    .js .fade-in,
    .js .fade-in-section { opacity: 1; transform: none; }
}
