/* === style-base.css === */
/* ===========================================
   WEBSITE FACTORY - BASE CSS
   Version: 1.1
   =========================================== */

/* ===========================================
   0. SELF-HOSTED FONTS (FOUNDATION FIRST)
   ===========================================
   Download fonts from fonts.google.com (TTF format)
   Place in /assets/fonts/ folder
   Uncomment and customize the @font-face rules below
   =========================================== */

/*
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/inter-400.ttf') format('truetype');
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../fonts/inter-500.ttf') format('truetype');
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../fonts/inter-600.ttf') format('truetype');
}
@font-face {
    font-family: 'Playfair Display';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../fonts/playfair-display-600.ttf') format('truetype');
}
@font-face {
    font-family: 'Playfair Display';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/playfair-display-700.ttf') format('truetype');
}
*/

/* ===========================================
   1. RESET & BASE
   =========================================== */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-primary);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--color-text-dark);
  background-color: var(--color-bg-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Focus-visible for keyboard accessibility (E1) */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--color-secondary);
  outline-offset: 2px;
}

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ===========================================
   2. CSS VARIABLER
   =========================================== */

:root {
  /* === FÄRGER (ANPASSA PER PROJEKT) === */
  --color-primary: #1a1a2e;        /* Huvudfärg (mörk) */
  --color-secondary: #f4b41a;      /* Accentfärg (gul/orange) */
  --color-accent: #4ade80;         /* CTA/success (grön) */

  /* Text */
  --color-text-dark: #1a1a2e;
  --color-text-light: #ffffff;
  --color-text-muted: #6b7280;

  /* Bakgrunder */
  --color-bg-white: #ffffff;
  --color-bg-light: #f9fafb;
  --color-bg-dark: #1a1a2e;

  /* Övrigt */
  --color-border: #e5e7eb;
  --color-error: #ef4444;
  --color-success: #22c55e;

  /* === TYPOGRAFI === */
  /* Option 1: System fonts (default - no external files needed) */
  --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  --font-heading: var(--font-primary);

  /* Option 2: Self-hosted fonts (uncomment after adding @font-face above)
  --font-primary: 'Inter', sans-serif;
  --font-heading: 'Playfair Display', serif;
  */

  /* Font-storlekar */
  --text-xs: 0.75rem;      /* 12px */
  --text-sm: 0.875rem;     /* 14px */
  --text-base: 1rem;       /* 16px */
  --text-lg: 1.125rem;     /* 18px */
  --text-xl: 1.25rem;      /* 20px */
  --text-2xl: 1.5rem;      /* 24px */
  --text-3xl: 1.875rem;    /* 30px */
  --text-4xl: 2.25rem;     /* 36px */
  --text-5xl: 3rem;        /* 48px */

  /* === SPACING === */
  --space-1: 0.25rem;      /* 4px */
  --space-2: 0.5rem;       /* 8px */
  --space-3: 0.75rem;      /* 12px */
  --space-4: 1rem;         /* 16px */
  --space-5: 1.25rem;      /* 20px */
  --space-6: 1.5rem;       /* 24px */
  --space-8: 2rem;         /* 32px */
  --space-10: 2.5rem;      /* 40px */
  --space-12: 3rem;        /* 48px */
  --space-16: 4rem;        /* 64px */
  --space-20: 5rem;        /* 80px */

  /* === LAYOUT === */
  --container-max: 1200px;
  --container-padding: 1.5rem;
  --section-padding: 5rem;

  /* === SHADOWS === */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
  --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.2);

  /* === BORDERS === */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  /* === TRANSITIONS === */
  --transition-fast: 150ms ease;
  --transition-normal: 300ms ease;
  --transition-slow: 500ms ease;
}

/* ===========================================
   3. TYPOGRAFI
   =========================================== */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-text-dark);
}

h1 { font-size: clamp(2rem, 5vw, var(--text-5xl)); }
h2 { font-size: clamp(1.5rem, 4vw, var(--text-4xl)); }
h3 { font-size: clamp(1.25rem, 3vw, var(--text-2xl)); }
h4 { font-size: var(--text-xl); }
h5 { font-size: var(--text-lg); }
h6 { font-size: var(--text-base); }

p {
  margin-bottom: var(--space-4);
}

p:last-child {
  margin-bottom: 0;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.text-muted { color: var(--color-text-muted); }

/* ===========================================
   4. LAYOUT
   =========================================== */

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.container--narrow {
  max-width: 800px;
}

.container--wide {
  max-width: 1400px;
}

.section {
  padding: var(--section-padding) 0;
}

.section--light {
  background-color: var(--color-bg-light);
}

.section--white {
  background-color: var(--color-bg-white);
}

.section--dark {
  background-color: var(--color-bg-dark);
  color: var(--color-text-light);
}

.section--primary {
  background-color: var(--color-primary);
  color: var(--color-text-light);
}

.section__header {
  text-align: center;
  margin-bottom: var(--space-12);
}

.section__title {
  margin-bottom: var(--space-4);
}

.section__subtitle {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* AEO: Lead paragraph, first sentence that AI systems parse as summary */
.section__lead {
  font-size: var(--text-xl);
  line-height: 1.5;
  max-width: 700px;
}

/* Grid system */
.grid {
  display: grid;
  gap: var(--space-6);
}

.grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .grid--2,
  .grid--3,
  .grid--4 {
    grid-template-columns: 1fr;
  }
}

/* Split layout (text + image) */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
}

.split--reverse {
  direction: rtl;
}

.split--reverse > * {
  direction: ltr;
}

@media (max-width: 768px) {
  .split {
    grid-template-columns: 1fr;
  }
  .split--reverse {
    direction: ltr;
  }
}

/* ===========================================
   5. KOMPONENTER
   =========================================== */

/* --- KNAPPAR --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-3) var(--space-6);
  font-size: var(--text-base);
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all var(--transition-normal);
  text-decoration: none;
  border: 2px solid transparent;
}

.btn--primary {
  background-color: var(--color-secondary);
  color: var(--color-text-dark);
}

.btn--primary:hover {
  background-color: var(--color-primary);
  color: var(--color-text-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--secondary {
  background-color: transparent;
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.btn--secondary:hover {
  background-color: var(--color-primary);
  color: var(--color-text-light);
}

.btn--white {
  background-color: var(--color-bg-white);
  color: var(--color-primary);
}

.btn--white:hover {
  background-color: var(--color-secondary);
  transform: translateY(-2px);
}

.btn--large {
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-lg);
  min-height: 48px;
}

/* --- KORT --- */
.card {
  background: var(--color-bg-white);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.card__icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--color-secondary), var(--color-accent));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-4);
}

.card__title {
  font-size: var(--text-xl);
  margin-bottom: var(--space-3);
}

.card__text {
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
}

.card__link {
  font-weight: 600;
  color: var(--color-secondary);
  transition: color var(--transition-fast);
}

.card__link:hover {
  color: var(--color-primary);
}

/* --- HEADER --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--color-bg-white);
  box-shadow: var(--shadow-sm);
  z-index: 1000;
  padding: var(--space-4) 0;
}

.header__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  height: 50px;
  width: auto;
}

.nav__list {
  display: flex;
  gap: var(--space-8);
}

.nav__link {
  font-weight: 500;
  position: relative;
  padding: var(--space-2) 0;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-secondary);
  transition: width var(--transition-normal);
}

.nav__link:hover::after,
.nav__link--active::after {
  width: 100%;
}

/* --- MOBILE MENU BUTTON (Hamburger) --- */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.mobile-menu-btn span {
  width: 100%;
  height: 3px;
  background: var(--color-text-dark);
  border-radius: 2px;
  transition: all var(--transition-normal);
  transform-origin: center;
}

/* Hamburger to X animation */
.mobile-menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Legacy support for .nav__toggle */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
}

.nav__toggle-bar {
  width: 25px;
  height: 2px;
  background: var(--color-text-dark);
  transition: all var(--transition-normal);
}

/* --- MOBILE NAVIGATION (Fullscreen overlay) --- */
.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-bg-white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.mobile-nav.active {
  opacity: 1;
  visibility: visible;
}

.mobile-nav a {
  font-size: var(--text-2xl);
  font-weight: 600;
  color: var(--color-text-dark);
  transition: color var(--transition-fast);
}

.mobile-nav a:hover {
  color: var(--color-secondary);
}

/* Desktop: hide mobile nav, show desktop nav */
.desktop-nav { display: flex; }
.mobile-nav { display: none; }
.mobile-menu-btn { display: none; }

@media (max-width: 768px) {
  /* Show hamburger, hide desktop nav */
  .desktop-nav { display: none; }
  .mobile-nav { display: flex; }
  .mobile-menu-btn { display: flex; }
  .nav__toggle { display: flex; }

  /* Legacy: .nav dropdown */
  .nav {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--color-bg-white);
    padding: var(--space-6);
    box-shadow: var(--shadow-lg);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
  }

  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav__list {
    flex-direction: column;
    gap: var(--space-4);
  }
}

/* --- HERO --- */
.hero {
  padding-top: calc(70px + var(--section-padding));
  padding-bottom: var(--section-padding);
  background: linear-gradient(135deg, var(--color-bg-light) 0%, var(--color-bg-white) 100%);
  min-height: 80vh;
  display: flex;
  align-items: center;
}

.hero__container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
}

.hero__badge {
  display: inline-block;
  background: var(--color-secondary);
  color: var(--color-text-dark);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 600;
  margin-bottom: var(--space-4);
}

.hero__title {
  margin-bottom: var(--space-4);
}

.hero__subtitle {
  font-size: var(--text-xl);
  color: var(--color-text-muted);
  margin-bottom: var(--space-8);
}

.hero__buttons {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.hero__image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
}

@media (max-width: 768px) {
  .hero__container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero__buttons {
    justify-content: center;
  }

  .hero__image {
    order: -1;
  }
}

/* --- USP BAR --- */
.usp-bar {
  background: var(--color-primary);
  color: var(--color-text-light);
  padding: var(--space-6) 0;
}

.usp-bar__grid {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.usp-bar__item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.usp-bar__icon {
  color: var(--color-accent);
  font-weight: bold;
}

/* --- STATISTIK --- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-8);
  text-align: center;
}

.stat__number {
  display: block;
  font-size: var(--text-5xl);
  font-weight: 700;
  color: var(--color-secondary);
}

.stat__label {
  font-size: var(--text-lg);
  opacity: 0.9;
}

.stat__context {
  display: block;
  font-size: var(--text-sm);
  opacity: 0.7;
  margin-top: var(--space-1);
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* --- TESTIMONIALS --- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-8);
}

.testimonial {
  background: var(--color-bg-white);
  padding: var(--space-8);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.testimonial__text {
  font-size: var(--text-lg);
  font-style: italic;
  margin-bottom: var(--space-6);
}

.testimonial__author strong {
  display: block;
}

.testimonial__author span {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}

@media (max-width: 768px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

/* --- FAQ --- */
.faq__item {
  border-bottom: 1px solid var(--color-border);
}

.faq__question {
  padding: var(--space-5) 0;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq__question::after {
  content: '+';
  font-size: var(--text-xl);
  transition: transform var(--transition-normal);
}

.faq__item[open] .faq__question::after {
  transform: rotate(45deg);
}

.faq__answer {
  padding-bottom: var(--space-5);
  color: var(--color-text-muted);
}

/* --- CTA SECTION --- */
.section--cta {
  background: linear-gradient(135deg, var(--color-primary) 0%, #2d2d4a 100%);
  color: var(--color-text-light);
}

.cta__title {
  color: var(--color-text-light);
  margin-bottom: var(--space-4);
}

.cta__text {
  font-size: var(--text-lg);
  opacity: 0.9;
  margin-bottom: var(--space-8);
}

/* --- FEATURE LIST --- */
.feature-list {
  margin: var(--space-6) 0;
}

.feature-list__item {
  padding-left: var(--space-8);
  position: relative;
  margin-bottom: var(--space-3);
}

.feature-list__item::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: bold;
}

/* EEAT: Expert badge */
.expert-badge {
  display: inline-block;
  padding: var(--space-2) var(--space-4);
  background: var(--color-bg-light);
  border-left: 3px solid var(--color-secondary);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
}

/* EEAT: Footer last-updated */
.footer__updated {
  text-align: center;
  font-size: var(--text-sm);
  opacity: 0.6;
  margin-bottom: var(--space-4);
}

/* --- FOOTER --- */
.footer {
  background: var(--color-bg-dark);
  color: var(--color-text-light);
  padding: var(--space-16) 0 var(--space-8);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-8);
  margin-bottom: var(--space-12);
}

.footer__logo {
  margin-bottom: var(--space-4);
}

.footer__text {
  opacity: 0.8;
  font-size: var(--text-sm);
}

.footer__heading {
  font-size: var(--text-lg);
  margin-bottom: var(--space-4);
}

.footer__links li {
  margin-bottom: var(--space-2);
}

.footer__links a {
  opacity: 0.8;
  transition: opacity var(--transition-fast);
}

.footer__links a:hover {
  opacity: 1;
}

.footer__contact {
  font-style: normal;
  opacity: 0.8;
  font-size: var(--text-sm);
}

.footer__contact p {
  margin-bottom: var(--space-1);
}

.footer__social {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-4);
}

.footer__social a {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-fast);
}

.footer__social a:hover {
  background: var(--color-secondary);
}

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: var(--space-8);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--text-sm);
  opacity: 0.7;
}

.footer__legal {
  display: flex;
  gap: var(--space-6);
}

@media (max-width: 768px) {
  .footer__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer__bottom {
    flex-direction: column;
    gap: var(--space-4);
  }
}

/* ===========================================
   6. UTILITIES
   =========================================== */

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Skip-to-content link (E3) */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-4);
  z-index: 9999;
  padding: var(--space-3) var(--space-6);
  background: var(--color-primary);
  color: var(--color-text-light);
  font-weight: 600;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: 0;
}

.mt-4 { margin-top: var(--space-4); }
.mt-8 { margin-top: var(--space-8); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-8 { margin-bottom: var(--space-8); }

/* ===========================================
   7. FORMULÄR
   =========================================== */

.form__group {
  margin-bottom: var(--space-4);
}

.form__label {
  display: block;
  font-weight: 500;
  margin-bottom: var(--space-2);
}

.form__input,
.form__textarea {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: var(--text-base);
  transition: border-color var(--transition-fast);
}

.form__input:focus,
.form__textarea:focus {
  outline: none;
  border-color: var(--color-secondary);
}

.form__textarea {
  min-height: 150px;
  resize: vertical;
}

/* ===========================================
   8. ANIMATIONS
   =========================================== */

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
  animation: fadeIn 0.6s ease forwards;
}

/* Prefers-reduced-motion: disable animations (E2) */
@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;
    scroll-behavior: auto !important;
  }
}


/* === brand-bjorklidens.css === */
/* ===========================================================================
   BJÖRKLIDENS - BRAND THEME (warm-craft)
   Läggs OVANPÅ style-base.css. Skriver bara över :root-tokens + ett fåtal
   komponenter som token ensamt inte kan fixa. Inga beroenden.

   ANVÄNDNING
   1. Ladda EFTER baselinen i <head>:
        <link rel="stylesheet" href="/assets/css/style-base.css">
        <link rel="stylesheet" href="/assets/css/brand-bjorklidens.css">
      (Eller konkatenera till en style.css vid build. Brand sist.)
   2. Ladda ner fonterna (OFL, gratis) som TTF till /assets/fonts/:
        Merriweather (rubriker) -> merriweather-400.ttf, merriweather-700.ttf
        Raleway (brödtext)      -> raleway-400/500/600/700.ttf
      Källa: fonts.google.com/specimen/Merriweather + /Raleway
   3. Lägg detta i <head> för att skydda LCP och slippa FOUT:
        <link rel="preload" as="font" type="font/ttf" href="/assets/fonts/merriweather-700.ttf" crossorigin>
        <link rel="preload" as="font" type="font/ttf" href="/assets/fonts/raleway-400.ttf" crossorigin>

   DESIGNRIKTNING
   Warm-craft, raffinerad minimalism. Tyst gränssnitt, produktfotot bär färgen.
   Skogsgrön som signatur (CTA + detalj), varma neutraler som bas, varmt
   trä/ockra som litet accentljus. Inga heltäckande gröna fält (motsats till
   nuvarande sajt). Mindre rundat = mer "byggbart", mindre SaaS.

   KONTRAST (WCAG, ny brand-grön #347369)
   charcoal/stone-text på papper > 5:1. Vit text på brand-grön ≈ 5.5:1 (AA ok).
   Footer/mörk skog (#214B45) > 9:1. Cream-siffror på grön = stor text (≥3:1 ok).
   Trä (--bj-wood) endast för STORT/UI/dekor (≈4:1). Smått accent-text: wood-ink.
   =========================================================================== */

/* ---------------------------------------------------------------------------
   0. FONTER (self-hosted, static weights)
   --------------------------------------------------------------------------- */
@font-face {
  font-family: 'Merriweather'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('../fonts/merriweather-400.woff2') format('woff2'), url('../fonts/merriweather-400.ttf') format('truetype');
}
@font-face {
  font-family: 'Merriweather'; font-style: normal; font-weight: 700; font-display: swap;
  src: url('../fonts/merriweather-700.woff2') format('woff2'), url('../fonts/merriweather-700.ttf') format('truetype');
}
@font-face {
  font-family: 'Raleway'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('../fonts/raleway-400.woff2') format('woff2'), url('../fonts/raleway-400.ttf') format('truetype');
}
@font-face {
  font-family: 'Raleway'; font-style: normal; font-weight: 500; font-display: swap;
  src: url('../fonts/raleway-500.woff2') format('woff2'), url('../fonts/raleway-500.ttf') format('truetype');
}
@font-face {
  font-family: 'Raleway'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('../fonts/raleway-600.woff2') format('woff2'), url('../fonts/raleway-600.ttf') format('truetype');
}
@font-face {
  font-family: 'Raleway'; font-style: normal; font-weight: 700; font-display: swap;
  src: url('../fonts/raleway-700.woff2') format('woff2'), url('../fonts/raleway-700.ttf') format('truetype');
}

/* ---------------------------------------------------------------------------
   1. TOKEN-OVERRIDE
   --------------------------------------------------------------------------- */
:root {
  /* --- Björklidens råpalett --- */
  --bj-forest:        #347369;   /* primär brand-grön (CTA-fyllning, mörka block) */
  --bj-forest-deep:   #214B45;   /* djupare grön (footer, hover, mörka sektioner) */
  --bj-wood:          #A9743F;   /* varmt trä/ockra. ENDAST stort/UI/dekor (~4:1) */
  --bj-wood-ink:      #835424;   /* mörkare trä för SMÅ accent-texter (~6.4:1) */
  --bj-cream:         #EAD9BE;   /* varmt ljus för text PÅ grön (stat-siffror m.m.) */
  --bj-sage:          #5E8B6E;   /* dämpad salviagrön, bockar/ikoner på ljust */
  --bj-charcoal:      #262220;   /* varm nästan-svart brödtext (~14:1) */
  --bj-stone:         #665D54;   /* varm dämpad text (~6:1 på papper) */
  --bj-paper:         #F4F0E6;   /* varmt papper, ljusa sektioner */
  --bj-paper-white:   #FBF9F3;   /* varm vit, huvudbakgrund */
  --bj-border-warm:   #E4DDCE;   /* varm hårfin kantlinje */

  /* --- Mappning till baselinens tokens --- */
  --color-primary:    var(--bj-forest);
  --color-secondary:  var(--bj-wood);        /* fokus-outline, hero-badge, expert-badge */
  --color-accent:     var(--bj-sage);        /* feature-bockar, usp-ikoner (override nedan vid mörk bg) */

  --color-text-dark:  var(--bj-charcoal);
  --color-text-light: var(--bj-paper-white);
  --color-text-muted: var(--bj-stone);

  --color-bg-white:   var(--bj-paper-white);
  --color-bg-light:   var(--bj-paper);
  --color-bg-dark:    var(--bj-forest-deep); /* footer + section--dark = djup skog */

  --color-border:     var(--bj-border-warm);
  --color-success:    var(--bj-sage);
  --color-error:      #B23A2E;               /* något varmare röd */

  /* --- Typografi --- */
  --font-primary: 'Raleway', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Merriweather', Georgia, 'Times New Roman', serif;

  /* --- Form: mindre rundat = mer byggbart, mindre SaaS --- */
  --radius-sm: 2px;
  --radius-md: 4px;
  --radius-lg: 8px;
  /* --radius-full lämnas (avatarer/sociala ikoner) */

  /* --- Skuggor: varma, subtila, plattare --- */
  --shadow-sm: 0 1px 2px rgba(38, 34, 32, 0.06);
  --shadow-md: 0 4px 14px rgba(38, 34, 32, 0.08);
  --shadow-lg: 0 12px 30px rgba(38, 34, 32, 0.10);
  --shadow-xl: 0 24px 50px rgba(38, 34, 32, 0.12);
}

/* ---------------------------------------------------------------------------
   2. TYPOGRAFI-FÖRFINING
   Serif (Merriweather) på de stora rubrikerna. H4-H6 i Raleway för
   en renare, modernare editorial-känsla. Raleway som brödtext är smal,
   så vi ger den lite mer radavstånd för läsbarhet.
   --------------------------------------------------------------------------- */
body { line-height: 1.7; }   /* hjälper Raleways läsbarhet i löptext */

h1, h2, h3 {
  font-family: var(--font-heading);
  letter-spacing: -0.005em;   /* Merriweather gillar inte negativ tracking, håll lätt */
  font-weight: 700;
}
h1 { line-height: 1.12; }
h2 { line-height: 1.12; }

h4, h5, h6 {
  font-family: var(--font-primary);
  font-weight: 600;
  letter-spacing: 0;
}

/* Innehållslänkar: grön + diskret understrykning. :where() = noll specificitet,
   lätt att skriva över, krockar inte med knappar. */
:where(main p, main li, .faq__answer, .section__lead, .card__text) a {
  color: var(--bj-forest);
  text-decoration: underline;
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
  transition: color var(--transition-fast);
}
:where(main p, main li, .faq__answer, .section__lead, .card__text) a:hover {
  color: var(--bj-forest-deep);
}

/* ---------------------------------------------------------------------------
   3. KNAPPAR
   Primär CTA = grön fyllning + varm vit text. Jordad hover (litet lyft).
   --------------------------------------------------------------------------- */
.btn {
  border-radius: var(--radius-md);
  font-weight: 600;
  letter-spacing: 0.01em;
}
.btn--primary {
  background-color: var(--bj-forest);
  color: var(--bj-paper-white);
  border-color: var(--bj-forest);
}
.btn--primary:hover {
  background-color: var(--bj-forest-deep);
  color: var(--bj-paper-white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn--secondary {
  background-color: transparent;
  border-color: var(--bj-forest);
  color: var(--bj-forest);
}
.btn--secondary:hover {
  background-color: var(--bj-forest);
  color: var(--bj-paper-white);
}
.btn--white {                          /* används i CTA-sektionen på grön bg */
  background-color: var(--bj-paper-white);
  color: var(--bj-forest);
}
.btn--white:hover {
  background-color: var(--bj-wood);
  color: var(--bj-charcoal);
  transform: translateY(-1px);
}

/* ---------------------------------------------------------------------------
   4. HEADER / NAV
   --------------------------------------------------------------------------- */
.nav__link::after { background: var(--bj-forest); }
.nav__link--active { color: var(--bj-forest); }
.mobile-nav a:hover { color: var(--bj-forest); }

/* ---------------------------------------------------------------------------
   5. HERO
   Varm pappersgradient. Bild med lugnare skugga och mindre radie.
   --------------------------------------------------------------------------- */
.hero {
  background: linear-gradient(180deg, var(--bj-paper) 0%, var(--bj-paper-white) 100%);
}
.hero__image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
/* Hero-badge som tyst eyebrow-chip i stället för solitt fält */
.hero__badge {
  background: var(--bj-paper-white);
  color: var(--bj-forest);
  border: 1px solid var(--bj-border-warm);
}

/* ---------------------------------------------------------------------------
   6. KORT
   Hårfin kantlinje i stället för tung skugga. Subtil hover. Ingen SaaS-gradient.
   --------------------------------------------------------------------------- */
.card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--bj-border-warm);
  box-shadow: none;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.card__icon {
  background: var(--bj-paper);        /* ersätter gradienten secondary->accent */
  color: var(--bj-forest);
  border-radius: var(--radius-md);
}
.card__link { color: var(--bj-forest); }
.card__link:hover { color: var(--bj-forest-deep); }

/* ---------------------------------------------------------------------------
   7. MÖRKA SEKTIONER (usp-bar, stats, cta, footer)
   Säkrar kontrast PÅ grönt: cream/vit text, inte trä.
   --------------------------------------------------------------------------- */
.usp-bar { background: var(--bj-forest-deep); }
.usp-bar__icon { color: var(--bj-cream); }

.stat__number { color: var(--bj-cream); }            /* varmt ljus på grön (~7:1) */
.stat__label, .stat__context { color: var(--bj-paper-white); }

/* CTA-sektionen: baselinen hårdkodar en marinblå gradient. Ersätt med skog. */
.section--cta {
  background: linear-gradient(135deg, var(--bj-forest) 0%, var(--bj-forest-deep) 100%);
}
/* Subtil djup-atmosfär i stället för platt fält (diskret, billig, ingen bild) */
.section--cta,
.footer {
  position: relative;
}
.section--cta::before,
.footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 80% at 50% 0%, rgba(234, 217, 190, 0.06), transparent 60%);
  pointer-events: none;
}
.section--cta > *,
.footer > * { position: relative; }

.footer__social a:hover { background: var(--bj-forest); }

/* feature-bockar på ljus bakgrund */
.feature-list__item::before { color: var(--bj-forest); }

/* ---------------------------------------------------------------------------
   8. FAQ
   --------------------------------------------------------------------------- */
.faq__item[open] .faq__question { color: var(--bj-forest); }

/* ===========================================================================
   9. NYA WARM-CRAFT-KOMPONENTER (Mellby-lärdomarna)
   Additivt. Klassnamnen nedan kan CC använda direkt på produkt-/kategorisidor.
   =========================================================================== */

/* --- EYEBROW / KICKER (liten överrubrik) ---
   Markup: <p class="eyebrow">Svensktillverkat sedan 1953</p> */
.eyebrow {
  display: inline-block;
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: var(--text-sm);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bj-wood-ink);          /* mörkt trä = AA-säkert för liten text */
  margin-bottom: var(--space-3);
}

/* --- PRIS SOM BLICKFÅNG ---
   Markup:
     <p class="price"><span class="price__prefix">Från</span>112&nbsp;100 kr</p> */
.price {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(1.75rem, 4vw, var(--text-4xl));
  line-height: 1;
  color: var(--bj-charcoal);
}
.price__prefix {
  display: block;
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: var(--text-sm);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bj-stone);
  margin-bottom: var(--space-1);
}
.price__suffix {
  font-family: var(--font-primary);
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--bj-stone);
}

/* --- SPEC-RAD (mått / yta / taktyp), Mellbys ikon-rad ---
   Markup:
     <ul class="spec-list">
       <li class="spec"><span class="spec__value">505 x 605 cm</span><span class="spec__label">Mått</span></li>
       <li class="spec"><span class="spec__value">31 m²</span><span class="spec__label">Yta</span></li>
       <li class="spec"><span class="spec__value">Pulpettak</span><span class="spec__label">Tak</span></li>
       <li class="spec"><span class="spec__value">GP 50</span><span class="spec__label">Modell</span></li>
     </ul>
   (Lägg gärna en liten inline-SVG-ikon före .spec__value för Mellby-känslan.) */
.spec-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-5) var(--space-8);
  margin: var(--space-5) 0;
  padding: var(--space-4) 0;
  border-top: 1px solid var(--bj-border-warm);
  border-bottom: 1px solid var(--bj-border-warm);
}
.spec {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.spec__value {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--text-lg);
  color: var(--bj-charcoal);
}
.spec__label {
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bj-stone);
}

/* --- PRODUKTKORT (tyst UI, fotoburet) ---
   Markup:
     <article class="product-card">
       <a class="product-card__media" href="/produkter/enkelgarage/gp-50/">
         <img src="..." alt="Enkelgarage GP 50 med pulpettak" loading="lazy" width="600" height="450">
       </a>
       <div class="product-card__body">
         <h3 class="product-card__title">Enkelgarage med pulpettak GP 50</h3>
         <p class="product-card__desc">31 m². Pulpettak. Kan förlängas per 120 cm.</p>
         <div class="product-card__footer">
           <p class="price"><span class="price__prefix">Från</span>136&nbsp;400 kr</p>
           <a class="btn btn--primary" href="/produkter/enkelgarage/gp-50/">Se modell</a>
         </div>
       </div>
     </article> */
.product-card {
  display: flex;
  flex-direction: column;
  background: var(--bj-paper-white);
  border: 1px solid var(--bj-border-warm);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}
.product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.product-card__media {
  display: block;
  aspect-ratio: 4 / 3;
  background: var(--bj-paper);
  overflow: hidden;
}
.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}
.product-card:hover .product-card__media img {
  transform: scale(1.03);
}
.product-card__body {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-6);
  flex: 1;
}
.product-card__title {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  line-height: 1.2;
}
.product-card__desc {
  color: var(--bj-stone);
  font-size: var(--text-sm);
}
.product-card__footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-4);
  margin-top: auto;
  padding-top: var(--space-2);
}

@media (prefers-reduced-motion: reduce) {
  .product-card:hover .product-card__media img { transform: none; }
}

/* --- TRUST-RAD (sedan 1953 / egen tillverkning), liten signatur ---
   Markup: <p class="trust-line">Egen tillverkning i Sölvesborg sedan 1953</p> */
.trust-line {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--bj-stone);
}
.trust-line::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--bj-wood);
}


/* === components.css === */
/* ===========================================================================
   BJÖRKLIDENS - COMPONENTS (gemensamma styles för alla sidor)
   Laddas EFTER style-base.css och brand-bjorklidens.css.
   Innehåller: solid header, sidheader, footer, trust-rand, pcard, cta,
   mobile-menu, breadcrumb, sektion-helpers, form.
   =========================================================================== */

/* ---------------------------------------------------------------------------
   1. SOLID HEADER (alla sidor utom startsidan) + MEGA-MENU
   --------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 249, 243, 0.94);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--bj-border-warm);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  padding-bottom: 1rem;
  gap: 1rem;
}
.site-header__logo img {
  height: 34px;
  width: auto;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  font-family: var(--font-primary);
  font-size: 0.92rem;
  font-weight: 600;
}
.site-nav__item {
  position: relative;
  display: flex;
  align-items: center;
}
.site-nav__item > a {
  color: var(--bj-charcoal);
  position: relative;
  padding: 0.6rem 0;
  transition: color 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.site-nav__item.has-mega > a::before {
  content: '\25BE';
  font-size: 0.55rem;
  opacity: 0.55;
  position: absolute;
  right: -0.8rem;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.2s ease;
}
.site-nav__item.has-mega { padding-right: 0.7rem; }
.site-nav__item.has-mega:hover > a::before,
.site-nav__item.has-mega:focus-within > a::before { transform: translateY(-50%) rotate(180deg); }
.site-nav__item > a:hover { color: var(--bj-forest); }
.site-nav__item > a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--bj-forest);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.site-nav__item > a:hover::after,
.site-nav__item > a[aria-current="page"]::after,
.site-nav__item--active > a::after {
  transform: scaleX(1);
}
.site-nav__item > a[aria-current="page"],
.site-nav__item--active > a {
  color: var(--bj-forest);
}

/* MEGA-MENU dropdown */
.mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 820px;
  max-width: 92vw;
  background: var(--bj-paper-white);
  border: 1px solid var(--bj-border-warm);
  border-radius: var(--radius-lg);
  box-shadow: 0 18px 40px rgba(38, 34, 32, 0.14);
  padding: 1.8rem 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1.1fr;
  gap: 1.8rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0s 0.22s;
  z-index: 200;
}
.site-nav__item.has-mega:hover > .mega-menu,
.site-nav__item.has-mega:focus-within > .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0s;
}
/* Bridge for hover (prevents gap closing menu) */
.site-nav__item.has-mega::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 16px;
  background: transparent;
}
.mega-menu .mega-menu__title {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bj-wood-ink);
  margin: 0 0 0.7rem;
}
.mega-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.mega-menu li a {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
  padding: 0.4rem 0;
  color: var(--bj-charcoal);
  font-weight: 600;
  font-size: 0.94rem;
  line-height: 1.3;
  border-radius: var(--radius-sm);
  transition: color 0.15s ease;
}
.mega-menu li a small {
  font-size: 0.76rem;
  font-weight: 500;
  color: var(--bj-stone);
  letter-spacing: 0;
}
.mega-menu li a:hover { color: var(--bj-forest); }
.mega-menu li a:hover small { color: var(--bj-stone); }
.mega-menu__cta {
  background: var(--bj-paper);
  border-radius: var(--radius-md);
  padding: 1.2rem 1.3rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.mega-menu__cta .eyebrow {
  color: var(--bj-wood-ink);
  margin: 0;
}
.mega-menu__cta p {
  font-family: var(--font-primary);
  font-size: 0.92rem;
  color: var(--bj-stone);
  margin: 0 0 0.4rem;
  line-height: 1.45;
}
.mega-menu__cta .btn {
  align-self: flex-start;
  font-size: 0.88rem;
  padding: 0.6rem 1.1rem;
}

.site-header__phone {
  font-family: var(--font-primary);
  color: var(--bj-charcoal);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
}
@media (max-width: 980px) {
  .site-nav, .site-header__phone { display: none; }
}

/* Hamburger på solid header: mörk */
.site-header__hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 22px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}
.site-header__hamburger span {
  display: block;
  width: 100%;
  height: 2.5px;
  background: var(--bj-charcoal);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
  transform-origin: center;
}
.site-header__hamburger.active span:nth-child(1) { transform: translateY(9.5px) rotate(45deg); }
.site-header__hamburger.active span:nth-child(2) { opacity: 0; }
.site-header__hamburger.active span:nth-child(3) { transform: translateY(-9.5px) rotate(-45deg); }
@media (max-width: 820px) {
  .site-header__hamburger { display: flex; }
}

/* ---------------------------------------------------------------------------
   2. PAGE-HEADER (sidheader: kompakt textband under solid header)
   Designsystemet §3.2: breadcrumb -> eyebrow -> Merriweather H1 -> lead
   --------------------------------------------------------------------------- */
.page-header {
  background: var(--bj-paper);
  padding: 3.5rem 0 3rem;
  border-bottom: 1px solid var(--bj-border-warm);
}
.page-header__inner { max-width: 800px; }
.page-header .eyebrow { margin-top: 0.4rem; }
.page-header h1 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(2.1rem, 4.6vw, 3.2rem);
  line-height: 1.1;
  letter-spacing: -0.008em;
  margin: 0.5rem 0 0;
  color: var(--bj-charcoal);
}
.page-header__lead {
  font-family: var(--font-primary);
  font-size: 1.12rem;
  color: var(--bj-stone);
  line-height: 1.65;
  max-width: 60ch;
  margin: 1.2rem 0 0;
}

/* Breadcrumb */
.breadcrumb {
  font-family: var(--font-primary);
  font-size: 0.84rem;
  color: var(--bj-stone);
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}
.breadcrumb li { display: inline-flex; align-items: center; gap: 0.4rem; }
.breadcrumb li:not(:last-child)::after {
  content: '\203A';
  color: var(--bj-stone);
  opacity: 0.6;
  margin-left: 0.4rem;
}
.breadcrumb a {
  color: var(--bj-stone);
  transition: color 0.2s ease;
}
.breadcrumb a:hover { color: var(--bj-forest); }
.breadcrumb [aria-current="page"] {
  color: var(--bj-charcoal);
  font-weight: 600;
}

/* ---------------------------------------------------------------------------
   3. TRUST-RAND (smal mörk skog-rad)
   --------------------------------------------------------------------------- */
.trust {
  background: var(--bj-forest-deep);
  color: var(--bj-paper-white);
}
.trust__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.2rem;
  padding: 1.1rem 0;
}
.trust__item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.trust__item svg {
  color: var(--bj-cream);
  flex: none;
}

/* ---------------------------------------------------------------------------
   4. SEKTION-HELPERS (delas mellan startsida och undersidor)
   --------------------------------------------------------------------------- */
.section--light { background: var(--bj-paper); }
.section__head {
  margin-bottom: 2.5rem;
  max-width: 760px;
}
.section__head h2 { margin: 0.4rem 0 0; }
.lead {
  max-width: 60ch;
  color: var(--bj-stone);
  font-size: 1.05rem;
  margin-top: 1rem;
  line-height: 1.65;
}
.section { padding: 5rem 0; }
@media (max-width: 768px) { .section { padding: 3.5rem 0; } }

/* ---------------------------------------------------------------------------
   5. PCARD (produktkort)
   --------------------------------------------------------------------------- */
.grid3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.grid4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
@media (max-width: 1080px) { .grid4 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px) {
  .grid3 { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .grid4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .grid4 { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
}

.pcard {
  display: flex;
  flex-direction: column;
  background: var(--bj-paper-white);
  border: 1px solid var(--bj-border-warm);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.pcard:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.pcard__media {
  display: block;
  aspect-ratio: 4 / 3;
  background: #ffffff;
  overflow: hidden;
  padding: 0.6rem 0.8rem;
}
.pcard__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transform: scale(1);
  transition: transform 0.35s ease;
}
.pcard:hover .pcard__media img { transform: scale(1.04); }

/* Split section: text + image side by side (alternating) */
.section--split { padding: 2.8rem 0; }
.section--split:nth-of-type(even) { background: #f9f6ef; }
.about-split {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 3rem;
  align-items: center;
}
.section--split-right .about-split { grid-template-columns: 1fr 1.15fr; }
.section--split-right .about-split .about-split__text { order: 2; }
.section--split-right .about-split .about-split__media { order: 1; }
.about-split__text h2 {
  font-family: Merriweather, Georgia, serif;
  font-size: clamp(1.6rem, 2.5vw, 2rem);
  line-height: 1.2;
  margin: 0 0 1rem;
  color: #1c1c1c;
}
.about-split__text p {
  font-size: 1.02rem;
  line-height: 1.7;
  color: #2a2a2a;
  margin: 0 0 1rem;
}
.about-split__text p:last-child { margin-bottom: 0; }
.about-split__media {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(20, 50, 40, 0.10);
  background: #f4f1ea;
}
.about-split__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
@media (max-width: 800px) {
  .about-split, .section--split-right .about-split { grid-template-columns: 1fr; gap: 1.5rem; }
  .section--split-right .about-split .about-split__text { order: 2; }
  .section--split-right .about-split .about-split__media { order: 1; }
  .about-split .about-split__media { order: 1; }
  .about-split .about-split__text { order: 2; }
}

/* Feature image (om-oss, narratives) — centered, rounded, soft shadow */
.section--feature-img {
  padding: 1.5rem 0 0.5rem;
}
.feature-img {
  margin: 0 auto;
  max-width: 1100px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 14px 40px rgba(20, 50, 40, 0.10);
  background: #f4f1ea;
}
.feature-img img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
.feature-img figcaption {
  padding: 0.85rem 1.2rem 1rem;
  background: #fff;
  color: #555;
  font-size: 0.88rem;
  font-style: italic;
  text-align: center;
  line-height: 1.5;
}
@media (max-width: 700px) {
  .feature-img { border-radius: 12px; }
  .feature-img img { aspect-ratio: 4 / 3; }
}

/* Intro/hero section for guide pages (no image hero) */
.section--intro {
  padding: 2.5rem 0 1.5rem;
  background: linear-gradient(180deg, #f9f6ef 0%, transparent 100%);
}
.section--intro .eyebrow {
  display: inline-block;
  color: var(--brand-green, #347369);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.7rem;
}
.section--intro h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  margin: 0 0 1.2rem;
  color: var(--text, #1c1c1c);
}
.section--intro .lead {
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--text, #2a2a2a);
  margin: 0 0 1.4rem;
  max-width: 64ch;
}
.section--intro p {
  max-width: 70ch;
  line-height: 1.65;
  margin-bottom: 1rem;
}
@media (max-width: 700px) {
  .section--intro { padding: 1.8rem 0 1.2rem; }
  .section--intro .lead { font-size: 1.05rem; }
}

/* Step guide image grid (monteringsguide) */
.step-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 2rem 0;
}
@media (max-width: 1024px) {
  .step-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .step-grid { grid-template-columns: 1fr; max-width: 420px; margin: 1.5rem auto; }
}
.step-fig {
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(20, 50, 40, 0.07);
  margin: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.step-fig:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(20, 50, 40, 0.12);
}
.step-fig__num {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  background: #ffffff;
  color: var(--brand-green, #347369);
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  z-index: 2;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
  line-height: 1;
}
.step-fig img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}
.step-fig figcaption {
  padding: 1rem 1.15rem 1.2rem;
  color: var(--text, #2a2a2a);
  font-size: 0.95rem;
  line-height: 1.55;
}
.step-fig__cap {
  display: block;
}

/* Authority link list (BBR / PBL / Boverket etc.) */
.authority-links {
  background: #f4f1ea;
  border-left: 3px solid var(--brand-green, #347369);
  padding: 1.1rem 1.25rem;
  margin: 1.5rem 0;
  border-radius: 0 8px 8px 0;
}
.authority-links h3 {
  margin: 0 0 0.6rem;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--brand-green, #347369);
}
.authority-links ul {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.94rem;
  line-height: 1.7;
}
.authority-links a {
  color: var(--text, #2a2a2a);
  text-decoration: underline;
  text-decoration-color: rgba(52, 115, 105, 0.4);
  text-underline-offset: 2px;
}
.authority-links a:hover {
  text-decoration-color: var(--brand-green, #347369);
}

/* Step navigation (prev/next) */
.step-nav {
  background: #f9f6ef;
  padding: 1.5rem 0;
  margin: 2.5rem 0 0;
  border-top: 1px solid rgba(52, 115, 105, 0.12);
}
.step-nav__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1rem;
  align-items: center;
}
.step-nav__prev { text-align: left; }
.step-nav__next { text-align: right; }
.step-nav__overview {
  text-align: center;
  font-weight: 600;
  color: var(--brand-green, #347369);
}
.step-nav a {
  color: var(--text, #2a2a2a);
  text-decoration: none;
  font-size: 0.95rem;
}
.step-nav a:hover { color: var(--brand-green, #347369); }
@media (max-width: 700px) {
  .step-nav__inner { grid-template-columns: 1fr; text-align: center; }
  .step-nav__prev, .step-nav__next { text-align: center; }
}

/* Step placeholder (for montera-vaggarna while images missing) */
.step-placeholder {
  background: #f4f1ea;
  border: 1px dashed rgba(52, 115, 105, 0.3);
  border-radius: 12px;
  padding: 2.5rem 1.5rem;
  text-align: center;
  margin: 2rem 0;
}
.pcard__body {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 1rem 1.1rem 1.1rem;
  flex: 1;
}
.pcard__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.02rem;
  line-height: 1.2;
  color: var(--bj-charcoal);
  margin: 0;
}
.pcard__desc {
  color: var(--bj-stone);
  font-size: 0.84rem;
  margin: 0;
  line-height: 1.45;
}
.spec-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1rem;
  margin: 0.1rem 0;
  padding: 0.55rem 0;
  border-top: 1px solid var(--bj-border-warm);
  border-bottom: 1px solid var(--bj-border-warm);
  list-style: none;
}
.spec { display: flex; align-items: center; gap: 0.4rem; }
.spec svg { color: var(--bj-forest); flex: none; width: 14px; height: 14px; }
.spec b {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.84rem;
  color: var(--bj-charcoal);
  line-height: 1.15;
}
.spec span {
  display: block;
  font-size: 0.6rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--bj-stone);
}
.price {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.18rem;
  line-height: 1;
  color: var(--bj-charcoal);
  margin: 0;
}
.price small {
  display: block;
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bj-stone);
  margin-bottom: 0.18rem;
}
.pcard__foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.6rem;
  margin-top: auto;
  padding-top: 0.3rem;
}
.pcard__foot .btn {
  padding: 0.55rem 0.95rem;
  font-size: 0.84rem;
}
@media (prefers-reduced-motion: reduce) {
  .pcard:hover .pcard__media img,
  .pcard__media img { transform: none; transition: none; }
}

/* Max-width på pcards så de håller konsekvent storlek över alla grids */
.grid3 > .pcard,
.grid4 > .pcard {
  max-width: 340px;
  width: 100%;
  justify-self: center;
}
.grid3,
.grid4 {
  justify-content: center;
}

/* ---------------------------------------------------------------------------
   MODEL CAROUSEL (horisontell auto-scroll, 4 synliga på desktop)
   --------------------------------------------------------------------------- */
.model-carousel {
  position: relative;
  margin-left: calc(var(--container-padding) * -1);
  margin-right: calc(var(--container-padding) * -1);
  padding: 0.5rem 0;
}
.model-carousel__viewport {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 0.5rem var(--container-padding);
}
.model-carousel__viewport::-webkit-scrollbar { display: none; }
.model-carousel__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 3 * 1.1rem) / 4);
  gap: 1.1rem;
}
.model-carousel .pcard {
  scroll-snap-align: start;
  min-width: 0;
}
@media (max-width: 1100px) {
  .model-carousel__track { grid-auto-columns: calc((100% - 2 * 1.1rem) / 3); }
}
@media (max-width: 800px) {
  .model-carousel__track { grid-auto-columns: calc((100% - 1.1rem) / 2); }
}
@media (max-width: 540px) {
  .model-carousel__track { grid-auto-columns: 78%; }
}
.model-carousel__nav {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  margin-top: 1rem;
  padding: 0 var(--container-padding);
}
.model-carousel__nav button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bj-paper-white);
  border: 1.5px solid var(--bj-border-warm);
  color: var(--bj-charcoal);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}
.model-carousel__nav button:hover {
  border-color: var(--bj-forest);
  color: var(--bj-forest);
  transform: scale(1.04);
}
.model-carousel__nav button:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
.model-carousel__nav svg { width: 18px; height: 18px; }

/* ---------------------------------------------------------------------------
   6. KNAPPAR (säkerställ overlay-varianter funkar på solid också)
   --------------------------------------------------------------------------- */
.btn--green {
  background: var(--bj-forest);
  color: var(--bj-paper-white);
  border: 1.5px solid var(--bj-forest);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.6rem;
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: 0.02em;
  border-radius: var(--radius-md);
  transition: all 0.25s ease;
  cursor: pointer;
  text-decoration: none;
}
.btn--green:hover {
  background: var(--bj-forest-deep);
  border-color: var(--bj-forest-deep);
  color: var(--bj-paper-white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn--outline {
  background: transparent;
  color: var(--bj-forest);
  border: 1.5px solid var(--bj-forest);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.6rem;
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: 0.02em;
  border-radius: var(--radius-md);
  transition: all 0.25s ease;
  text-decoration: none;
}
.btn--outline:hover {
  background: var(--bj-forest);
  color: var(--bj-paper-white);
}
.btn--ghost {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,.65);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.6rem;
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: 0.02em;
  border-radius: var(--radius-md);
  transition: all 0.25s ease;
  text-decoration: none;
}
.btn--ghost:hover {
  background: #fff;
  color: var(--bj-charcoal);
  border-color: #fff;
}
.btn--cream {
  background: var(--bj-cream);
  color: var(--bj-charcoal);
  border: 1.5px solid var(--bj-cream);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.6rem;
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: 0.02em;
  border-radius: var(--radius-md);
  transition: all 0.25s ease;
  text-decoration: none;
}
.btn--cream:hover {
  background: #fff;
  border-color: #fff;
  transform: translateY(-1px);
}

/* ---------------------------------------------------------------------------
   7. CTA-SEKTION (skogsgrön gradient)
   --------------------------------------------------------------------------- */
.cta {
  position: relative;
  background: linear-gradient(135deg, var(--bj-forest), var(--bj-forest-deep));
  color: var(--bj-paper-white);
  text-align: center;
  padding: 4.5rem 0;
  overflow: hidden;
}
.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 80% at 50% 0%, rgba(234,217,190,.08), transparent 60%);
  pointer-events: none;
}
.cta > * { position: relative; }
.cta__inner { max-width: 700px; margin: 0 auto; padding: 0 1.5rem; }
.cta h2 {
  color: var(--bj-paper-white);
  margin: 0;
  font-size: clamp(1.55rem, 3.6vw, 2.3rem);
}
.cta__lead {
  font-size: 1.12rem;
  opacity: 0.92;
  margin: 1rem auto 2rem;
  max-width: 48ch;
  line-height: 1.6;
}
.cta .eyebrow { color: var(--bj-cream); }
.cta__cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------------------------------------------------------------------------
   8. FOOTER (deep green med kolumner)
   --------------------------------------------------------------------------- */
.foot {
  background: var(--bj-forest-deep);
  color: var(--bj-paper-white);
  padding: 4rem 0 1.5rem;
}
.foot__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
@media (max-width: 800px) { .foot__grid { grid-template-columns: 1fr 1fr; gap: 2rem; } }
@media (max-width: 540px) { .foot__grid { grid-template-columns: 1fr; } }
.foot__brand img {
  height: 42px;
  filter: brightness(0) invert(1);
  margin-bottom: 1rem;
}
.foot__brand p {
  opacity: 0.85;
  font-size: 0.92rem;
  line-height: 1.6;
  max-width: 36ch;
}
.foot h2 {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bj-cream);
  margin: 0 0 1rem;
}
.foot__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.foot__list a {
  color: rgba(255,255,255,0.88);
  font-size: 0.92rem;
  transition: color 0.2s ease;
}
.foot__list a:hover { color: #fff; }
.foot__contact {
  font-style: normal;
  font-size: 0.92rem;
  line-height: 1.7;
  opacity: 0.88;
}
.foot__contact a { color: inherit; }
.foot__contact strong { font-weight: 700; }
.foot__bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 1.4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.82rem;
  opacity: 0.7;
}
.foot__legal { display: flex; gap: 1.5rem; }
.foot__legal a:hover { opacity: 1; color: #fff; }

/* ---------------------------------------------------------------------------
   9. MOBILE-NAV (fullscreen overlay, gemensam för alla sidor)
   Med expanderbara sektioner via <details>
   --------------------------------------------------------------------------- */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: var(--bj-forest-deep);
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s 0.3s;
  padding: 5rem 1.5rem 2.5rem;
}
.mobile-nav.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s;
}
.mobile-nav__inner {
  max-width: 480px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.mobile-nav__group {
  border-bottom: 1px solid rgba(234, 217, 190, 0.18);
}
.mobile-nav__group > summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--bj-paper-white);
  padding: 1rem 0;
  cursor: pointer;
}
.mobile-nav__group > summary::-webkit-details-marker { display: none; }
.mobile-nav__group > summary::after {
  content: '+';
  font-family: var(--font-primary);
  font-size: 1.4rem;
  color: var(--bj-cream);
  transition: transform 0.2s ease;
  margin-left: 0.6rem;
}
.mobile-nav__group[open] > summary::after { transform: rotate(45deg); }
.mobile-nav__group__items {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0 0 0.8rem 0.4rem;
}
.mobile-nav__group__items a {
  display: flex;
  flex-direction: column;
  padding: 0.55rem 0;
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 1rem;
  color: rgba(251, 249, 243, 0.88);
}
.mobile-nav__group__items a small {
  font-size: 0.78rem;
  color: rgba(234, 217, 190, 0.7);
  font-weight: 500;
  margin-top: 0.1rem;
}
.mobile-nav__group__items a:hover { color: var(--bj-cream); }
.mobile-nav a.mobile-nav__direct {
  display: flex;
  align-items: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--bj-paper-white);
  padding: 1rem 0;
  border-bottom: 1px solid rgba(234, 217, 190, 0.18);
  text-decoration: none;
}
.mobile-nav a.mobile-nav__direct:hover { color: var(--bj-cream); }
.mobile-nav__phone {
  margin-top: 1.5rem;
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  color: var(--bj-cream);
  border: 1.5px solid var(--bj-cream);
  border-radius: var(--radius-md);
  padding: 0.8rem 1.4rem;
  text-align: center;
  text-decoration: none;
  align-self: stretch;
}
.mobile-nav__phone:hover {
  background: var(--bj-cream);
  color: var(--bj-charcoal);
}
@media (min-width: 981px) {
  .mobile-nav { display: none; }
}

/* ---------------------------------------------------------------------------
   10. FORM (för /kontakt/ och offert-CTA)
   --------------------------------------------------------------------------- */
.form {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.form__group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.form__label {
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--bj-charcoal);
  letter-spacing: 0.01em;
}
.form__input,
.form__textarea,
.form__select {
  width: 100%;
  padding: 0.7rem 0.9rem;
  font-family: var(--font-primary);
  font-size: 1rem;
  color: var(--bj-charcoal);
  background: var(--bj-paper-white);
  border: 1.5px solid var(--bj-border-warm);
  border-radius: var(--radius-md);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form__input:focus,
.form__textarea:focus,
.form__select:focus {
  outline: none;
  border-color: var(--bj-forest);
  box-shadow: 0 0 0 3px rgba(52, 115, 105, 0.15);
}
.form__textarea {
  min-height: 140px;
  resize: vertical;
  font-family: var(--font-primary);
}
.form__help {
  font-size: 0.82rem;
  color: var(--bj-stone);
}

/* ---------------------------------------------------------------------------
   11. FAQ (native <details>)
   --------------------------------------------------------------------------- */
.faq { display: flex; flex-direction: column; }
.faq__item {
  border-bottom: 1px solid var(--bj-border-warm);
}
.faq__item:first-child { border-top: 1px solid var(--bj-border-warm); }
.faq__question {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--bj-charcoal);
  padding: 1.2rem 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  list-style: none;
}
.faq__question::-webkit-details-marker { display: none; }
.faq__question::after {
  content: '+';
  font-family: var(--font-primary);
  font-size: 1.6rem;
  color: var(--bj-forest);
  transition: transform 0.25s ease;
  flex: none;
}
.faq__item[open] .faq__question::after { transform: rotate(45deg); }
.faq__item[open] .faq__question { color: var(--bj-forest); }
.faq__answer {
  padding-bottom: 1.4rem;
  color: var(--bj-stone);
  font-size: 1rem;
  line-height: 1.7;
}
.faq__answer p { margin-bottom: 0.8rem; }
.faq__answer p:last-child { margin-bottom: 0; }

/* ---------------------------------------------------------------------------
   12. PROSE (artikel/longform-text)
   --------------------------------------------------------------------------- */
.prose {
  max-width: 65ch;
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--bj-charcoal);
}
.prose h2 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  margin: 2.5rem 0 0.8rem;
  line-height: 1.2;
}
.prose h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.3rem;
  margin: 2rem 0 0.6rem;
  line-height: 1.25;
}
.prose p { margin-bottom: 1.1rem; }
.prose ul, .prose ol {
  margin: 0 0 1.1rem;
  padding-left: 1.4rem;
}
.prose ul li { list-style: disc; margin-bottom: 0.4rem; }
.prose ol li { list-style: decimal; margin-bottom: 0.4rem; }
.prose strong { font-weight: 700; }


/* AEO: svar-först-block (Kort svar) */
.aeo-answer{background:var(--bj-paper,#f5f1ea);border-left:4px solid var(--bj-forest,#347369);border-radius:10px;padding:1rem 1.25rem;margin:0 0 1.6rem;line-height:1.55}
.aeo-answer p{margin:0}
.aeo-answer strong{color:var(--bj-forest,#347369)}

/* Kategori-kort (.cat-card) - delad komponent (anvands pa start + material-finish m.fl.) */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
@media (max-width: 900px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .cat-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; } }
.cat-card { display: flex; flex-direction: column; gap: 0.5rem; padding: 1.8rem 1.5rem; background: var(--bj-paper-white); border: 1px solid var(--bj-border-warm); border-radius: var(--radius-lg); text-decoration: none; color: inherit; transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease; position: relative; }
.cat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: transparent; }
.cat-card__count { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--bj-wood-ink); }
.cat-card__title { font-family: var(--font-heading); font-weight: 700; font-size: 1.35rem; color: var(--bj-charcoal); margin: 0.2rem 0 0.3rem; }
.cat-card__price { font-family: var(--font-heading); font-weight: 700; font-size: 1.1rem; color: var(--bj-forest); }
.cat-card__cta { margin-top: auto; padding-top: 0.8rem; font-family: var(--font-primary); font-weight: 600; font-size: 0.9rem; color: var(--bj-forest); display: inline-flex; align-items: center; gap: 0.4rem; }
.cat-card__cta::after { content: '→'; transition: transform 0.2s ease; }
.cat-card:hover .cat-card__cta::after { transform: translateX(3px); }

/* Galleri-grid + lightbox-trigger (delad, anvands pa /galleri/ + modellsidor) */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 2rem 0 0; }
@media (max-width: 900px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .gallery-grid { grid-template-columns: 1fr; } }
.gallery-item { display: block; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/3; background: var(--bj-paper); border: 1px solid var(--bj-border-warm); cursor: zoom-in; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; }
.gallery-item:hover img { transform: scale(1.03); }

/* Referens-slider: stor autoplay-bild + miniatyrremsa (delad komponent) */
.refslider { max-width: 900px; margin: 0 auto; }
.refslider__stage { position: relative; aspect-ratio: 4/3; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--bj-border-warm); background: var(--bj-paper); margin: 0; }
.refslider__main { width: 100%; height: 100%; object-fit: cover; display: block; transition: opacity 0.45s ease; }
.refslider__caption { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 1.6rem 1.1rem 0.8rem; background: linear-gradient(transparent, rgba(20,28,24,0.62)); color: #fff; font-family: var(--font-primary); font-size: 0.9rem; }
.refslider__thumbs { display: flex; gap: 0.6rem; margin: 0.7rem 0 0; padding: 0.15rem; list-style: none; overflow-x: auto; scrollbar-width: thin; }
.refslider__thumbs li { flex: 0 0 calc((100% - 4 * 0.6rem) / 5); margin: 0; }
.refslider__thumb { display: block; width: 100%; aspect-ratio: 4/3; padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; background: none; cursor: pointer; opacity: 0.55; transition: opacity 0.2s ease, border-color 0.2s ease; }
.refslider__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.refslider__thumb:hover { opacity: 0.85; }
.refslider__thumb.is-active { opacity: 1; border-color: var(--bj-forest); }
@media (max-width: 600px) { .refslider__thumbs li { flex-basis: calc((100% - 3 * 0.6rem) / 4); } }
