/* ============================================================
   SAKON FASADTVÄTT STARTER THEME
   main.css — Version 1.4.6
   ------------------------------------------------------------
   Innehåll:
   1.  Theme base (header, body, footer, primary nav)
   2.  Bloggrutnät och postkort
   3.  SFT designsystem — variabler och bas
   4.  SFT — buttons & basic UI
   5.  SFT — breadcrumb
   6.  SFT — hero (homepage)
   7.  SFT — sub-hero (undersidor)
   8.  SFT — trust bar
   9.  SFT — sektionsvarianter (cream, ink, mist, green)
   10. SFT — split layouts
   11. SFT — section heads
   12. SFT — materialgrid (homepage)
   13. SFT — method-sektion
   14. SFT — use-cases / problemkort
   15. SFT — pris-sektion + price example
   16. SFT — comparison table (metod-sidan)
   17. SFT — factor grid (pris, materialsidor)
   18. SFT — process stepper
   19. SFT — coverage (städer)
   20. SFT — FAQ accordion
   21. SFT — contact page (form + sticky card)
   22. SFT — value grid (om-oss)
   23. SFT — final CTA
   24. Full-bleed-utbrytning
   25. Responsive (max-width: 1100px)
   26. Responsive (max-width: 760px)
   ============================================================ */


/* ============================================================
   1. THEME BASE
   ============================================================ */
:root {
  --sakon-green: #317A12;
  --sakon-green-dark: #1f5009;
  --sakon-ink: #111;
  --sakon-muted: #5f665b;
  --sakon-cream: #f7f4ec;
  --sakon-border: #e8e6e0;
  --sakon-max: 1320px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--sakon-ink);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  background: #f7f4ec;
  line-height: 1.6;
}

img { max-width: 100%; height: auto; }
a { color: var(--sakon-green-dark); }

.container { width: min(var(--sakon-max), calc(100% - 40px)); margin-inline: auto; }
.narrow { max-width: 880px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--sakon-border);
}
.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.site-brand {
  display: flex;
  align-items: center;
  font-weight: 800;
  font-size: 22px;
  text-decoration: none;
  color: var(--sakon-ink);
}
.custom-logo { max-height: 54px; width: auto; }

.primary-nav .menu,
.footer-menu {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.primary-nav a,
.footer-menu a {
  text-decoration: none;
  color: #1b1b1b;
  font-weight: 650;
  font-size: 15px;
}
.primary-nav a:hover { color: var(--sakon-green); }

.menu-toggle {
  display: none;
  background: var(--sakon-green);
  color: #fff;
  border: 0;
  border-radius: 4px;
  padding: 10px 14px;
  font-weight: 700;
  cursor: pointer;
}

.site-main { min-height: 60vh; }
.section { padding: 70px 0; }

.page-content,
.post-content { font-size: 18px; }
.page-content h1,
.post-content h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.05;
  letter-spacing: -.04em;
}


/* ============================================================
   2. BLOGGRUTNÄT
   ============================================================ */
.post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
.post-card {
  border: 1px solid var(--sakon-border);
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0,0,0,.04);
}
.post-card h2,
.post-card p,
.post-card .post-meta { padding-inline: 22px; }
.post-card h2 { font-size: 22px; line-height: 1.2; }
.post-card h2 a { text-decoration: none; color: #111; }
.post-meta { font-size: 14px; color: var(--sakon-muted); }


/* Footer */
.site-footer {
  background: #101810;
  color: #fff;
  padding: 56px 0 26px;
}
.site-footer a { color: #fff; }
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.16);
  margin-top: 34px;
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  color: rgba(255,255,255,.75);
}
.footer-menu { gap: 18px; flex-wrap: wrap; }
.footer-menu a { color: #fff; }

/* Hero empty / full-width page padding reset */
.hero-empty,
.hero-empty > .container,
.home .page-content,
.front-page .page-content {
  padding: 0;
  margin: 0;
  width: 100%;
  max-width: none;
}
.hero-empty > .container { width: 100%; }

.home .page-content > *:first-child,
.front-page .page-content > *:first-child { margin-top: 0; }


/* ============================================================
   3. SFT DESIGNSYSTEM — VARIABLER OCH BAS
   Stöd både .sft-home (homepage) och .sft-page (undersidor)
   ============================================================ */
.sft-home,
.sft-page {
  --sft-green: #317A12;
  --sft-green-dark: #1f5009;
  --sft-green-deep: #0f3503;
  --sft-green-light: #56ab33;
  --sft-green-mist: #ecf3e7;
  --sft-green-glow: rgba(86, 171, 51, 0.15);
  --sft-ink: #0e0e0e;
  --sft-ink-soft: #3a3a3a;
  --sft-ink-mute: #767676;
  --sft-paper: #ffffff;
  --sft-cream: #f7f4ec;
  --sft-cream-dark: #efeae0;
  --sft-border: #e8e6e0;
  --sft-border-strong: #d0ccc2;

  --sft-radius: 4px;
  --sft-radius-md: 12px;
  --sft-radius-lg: 20px;
  --sft-radius-xl: 28px;
  --sft-maxw: 1320px;
  --sft-maxw-narrow: 920px;

  --sft-shadow-sm: 0 2px 8px rgba(14,14,14,.04);
  --sft-shadow: 0 12px 32px rgba(14,14,14,.06);
  --sft-shadow-lg: 0 24px 56px rgba(14,14,14,.10);
  --sft-shadow-green: 0 16px 40px rgba(49,122,18,.20);

  color: var(--sft-ink);
  font-family: Inter, -apple-system, "Segoe UI", system-ui, sans-serif;
  line-height: 1.55;
  font-size: 17px;
  background: var(--sft-paper);
  overflow: hidden;
}

.sft-home, .sft-home *, .sft-home *::before, .sft-home *::after,
.sft-page, .sft-page *, .sft-page *::before, .sft-page *::after {
  box-sizing: border-box;
}

.sft-home img, .sft-page img { max-width: 100%; height: auto; display: block; }

/* WordPress default list-styles slår ofta igenom .sft-*-listor.
   Förebyggande reset för OL/UL inuti våra wrappers. */
.sft-home ol, .sft-home ul,
.sft-page ol, .sft-page ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* :where() ger noll specificitet — så att klass-baserade färgöverrideringar vinner */
:where(.sft-home, .sft-page) a { color: var(--sft-green-dark); text-decoration: none; }
:where(.sft-home, .sft-page) a:hover { text-decoration: underline; }

.sft-container { max-width: var(--sft-maxw); margin: 0 auto; padding: 0 32px; }
.sft-container--narrow { max-width: var(--sft-maxw-narrow); }

.sft-home h1, .sft-home h2, .sft-home h3, .sft-home h4,
.sft-page h1, .sft-page h2, .sft-page h3, .sft-page h4 {
  color: var(--sft-ink);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin: 0 0 0.6em;
  line-height: 1.08;
}
.sft-home h2, .sft-page h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); }
.sft-home h3, .sft-page h3 { font-size: clamp(1.2rem, 1.8vw, 1.4rem); line-height: 1.3; }

:where(.sft-home, .sft-page) p {
  margin: 0 0 1em;
  color: var(--sft-ink-soft);
  font-size: 1.05rem;
}

.sft-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--sft-green-dark);
  margin: 0 0 20px;
}
.sft-eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--sft-green); }
.sft-eyebrow--light { color: #d4f0bd; }
.sft-eyebrow--light::before { background: #d4f0bd; }

.sft-lead {
  font-size: clamp(1.1rem, 1.4vw, 1.25rem);
  line-height: 1.55;
  color: var(--sft-ink-soft);
  max-width: 640px;
}


/* ============================================================
   4. SFT — BUTTONS & BASIC UI
   ============================================================ */
.sft-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: var(--sft-radius);
  font-weight: 650;
  font-size: 15px;
  text-decoration: none !important;
  transition: all .2s ease;
  border: 1.5px solid transparent;
  white-space: nowrap;
  line-height: 1.2;
}
.sft-btn--primary { background: var(--sft-green); color: #fff !important; box-shadow: var(--sft-shadow-green); }
.sft-btn--primary:hover { background: var(--sft-green-dark); transform: translateY(-2px); box-shadow: 0 20px 44px rgba(49,122,18,.28); color: #fff !important; }
.sft-btn--ghost { background: transparent; color: #fff !important; border-color: rgba(255,255,255,.35); }
.sft-btn--ghost:hover { background: rgba(255,255,255,.1); border-color: #fff; color: #fff !important; }
.sft-btn--outline { background: transparent; color: var(--sft-ink) !important; border-color: var(--sft-border-strong); }
.sft-btn--outline:hover { background: var(--sft-ink); color: #fff !important; border-color: var(--sft-ink); }
.sft-btn--ink { background: var(--sft-ink); color: #fff !important; }
.sft-btn--ink:hover { background: var(--sft-green); color: #fff !important; }

.sft-btn-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 650;
  font-size: 14px;
  color: var(--sft-ink) !important;
  transition: gap .2s ease;
}
.sft-btn-arrow:hover { gap: 14px; color: var(--sft-green-dark) !important; text-decoration: none; }
.sft-btn-arrow svg { width: 16px; height: 16px; }


/* ============================================================
   5. SFT — BREADCRUMB
   ============================================================ */
.sft-breadcrumb {
  background: var(--sft-cream);
  padding: 20px 0;
  border-bottom: 1px solid var(--sft-border);
  font-size: 13px;
}
.sft-breadcrumb ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.sft-breadcrumb li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--sft-ink-soft);
}
.sft-breadcrumb li:not(:last-child)::after {
  content: "/";
  color: var(--sft-ink-mute);
  margin-left: 8px;
}
.sft-breadcrumb a { color: var(--sft-ink-soft); font-weight: 500; }
.sft-breadcrumb a:hover { color: var(--sft-green-dark); }
.sft-breadcrumb li:last-child { color: var(--sft-ink); font-weight: 600; }


/* ============================================================
   6. SFT — HERO (homepage)
   ============================================================ */
.sft-hero {
  position: relative;
  background: var(--sft-cream);
  padding: 120px 0 80px;
  overflow: hidden;
}
.sft-hero::before {
  content: "";
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, var(--sft-green-glow), transparent 70%);
  pointer-events: none;
}
.sft-hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
}
.sft-hero__content { position: relative; z-index: 1; }
.sft-hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: rgba(49,122,18,.08);
  border: 1px solid rgba(49,122,18,.18);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 650;
  color: var(--sft-green-dark);
  margin: 0 0 28px;
}
.sft-hero__tag::before {
  content: "";
  width: 8px; height: 8px;
  background: var(--sft-green);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(49,122,18,.18);
  animation: sft-pulse 2.4s ease-in-out infinite;
}
@keyframes sft-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(49,122,18,.4); }
  50% { box-shadow: 0 0 0 8px rgba(49,122,18,0); }
}
.sft-hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  line-height: 0.98;
  font-weight: 800;
  letter-spacing: -0.04em;
  margin: 0 0 28px;
  color: var(--sft-ink);
}
.sft-hero h1 em {
  font-style: normal;
  color: var(--sft-green-dark);
  display: block;
  font-weight: 500;
  letter-spacing: -0.03em;
}
.sft-hero__sub {
  font-size: clamp(1.05rem, 1.4vw, 1.18rem);
  color: var(--sft-ink-soft);
  margin: 0 0 40px;
  max-width: 520px;
  line-height: 1.55;
}
.sft-hero__ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 56px; }
.sft-hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--sft-border-strong);
  max-width: 540px;
}
.sft-hero__stat-num {
  font-size: clamp(1.8rem, 2.6vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--sft-ink);
  line-height: 1;
  margin: 0 0 6px;
}
.sft-hero__stat-label { font-size: 13px; color: var(--sft-ink-soft); font-weight: 500; }
.sft-hero__visual {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--sft-radius-xl);
  overflow: hidden;
  box-shadow: var(--sft-shadow-lg);
}
.sft-hero__visual img { width: 100%; height: 100%; object-fit: cover; }
.sft-hero__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(14,14,14,.35));
}
.sft-hero__visual-badge {
  position: absolute;
  bottom: 24px; left: 24px; right: 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(8px);
  border-radius: var(--sft-radius-md);
  z-index: 2;
}
.sft-hero__visual-badge-icon {
  width: 44px; height: 44px;
  flex-shrink: 0;
  background: var(--sft-green);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.sft-hero__visual-badge-icon svg { width: 22px; height: 22px; }
.sft-hero__visual-badge-text strong { display: block; color: var(--sft-ink); font-size: 14px; font-weight: 700; margin-bottom: 2px; }
.sft-hero__visual-badge-text span { font-size: 12px; color: var(--sft-ink-soft); }


/* ============================================================
   7. SFT — SUB-HERO (undersidor)
   ============================================================ */
.sft-sub-hero {
  background: var(--sft-cream);
  padding: 80px 0 100px;
  position: relative;
  overflow: hidden;
}
.sft-sub-hero::before {
  content: "";
  position: absolute;
  top: -200px; right: -200px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, var(--sft-green-glow), transparent 70%);
  pointer-events: none;
}
.sft-sub-hero__inner { position: relative; max-width: 820px; }
.sft-sub-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -0.035em;
  margin: 0 0 24px;
}
.sft-sub-hero h1 em {
  font-style: normal;
  color: var(--sft-green-dark);
  font-weight: 500;
}
.sft-sub-hero__lead {
  font-size: clamp(1.1rem, 1.45vw, 1.25rem);
  color: var(--sft-ink-soft);
  max-width: 640px;
  margin: 0 0 32px;
  line-height: 1.55;
}
.sft-sub-hero__ctas { display: flex; gap: 14px; flex-wrap: wrap; }


/* ============================================================
   8. SFT — TRUST BAR
   ============================================================ */
.sft-trust {
  background: linear-gradient(135deg, #1c241c 0%, #232a22 100%);
  color: #fff;
  padding: 32px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.sft-trust__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
}
.sft-trust__item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,.96);
}
.sft-trust__item-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(86, 171, 51, 0.14);
  border: 1px solid rgba(86, 171, 51, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.sft-trust__item-icon svg {
  width: 18px;
  height: 18px;
  color: var(--sft-green-light);
}


/* ============================================================
   9. SFT — SEKTIONSVARIANTER
   ============================================================ */
.sft-section { padding: 140px 0; background: var(--sft-paper); }
.sft-section--cream { background: var(--sft-cream); }
.sft-section--mist { background: var(--sft-green-mist); }
.sft-section--ink { background: var(--sft-ink); color: #fff; }
.sft-section--ink h2 { color: #fff; }
.sft-section--ink p { color: rgba(255,255,255,.88); }
.sft-section--green {
  background: linear-gradient(135deg, var(--sft-green-deep), var(--sft-green-dark));
  color: #fff;
}
.sft-section--green h2 { color: #fff; }
.sft-section--green p { color: rgba(255,255,255,.92); }


/* ============================================================
   10. SFT — SPLIT LAYOUTS
   ============================================================ */
.sft-split {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: start;
}
.sft-split--equal { grid-template-columns: 1fr 1fr; }
.sft-split--text-image { grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }

.sft-split__visual {
  border-radius: var(--sft-radius-xl);
  overflow: hidden;
  aspect-ratio: 4 / 5;
}
.sft-split__visual img { width: 100%; height: 100%; object-fit: cover; }


/* ============================================================
   11. SFT — SECTION HEADS
   ============================================================ */
.sft-section-head { max-width: 760px; margin-bottom: 48px; }
.sft-section-head--center { margin-left: auto; margin-right: auto; text-align: center; }


/* ============================================================
   12. SFT — MATERIALGRID (homepage)
   ============================================================ */
.sft-materials,
.sft-uses,
.sft-coverage { padding: 140px 0; background: var(--sft-paper); }

.sft-materials__head,
.sft-coverage__head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 72px;
}
.sft-materials__head p,
.sft-coverage__head p { font-size: 1.1rem; max-width: 480px; margin: 0; }

.sft-materials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.sft-mat-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--sft-radius-lg);
  background: var(--sft-cream);
  color: #fff !important;
  aspect-ratio: 4 / 5;
  display: block;
  transition: transform .35s ease;
}
/* Bakåtkompatibilitet med tidigare 6-kolumns mosaiklayout */
.sft-mat-card--wide,
.sft-mat-card--narrow,
.sft-mat-card--third { aspect-ratio: 4 / 5; }

.sft-mat-card img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.sft-mat-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14,14,14,.1) 0%, rgba(14,14,14,.2) 35%, rgba(14,14,14,.92) 100%);
  z-index: 1;
}
.sft-mat-card:hover { transform: translateY(-4px); text-decoration: none; }
.sft-mat-card:hover img { transform: scale(1.06); }

.sft-mat-card__content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 28px;
  z-index: 2;
  color: #fff;
}
.sft-mat-card__num {
  font-size: 12px;
  letter-spacing: 0.15em;
  font-weight: 700;
  color: rgba(255,255,255,.9);
  margin: 0 0 10px;
}
.sft-mat-card__title {
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
  color: #fff !important;
}
.sft-mat-card__desc {
  font-size: 14px;
  color: rgba(255,255,255,.96) !important;
  margin: 0 0 16px;
  line-height: 1.45;
  max-width: 380px;
}
.sft-mat-card__more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 650;
  color: #fff;
}
.sft-mat-card__more svg { width: 14px; height: 14px; }


/* ============================================================
   13. SFT — METHOD-SEKTION
   ============================================================ */
.sft-method,
.sft-process,
.sft-faq { padding: 140px 0; background: var(--sft-cream); }

.sft-method__grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 100px;
  align-items: start;
}
.sft-method__visual { position: sticky; top: 100px; }
.sft-method__visual-main {
  border-radius: var(--sft-radius-xl);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  box-shadow: var(--sft-shadow-lg);
}
.sft-method__visual-main img,
.sft-method__visual-grid img { width: 100%; height: 100%; object-fit: cover; }

.sft-method__visual-grid {
  margin-top: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.sft-method__visual-grid figure {
  margin: 0;
  border-radius: var(--sft-radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  position: relative;
}
.sft-method__visual-grid figcaption {
  position: absolute;
  top: 12px; left: 12px;
  padding: 5px 10px;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(6px);
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--sft-ink);
}

.sft-method__text { padding-top: 12px; }
.sft-method__text p { font-size: 1.06rem; line-height: 1.65; }

.sft-method__quote {
  margin: 40px 0;
  padding: 32px;
  background: var(--sft-paper);
  border-radius: var(--sft-radius-lg);
  border-left: 4px solid var(--sft-green);
}
.sft-method__quote-label {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--sft-green-dark);
  margin: 0 0 12px;
}
.sft-method__quote p {
  font-size: 1.15rem;
  line-height: 1.5;
  color: var(--sft-ink);
  font-weight: 500;
  margin: 0;
}

.sft-method__steps {
  margin-top: 48px;
  list-style: none;
  padding: 0;
  border-top: 1px solid var(--sft-border-strong);
}
/* Stöd både ny div-baserad struktur och äldre li-baserad */
.sft-method__steps-item,
.sft-method__steps > li {
  display: grid !important;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--sft-border-strong);
  align-items: start;
}
.sft-method__steps-num {
  font-size: 12px;
  letter-spacing: 0.15em;
  font-weight: 700;
  color: var(--sft-green-dark);
  padding-top: 4px;
}
.sft-method__steps strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--sft-ink);
  margin-bottom: 4px;
}
.sft-method__steps p {
  margin: 0;
  font-size: .96rem;
  color: var(--sft-ink-soft);
  line-height: 1.5;
}


/* ============================================================
   14. SFT — USE-CASES / PROBLEMKORT
   ============================================================ */
.sft-uses__head,
.sft-process__head { margin-bottom: 64px; max-width: 720px; }
.sft-uses__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }

.sft-use-card {
  display: block;
  background: #fff;
  border-radius: var(--sft-radius-lg);
  overflow: hidden;
  border: 1px solid var(--sft-border);
  transition: transform .25s ease, box-shadow .25s ease;
  text-decoration: none !important;
  color: var(--sft-ink) !important;
}
.sft-use-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sft-shadow-lg);
  text-decoration: none !important;
}
.sft-use-card__image { aspect-ratio: 4 / 3; overflow: hidden; position: relative; }
.sft-use-card__image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.sft-use-card:hover .sft-use-card__image img { transform: scale(1.05); }
.sft-use-card__tag {
  position: absolute;
  top: 16px; left: 16px;
  padding: 6px 12px;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(8px);
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--sft-green-dark);
}
.sft-use-card__body { padding: 28px; }
.sft-use-card h3 { margin: 0 0 10px; }
.sft-use-card__body p { font-size: .98rem; color: var(--sft-ink-soft); margin: 0 0 16px; }
.sft-use-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 650;
  color: var(--sft-green-dark);
}
.sft-use-card__link svg { width: 14px; height: 14px; transition: transform .2s ease; }
.sft-use-card:hover .sft-use-card__link svg { transform: translateX(4px); }


/* ============================================================
   15. SFT — PRIS-SEKTION + PRICE EXAMPLE
   ============================================================ */
.sft-price { padding: 140px 0; background: var(--sft-ink); color: #fff; }
.sft-price__inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: center;
}
.sft-price h2 { color: #fff; }
.sft-price__inner > div:first-child p { color: rgba(255,255,255,.88); font-size: 1.08rem; }

.sft-price__card {
  background: #fff;
  color: var(--sft-ink);
  border-radius: var(--sft-radius-xl);
  padding: 48px;
}
.sft-price__card-eyebrow {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--sft-green-dark);
  margin: 0 0 16px;
}
.sft-price__card h3 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}
.sft-price__card-sub { color: var(--sft-ink-soft); margin: 0 0 32px; font-size: 1rem; }

.sft-price__factors {
  list-style: none;
  padding: 28px 0 0;
  margin: 0 0 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 32px;
  border-top: 1px solid var(--sft-border);
}
.sft-price__factors li {
  font-size: .96rem;
  color: var(--sft-ink-soft);
  display: flex;
  align-items: center;
  gap: 10px;
}
.sft-price__factors li svg { width: 16px; height: 16px; color: var(--sft-green); flex-shrink: 0; }

.sft-price__rot {
  background: var(--sft-green-mist);
  border-radius: var(--sft-radius-md);
  padding: 22px 24px;
  margin: 0 0 28px;
}
.sft-price__rot strong {
  display: block;
  color: var(--sft-green-dark);
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.sft-price__rot p { margin: 0; font-size: .95rem; color: var(--sft-ink); line-height: 1.5; }

/* Price example panel (full standalone for /fasadtvatt-pris/) */
.sft-price-example {
  background: #fff;
  border-radius: var(--sft-radius-xl);
  padding: 56px;
  margin: 48px auto;
  max-width: 920px;
  box-shadow: var(--sft-shadow);
}
.sft-price-example__head {
  display: flex;
  justify-content: space-between;
  align-items: start;
  flex-wrap: wrap;
  gap: 16px;
  border-bottom: 1px solid var(--sft-border);
  padding-bottom: 28px;
  margin-bottom: 28px;
}
.sft-price-example__title { font-size: 1.4rem; margin: 0; }
.sft-price-example__tag {
  padding: 6px 14px;
  background: var(--sft-green-mist);
  color: var(--sft-green-dark);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
}
.sft-price-example__rows { display: grid; gap: 14px; }
.sft-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--sft-border);
  font-size: 1rem;
}
.sft-price-row--total { padding-top: 20px; font-size: 1.15rem; font-weight: 700; border-bottom: 0; }
.sft-price-row--total .sft-price-row__value { color: var(--sft-green-dark); font-size: 1.4rem; }
.sft-price-row--discount .sft-price-row__value { color: var(--sft-green); }
.sft-price-row__label { color: var(--sft-ink-soft); }
.sft-price-row__value { color: var(--sft-ink); font-weight: 600; }
.sft-price-example__note {
  margin-top: 24px;
  padding: 16px 20px;
  background: var(--sft-cream);
  border-radius: var(--sft-radius-md);
  font-size: .92rem;
  color: var(--sft-ink-soft);
}


/* ============================================================
   16. SFT — COMPARISON TABLE (metod-sidan)
   ============================================================ */
.sft-compare {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  background: #fff;
  border: 1px solid var(--sft-border);
  border-radius: var(--sft-radius-lg);
  overflow: hidden;
  margin: 40px 0;
}
.sft-compare__header {
  padding: 24px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.005em;
  border-bottom: 2px solid var(--sft-border);
}
.sft-compare__header--criteria {
  background: var(--sft-cream);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 11px;
  color: var(--sft-ink-mute);
}
.sft-compare__header--alt { background: var(--sft-cream); color: var(--sft-ink-soft); }
.sft-compare__header--sakon {
  background: var(--sft-green-mist);
  color: var(--sft-green-dark);
  position: relative;
}
.sft-compare__header--sakon::before {
  content: "✓ SAKON";
  position: absolute;
  top: -10px; left: 24px;
  background: var(--sft-green);
  color: #fff;
  font-size: 10px;
  padding: 4px 10px;
  border-radius: 100px;
  letter-spacing: 0.1em;
}
.sft-compare__cell {
  padding: 20px 24px;
  border-bottom: 1px solid var(--sft-border);
  font-size: .96rem;
  line-height: 1.5;
}
.sft-compare__cell--criteria {
  font-weight: 600;
  color: var(--sft-ink);
  background: var(--sft-cream);
  font-size: .94rem;
}
.sft-compare__cell--alt { color: var(--sft-ink-soft); background: var(--sft-cream); opacity: 0.92; }
.sft-compare__cell--sakon { color: var(--sft-ink); background: var(--sft-green-mist); font-weight: 500; }
.sft-compare__cell:last-child,
.sft-compare__cell:nth-last-child(2),
.sft-compare__cell:nth-last-child(3) { border-bottom: 0; }


/* ============================================================
   17. SFT — FACTOR GRID (pris, materialsidor)
   ============================================================ */
.sft-factor-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.sft-factor-card {
  background: #fff;
  border: 1px solid var(--sft-border);
  border-radius: var(--sft-radius-lg);
  padding: 32px 28px;
  transition: border-color .2s ease, transform .2s ease;
}
.sft-factor-card:hover {
  border-color: var(--sft-green-light);
  transform: translateY(-3px);
  box-shadow: var(--sft-shadow);
}
.sft-factor-card__num {
  font-size: 12px;
  letter-spacing: 0.15em;
  font-weight: 700;
  color: var(--sft-green-dark);
  margin: 0 0 16px;
}
.sft-factor-card h3 { font-size: 1.15rem; margin: 0 0 12px; }
.sft-factor-card p { font-size: .96rem; color: var(--sft-ink-soft); margin: 0; line-height: 1.55; }


/* ============================================================
   18. SFT — PROCESS STEPPER
   ============================================================ */
.sft-process__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.sft-process__grid::before {
  content: "";
  position: absolute;
  top: 36px;
  left: 8%;
  right: 8%;
  height: 1px;
  background: var(--sft-border-strong);
  z-index: 0;
}
.sft-process__step { padding: 0 16px; position: relative; z-index: 1; }
.sft-process__step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px; height: 72px;
  background: #fff;
  border: 2px solid var(--sft-green);
  border-radius: 50%;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--sft-green-dark);
  margin: 0 auto 28px;
  letter-spacing: -0.02em;
}
.sft-process__step:first-child .sft-process__step-num { background: var(--sft-green); color: #fff; }
.sft-process__step h3 { font-size: 1.1rem; margin: 0 0 8px; text-align: center; }
.sft-process__step p { font-size: .94rem; color: var(--sft-ink-soft); margin: 0; text-align: center; line-height: 1.5; }


/* ============================================================
   19. SFT — COVERAGE (städer)
   ============================================================ */
.sft-coverage__cities {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--sft-border);
  border: 1px solid var(--sft-border);
  border-radius: var(--sft-radius-md);
  overflow: hidden;
}
.sft-city-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px;
  background: #fff;
  color: var(--sft-ink) !important;
  font-weight: 650;
  font-size: 1rem;
  text-decoration: none !important;
  transition: background .15s ease, color .15s ease;
  letter-spacing: -0.01em;
}
.sft-city-link:hover { background: var(--sft-green-mist); color: var(--sft-green-dark) !important; }
.sft-city-link svg {
  width: 14px; height: 14px;
  color: var(--sft-ink-mute);
  transition: transform .2s ease, color .2s ease;
}
.sft-city-link:hover svg { transform: translateX(4px); color: var(--sft-green-dark); }
.sft-coverage__note { margin-top: 28px; font-size: .95rem; color: var(--sft-ink-soft); text-align: center; }


/* ============================================================
   20. SFT — FAQ ACCORDION
   ============================================================ */
.sft-faq__inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 100px;
  align-items: start;
}
.sft-faq__head { position: sticky; top: 100px; }
.sft-faq__head h2 { margin-bottom: 16px; }
.sft-faq__head p { margin-bottom: 32px; }

.sft-faq__list { display: flex; flex-direction: column; }
.sft-faq__item { border-bottom: 1px solid var(--sft-border-strong); }
.sft-faq__item:first-child { border-top: 1px solid var(--sft-border-strong); }

.sft-faq__q {
  width: 100%;
  background: transparent;
  border: 0;
  padding: 28px 0;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  font-weight: 650;
  color: var(--sft-ink);
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  font-family: inherit;
  line-height: 1.4;
  letter-spacing: -0.01em;
}
.sft-faq__q:hover { color: var(--sft-green-dark); }

.sft-faq__icon {
  width: 32px; height: 32px;
  flex-shrink: 0;
  transition: transform .3s ease, background .2s ease;
  border: 1px solid var(--sft-border-strong);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sft-ink);
}
.sft-faq__icon svg { width: 14px; height: 14px; }
.sft-faq__item[data-open="true"] .sft-faq__icon {
  transform: rotate(45deg);
  background: var(--sft-green);
  border-color: var(--sft-green);
  color: #fff;
}
.sft-faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
}
.sft-faq__item[data-open="true"] .sft-faq__a { max-height: 800px; padding-bottom: 28px; }
.sft-faq__a p { font-size: 1rem; color: var(--sft-ink-soft); margin: 0 0 1em; line-height: 1.65; max-width: 640px; }
.sft-faq__a p:last-child { margin-bottom: 0; }
.sft-faq__a strong { color: var(--sft-ink); }


/* ============================================================
   21. SFT — CONTACT PAGE (form + sticky card)
   ============================================================ */
.sft-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}
.sft-contact-card {
  background: var(--sft-cream);
  border-radius: var(--sft-radius-xl);
  padding: 40px;
  position: sticky;
  top: 100px;
}
.sft-contact-card h3 { font-size: 1.2rem; margin: 0 0 24px; }
.sft-contact-card dl { display: flex; flex-direction: column; gap: 22px; margin: 0; }
.sft-contact-card dt {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--sft-green-dark);
  margin: 0 0 6px;
}
.sft-contact-card dd { margin: 0; color: var(--sft-ink); font-size: 1rem; line-height: 1.5; }
.sft-contact-card dd a { color: var(--sft-ink) !important; font-weight: 600; }
.sft-contact-card dd a:hover { color: var(--sft-green-dark) !important; }

.sft-form-wrap {
  background: #fff;
  border: 1px solid var(--sft-border);
  border-radius: var(--sft-radius-xl);
  padding: 48px;
}
.sft-form-wrap h2 { font-size: clamp(1.6rem, 2.4vw, 2rem); margin: 0 0 12px; }
.sft-form-wrap > p { margin-bottom: 32px; }


/* ============================================================
   22. SFT — VALUE GRID (om-oss)
   ============================================================ */
.sft-value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 56px;
}
.sft-value { padding: 0; }
.sft-value__icon {
  width: 56px; height: 56px;
  background: var(--sft-green-mist);
  color: var(--sft-green-dark);
  border-radius: var(--sft-radius-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}
.sft-value__icon svg { width: 28px; height: 28px; }
.sft-value h3 { margin: 0 0 12px; }
.sft-value p { font-size: 1rem; margin: 0; line-height: 1.6; }


/* ============================================================
   23. SFT — FINAL CTA
   ============================================================ */
.sft-cta-final {
  position: relative;
  padding: 140px 0;
  background: var(--sft-green-deep);
  color: #fff;
  overflow: hidden;
}
.sft-cta-final::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(15,53,3,.96) 0%, rgba(15,53,3,.92) 40%, rgba(31,80,9,.88) 100%),
    url('/wp-content/uploads/sft/cta-bakgrund.webp') center/cover no-repeat;
}
.sft-cta-final::after {
  content: "";
  position: absolute;
  top: -100px; left: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(180,229,143,.25), transparent 70%);
  pointer-events: none;
}
.sft-cta-final__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 80px;
  align-items: center;
  z-index: 1;
}
.sft-cta-final h2 {
  color: #fff;
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  margin: 0 0 24px;
  letter-spacing: -0.03em;
  line-height: 1.05;
}
.sft-cta-final h2 em { font-style: normal; color: #d4f0bd; }
.sft-cta-final__lead {
  color: rgba(255,255,255,.95) !important;
  font-size: 1.15rem;
  margin: 0 0 36px;
  max-width: 520px;
}
.sft-cta-final__buttons { display: flex; gap: 14px; flex-wrap: wrap; }
.sft-cta-final__contact {
  background: rgba(255,255,255,.05);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--sft-radius-xl);
  padding: 40px;
}
.sft-cta-final__contact-eyebrow {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 700;
  color: #d4f0bd !important;
  margin: 0 0 24px;
}
.sft-cta-final__contact dl { margin: 0; display: flex; flex-direction: column; gap: 24px; }
.sft-cta-final__contact dt {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #d4f0bd;
  font-weight: 700;
  margin-bottom: 6px;
}
.sft-cta-final__contact dd { margin: 0; color: #fff; font-size: 1.05rem; font-weight: 500; }
.sft-cta-final__contact dd a { color: #fff !important; text-decoration: none; }
.sft-cta-final__contact dd a:hover { color: #d4f0bd !important; }


/* ============================================================
   24. FULL-BLEED-UTBRYTNING
   .sft-home och .sft-page bryter ut till full bredd
   även när de ligger i en trång container.
   ============================================================ */
.entry-content .sft-home,
.entry-content .sft-page,
.page-content .sft-home,
.page-content .sft-page {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}


/* ============================================================
   25. RESPONSIVE — max-width: 1100px
   ============================================================ */
@media (max-width: 1100px) {
  .post-grid { grid-template-columns: repeat(2, 1fr); }

  /* SFT komponenter */
  .sft-hero__grid { grid-template-columns: 1fr; gap: 56px; }
  .sft-hero__visual { max-width: 480px; margin: 0 auto; }
  /* Materialgrid behåller 3 kolumner på tablet — 2 kolumner med 3 kort
     skulle ge en ensam orphan på rad 2. På riktigt liten skärm går
     gridden till 1 kolumn (se @760px-blocket nedan). */
  .sft-mat-card--wide,
  .sft-mat-card--narrow,
  .sft-mat-card--third { grid-column: span 1; aspect-ratio: 4 / 5; }

  .sft-method__grid { grid-template-columns: 1fr; gap: 48px; }
  .sft-method__visual { position: static; }
  .sft-uses__grid { grid-template-columns: repeat(2, 1fr); }
  .sft-price__inner { grid-template-columns: 1fr; gap: 48px; }
  .sft-process__grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .sft-process__grid::before { display: none; }
  .sft-coverage__head,
  .sft-materials__head { grid-template-columns: 1fr; gap: 24px; align-items: start; }
  .sft-coverage__cities { grid-template-columns: repeat(2, 1fr); }
  .sft-faq__inner { grid-template-columns: 1fr; gap: 40px; }
  .sft-faq__head { position: static; }
  .sft-cta-final__inner { grid-template-columns: 1fr; gap: 48px; }

  /* Undersidor */
  .sft-split,
  .sft-split--text-image,
  .sft-split--equal { grid-template-columns: 1fr; gap: 48px; }
  .sft-split__visual { max-width: 560px; }
  .sft-factor-grid { grid-template-columns: repeat(2, 1fr); }
  .sft-value-grid { grid-template-columns: repeat(2, 1fr); }
  .sft-compare { grid-template-columns: 1fr; }
  .sft-compare__header { font-size: 13px; }
  .sft-contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .sft-contact-card { position: static; }
}


/* ============================================================
   26. RESPONSIVE — max-width: 760px (mobil)
   ============================================================ */
@media (max-width: 760px) {
  /* Theme nav */
  .menu-toggle { display: inline-flex; }
  .primary-nav {
    display: none;
    position: absolute;
    left: 0; right: 0;
    top: 78px;
    background: #fff;
    border-bottom: 1px solid var(--sakon-border);
    padding: 18px 20px;
  }
  .primary-nav.is-open { display: block; }
  .primary-nav .menu { display: grid; gap: 12px; }
  .footer-grid,
  .footer-bottom { grid-template-columns: 1fr; display: grid; }
  .footer-bottom { justify-content: start; }
  .post-grid { grid-template-columns: 1fr; }

  /* SFT */
  .sft-home, .sft-page { font-size: 16px; }
  .sft-container { padding: 0 20px; }
  .sft-hero { padding: 64px 0 56px; }
  .sft-sub-hero { padding: 56px 0 64px; }
  .sft-section,
  .sft-materials,
  .sft-method,
  .sft-uses,
  .sft-price,
  .sft-process,
  .sft-coverage,
  .sft-faq,
  .sft-cta-final { padding: 72px 0; }

  .sft-hero__stats { grid-template-columns: 1fr; gap: 24px; }
  .sft-materials__grid,
  .sft-uses__grid,
  .sft-coverage__cities,
  .sft-process__grid { grid-template-columns: 1fr; }

  .sft-trust__grid { gap: 16px; }
  .sft-trust__item { width: 100%; font-size: 13px; }

  .sft-price__card { padding: 32px 24px; }
  .sft-price__factors { grid-template-columns: 1fr; }
  .sft-price-example { padding: 32px 24px; }
  .sft-cta-final__contact { padding: 28px; }
  .sft-method__visual-grid { grid-template-columns: 1fr; }
  .sft-method__quote { padding: 24px; margin: 28px 0; }
  .sft-btn { width: 100%; justify-content: center; }
  .sft-hero__visual-badge { left: 16px; right: 16px; bottom: 16px; }

  /* Undersidor */
  .sft-factor-grid,
  .sft-value-grid { grid-template-columns: 1fr; }
  .sft-form-wrap { padding: 32px 24px; }
  .sft-contact-card { padding: 28px; }
}

/* ============================================================
   27. HEADER — Floating contained pill (v1.4.0)
   ============================================================ */

.sft-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 28px 20px 18px;
  background: transparent;
  pointer-events: none;
  transition: padding 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.sft-header.is-scrolled {
  padding: 22px 16px 16px;
}

.sft-header__inner {
  pointer-events: auto;
  max-width: 1280px;
  margin: 0 auto;
  padding: 16px 26px;
  display: flex;
  align-items: center;
  gap: 32px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 999px;
  box-shadow:
    0 6px 24px rgba(0, 0, 0, 0.06),
    0 1px 3px rgba(0, 0, 0, 0.04);
  transition:
    padding 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    background 0.3s ease,
    box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    border-color 0.3s ease;
}

.sft-header.is-scrolled .sft-header__inner {
  padding: 12px 24px;
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow:
    0 12px 36px rgba(0, 0, 0, 0.1),
    0 2px 6px rgba(0, 0, 0, 0.05);
}

/* Brand */
.sft-header__brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.sft-header__brand .custom-logo {
  max-height: 44px;
  width: auto;
}
.sft-header__logotext {
  font-size: 1.22rem;
  letter-spacing: -0.01em;
  line-height: 1.3;
  display: flex;
  align-items: center;
  gap: 9px;
  white-space: nowrap;
}
.sft-header__logo-img {
  height: 34px;
  width: auto;
  display: block;
}
.sft-header__logotext strong {
  color: #1a1a1a;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.sft-header__logotext em {
  color: #1a1a1a;
  font-style: italic;
  font-weight: 500;
}

/* Desktop nav */
.sft-header__nav {
  flex: 1;
  display: flex;
  justify-content: center;
}
.sft-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 8px;
  align-items: center;
}
.sft-nav > li > a,
.sft-nav__trigger {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  color: #1a1a1a;
  font-size: 0.96rem;
  font-weight: 500;
  text-decoration: none;
  letter-spacing: -0.005em;
  border-radius: 8px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: color 0.2s ease, background 0.2s ease;
  position: relative;
}
.sft-nav > li > a:hover,
.sft-nav__trigger:hover,
.sft-nav__trigger[aria-expanded="true"] {
  color: #317A12;
  background: rgba(49, 122, 18, 0.06);
}
.sft-nav__trigger svg {
  width: 14px;
  height: 14px;
  transition: transform 0.25s ease;
}
.sft-nav__trigger[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

/* Dropdown */
.sft-nav__has-dropdown {
  position: relative;
}
.sft-dropdown {
  position: absolute;
  top: calc(100% + 22px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  min-width: 580px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.05);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s 0.25s;
}
.sft-nav__has-dropdown.is-open .sft-dropdown,
.sft-nav__has-dropdown:hover .sft-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s;
}
/* Invisible bridge to prevent dropdown closing when moving mouse */
.sft-dropdown::before {
  content: '';
  position: absolute;
  top: -22px;
  left: 0;
  right: 0;
  height: 22px;
}
.sft-dropdown__inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0;
  padding: 24px;
}
/* Orter-variant: bred, kompakt rutnät av ortnamn */
.sft-dropdown--orter {
  min-width: 480px;
}
.sft-dropdown--orter .sft-dropdown__inner {
  display: block;
  padding: 24px 28px;
}
.sft-dropdown--orter .sft-dropdown__label {
  margin-bottom: 16px;
}
.sft-dropdown__orter-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px 12px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.sft-dropdown__orter-grid li { margin: 0; }
.sft-dropdown__orter-grid a {
  display: block;
  padding: 9px 12px;
  border-radius: 10px;
  text-decoration: none;
  color: var(--sft-ink, #1a1a1a);
  font-weight: 500;
  font-size: 0.95rem;
  transition: background 0.15s ease, color 0.15s ease;
}
.sft-dropdown__orter-grid a:hover {
  background: var(--sft-green-mist, #eef6ea);
  color: var(--sft-green, #317A12);
}
.sft-dropdown__col {
  padding: 0 20px;
}
.sft-dropdown__col + .sft-dropdown__col {
  border-left: 1px solid rgba(0, 0, 0, 0.06);
}
.sft-dropdown__label {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 700;
  color: #255f0e;
  margin: 0 0 12px;
}
.sft-dropdown__col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.sft-dropdown__col li {
  margin: 0;
}
.sft-dropdown__col a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  text-decoration: none;
  color: #1a1a1a;
  transition: background 0.15s ease;
}
.sft-dropdown__col a:hover {
  background: rgba(49, 122, 18, 0.06);
}
.sft-dropdown__col a span {
  display: block;
  font-weight: 600;
  font-size: 0.96rem;
  margin-bottom: 2px;
  color: #1a1a1a;
}
.sft-dropdown__col a:hover span {
  color: #317A12;
}
.sft-dropdown__col a small {
  display: block;
  font-size: 0.82rem;
  color: #666;
  line-height: 1.4;
}

/* Right side: phone + CTA */
.sft-header__actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.sft-header__phone {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #1a1a1a;
  font-size: 0.94rem;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: -0.005em;
  transition: color 0.2s ease;
}
.sft-header__phone svg {
  width: 16px;
  height: 16px;
  color: #317A12;
}
.sft-header__phone:hover {
  color: #317A12;
}
.sft-header__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 11px 20px;
  background: #317A12;
  color: #fff;
  font-size: 0.94rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 999px;
  letter-spacing: -0.005em;
  box-shadow: 0 4px 14px rgba(49, 122, 18, 0.25);
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}
.sft-header__cta:hover {
  background: #255f0e;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(49, 122, 18, 0.35);
}
.sft-header__cta svg {
  width: 14px;
  height: 14px;
}

/* Hamburger - hidden on desktop */
.sft-header__hamburger {
  display: none;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  width: 44px;
  height: 44px;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  flex-shrink: 0;
}
.sft-header__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #1a1a1a;
  border-radius: 1px;
  transition: transform 0.3s ease, opacity 0.2s ease;
  margin: 0 auto;
}
.sft-header__hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.sft-header__hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.sft-header__hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Mobile drawer */
.sft-mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 200;
  visibility: hidden;
  pointer-events: none;
}
.sft-mobile-nav.is-open {
  visibility: visible;
  pointer-events: auto;
}
.sft-mobile-nav__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.sft-mobile-nav.is-open .sft-mobile-nav__overlay {
  opacity: 1;
}
.sft-mobile-nav__panel {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: min(420px, 92%);
  background: #fff;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
}
.sft-mobile-nav.is-open .sft-mobile-nav__panel {
  transform: translateX(0);
}
.sft-mobile-nav__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.sft-mobile-nav__logotext {
  font-size: 1.1rem;
  display: flex;
  gap: 6px;
  align-items: baseline;
}
.sft-mobile-nav__logotext strong {
  color: #1a1a1a;
  font-weight: 800;
}
.sft-mobile-nav__logotext em {
  color: #1a1a1a;
  font-style: italic;
}
.sft-mobile-nav__close {
  width: 40px;
  height: 40px;
  border: none;
  background: rgba(0, 0, 0, 0.04);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1a1a1a;
  transition: background 0.2s ease;
}
.sft-mobile-nav__close:hover {
  background: rgba(0, 0, 0, 0.08);
}
.sft-mobile-nav__close svg {
  width: 22px;
  height: 22px;
}
.sft-mobile-nav__list {
  list-style: none;
  margin: 0;
  padding: 16px 0;
  flex: 1;
}
.sft-mobile-nav__list > li {
  margin: 0;
}
.sft-mobile-nav__list > li > a,
.sft-mobile-nav__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 14px 24px;
  color: #1a1a1a;
  font-size: 1.02rem;
  font-weight: 500;
  text-decoration: none;
  background: none;
  border: none;
  font-family: inherit;
  cursor: pointer;
  text-align: left;
  transition: background 0.15s ease;
}
.sft-mobile-nav__list > li > a:hover,
.sft-mobile-nav__toggle:hover {
  background: rgba(49, 122, 18, 0.04);
}
.sft-mobile-nav__toggle svg {
  width: 16px;
  height: 16px;
  color: #666;
  transition: transform 0.25s ease;
}
.sft-mobile-nav__toggle[aria-expanded="true"] svg {
  transform: rotate(180deg);
}
.sft-mobile-nav__sub {
  list-style: none;
  margin: 0;
  padding: 4px 0 12px;
  background: rgba(0, 0, 0, 0.02);
}
.sft-mobile-nav__sub li {
  margin: 0;
}
.sft-mobile-nav__sub a {
  display: block;
  padding: 11px 24px 11px 40px;
  color: #333;
  font-size: 0.95rem;
  text-decoration: none;
  transition: color 0.15s ease;
}
.sft-mobile-nav__sub a:hover {
  color: #317A12;
}
.sft-mobile-nav__sublabel {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 700;
  color: #255f0e;
  padding: 16px 24px 8px;
}
.sft-mobile-nav__sublabel:first-child {
  padding-top: 8px;
}
.sft-mobile-nav__cta {
  padding: 20px 24px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.sft-mobile-nav__phone {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px;
  color: #1a1a1a;
  font-weight: 600;
  text-decoration: none;
  border: 1.5px solid rgba(0, 0, 0, 0.12);
  border-radius: 999px;
  transition: border-color 0.2s ease;
}
.sft-mobile-nav__phone:hover {
  border-color: #317A12;
  color: #317A12;
}
.sft-mobile-nav__phone svg {
  width: 16px;
  height: 16px;
  color: #317A12;
}
.sft-mobile-nav__cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 14px;
  background: #317A12;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(49, 122, 18, 0.25);
  transition: background 0.2s ease;
}
.sft-mobile-nav__cta-btn:hover {
  background: #255f0e;
}
.sft-mobile-nav__cta-btn svg {
  width: 14px;
  height: 14px;
}

/* Lock body scroll when mobile nav open */
body.sft-no-scroll {
  overflow: hidden;
}

/* ============================================================
   28. FOOTER — Modern multi-column footer (v1.3.0)
   ============================================================ */

.sft-footer {
  background: #0f1410;
  color: #c5cfc8;
  position: relative;
}
.sft-footer__container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}
.sft-footer__main {
  padding: 72px 0 56px;
  position: relative;
}
.sft-footer__main::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(86, 171, 51, 0.3), transparent);
}
.sft-footer__main .sft-footer__container {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 48px;
}

/* Brand col */
.sft-footer__brand-logo {
  display: flex;
  align-items: baseline;
  gap: 8px;
  text-decoration: none;
  margin-bottom: 20px;
}
.sft-footer__brand-logo strong {
  color: #fff;
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: 0.02em;
}
.sft-footer__brand-logo em {
  color: #56ab33;
  font-style: italic;
  font-size: 1.2rem;
  font-weight: 500;
}
.sft-footer__tagline {
  color: #c5cfc8;
  font-size: 0.96rem;
  line-height: 1.6;
  margin: 0 0 20px;
}
.sft-footer__parent {
  color: #8a948d;
  font-size: 0.86rem;
  line-height: 1.6;
  margin: 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.sft-footer__parent a {
  color: #c5cfc8;
  text-decoration: underline;
  text-decoration-color: rgba(197, 207, 200, 0.3);
  text-underline-offset: 3px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}
.sft-footer__parent a:hover {
  color: #56ab33;
  text-decoration-color: #56ab33;
}

/* Column headings */
.sft-footer__col h4 {
  color: #fff;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 22px;
}
.sft-footer__col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.sft-footer__col li {
  margin: 0 0 11px;
}
.sft-footer__col a {
  color: #c5cfc8;
  font-size: 0.94rem;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.15s ease;
  display: inline-block;
}
.sft-footer__col a:hover {
  color: #fff;
  transform: translateX(2px);
}

/* Contact col */
.sft-footer__contact {
  margin: 0;
}
.sft-footer__contact > div {
  margin: 0 0 18px;
}
.sft-footer__contact dt {
  color: #8a948d;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 4px;
}
.sft-footer__contact dd {
  margin: 0;
  color: #fff;
  font-size: 0.96rem;
  line-height: 1.55;
}
.sft-footer__contact dd a {
  color: #fff;
  text-decoration: none;
  transition: color 0.2s ease;
}
.sft-footer__contact dd a:hover {
  color: #56ab33;
}
.sft-footer__social {
  display: flex;
  gap: 10px;
  margin-top: 4px;
}
.sft-footer__social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c5cfc8;
  transition: background 0.2s ease, color 0.2s ease;
}
.sft-footer__social a:hover {
  background: #317A12;
  color: #fff;
}
.sft-footer__social svg {
  width: 18px;
  height: 18px;
}

/* Bottom row */
.sft-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 22px 0;
}
.sft-footer__bottom .sft-footer__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.sft-footer__copy {
  margin: 0;
  font-size: 0.86rem;
  color: #8a948d;
}
.sft-footer__legal {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 24px;
}
.sft-footer__legal a {
  color: #8a948d;
  font-size: 0.86rem;
  text-decoration: none;
  transition: color 0.2s ease;
}
.sft-footer__legal a:hover {
  color: #fff;
}

/* Sticky mobile CTA */
.sft-footer__sticky-cta {
  display: none;
  position: fixed;
  bottom: 16px;
  right: 16px;
  z-index: 90;
  padding: 14px 22px;
  background: #317A12;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(49, 122, 18, 0.45);
  align-items: center;
  gap: 8px;
  font-size: 0.96rem;
}
.sft-footer__sticky-cta svg {
  width: 18px;
  height: 18px;
}

/* ============================================================
   29. HEADER/FOOTER RESPONSIVE (v1.3.0)
   ============================================================ */

@media (max-width: 1080px) {
  .sft-header {
    padding: 14px 18px;
  }
  .sft-header.is-scrolled {
    padding: 10px 14px;
  }
  .sft-header__inner {
    padding: 12px 22px;
    gap: 24px;
  }
  .sft-header__phone span {
    display: none;
  }
  .sft-header__phone {
    width: 40px;
    height: 40px;
    justify-content: center;
    border: 1.5px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
  }
  .sft-header__cta {
    padding: 10px 16px;
    font-size: 0.9rem;
  }
}

@media (max-width: 900px) {
  .sft-header {
    padding: 12px 14px;
  }
  .sft-header.is-scrolled {
    padding: 8px 12px;
  }
  .sft-header__inner {
    padding: 10px 18px;
    gap: 16px;
    border-radius: 22px;
  }
  .sft-header__nav,
  .sft-header__phone,
  .sft-header__cta {
    display: none;
  }
  .sft-header__hamburger {
    display: flex;
    margin-left: auto;
  }
  .sft-footer__main {
    padding: 56px 0 40px;
  }
  .sft-footer__main .sft-footer__container {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  .sft-footer__brand {
    grid-column: 1 / -1;
  }
  .sft-footer__sticky-cta {
    display: inline-flex;
  }
}

@media (max-width: 560px) {
  .sft-header {
    padding: 10px 12px;
  }
  .sft-header.is-scrolled {
    padding: 8px 10px;
  }
  .sft-header__inner {
    padding: 8px 14px;
    border-radius: 18px;
  }
  .sft-header__logotext {
    font-size: 1.06rem;
  }
  .sft-footer__container {
    padding: 0 20px;
  }
  .sft-footer__main .sft-footer__container {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .sft-footer__bottom .sft-footer__container {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .sft-footer__sticky-cta {
    bottom: 12px;
    right: 12px;
    padding: 12px 18px;
    font-size: 0.9rem;
  }
}

/* ============================================================
   30. MOBILE INLINE OVERRIDES — Fix inline styles on small screens (v1.4.5)
   ------------------------------------------------------------
   Inline styles have higher specificity than classes, so we use
   attribute selectors with !important to override them on mobile.

   Three-stage breakpoint strategy:
   - At ≤900px (tablet/iPad portrait): 3/4-col grids → 2 cols
   - At ≤760px (small tablet/large phone): all grids → 1 col
   - At ≤480px (small phone): tighter inline paddings
   ============================================================ */

@media (max-width: 900px) {

  /* Tablet: 3- and 4-column inline grids → 2 columns */
  [style*="grid-template-columns: repeat(3"],
  [style*="grid-template-columns: repeat(4"] {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 24px !important;
  }

  /* Inline gaps that are too large for tablet */
  .sft-split[style*="gap: 60px"],
  .sft-split[style*="gap: 80px"] {
    gap: 48px !important;
  }
}

@media (max-width: 760px) {

  /* Collapse inline 3- and 4-column grids to single column */
  [style*="grid-template-columns: repeat(3"],
  [style*="grid-template-columns: repeat(4"],
  [style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  /* 2-column grids: keep 2 columns but tighten gap */
  [style*="grid-template-columns: repeat(2"] {
    gap: 20px !important;
  }

  /* Inline gaps that are too large for mobile */
  .sft-split[style*="gap: 60px"],
  .sft-split[style*="gap: 80px"] {
    gap: 40px !important;
  }

  /* Inline section paddings 80px+ → reduce */
  [style*="padding: 80px 0"] {
    padding: 48px 0 40px !important;
  }

  /* Materials section featured card — adjust aspect ratio so it doesn't get too tall */
  .sft-mat-card[style*="aspect-ratio: 4 / 5"] {
    aspect-ratio: 16 / 11 !important;
  }

  /* Use cases / commercial split images keep reasonable aspect */
  .sft-split__visual[style*="aspect-ratio: 4 / 3"] {
    aspect-ratio: 4 / 3 !important;
    max-width: 100%;
  }

  /* Flex CTAs on service pages should stack centered */
  [style*="display: flex; gap: 14px; flex-wrap: wrap; margin-top: 24px"] {
    width: 100%;
  }
}

@media (max-width: 480px) {

  /* Tighter padding inside forms and cards on small phones */
  [style*="padding: 48px 32px"],
  [style*="padding: 40px 36px"],
  [style*="padding: 40px"] {
    padding: 28px 20px !important;
  }

  /* Tighter inner padding for cards */
  [style*="padding: 32px"]:not([class*="sft-section"]) {
    padding: 22px !important;
  }
}
