/* =====================================================
   SELF-HOSTED FONTS
===================================================== */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('../fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('../fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/plus-jakarta-sans-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/plus-jakarta-sans-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* =====================================================
   DESIGN TOKENS
===================================================== */
:root {
  --color-primary:        #2e7d32;
  --color-primary-hover:  #388e3c;
  --color-primary-soft:   #dcfce7;
  --color-accent:         #2563eb;
  --color-bg-white:       #ffffff;
  --color-bg-subtle:      #f8fafc;
  --color-bg-cream:       #faf6f1;
  --color-text-header:    #0f172a;
  --color-text-body:      #475569;
  --color-text-muted:     #5d6b7e;
  --color-border:         #e2e8f0;
  --color-border-soft:    #eef2f7;
  --color-star:           #f59e0b;
  --radius-standard:      0.5rem;
  --radius-pill:          999px;
  --shadow-soft:          0 1px 2px rgba(0,0,0,0.05);
  --shadow-card:          0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-hero-form:     0 10px 30px rgba(15, 23, 42, 0.08);
  --max-width:            1200px;
  --header-height:        68px;
}

/* =====================================================
   BASE
===================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text-body);
  background: var(--color-bg-white);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  color: var(--color-text-header);
  line-height: 1.2;
}
a   { color: inherit; text-decoration: none; }

.prose-stack a:not(.btn),
.seo-text-block a:not(.btn),
.text-lead a:not(.btn),
.customer-story a:not(.btn),
.feature-row-text a:not(.btn),
.feature-tool a:not(.btn),
.partner-description a:not(.btn) {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
}
.prose-stack a:not(.btn):hover,
.seo-text-block a:not(.btn):hover,
.text-lead a:not(.btn):hover,
.customer-story a:not(.btn):hover,
.feature-row-text a:not(.btn):hover,
.feature-tool a:not(.btn):hover,
.partner-description a:not(.btn):hover {
  text-decoration-thickness: 2px;
}
img { display: block; max-width: 100%; height: auto; }
ul, ol { list-style: none; }
button { font-family: inherit; }

.container {
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

/* =====================================================
   BUTTON
===================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.625rem 1.25rem;
  border-radius: var(--radius-standard);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 0.9375rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 2px 8px rgba(46, 125, 50, 0.25);
}
.btn-primary:hover {
  background: var(--color-primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(46, 125, 50, 0.22);
}
.btn-primary:hover .btn-arrow {
  transform: translateX(2px);
}
.btn-sm  { padding: 0.5rem 1rem; font-size: 0.875rem; }
.btn-lg  { padding: 0.875rem 1.5rem; font-size: 0.9375rem; }
.btn-pill { border-radius: var(--radius-pill); }
.btn-arrow { width: 14px; height: 14px; transition: transform 0.2s ease; }
.btn-sm .btn-arrow { width: 12px; height: 12px; }
.btn-lg .btn-arrow { width: 16px; height: 16px; }

/* =====================================================
   HEADER
===================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-bg-white);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: box-shadow 0.2s ease;
}
.site-header.scrolled {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.header-inner {
  height: var(--header-height);
  display: flex;
  align-items: center;
  gap: 2rem;
}

/* ── Logo ── */
.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}
.logo-text {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--color-text-header);
  letter-spacing: -0.01em;
}
.logo-tld { color: var(--color-primary); }
.logo-img { height: 2rem; width: auto; display: block; }
/* Nudge the header logo up to optically align its wordmark with the nav text */
.site-header .logo-img { transform: translateY(-4px); }
/* Footer uses the dark (inverted) logo variant on the dark background */
.footer-logo .logo-img { height: 1.75rem; }

/* ── Main nav ── */
.main-nav {
  display: flex;
  align-items: center;
  gap: 0.125rem;
  flex: 1;
}

.nav-item { position: relative; }

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-body);
  border-radius: var(--radius-standard);
  transition: background 0.15s ease, color 0.15s ease;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
  text-decoration: none;
}
.nav-link:hover,
.nav-has-dropdown.open > .nav-link {
  background: var(--color-bg-subtle);
  color: var(--color-text-header);
}

.nav-caret {
  width: 10px;
  height: 10px;
  opacity: 0.6;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.nav-has-dropdown.open > .nav-link .nav-caret {
  transform: rotate(180deg);
}

/* ── Dropdown ── */
.nav-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  background: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-standard);
  box-shadow: 0 4px 24px rgba(0,0,0,0.10);
  min-width: 180px;
  padding: 1.125rem 1.375rem 1.25rem;
  z-index: 300;
}
.nav-has-dropdown.open .nav-dropdown { display: block; }
.nav-dropdown a {
  display: block;
  padding: 0.25rem 0;
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--color-text-body);
  line-height: 1.4;
  text-decoration: none;
  transition: color 0.15s ease;
}
.nav-dropdown a:hover { color: var(--color-text-header); }
.nav-dropdown-all {
  border-top: 1px solid var(--color-border);
  margin-top: 0.25rem;
  padding-top: 0.625rem !important;
  color: var(--color-primary) !important;
  font-weight: 600 !important;
}

/* ── Header right ── */
.header-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
  margin-left: auto;
}
.header-right .btn-primary {
  padding: 0.625rem 1.125rem;
  font-size: 0.875rem;
  border-radius: 8px;
}
.nav-drawer-cta { display: none; }   /* shown only inside the mobile burger drawer */

/* Narrow phones: logo + header CTA + burger don't fit on one row and can't shrink
   (flex-shrink: 0), so they overflow the viewport. Hide the header CTA here and
   surface it inside the burger drawer instead (.nav-drawer-cta). */
@media (max-width: 480px) {
  .header-right .btn-primary { display: none; }
}
.header-link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-text-body);
  padding: 0.5rem 0.25rem;
  transition: color 0.15s ease;
  white-space: nowrap;
}
.header-link:hover { color: var(--color-text-header); }


/* ── Burger ── */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 4px;
  background: none;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
}
.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text-header);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Mega menu (multi-column card dropdown) ── */
.nav-mega {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  background: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-standard);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.10);
  padding: 1.125rem 1.375rem 1.25rem;
  z-index: 300;
}
.nav-has-dropdown.open .nav-mega { display: block; }

/* Desktop: hover + keyboard focus open panels without JS */
@media (hover: hover) and (pointer: fine) {
  .nav-has-dropdown:hover > .nav-dropdown,
  .nav-has-dropdown:hover > .nav-mega,
  .nav-has-dropdown:focus-within > .nav-dropdown,
  .nav-has-dropdown:focus-within > .nav-mega { display: block; }

  /* Invisible bridge fills the 6px gap between nav button and panel,
     keeping :hover alive while the mouse moves diagonally. */
  .nav-dropdown::before,
  .nav-mega::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 0;
    right: 0;
    height: 6px;
  }
}

.nav-mega-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  min-width: 600px;
}
.nav-mega-inner-2col {
  grid-template-columns: 1.4fr 1fr;
  gap: 1.5rem;
  min-width: 460px;
}
.nav-mega-inner-4col {
  grid-template-columns: repeat(3, 1fr) auto;
  gap: 1.25rem;
  min-width: 820px;
}
.nav-mega-inner-slim {
  grid-template-columns: 1fr;
  min-width: 180px;
}
.nav-mega-inner-hire {
  grid-template-columns: 1fr auto;
  gap: 1.5rem;
  min-width: 700px;
  align-items: start;
}
.nav-mega-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap: 1.5rem;
  row-gap: 0;
}
.nav-mega-col ul + .nav-mega-label {
  margin-top: 0.875rem;
}

/* Right-align dropdowns whose nav item sits on the right side of the bar,
   so the panel doesn't overflow the viewport. */
.nav-align-right .nav-dropdown,
.nav-align-right .nav-mega {
  left: auto;
  right: 0;
}

.nav-mega-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-mega-col li { margin: 0; }
.nav-mega-col a {
  display: block;
  padding: 0.25rem 0;
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--color-text-body);
  text-decoration: none;
  line-height: 1.4;
  transition: color 0.15s ease;
}
.nav-mega-col a:hover { color: var(--color-text-header); }

.nav-mega-label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin: 0 0 0.5rem;
}

.nav-mega-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 1.5rem;
}

.nav-mega-all {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
}
.nav-mega-all:hover { text-decoration: underline; }

/* ── Star highlight (Alla flyttfirmor, Få gratis offerter, Alla guider) ── */
.nav-star {
  font-weight: 700 !important;
  color: var(--color-primary) !important;
}

/* ── Promo column in megas (gray, consistent fixed size) ── */
.nav-mega-promo {
  align-self: start;
  width: 232px;
  background: var(--color-bg-subtle);
  border: 1px solid var(--color-border-soft);
  border-radius: var(--radius-standard);
  padding: 1rem 1rem 0.875rem;
}
.nav-mega-promo-label {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--color-text-header);
  margin-bottom: 0.375rem;
}
.nav-mega-promo-text {
  font-size: 0.8125rem;
  color: var(--color-text-body);
  line-height: 1.5;
  margin-bottom: 0.75rem;
}

/* ── Priser mega: two link columns + calculator promo ── */
.nav-mega-inner-pris {
  grid-template-columns: 1fr 1fr auto;
  gap: 1.75rem;
  min-width: 560px;
  align-items: start;
}


/* ── Divider inside dropdowns / mega columns ── */
.nav-divider {
  list-style: none;
  height: 1px;
  background: var(--color-border);
  margin: 0.5rem 0.75rem;
  border: 0;
  padding: 0;
}
.nav-mega-col .nav-divider { margin: 0.625rem 0; }

/* =====================================================
   HERO
===================================================== */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(255,255,255,0.8), transparent 45%),
    var(--color-bg-cream);
  padding: 4.5rem 0 5.5rem;
}

.hero-media {
  position: absolute;
  top: 0;
  right: max(0px, calc((100vw - 1200px) / 2));
  bottom: 0;
  width: 58%;
  overflow: hidden;
}
.hero-media::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    var(--color-bg-cream) 0%,
    rgba(250,246,241,0.92) 12%,
    rgba(250,246,241,0.45) 28%,
    transparent 42%
  );
  z-index: 1;
  pointer-events: none;
}
.hero-media::after {
  content: '';
  position: absolute;
  inset: 0 0 0 auto;
  width: 80px;
  background: linear-gradient(to left, var(--color-bg-cream) 0%, transparent 100%);
  z-index: 1;
  pointer-events: none;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  transform: scale(1.22);
  transform-origin: right center;
}

.hero-card {
  position: relative;
  z-index: 2;
  max-width: 490px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 1rem;
}
.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-primary);
  flex-shrink: 0;
}

.hero-google-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  margin-bottom: 1rem;
}
.google-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-text-muted);
  letter-spacing: 0.02em;
}
.google-stars {
  color: #FBBC05;
  letter-spacing: -1px;
  line-height: 1;
  font-size: 0.8125rem;
}
.google-rating {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-text-dark);
}

.h1-static {
  display: block;
  white-space: nowrap;
}

.hero-card h1 {
  font-size: clamp(1.625rem, 4vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
  color: var(--color-text-header);
}
/* ── Rotating H1 phrase ── */
.rotating-text {
  position: relative;
  display: inline-block;
  vertical-align: bottom;
  color: var(--color-primary);
}
.rt-clip {
  position: relative;
  display: inline-block;
  vertical-align: bottom;
  overflow: hidden;
}
/* Reserve the longest rotating phrase's width WITHOUT real H1 text — generated
   content isn't indexed, so the crawled H1 stays clean. */
.rt-clip::before {
  content: "hitta en trygg partner";
  display: inline-block;
  visibility: hidden;
  white-space: nowrap;
}
.rt-current {
  position: absolute;
  inset: 0 auto auto 0;
  white-space: nowrap;
  transform: translateY(0);
  opacity: 1;
  transition:
    transform 0.55s cubic-bezier(.22,.61,.36,1),
    opacity   0.45s ease;
  will-change: transform, opacity;
}
.rt-current.rt-enter { transform: translateY(100%); opacity: 0; }
.rt-current.rt-exit  { transform: translateY(-100%); opacity: 0; }

@media (max-width: 768px) {
  .rotating-text { display: block; }
}
@media (prefers-reduced-motion: reduce) {
  .rt-current { transition: opacity 0.2s ease; }
  .rt-current.rt-enter,
  .rt-current.rt-exit { transform: none; }
}

.hero-sub {
  font-size: 1.0625rem;
  color: var(--color-text-body);
  line-height: 1.65;
  margin-bottom: 1.75rem;
  max-width: 500px;
}

/* ── Two-input search form ── */
.hero-form-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.5rem;
  padding: 0.5rem;
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(17,24,39,0.06);
  border-radius: var(--radius-standard);
  box-shadow: 0 10px 30px rgba(15,23,42,0.05);
  margin-bottom: 1.25rem;
}

.form-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 0;
}
.form-icon {
  position: absolute;
  left: 0.75rem;
  width: 18px;
  height: 18px;
  color: var(--color-primary);
  pointer-events: none;
}
.hero-form-row input[type="text"] {
  width: 100%;
  height: 52px;
  padding: 0.75rem 0.875rem;
  border: 1px solid rgba(17,24,39,0.07);
  border-radius: var(--radius-standard);
  font-family: 'Inter', sans-serif;
  font-size: 0.9375rem;
  color: var(--color-text-header);
  background: var(--color-bg-white);
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.hero-form-row input[type="text"]::placeholder {
  color: var(--color-text-muted);
}
.hero-form-row input[type="text"]:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.1);
}

.hero-form-row .btn-primary {
  height: 52px;
  padding: 0 1.5rem;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(22,101,52,0.20);
  align-self: stretch;
}

/* ── Trust checkmarks row ── */
.trust-row {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
  opacity: 0.75;
}
.trust-row li {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--color-text-body);
  letter-spacing: -0.01em;
  line-height: 1.4;
  list-style: none;
}
.trust-row li svg {
  width: 15px;
  height: 15px;
  color: var(--color-text-muted);
  flex-shrink: 0;
  margin-top: 1px;
}
.hero .trust-row {
  max-width: 490px;
  position: relative;
  z-index: 2;
}

/* ── Social proof row ── */
.social-proof {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  padding: 1rem 0;
  border-top: 1px solid var(--color-border-soft);
  border-bottom: 1px solid var(--color-border-soft);
  margin-bottom: 1.25rem;
}
.sp-rating, .sp-customers {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}
.google-g {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}
.sp-rating-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  line-height: 1.2;
}
.tp-stars {
  font-size: 0.95rem;
  color: var(--color-star);
  letter-spacing: 0.05em;
  line-height: 1;
}
.sp-meta {
  font-size: 0.75rem;
  color: var(--color-text-body);
}
.avatar-stack {
  display: inline-flex;
  flex-shrink: 0;
}
.avatar-stack img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid var(--color-bg-cream);
  object-fit: cover;
}
.avatar-stack img + img { margin-left: -10px; }


/* =====================================================
   SECTION UTILITIES
===================================================== */
.section { padding: 5rem 0; }
.section-alt { background: var(--color-bg-subtle); }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
}
.section-header h2 {
  font-size: clamp(1.75rem, 2.5vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}
.section-sub {
  font-size: 1rem;
  color: var(--color-text-body);
  max-width: 560px;
  margin-inline: auto;
  line-height: 1.65;
}

/* =====================================================
   SECTION HEADER ROW (with side link)
===================================================== */
.section-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 2.25rem;
}
.section-head-row .section-eyebrow {
  margin-bottom: 0.5rem;
}
.section-head-row h2 {
  font-size: clamp(1.625rem, 2.25vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0;
}
.section-intro {
  max-width: 68ch;
  margin: -1.25rem 0 2.25rem;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--color-text-body);
}
.google-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text-body);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-standard);
  transition: background 0.15s ease;
}
.google-link:hover { background: var(--color-bg-subtle); }
.google-g-sm { width: 18px; height: 18px; }

/* =====================================================
   REVIEWS
===================================================== */
.reviews-section { padding: 4.5rem 0 4rem; }
/* Single-review variant: centred header + one centred testimonial */
.reviews-section--single .section-head-row { justify-content: center; text-align: center; }
.reviews-section--single .section-sub-left { margin-inline: auto; }
.reviews-section--single .reviews-grid { grid-template-columns: minmax(0, 620px); justify-content: center; }
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}
.reviews-carousel { position: relative; }

.reviews-track {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  /* allow shadow to extend below */
  padding-bottom: 0.5rem;
  margin-bottom: -0.5rem;
}
.reviews-track::-webkit-scrollbar { display: none; }
.reviews-track > .review-card {
  flex: 0 0 calc((100% - 1.25rem * 3) / 4);
  scroll-snap-align: start;
}
/* wider cards: show ~3 with the next peeking (desktop carousel affordance) */
@media (min-width: 1081px) {
  .reviews-track--peek > .review-card { flex: 0 0 30%; }
}

.review-card {
  background: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-standard);
  padding: 1.5rem 1.375rem;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  box-shadow: var(--shadow-soft);
}
.review-card .tp-stars {
  font-size: 1rem;
  color: var(--color-primary);
  letter-spacing: 0.1em;
}
.review-quote {
  font-size: 0.9375rem;
  color: var(--color-text-header);
  line-height: 1.55;
  flex: 1;
}
.review-author {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin-top: 0.25rem;
}
.review-author .avatar {
  width: 44px;
  height: 36px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
}
.review-author strong {
  display: block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--color-text-header);
  line-height: 1.2;
}
.review-author span {
  font-size: 0.8125rem;
  color: var(--color-text-body);
}

/* ── Carousel dots ── */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.125rem;
  margin-top: 2rem;
}
/* 24x24 tap target (a11y) with a small visual dot drawn via ::before. */
.carousel-dots button {
  width: 24px;
  height: 24px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  cursor: pointer;
}
.carousel-dots button::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--color-border);
  border-radius: 50%;
  transition: background 0.15s ease, width 0.2s ease;
}
.carousel-dots button.is-active::before {
  background: var(--color-primary);
  width: 22px;
  border-radius: var(--radius-pill);
}

/* =====================================================
   GENERIC: arrow links + section header variants
===================================================== */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-primary);
}
.link-arrow svg { width: 14px; height: 14px; transition: transform 0.15s ease; }
.link-arrow:hover svg { transform: translateX(3px); }
.link-arrow-strong { font-size: 0.9375rem; }

.section-sub-left {
  font-size: 0.9375rem;
  color: var(--color-text-body);
  max-width: 540px;
  margin-top: 0.5rem;
}

.section-header-left {
  text-align: left;
  margin-bottom: 2.5rem;
}
.section-header-left .section-eyebrow { margin-bottom: 0.5rem; }
.section-header-left h2 {
  font-size: clamp(1.625rem, 2.25vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.trust-row-center {
  justify-content: center;
  margin-top: 2.5rem;
  margin-bottom: 0;
  gap: 0;
  background: var(--color-bg-subtle);
  border-radius: var(--radius-standard);
  padding: 1.25rem 2.5rem;
  width: fit-content;
  margin-inline: auto;
}

.trust-row-center li {
  padding: 0 1.75rem;
  border-right: 1px solid var(--color-border-soft);
}

.trust-row-center li:first-child {
  padding-left: 0;
}

.trust-row-center li:last-child {
  padding-right: 0;
  border-right: none;
}

/* Solid colour (no opacity fade) so the text meets contrast on the
   gray panel; green checkmarks read as positive and stay legible. */
.trust-row-center { opacity: 1; }
.trust-row-center li { color: var(--color-text-header); }
.trust-row-center li svg { color: var(--color-primary); }

/* =====================================================
   REAL EXAMPLES
===================================================== */
.examples-section { padding: 4rem 0 4rem; }

.examples-carousel {
  position: relative;
}
.examples-grid {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 0.5rem;
  margin-bottom: -0.5rem;
}
.examples-grid::-webkit-scrollbar { display: none; }
.examples-grid > .example-card {
  flex: 0 0 calc((100% - 1.5rem) / 2);
  scroll-snap-align: start;
}

/* arrow nav */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-bg-white);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  z-index: 2;
  transition: background 0.15s ease, transform 0.15s ease, opacity 0.15s ease;
}
.carousel-arrow:hover {
  background: var(--color-primary);
  color: #fff;
  transform: translateY(-50%) scale(1.05);
}
.carousel-arrow:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.carousel-arrow:disabled:hover {
  background: var(--color-bg-white);
  color: var(--color-primary);
  transform: translateY(-50%);
}
.carousel-arrow svg { width: 16px; height: 16px; }
.carousel-arrow-prev { left: -20px; }
.carousel-arrow-next { right: -20px; }

.example-card {
  position: relative;
  background: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-standard);
  padding: 1.5rem;
  display: grid;
  align-content: start;
  grid-template-columns: 1fr 100px;
  grid-template-areas:
    "head   photo"
    "desc   photo"
    "badges photo"
    "stats  stats";
  gap: 0.75rem 1.25rem;
}
.example-head   { grid-area: head; }
.example-desc-wrap { grid-area: desc; display: flex; flex-direction: column; gap: 0.35rem; }
.example-desc   { font-size: 0.875rem; line-height: 1.55; color: var(--color-text-body); margin: 0; }
.example-desc-full { font-size: 0.8125rem; color: var(--color-text-muted); line-height: 1.6; }
.example-desc-full summary { cursor: pointer; color: var(--color-primary); font-size: 0.8125rem; font-weight: 500; list-style: none; display: inline-flex; align-items: center; gap: 0.25rem; }
.example-desc-full summary::-webkit-details-marker { display: none; }
.example-desc-full summary::after { content: '↓'; font-size: 0.75rem; transition: transform 0.2s; }
.example-desc-full[open] summary::after { transform: rotate(180deg); }
.example-desc-full[open] summary { margin-bottom: 0.35rem; }
.example-badges { grid-area: badges; align-self: end; display: flex; gap: 0.5rem; }
.example-photo {
  grid-area: photo;
  width: 100%;
  height: 110px;
  object-fit: contain;
  object-position: center bottom;
  border-radius: calc(var(--radius-standard) - 2px);
  align-self: start;
}

/* ── Type pill ── */
.example-type-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding: 0.275rem 0.625rem;
  border-radius: var(--radius-pill);
  background: var(--color-bg-subtle);
  color: var(--color-text-muted);
  margin-bottom: 0.5rem;
}
.example-type-pill.is-current {
  background: var(--color-primary-soft);
  color: var(--color-primary);
}
.example-type-icon { width: 14px; height: 14px; flex-shrink: 0; display: flex; }
.example-type-icon svg { width: 14px; height: 14px; display: block; }

.example-head h3 {
  font-size: 1.0625rem;
  font-weight: 800;
  color: var(--color-text-header);
  line-height: 1.3;
}

/* ── Stat badges ── */
.example-badge {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  background: var(--color-bg-subtle);
  border-radius: var(--radius-standard);
  padding: 0.5rem 0.75rem;
}
.badge-label {
  font-size: 0.625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
}
.badge-value {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-text-header);
}

/* ── Stats footer ── */
.example-stats {
  grid-area: stats;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  padding-top: 0.875rem;
  border-top: 1px solid var(--color-border);
  font-size: 0.8125rem;
  color: var(--color-text-body);
}
.example-stats > span {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
}
.example-stats svg {
  width: 15px;
  height: 15px;
  color: var(--color-primary);
}
.example-cta {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 700;
  color: var(--color-primary);
  font-size: 0.875rem;
}
.example-cta svg { width: 14px; height: 14px; }

/* =====================================================
   INLINE CTA BAND
===================================================== */
.cta-inline-section {
  padding: 0 0 4.5rem;
}
.cta-inline-section--alt {
  background: var(--color-bg-subtle);
  padding-top: 4.5rem;
}
.cta-inline-section--alt .cta-inline {
  border-color: transparent;
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
}
.cta-inline {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem 2.5rem;
  background: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-standard);
  padding: 1.5rem 2.5rem;
}
.cta-inline-illust {
  width: 150px;
  height: 150px;
  flex-shrink: 0;
}
.cta-inline-illust img { width: 100%; height: 100%; object-fit: contain; }
.cta-inline-body {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.cta-inline-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.cta-inline-text h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.2rem;
}
.cta-inline-text p {
  font-size: 0.875rem;
  color: var(--color-text-body);
  margin: 0;
}
.cta-inline-rating { display: flex; align-items: center; gap: 0.4rem; white-space: nowrap; }
.cta-inline-rating .tp-stars { font-size: 0.875rem; color: var(--color-star); }
.cta-rating-score { font-size: 0.875rem; font-weight: 600; color: var(--color-text-header); }
.cta-inline-checks {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  list-style: none;
  margin: 0; padding: 0;
  padding-top: 0.625rem;
  border-top: 1px solid var(--color-border-soft);
}
.cta-inline-checks li {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8125rem;
  color: var(--color-text-body);
}
.cta-inline-checks li svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: var(--color-primary);
}

/* =====================================================
   HOW IT WORKS — Steps
===================================================== */
.steps-section { padding: 5rem 0; }

.steps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
  position: relative;
  max-width: 980px;
  margin-inline: auto;
}

.step-card {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-illust {
  display: block;
  width: 100%;
  max-width: 200px;
  height: 160px;
  object-fit: contain;
  margin-inline: auto;
  margin-bottom: 1.5rem;
}

/* Dashed connector arrow between step cards */
.step-card:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 74px;
  right: -2rem;
  width: 2rem;
  height: 12px;
  background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='32' height='12' viewBox='0 0 32 12'><line x1='0' y1='6' x2='22' y2='6' stroke='%23cbd5e1' stroke-width='2' stroke-dasharray='4 3'/><polyline points='18,2 26,6 18,10' fill='none' stroke='%23cbd5e1' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  z-index: 2;
}

.step-card h3 {
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--color-text-header);
  margin-bottom: 0.5rem;
}

.step-card p {
  font-size: 0.9375rem;
  color: var(--color-text-body);
  line-height: 1.6;
  max-width: 260px;
  margin-inline: auto;
}

/* =====================================================
   SERVICES GRID
===================================================== */
.services-section { padding: 4.5rem 0; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}
.services-grid a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.125rem;
  background: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-standard);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text-header);
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.services-grid a:hover {
  border-color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}
.services-grid svg {
  width: 22px;
  height: 22px;
  color: var(--color-primary);
  flex-shrink: 0;
}
.services-foot { text-align: center; margin-top: 2rem; }

/* =====================================================
   TRUST — two column
===================================================== */
.trust-section { padding: 5rem 0; }
.trust-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3.5rem;
  align-items: start;
}
.trust-text h2 {
  font-size: clamp(1.75rem, 2.5vw, 2.125rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}
.trust-lead {
  font-size: 1rem;
  color: var(--color-text-body);
  line-height: 1.65;
  margin-bottom: 1.75rem;
}
.trust-features {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
}
.trust-features li {
  display: flex;
  gap: 0.875rem;
  align-items: flex-start;
}
.trust-features .check {
  width: 22px;
  height: 22px;
  color: var(--color-primary);
  flex-shrink: 0;
  margin-top: 2px;
}
.trust-features strong {
  display: block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--color-text-header);
  margin-bottom: 0.125rem;
}
.trust-features p {
  font-size: 0.875rem;
  color: var(--color-text-body);
  line-height: 1.55;
  margin: 0;
}

.trust-media-photo {
  position: relative;
}
.trust-media-photo img {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-standard);
  object-fit: cover;
  object-position: center top;
}
.trustpilot-badge {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--color-bg-white);
  border: 1px solid var(--color-border);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-standard);
  box-shadow: var(--shadow-card);
  font-size: 0.75rem;
}
.trustpilot-badge strong {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  color: var(--color-text-header);
  font-size: 0.8125rem;
}
.trustpilot-badge .tp-stars {
  color: #00b67a;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
}
.trustpilot-badge .tp-text { color: var(--color-text-body); }
.trustpilot-badge .tp-brand {
  font-weight: 700;
  color: var(--color-text-header);
  padding-left: 0.375rem;
  border-left: 1px solid var(--color-border);
  margin-left: 0.125rem;
}


/* =====================================================
   TOOLS — cards
===================================================== */
.tools-section { padding: 4.5rem 0; }

.tools-header {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  margin-bottom: 1.25rem;
}
.tools-header-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.tools-header-text .section-eyebrow {
  margin-bottom: 0.25rem;
}
.tools-header-text h2 {
  font-size: clamp(1.75rem, 2.5vw, 2.125rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.heading-em {
  font-style: italic;
  color: var(--color-primary);
}
.tools-lead {
  font-size: 0.9375rem;
  color: var(--color-text-body);
  line-height: 1.65;
}
.tools-header-img {
  width: 200px;
  height: auto;
  display: block;
  flex-shrink: 0;
  align-self: flex-start;
  margin-top: -2rem;
}

.tools-dots,
.steps-dots { display: none; }

.tools-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 2rem;
}
.tool-card {
  background: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-standard);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.tool-illust {
  width: 100%;
  background: var(--color-bg-white);
  overflow: hidden;
}
.tool-illust img {
  width: 100%;
  height: auto;
  display: block;
}
.tool-body {
  padding: 1.25rem 1.25rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  /* absorb height differences (e.g. a 2-line vs 3-line body) so the
     illustration and CTA align across all cards in the row */
  flex: 1;
}
.tool-body h3 {
  font-size: 0.875rem;
  font-weight: 800;
  color: var(--color-text-header);
  line-height: 1.3;
}
.tool-body p {
  font-size: 0.9375rem;
  color: var(--color-text-body);
  line-height: 1.65;
}
.tool-card > .link-arrow {
  font-size: 0.8125rem;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.tool-card > .link-arrow svg {
  width: 26px;
  height: 26px;
  background: var(--color-primary);
  border-radius: 50%;
  color: #fff;
  padding: 5px;
  box-sizing: border-box;
  flex-shrink: 0;
  transition: background 0.15s ease, transform 0.15s ease;
}
.tool-card > .link-arrow:hover svg {
  background: var(--color-primary-hover);
  transform: translateX(2px);
}

/* Tool card, coming-soon (disabled) state */
.tool-card--coming-soon {
  position: relative;
  cursor: not-allowed;
  background: var(--color-bg-soft, #f7f7f8);
}
.tool-card--coming-soon .tool-body h3,
.tool-card--coming-soon .tool-body p {
  opacity: 0.55;
}
.tool-card--coming-soon .tool-illust img {
  filter: grayscale(0.85);
  opacity: 0.6;
  transition: none;
}
.tool-coming-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 2;
  background: var(--color-text-header, #1a1a1a);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  line-height: 1;
}
.link-arrow--disabled {
  color: var(--color-text-muted, #888);
  pointer-events: none;
  user-select: none;
}
.link-arrow--disabled svg {
  background: var(--color-text-muted, #aaa) !important;
  opacity: 0.6;
}
.link-arrow--disabled:hover svg {
  background: var(--color-text-muted, #aaa) !important;
  transform: none !important;
}

.tools-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border-soft);
}
.tools-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
}
.tools-feature-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tools-feature-icon svg {
  width: 20px;
  height: 20px;
  color: var(--color-text-header);
}
.tools-feature-item strong {
  display: block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--color-text-header);
  margin-bottom: 0.2rem;
}
.tools-feature-item p {
  font-size: 0.8125rem;
  color: var(--color-text-body);
  line-height: 1.5;
  margin: 0;
}

/* =====================================================
   ARTICLES — cards
===================================================== */
.articles-section { padding: 4.5rem 0; }
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.article-card {
  position: relative;
  background: var(--color-bg-white);
  border: 1px solid var(--color-border-soft);
  border-radius: 0.875rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
  transition: transform 0.28s cubic-bezier(0.22, 0.61, 0.36, 1),
              box-shadow 0.28s ease,
              border-color 0.28s ease;
}
.article-card:hover {
  transform: translateY(-6px);
  border-color: transparent;
  box-shadow: 0 22px 40px -16px rgba(16, 24, 40, 0.22);
}
/* <picture> wrappers (webp + jpg fallback) must not affect layout or
   child-combinator selectors — collapse the picture box so the inner <img>
   is laid out exactly as a bare <img> would be. */
picture { display: contents; }

/* Legacy direct-child image (homepage article cards) */
.article-card > img,
.article-card > picture > img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.article-card-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}
.article-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(16, 24, 40, 0.18), transparent 55%);
  opacity: 0;
  transition: opacity 0.28s ease;
}
.article-card:hover .article-card-media::after { opacity: 1; }
.article-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.article-card:hover .article-card-media img { transform: scale(1.06); }
.article-body {
  padding: 1.25rem 1.375rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}
.article-body h3 {
  font-size: 1.0625rem;
  font-weight: 800;
  line-height: 1.32;
  letter-spacing: -0.01em;
}
.article-body h3 a {
  color: var(--color-text-header);
  transition: color 0.2s ease;
}
/* Whole card is clickable via the title link */
.article-body h3 a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}
.article-card:hover .article-body h3 a { color: var(--color-primary); }
.article-body p {
  font-size: 0.875rem;
  color: var(--color-text-body);
  line-height: 1.6;
  flex: 1;
}
.article-body .read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.5rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 0.8125rem;
  color: var(--color-primary);
}
.article-body .read-more svg {
  width: 14px;
  height: 14px;
  transition: transform 0.25s ease;
}
.article-card:hover .read-more svg { transform: translateX(4px); }
.article-meta {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin-top: 0.75rem;
  padding-top: 0.875rem;
  border-top: 1px solid var(--color-border-soft);
}
.article-meta img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.meta-label {
  display: block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 0.8125rem;
  color: var(--color-text-header);
}
.meta-sub {
  display: block;
  font-size: 0.75rem;
  color: var(--color-text-body);
}
/* =====================================================
   FAQ
===================================================== */
.faq-section { padding: 4.5rem 0; }

.faq-accordion {
  max-width: 760px;
  margin-inline: auto;
}
.faq-item {
  position: relative;
  border-bottom: 1px solid var(--color-border);
  padding-left: 1.25rem;
}
.faq-item:first-child {
  border-top: 1px solid var(--color-border);
}
.faq-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--color-primary);
  opacity: 0;
  transition: opacity 0.2s ease;
}
.faq-item:hover::before,
.faq-item.is-open::before {
  opacity: 1;
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.375rem 0;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--color-text-header);
  transition: color 0.15s ease;
}
.faq-question:hover,
.faq-item.is-open .faq-question {
  color: var(--color-primary);
}
.faq-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--color-text-muted);
  transition: transform 0.25s ease, color 0.15s ease;
}
.faq-item.is-open .faq-icon {
  transform: rotate(180deg);
  color: var(--color-primary);
}
.faq-body {
  padding-bottom: 1.375rem;
}
.faq-body[hidden] { display: none; }
.faq-body > p {
  font-size: 0.9375rem;
  color: var(--color-text-body);
  line-height: 1.65;
  margin-bottom: 0.875rem;
}
.faq-featured-label {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--color-text-header);
  margin-bottom: 0.5rem;
}
.faq-prices {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 0.875rem;
}
.faq-prices li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--color-text-body);
}
.faq-prices li svg {
  width: 14px;
  height: 14px;
  color: var(--color-primary);
  flex-shrink: 0;
}
.faq-prices strong {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  color: var(--color-text-header);
}
.faq-prices span { font-weight: 600; color: var(--color-text-header); }
.faq-foot {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  font-style: italic;
  line-height: 1.5;
  margin-bottom: 0;
}

/* =====================================================
   CITIES GRID
===================================================== */
.cities-section { padding: 4.5rem 0; }
.cities-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}
.cities-grid a {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas:
    "icon name"
    "icon region";
  column-gap: 0.75rem;
  row-gap: 0.15rem;
  align-items: center;
  padding: 0.875rem 1.125rem;
  background: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-standard);
  min-height: 64px;
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.cities-grid a:hover {
  border-color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}
.cities-grid svg {
  grid-area: icon;
  width: 20px;
  height: 20px;
  color: var(--color-primary);
  align-self: center;
}
.cities-grid strong {
  grid-area: name;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--color-text-header);
  line-height: 1.2;
  align-self: end;
}
.cities-grid span {
  grid-area: region;
  font-size: 0.75rem;
  color: var(--color-text-body);
  line-height: 1.3;
  align-self: start;
}
/* Cross-link section on city pages: 6 nearby cities in a 3-up grid. */
.cities-grid.cities-grid--near { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 760px) { .cities-grid.cities-grid--near { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .cities-grid.cities-grid--near { grid-template-columns: 1fr; } }
/* Image variant — compact destination card with a leading photo instead of an icon */
.cities-grid-img { grid-template-columns: repeat(4, 1fr); }
.cities-grid-img a {
  grid-template-columns: 72px 1fr;
  grid-template-areas:
    "media name"
    "media region";
  column-gap: 0.875rem;
  padding: 0 1rem 0 0;
  overflow: hidden;
}
.cities-grid-img .dest-thumb {
  grid-area: media;
  align-self: stretch;
  display: block;
}
.cities-grid-img .dest-thumb img {
  width: 72px;
  height: 100%;
  min-height: 64px;
  object-fit: cover;
  display: block;
}

/* =====================================================
   GREEN CTA BAND
===================================================== */
/* One consistent look everywhere: a bordered "card" on a white band, no matter
   what section precedes the CTA. (--white modifier kept as a harmless alias.) */
.cta-green-section { padding: 4rem 0; }
.cta-green {
  background: none;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-standard);
  padding: 2rem 2.5rem;
  display: grid;
  grid-template-columns: 140px 1.7fr 1fr;
  gap: 2.5rem;
  align-items: center;
}
.cta-green-illust {
  align-self: center;
  justify-self: center;
}
.cta-green-illust img {
  width: 100%;
  max-width: 160px;
  height: auto;
  display: block;
}
/* hide the illustration in the cramped tablet zone (form needs the room) */
@media (max-width: 992px) {
  .cta-green { grid-template-columns: 1.1fr 1fr; }
  .cta-green-illust { display: none; }
}
.cta-green-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}
.cta-green h2 {
  font-size: clamp(1.5rem, 2vw, 1.875rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.625rem;
}
.cta-green-text > p {
  font-size: 0.9375rem;
  color: var(--color-text-body);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}
.cta-green-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
}
.cta-green-trust li {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
  min-width: 8rem;
}
.cta-trust-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--color-primary-soft);
  display: flex;
  align-items: center;
  justify-content: center;
}
.cta-trust-icon svg {
  width: 14px;
  height: 14px;
  color: var(--color-text-header);
}
.cta-green-trust div {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
}
.cta-green-trust strong {
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--color-text-header);
}
.cta-green-trust span {
  font-size: 0.625rem;
  color: var(--color-text-muted);
}
.cta-green-right {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.cta-green-form {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}
.cta-green-form .form-input-wrap { flex: none; }
.cta-green-form .btn { width: 100%; justify-content: center; }
.cta-green-form input[type="text"] {
  width: 100%;
  padding: 0.875rem 0.875rem 0.875rem 2.5rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-standard);
  font-size: 0.9375rem;
  outline: none;
  background: #fff;
}
.cta-green-form input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(46,125,50,0.1);
}
.cta-green-checks {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.cta-green-checks li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--color-text-body);
}
.cta-green-checks svg {
  width: 14px;
  height: 14px;
  color: var(--color-primary);
  flex-shrink: 0;
}

/* =====================================================
   FOOTER (dark)
===================================================== */
.site-footer {
  background: #0f172a;
  color: #cbd5e1;
  padding: 4rem 0 1.5rem;
}
.site-footer a { color: #cbd5e1; transition: color 0.15s ease; }
.site-footer a:hover { color: #fff; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(5, 1fr);
  gap: 2rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid #1e293b;
}
.footer-brand .logo-text { color: #fff; }
.footer-brand .logo-icon { color: var(--color-primary-soft); }
.footer-tagline {
  font-size: 0.875rem;
  line-height: 1.6;
  margin: 1rem 0;
  max-width: 280px;
}
.footer-trust {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  font-size: 0.8125rem;
}
.footer-trust .tp-stars { color: var(--color-star); font-size: 0.95rem; }

.footer-col h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 0.9375rem;
  color: #fff;
  margin-bottom: 1rem;
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}
.footer-col li { font-size: 0.875rem; }
.footer-col a.footer-cta-link { color: var(--color-primary-soft); font-weight: 600; }
.footer-col a.footer-cta-link:hover { color: #fff; }

.footer-mid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid #1e293b;
}
.social-icons {
  display: flex;
  gap: 0.5rem;
}
.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #1e293b;
  transition: background 0.15s ease;
}
.social-icons a:hover { background: var(--color-primary); }
.social-icons svg { width: 16px; height: 16px; color: #fff; }
.footer-business-link {
  font-size: 0.875rem;
  font-weight: 600;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-top: 1.5rem;
  flex-wrap: wrap;
}
.footer-bottom p {
  font-size: 0.8125rem;
  color: #94a3b8;
  margin: 0;
}
.footer-copy { font-size: 0.8125rem; color: #94a3b8; margin: 0; }
.footer-legal { margin-top: 0.375rem !important; }
.footer-legal a { color: inherit; text-decoration: underline; }
.footer-badges {
  display: flex;
  gap: 1.5rem;
}
.footer-badges li {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}
.footer-badges svg {
  width: 26px;
  height: 26px;
  color: #cbd5e1;
}
.footer-badges strong {
  display: block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 0.8125rem;
  color: #fff;
}
.footer-badges span {
  font-size: 0.6875rem;
  color: #94a3b8;
}

/* =====================================================
   RESPONSIVE
===================================================== */
@media (max-width: 1080px) {
  .hero-media { width: 52%; }
  .hero-media img { object-position: 75% center; }
  .reviews-track > .review-card { flex-basis: calc((100% - 1.25rem) / 2); }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .cities-grid { grid-template-columns: repeat(3, 1fr); }
  .tools-header { flex-direction: column; align-items: flex-start; gap: 1.25rem; }
  .tools-header-img { display: none; }
  .tools-grid { grid-template-columns: repeat(2, 1fr); }
  .tools-features { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 991px) {
  .main-nav { display: none; }
  .main-nav.open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    max-height: calc(100vh - var(--header-height));
    overflow-y: auto;
    background: var(--color-bg-white);
    border-bottom: 1px solid var(--color-border);
    padding: 0.75rem 1.5rem 1.5rem;
    gap: 0.125rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.09);
    z-index: 200;
  }
  .main-nav.open .nav-drawer-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    margin-top: 0.75rem;
  }
  .main-nav.open .nav-link {
    width: 100%;
    justify-content: space-between;
    padding: 0.75rem 0.5rem;
    border-radius: var(--radius-standard);
  }
  .main-nav.open .nav-dropdown {
    position: static;
    box-shadow: none;
    border: none;
    border-radius: 0;
    background: transparent;
    padding: 0.25rem 0;
    min-width: 0;
  }
  .main-nav.open .nav-dropdown a,
  .main-nav.open .nav-mega-col a {
    padding: 0.5rem 0.5rem;
    font-size: 0.9375rem;
    line-height: 1.5;
  }
  /* Mega menus collapse into the drawer flow */
  .main-nav.open .nav-has-mega { position: relative; }
  .main-nav.open .nav-mega {
    position: static;
    box-shadow: none;
    border: none;
    background: transparent;
  }
  .main-nav.open .nav-mega-label {
    color: var(--color-primary);
    opacity: 1;
  }
  .main-nav.open .nav-mega-inner,
  .main-nav.open .nav-mega-inner-slim,
  .main-nav.open .nav-mega-inner-2col,
  .main-nav.open .nav-mega-inner-4col,
  .main-nav.open .nav-mega-inner-pris,
  .main-nav.open .nav-mega-inner-hire {
    display: block;
    min-width: 0;
    padding: 0.25rem 0;
    gap: 0;
  }
  .main-nav.open .nav-mega-promo { width: auto; }
  /* Keep the promo CTA flush with the box's label/text (no link indent). */
  .main-nav.open .nav-mega-promo a { padding-left: 0; padding-right: 0; }
  .main-nav.open .nav-mega-col + .nav-mega-col { margin-top: 1rem; }
  .main-nav.open .nav-mega-grid-2 { display: block; }
  .main-nav.open .nav-mega-grid-4 { display: block; }
.burger { display: flex; }
  .hero-media { width: 48%; }
  .hero-media img { object-position: 75% center; }
}

@media (max-width: 768px) {
  .hero {
    padding-top: 1.75rem;
    padding-bottom: 1.5rem;
  }
  /* center the mobile H1 between the Google badge and the copy below it, with a
     tight gap proportionate to the H1 font — equal above and below (0.6rem) */
  .hero-google-badge { margin-bottom: 0.6rem; }
  .hero-media {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    width: 58%;
    max-width: none;
  }
  .hero-media::before {
    background: linear-gradient(
      90deg,
      var(--color-bg-cream) 0%,
      rgba(250,246,241,0.65) 20%,
      rgba(250,246,241,0.12) 42%,
      transparent 56%
    );
  }
  .hero-media::after { display: none; }
  .hero-media img {
    object-position: 60% center;
    transform: scale(1.2);
    transform-origin: center center;
  }
  .hero-card { max-width: 72%; display: flex; flex-direction: column; }
  .hero-card h1 { font-size: 1.5rem; margin-bottom: 0.6rem; }
  .hero-sub { font-size: 0.9rem; line-height: 1.5; margin-top: 0.6rem; margin-bottom: 1.75rem; }
  .hero-sub-long { display: inline; }
  .hero-form-row {
    grid-template-columns: 1fr auto;
    background: #fff;
  }
  .hero-form-row input[type="text"] {
    background: transparent;
    border: none;
  }
  .hero-form-row .btn-primary {
    width: 40px;
    height: 40px;
    padding: 0 0.625rem 0 0;
    font-size: 0;
    align-self: center;
    border-radius: 8px;
    flex-shrink: 0;
    background: transparent;
    box-shadow: none;
    color: var(--color-primary);
  }
  .hero-form-row .btn-primary:hover {
    background: transparent;
    transform: none;
    box-shadow: none;
  }
  .hero-form-row .btn-primary .btn-arrow {
    width: 20px;
    height: 20px;
    transform: none !important;
  }
  .trust-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: calc(100vw - 3rem);
    max-width: none;
    opacity: 1;
    margin-bottom: 0.375rem;
    background: rgba(255,255,255,0.70);
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.6);
    padding: 0.875rem 0;
    gap: 0;
  }
  .trust-row li {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.375rem;
    font-size: 0.6875rem;
    font-weight: 500;
    color: var(--color-text-body);
    padding: 0 0.25rem;
    border-right: 1px solid var(--color-border-soft);
    white-space: nowrap;
  }
  .trust-row li:last-child { border-right: none; }
  .trust-row li svg {
    display: block;
    width: 16px;
    height: 16px;
    color: var(--color-primary);
    flex-shrink: 0;
  }
  .trust-row br { display: none; }
  .reviews-track > .review-card { flex-basis: 100%; }
  /* reviews-grid becomes a swipeable carousel on mobile */
  .reviews-grid {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 80%;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding-bottom: 0.5rem;
  }
  .reviews-grid::-webkit-scrollbar { display: none; }
  .reviews-grid > .review-card { scroll-snap-align: start; }
  .section-head-row { flex-direction: column; align-items: flex-start; }

  .examples-grid > .example-card { flex-basis: 100%; }
  .example-card {
    grid-template-columns: 1fr 64px;
    grid-template-areas:
      "head   photo"
      "desc   desc"
      "badges badges"
      "stats  stats";
  }
  .example-head { align-self: end; }
  .example-photo {
    display: block;
    grid-area: photo;
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 8px;
    align-self: start;
    margin-left: 0.75rem;
  }
  .carousel-arrow { display: none; }

  .cta-inline { grid-template-columns: 1fr; text-align: center; }
  .cta-inline-illust { margin-inline: auto; }
  .cta-inline-top { flex-direction: column; align-items: center; }
  .cta-inline-text h3 { font-size: 1.125rem; white-space: nowrap; }
  .cta-inline-checks {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 0.375rem;
    justify-content: flex-start;
  }

  .steps-grid {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 1rem;
    padding-bottom: 0.5rem;
    margin-right: -1.5rem;
    padding-right: 1.5rem;
    scrollbar-width: none;
  }
  .steps-grid::-webkit-scrollbar { display: none; }
  .step-card {
    flex: 0 0 56vw;
    scroll-snap-align: start;
  }
  .step-card:not(:last-child)::after { right: -1rem; width: 1rem; }
  .steps-grid .step-card.fade-in { opacity: 1; transform: none; transition: none; }
  .step-card h3, .step-card p { padding-inline: 0.75rem; }
  .steps-section .trust-row-center { display: none; }
  .steps-section .section-eyebrow, .steps-section .section-sub { display: none; }
  .steps-dots { display: flex; margin-top: 1rem; }

  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: 1fr; gap: 2rem; }
  .tools-grid {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 1rem;
    padding-bottom: 1rem;
    margin-right: -1.5rem;
    padding-right: 1.5rem;
  }
  .tools-grid .tool-card {
    flex: 0 0 58vw;
    max-width: 240px;
    scroll-snap-align: start;
  }
  .tools-grid::-webkit-scrollbar { display: none; }
  .tools-grid { scrollbar-width: none; }

  .tools-dots { display: flex; margin-top: 0.75rem; }

  .tools-features { grid-template-columns: 1fr; }
  .articles-grid { grid-template-columns: 1fr; }
  /* "Fortsätt läsa" (related guides) becomes a swipeable carousel on mobile.
     Scoped via :has() to the container that holds the "Alla flyttguider →"
     link, so the homepage grid and the /flyttguider/ listing stay stacked. */
  .container:has(> .article-allguides) > .articles-grid {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 80%;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding-bottom: 0.5rem;
  }
  .container:has(> .article-allguides) > .articles-grid::-webkit-scrollbar { display: none; }
  .container:has(> .article-allguides) > .articles-grid > .article-card { scroll-snap-align: start; }
  .faq-accordion { max-width: 100%; }
  .cities-grid { grid-template-columns: repeat(2, 1fr); }

  .cta-green { grid-template-columns: 1fr; padding: 1.75rem 1.5rem; gap: 1.75rem; }
  .cta-green-illust { display: block; max-width: 140px; margin-inline: auto; }
  .cta-green-form { flex-direction: column; }
  .cta-green-trust { flex-wrap: wrap; gap: 1rem; }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .footer-grid .footer-brand { grid-column: 1 / -1; }
  .footer-grid .footer-col:last-child { grid-column: auto; }
  .footer-mid, .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .hero { padding: 2.5rem 0 1rem; }
  .social-proof { gap: 1rem; }
  /* Collapse the footer to a single column on narrow phones — two columns of
     long links (e.g. "Dataskyddspolicy", "info@flyttjakt.nu") otherwise force
     the page wider than the viewport. */
  .footer-grid { grid-template-columns: 1fr; }
  /* Service buttons: 2 cols → 1 so longer labels (e.g. "Internationell flytt")
     stop crowding their icon on narrow phones. */
  .services-grid { grid-template-columns: 1fr; }
}

/* =====================================================
   SCROLL FADE-IN
===================================================== */
.fade-in {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.fade-in.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .fade-in {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* =====================================================
   STADSDELAR — City page neighborhood grid
===================================================== */
.stadsdelar-section { background: var(--color-bg-white); }

.stadsdelar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.stadsdel-card {
  background: var(--color-bg-subtle);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-standard);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.stadsdel-card:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-card);
}

.stadsdel-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--color-primary);
}

.stadsdel-body h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.9375rem;
  font-weight: 800;
  color: var(--color-text-header);
  margin: 0 0 0.25rem;
}
.stadsdel-body p {
  font-size: 0.8125rem;
  color: var(--color-text-body);
  line-height: 1.55;
  margin: 0;
}

.stadsdelar-note {
  margin-top: 1.75rem;
  font-size: 0.9375rem;
  color: var(--color-text-body);
}
.link-arrow-inline {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: none;
}
.link-arrow-inline:hover { text-decoration: underline; }

/* =====================================================
   PARTNERS GRID — Några av Flyttjakts flyttföretag
====================================================== */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}
.partner-card {
  position: relative;
  background: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-standard);
  padding: 1.5rem 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.partner-card h3 {
  padding-right: 3rem;
}
.partner-card:hover {
  border-color: var(--color-primary-soft);
  box-shadow: 0 4px 16px -8px rgba(0, 0, 0, 0.08);
}
.partner-card h3 {
  font-size: 1.0625rem;
  font-weight: 800;
  color: var(--color-text-header);
  line-height: 1.3;
  margin: 0;
}
.partner-address {
  font-style: normal;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  letter-spacing: 0.01em;
}
.partner-description {
  font-size: 0.9375rem;
  color: var(--color-text-body);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.partner-description > p { margin: 0; }
.partner-description > p + p { margin-top: 0.75rem; }

/* When "Läs mer" is open, expand the description to its full height */
.partner-card:has(.partner-details[open]) .partner-description {
  -webkit-line-clamp: unset;
  line-clamp: unset;
  display: block;
  overflow: visible;
}
.partner-card a {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 600;
}
.partner-card a:hover { text-decoration: underline; }

/* Läs mer toggle — icon-only button in the top-right corner of each partner card.
   display: contents removes <details> from the flex layout, keeping summary in place
   via its own absolute positioning anchored to .partner-card */
.partner-details {
  display: contents;
}
.partner-details summary {
  position: absolute;
  top: 1rem;
  right: 1rem;
  list-style: none;
  cursor: pointer;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-bg-subtle, #f5f5f7);
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  user-select: none;
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
.partner-details summary::-webkit-details-marker { display: none; }
.partner-details summary:hover {
  background: var(--color-primary-soft);
  color: var(--color-primary-hover);
}
.partner-details summary:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}
.partner-details summary::after {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform 0.2s ease;
}
.partner-details[open] summary::after {
  transform: rotate(-135deg) translate(-2px, -2px);
}

/* Visually-hidden utility, keeps text available for screen readers */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.partners-note {
  margin-top: 1.75rem;
  font-size: 0.9375rem;
  color: var(--color-text-body);
}
.partners-note a {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: none;
}
.partners-note a:hover { text-decoration: underline; }

/* Mobile — tight cards */
@media (max-width: 720px) {
  .partners-grid {
    grid-template-columns: 1fr;
    gap: 0.625rem;
    margin-top: 1.25rem;
  }
  .partner-card {
    padding: 1rem 1.125rem 0.875rem;
    gap: 0.375rem;
    border-radius: 0.625rem;
  }
  .partner-card h3 { font-size: 0.9375rem; }
  .partner-address { font-size: 0.75rem; }
  .partner-details summary {
    top: 0.75rem;
    right: 0.75rem;
    width: 32px;
    height: 32px;
  }
  .partner-details > p {
    font-size: 0.875rem;
    line-height: 1.55;
  }
  .partner-card h3 {
    padding-right: 2.5rem;
  }
}

@media (max-width: 900px) {
  .stadsdelar-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .stadsdelar-grid { grid-template-columns: 1fr; }
}

/* =====================================================
   SEO TEXT EXPANDER — City page long-form block
===================================================== */
.seo-section { background: var(--color-bg-white); }

.seo-text-block {
  max-width: 760px;
  margin-top: 1.5rem;
}
.seo-text-block > p {
  font-size: 1rem;
  color: var(--color-text-body);
  line-height: 1.7;
  margin: 0 0 1rem;
}

.seo-expander {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-standard);
  margin-top: 0.5rem;
}
.seo-expander summary {
  padding: 0.875rem 1.25rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-primary);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.seo-expander summary::-webkit-details-marker { display: none; }
.seo-expander summary::before {
  content: '+';
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1;
  transition: transform 0.2s ease;
}
.seo-expander[open] summary::before { transform: rotate(45deg); }

.seo-expander-body {
  padding: 0 1.25rem 1.25rem;
  border-top: 1px solid var(--color-border-soft);
}
.seo-expander-body h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.0625rem;
  font-weight: 800;
  color: var(--color-text-header);
  margin: 1.25rem 0 0.5rem;
}
.seo-expander-body p {
  font-size: 0.9375rem;
  color: var(--color-text-body);
  line-height: 1.65;
  margin: 0 0 0.875rem;
}
.seo-expander-body ul {
  padding-left: 1.25rem;
  margin: 0 0 0.875rem;
}
.seo-expander-body ul li {
  font-size: 0.9375rem;
  color: var(--color-text-body);
  line-height: 1.6;
  margin-bottom: 0.25rem;
}
.seo-expander-body a {
  color: var(--color-primary);
  font-weight: 600;
}

/* =====================================================
   SEO PRICE TABLE
===================================================== */
.seo-table-wrap {
  overflow-x: auto;
  margin: 0.75rem 0 1.25rem;
  border-radius: var(--radius-standard);
  border: 1px solid var(--color-border);
}
.seo-price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  color: var(--color-text-body);
}
.seo-price-table th {
  background: var(--color-bg-subtle);
  padding: 0.625rem 0.875rem;
  text-align: left;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  color: var(--color-text-header);
  border-bottom: 1px solid var(--color-border);
}
.seo-price-table td {
  padding: 0.5rem 0.875rem;
  border-bottom: 1px solid var(--color-border-soft);
  line-height: 1.45;
}
.seo-price-table tbody tr:last-child td { border-bottom: none; }
.seo-price-table tbody tr:hover { background: var(--color-bg-subtle); }
.seo-price-table th:nth-child(4),
.seo-price-table td:nth-child(4) { color: var(--color-primary); font-weight: 700; white-space: nowrap; }

@media (prefers-reduced-motion: reduce) {
  .stadsdel-card { transition: none; }
  .seo-expander summary::before { transition: none; }
}

/* =====================================================
   BREADCRUMB BAR (below hero on city pages)
===================================================== */
.breadcrumb-bar {
  background: var(--color-bg-white);
  padding: 1rem 0;
}
.breadcrumb-bar ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  letter-spacing: 0.01em;
}
.breadcrumb-bar li + li::before {
  content: '›';
  margin-right: 0.5rem;
  color: var(--color-text-muted);
}
.breadcrumb-bar a {
  color: var(--color-text-muted);
  text-decoration: none;
}
.breadcrumb-bar a:hover { text-decoration: underline; color: var(--color-primary); }
.breadcrumb-bar li[aria-current="page"] { color: var(--color-text-body); font-weight: 500; }

/* On phones the first content section's 5rem top padding leaves an oversized
   gap under the white breadcrumb bar — tighten it site-wide. */
@media (max-width: 768px) {
  .breadcrumb-bar + .section { padding-top: 2rem; }
}

/* =====================================================
   GUIDE QUICK-NAV (hopplänkar på /flyttguider/)
===================================================== */
.guide-nav {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--color-border);
}
.guide-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.guide-nav a {
  display: inline-flex;
  align-items: center;
  font-size: 0.8125rem;
  font-weight: 700;
  padding: 0.45rem 0.875rem;
  border-radius: var(--radius-pill);
  background: var(--color-bg-subtle);
  color: var(--color-text-body);
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.guide-nav a:hover {
  background: var(--color-primary-soft);
  color: var(--color-primary);
}
/* så att sektionsrubriken inte hamnar i kanten vid hopp */
.section[id] { scroll-margin-top: 1.5rem; }

/* =====================================================
   ARTICLE (single guide) LAYOUT
   Two columns on desktop: content + sticky CTA rail.
   Collapses to one column on mobile; the rail is hidden
   (inline CTAs in the body carry the conversion there).
===================================================== */
.article-layout { padding: 2.5rem 0 1.5rem; }
.article-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 3rem;
  align-items: start;
}
.article-main { min-width: 0; }

/* hero — cinematic editorial header: the curated 16:9 image as one wide,
   framed "stage", with a white title card overlapping its lower edge (the
   classic premium-magazine feature pattern). The text always sits on white,
   so it stays crisp regardless of what the photo looks like. */
.article-hero {
  background: var(--color-bg-cream);
  border-bottom: 1px solid var(--color-border-soft);
  padding: clamp(1.5rem, 4vw, 2.5rem) 0 clamp(2.25rem, 5vw, 3rem);
}
.article-hero-media {
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: 1.5rem;
}
.article-hero-media img {
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  object-position: center top;
  border-radius: 1.5rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 30px 60px -35px rgba(15, 23, 42, 0.4);
}

/* the title card, pulled up over the image's lower edge */
.article-hero-text {
  position: relative;
  max-width: 52rem;
  margin: clamp(-4.75rem, -7vw, -2.5rem) auto 0;
  padding: clamp(1.75rem, 4vw, 2.75rem) clamp(1.5rem, 5vw, 3.5rem);
  background: rgba(255, 255, 255, 0.93);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  border: 1px solid var(--color-border-soft);
  border-radius: 1.25rem;
  box-shadow: 0 24px 50px -28px rgba(15, 23, 42, 0.28), 0 6px 18px -10px rgba(15, 23, 42, 0.08);
  text-align: center;
}

/* eyebrow → refined pill chip */
.article-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.85rem 0.4rem 0.7rem;
  background: var(--color-bg-white);
  border: 1px solid var(--color-border-soft);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-soft);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 1.35rem;
}
.article-eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-primary);
}
.article-hero-text h1 {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.12;
  color: var(--color-text-header);
  margin-bottom: 1rem;
  text-wrap: balance;
}
.article-lead {
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--color-text-body);
  max-width: 40rem;
  margin: 0 auto;
}

/* optional CTA row inside the title card (e.g. checklista PDF download) */
.article-hero-cta { margin-top: 1.6rem; display: flex; justify-content: center; }
.article-hero-cta .btn-primary {
  font-weight: 700;
  border-radius: 0.75rem;
  box-shadow: 0 12px 24px -12px rgba(46, 125, 50, 0.55);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.article-hero-cta .btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 30px -14px rgba(46, 125, 50, 0.6);
}

/* staggered entrance on load: stage first, title card right behind it */
@keyframes articleHeroRise {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}
.article-hero-media { animation: articleHeroRise 0.8s cubic-bezier(0.22, 0.61, 0.36, 1) both; }
.article-hero-text  { animation: articleHeroRise 0.8s cubic-bezier(0.22, 0.61, 0.36, 1) 0.12s both; }
@media (prefers-reduced-motion: reduce) {
  .article-hero-media,
  .article-hero-text { animation: none; }
}

/* =====================================================
   LEGAL / POLICY PAGES (terms, privacy, cookies, support)
===================================================== */
.legal-hero {
  background: var(--color-bg-cream);
  border-bottom: 1px solid var(--color-border-soft);
  padding: clamp(2.5rem, 5vw, 3.75rem) 0;
}
.legal-hero .section-eyebrow { margin-bottom: 0.6rem; }
.legal-hero h1 {
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.legal-content {
  max-width: 760px;
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--color-text-body);
}
.legal-content p { margin-bottom: 1.25rem; }
.legal-content h2 {
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.25;
  color: var(--color-text-header);
  margin: 2.75rem 0 1rem;
  padding-top: 1.85rem;
  border-top: 1px solid var(--color-border-soft);
}
.legal-content > h2:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.legal-content h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--color-text-header);
  margin: 1.9rem 0 0.55rem;
}
.legal-content ul { list-style: disc; margin: 0 0 1.25rem; padding-left: 1.4rem; }
.legal-content li { margin-bottom: 0.4rem; }
.legal-content a:not(.btn) {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
}
.legal-content a:not(.btn):hover { text-decoration-thickness: 2px; }
.legal-contact {
  margin-top: 2.5rem;
  padding: 1.5rem 1.75rem;
  background: var(--color-bg-cream);
  border: 1px solid var(--color-border-soft);
  border-radius: var(--radius-standard);
  font-size: 1rem;
}
.legal-contact strong { color: var(--color-text-header); }

/* collapsible legal sub-document (e.g. the avtalsvillkor block, hidden until clicked) */
.legal-toggle { margin: 0 0 1.25rem; }
.legal-toggle > summary {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  width: fit-content;
  cursor: pointer;
  color: var(--color-primary);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
  list-style: none;
}
.legal-toggle > summary::-webkit-details-marker { display: none; }
.legal-toggle > summary::after {
  content: '';
  width: 0.5rem;
  height: 0.5rem;
  margin-top: -0.2rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}
.legal-toggle[open] > summary::after { transform: rotate(-135deg); margin-top: 0.1rem; }
.legal-toggle > summary:hover { text-decoration-thickness: 2px; }
.legal-toggle-body { margin-top: 1.25rem; }

/* breathing room between a section's intro text and the examples cards (att-flytta) */
.page-intro + .examples-carousel { margin-top: 2.25rem; }

/* pillar topic grid (att-flytta) — uses .article-card; image cards where a
   thumbnail exists, text cards otherwise */
.topic-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}
@media (max-width: 980px) { .topic-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .topic-grid { grid-template-columns: 1fr; } }

/* simple 3-up info steps (flyttfirma-pris) */
.price-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2.5rem; }
@media (max-width: 760px) { .price-steps { grid-template-columns: 1fr; } }
.price-step { padding: 1.5rem; background: var(--color-bg-white); border: 1px solid var(--color-border); border-radius: var(--radius-standard); }
.price-step h3 { font-size: 1.0625rem; color: var(--color-text-header); margin-bottom: 0.5rem; }
.price-step p { font-size: 0.9375rem; line-height: 1.6; color: var(--color-text-body); margin: 0; }
.price-step-num { display: block; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.06em; color: var(--color-primary); margin-bottom: 0.5rem; }

/* Price-factor cards (flyttfirma-pris: "Vad kostar en flyttfirma?") */
.price-factor-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 1.75rem; }
@media (max-width: 760px) { .price-factor-grid { grid-template-columns: 1fr; } }
.price-factor-card { padding: 1.85rem; background: var(--color-bg-white); border: 1px solid var(--color-border); border-radius: var(--radius-standard); }
.price-factor-card h3 { font-size: 1.0625rem; color: var(--color-text-header); margin-bottom: 1.1rem; }
.price-factor-card > p { font-size: 0.9375rem; line-height: 1.6; color: var(--color-text-body); margin: 0 0 0.95rem; }
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.7rem; }
.check-list li { position: relative; padding-left: 1.85rem; font-size: 0.9375rem; line-height: 1.5; color: var(--color-text-body); }
.check-list li::before { content: "\2713"; position: absolute; left: 0; top: 0.06rem; width: 1.2rem; height: 1.2rem; display: grid; place-items: center; background: var(--color-primary); color: #fff; border-radius: 50%; font-size: 0.72rem; font-weight: 700; line-height: 1; }

/* B2B benefits + signup (for-flyttfirmor) */
.benefit-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; margin-top: 2.5rem; }
@media (max-width: 700px) { .benefit-grid { grid-template-columns: 1fr; } }
.benefit-card {
  position: relative;
  padding: 2.1rem 1.95rem;
  background: var(--color-bg-white);
  border: 1px solid var(--color-border-soft);
  border-radius: 1.25rem;
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.benefit-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-primary-hover));
  opacity: 0;
  transition: opacity 0.2s ease;
}
.benefit-card:hover { transform: translateY(-4px); box-shadow: 0 22px 46px -24px rgba(15, 23, 42, 0.3); border-color: #cbe6cf; }
.benefit-card:hover::before { opacity: 1; }
.benefit-card-icon {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 15px;
  background: linear-gradient(145deg, var(--color-primary), var(--color-primary-hover));
  color: #fff;
  box-shadow: 0 10px 22px -10px rgba(46, 125, 50, 0.55);
  margin-bottom: 1.25rem;
  transition: transform 0.2s ease;
}
.benefit-card:hover .benefit-card-icon { transform: scale(1.06) rotate(-2deg); }
.benefit-card-icon svg { width: 25px; height: 25px; }
.benefit-card h3 { font-size: 1.0625rem; font-weight: 600; color: var(--color-text-header); margin-bottom: 0.6rem; line-height: 1.35; }
.benefit-card p { font-size: 0.9375rem; line-height: 1.65; color: var(--color-text-body); margin: 0; }
.signup-card { background: var(--color-bg-cream); border: 1px solid var(--color-border-soft); border-radius: var(--radius-standard); padding: 1.85rem; }
.signup-form .field { margin-bottom: 0.95rem; }
.signup-form label { display: block; font-size: 0.8125rem; font-weight: 600; color: var(--color-text-header); margin-bottom: 0.3rem; }
.signup-form input { width: 100%; padding: 0.7rem 0.85rem; border: 1px solid var(--color-border); border-radius: var(--radius-standard); font: inherit; font-size: 0.9375rem; background: var(--color-bg-white); }
.signup-form input:focus { outline: 2px solid var(--color-primary); outline-offset: 1px; border-color: var(--color-primary); }
.signup-consent { font-size: 0.8125rem; color: var(--color-text-muted); margin: 0.4rem 0 1.1rem; }
.signup-consent a { color: var(--color-primary); text-decoration: underline; }
.signup-trust-list { margin: 2.4rem 0 1.5rem; }
.signup-trust-badge { display: flex; align-items: center; gap: 0.6rem; margin: 0 0 1.25rem; font-size: 0.9375rem; color: var(--color-text-body); }
.signup-trust-badge .tp-stars { font-size: 1rem; flex-shrink: 0; }
.signup-contact { font-size: 0.9375rem; color: var(--color-text-body); line-height: 1.7; }
.signup-org { display: inline-block; margin-top: 0.35rem; font-size: 0.8125rem; color: var(--color-text-muted); }

/* reviews masonry (flyttfirmors-omdomen) — varying-length testimonials packed in columns */
.reviews-masonry { columns: 3; column-gap: 1.5rem; margin-top: 2.5rem; }
@media (max-width: 900px) { .reviews-masonry { columns: 2; } }
@media (max-width: 560px) { .reviews-masonry { columns: 1; } }
.reviews-masonry .review-card { break-inside: avoid; margin-bottom: 1.5rem; }
.review-initial {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--color-primary-soft);
  color: var(--color-primary);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.article-content {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--color-text-body);
}
.article-content h2 {
  font-size: clamp(1.375rem, 2vw, 1.625rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.25;
  color: var(--color-text-header);
  margin: 2.5rem 0 1rem;
}
.article-content p { margin-bottom: 1.25rem; }
/* body lists need their markers back (global `ul,ol { list-style:none }` strips them).
   Scoped to plain, direct lists so the custom lists (.stat-list, .article-toc,
   .cta-inline-checks …) keep their own styling. */
.article-content > ul:not([class]),
.article-content > ol:not([class]) { margin: 0 0 1.5rem; padding-left: 1.5rem; }
.article-content > ul:not([class]) { list-style: disc; }
.article-content > ol:not([class]) { list-style: decimal; }
.article-content > ul:not([class]) li,
.article-content > ol:not([class]) li { margin-bottom: 0.5rem; }
.article-tips ul { list-style: disc; }
/* long inventory lists (many short items) → balanced columns */
.article-content ul.cols {
  list-style: disc;
  columns: 2;
  column-gap: 2.5rem;
  margin: 0 0 1.5rem;
  padding-left: 1.5rem;
}
.article-content ul.cols li { break-inside: avoid; margin-bottom: 0.5rem; }
@media (max-width: 560px) { .article-content ul.cols { columns: 1; } }
/* in-article images */
.article-figure { margin: 2rem 0; }
.article-figure img { width: 100%; height: auto; border-radius: 0.875rem; }
.article-figure figcaption { margin-top: 0.5rem; font-size: 0.875rem; color: var(--color-text-muted); }
/* :not(.btn) so the content link colour never bleeds into button anchors */
.article-content a:not(.btn),
.article-lead a:not(.btn) {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.article-content a:not(.btn):hover,
.article-lead a:not(.btn):hover { text-decoration: none; }
.article-source { font-size: 0.9375rem; color: var(--color-text-muted); }

/* stat list (place + value rows) */
.stat-list {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  border-top: 1px solid var(--color-border-soft);
}
.stat-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.625rem 0;
  border-bottom: 1px solid var(--color-border-soft);
}
.stat-list span { color: var(--color-text-body); }
.stat-list strong { font-weight: 800; color: var(--color-text-header); white-space: nowrap; }

/* intro teaser list ("Vi går igenom:") */
.article-toc {
  margin: 0 0 1.75rem;
  padding-left: 1.1rem;
  color: var(--color-text-body);
  font-style: italic;
}
.article-toc li { margin-bottom: 0.3rem; }

/* "Lästips" box */
.article-tips {
  background: var(--color-bg-subtle);
  border-radius: 0.875rem;
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
}
.article-tips-label { font-weight: 800; color: var(--color-text-header); margin-bottom: 0.5rem; }
.article-tips ul { margin: 0; padding-left: 1.1rem; }
.article-tips li { margin-bottom: 0.35rem; }

/* "Alla flyttguider →" link under the related grid */
.article-allguides { margin-top: 2rem; font-weight: 700; }
.article-allguides a { color: var(--color-primary); text-decoration: none; }
.article-allguides a:hover { text-decoration: underline; }

/* embedded inline CTA: strip the full-section chrome inside the column and
   stack it vertically so it fits the narrow article width (no modifier needed). */
.article-content .cta-inline-section { padding: 0; margin: 2rem 0; }
.article-content .cta-inline-section .container { padding-inline: 0; max-width: none; }
/* image as a full-height panel on the left, text + button stacked on the right */
.article-content .cta-inline {
  grid-template-columns: 170px 1fr;
  grid-template-rows: 1fr auto;
  gap: 0;
  padding: 0;
  overflow: hidden;
  align-items: stretch;
  text-align: left;               /* override the component's ≤768px centering */
}
.article-content .cta-inline-top { flex-direction: row; align-items: flex-start; }
.article-content .cta-inline-illust {
  grid-column: 1;
  grid-row: 1 / -1;          /* span both rows = full box height */
  width: 100%;
  height: 100%;
  background: var(--color-bg-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.article-content .cta-inline-illust img { width: 100%; height: 100%; object-fit: contain; }
.article-content .cta-inline-body {
  grid-column: 2;
  grid-row: 1;
  padding: 1.5rem 1.5rem 0.75rem;
}
.article-content .cta-inline-text h3 { font-size: 1.25rem; white-space: normal; }
.article-content .cta-inline .btn {
  grid-column: 2;
  grid-row: 2;
  margin: 0 1.5rem 1.5rem;
  justify-content: center;
}

/* mobile: image becomes a full-width banner across the top of the box */
@media (max-width: 600px) {
  .article-content .cta-inline {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
  }
  .article-content .cta-inline-illust { grid-column: 1; grid-row: 1; height: 150px; }
  .article-content .cta-inline-body { grid-column: 1; grid-row: 2; }
  .article-content .cta-inline .btn { grid-column: 1; grid-row: 3; }
}

/* sticky right rail — sticky lives on the grid item so it has the full
   height of the (tall) content column to travel within; align-self:start
   keeps the item its own height instead of stretching. */
.article-aside {
  position: sticky;
  top: calc(var(--header-height) + 1.5rem);
  align-self: start;
}
/* light premium panel: a rounded, shadowed frame holding two zones — the white
   CTA on top and the attached "checklist" continuation below. */
.cta-sticky-wrap {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--color-border-soft);
  border-radius: 1.25rem;
  box-shadow: 0 24px 50px -28px rgba(15, 23, 42, 0.22), 0 6px 18px -10px rgba(15, 23, 42, 0.07);
  animation: articleHeroRise 0.8s cubic-bezier(0.22, 0.61, 0.36, 1) 0.2s both;
}
@media (prefers-reduced-motion: reduce) { .cta-sticky-wrap { animation: none; } }
.cta-sticky {
  position: relative;
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(46, 125, 50, 0.07), transparent 55%),
    var(--color-bg-white);
  padding: 1.85rem 1.75rem 1.6rem;
  color: var(--color-text-body);
}
.cta-sticky-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.34rem 0.72rem;
  background: #f0fdf4;
  border: 1px solid var(--color-primary-soft);
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-text-header);
  margin-bottom: 0.95rem;
}
.cta-sticky-eyebrow .tp-stars {
  color: var(--color-star);
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  line-height: 1;
}
.cta-sticky-title {
  font-size: 1.3125rem;
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.22;
  color: var(--color-text-header);
  margin-bottom: 0.55rem;
}
.cta-sticky-text {
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--color-text-body);
  margin-bottom: 1.1rem;
}
.cta-sticky-checks {
  list-style: none;
  margin: 0 0 1.2rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.cta-sticky-checks li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-body);
}
/* checkmark in a soft green coin */
.cta-sticky-checks svg {
  box-sizing: border-box;
  width: 19px;
  height: 19px;
  padding: 4px;
  background: var(--color-primary-soft);
  border-radius: 50%;
  color: var(--color-primary);
  flex-shrink: 0;
}
.cta-sticky-btn { width: 100%; justify-content: center; }
/* green CTA carries the accent; soft green-tinted shadow + hover lift */
.cta-sticky .btn-primary {
  font-weight: 700;
  border-radius: 0.75rem;
  box-shadow: 0 12px 24px -12px rgba(46, 125, 50, 0.55);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.cta-sticky .btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 30px -14px rgba(46, 125, 50, 0.6);
}
.cta-sticky-foot {
  margin-top: 1rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--color-border-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--color-text-body);
}
.cta-sticky-foot .tp-stars {
  color: var(--color-star);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  line-height: 1;
}
/* Secondary, lower-weight offer: download the planning checklist. The green
   CTA above keeps the focus; this is the "save it for later" hook for the
   first-time visitor who is planning rather than ready to compare. */
.cta-sticky-alt {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  background: var(--color-bg-subtle);
  border-top: 1px solid var(--color-border-soft);
  text-decoration: none;
  transition: background 0.15s ease;
}
.cta-sticky-alt:hover { background: #eef7f0; }
.cta-sticky-alt-body { display: flex; flex-direction: column; gap: 0.12rem; min-width: 0; flex: 1; }
.cta-sticky-alt-body strong {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-primary);
}
.cta-sticky-alt-body small {
  font-size: 0.75rem;
  line-height: 1.4;
  color: var(--color-text-muted);
}
.cta-sticky-alt-arrow {
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
  color: var(--color-primary);
  transition: transform 0.2s ease;
}
.cta-sticky-alt:hover .cta-sticky-alt-arrow { transform: translateX(2px); }

@media (max-width: 980px) {
  .article-grid { grid-template-columns: 1fr; gap: 0; }
  .article-aside { display: none; }
}

/* hero on small screens: the image goes full-bleed (edge to edge, square
   corners) and the title card stays inset, still overlapping its lower edge */
@media (max-width: 720px) {
  .article-hero { padding-top: 0; }
  .article-hero-media { padding-inline: 0; }
  .article-hero-media img {
    aspect-ratio: 16 / 10;
    border-radius: 0;
    border: none;
  }
  .article-hero-text {
    margin-top: -2rem;
    padding: 1.5rem 1.25rem 1.65rem;
    border-radius: 1rem;
  }
}

/* =====================================================
   CUSTOMER STORIES
===================================================== */
.stories-carousel { position: relative; }

.customer-stories-grid {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 0.5rem;
  margin-bottom: -0.5rem;
  margin-top: 2.5rem;
}
.customer-stories-grid::-webkit-scrollbar { display: none; }
.customer-stories-grid > .customer-story {
  flex: 0 0 calc((100% - 1.25rem) / 2);
  scroll-snap-align: start;
}
@media (max-width: 768px) {
  .customer-stories-grid > .customer-story { flex: 0 0 100%; }
}
.customer-story {
  position: relative;
  background: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-top: 3px solid var(--color-primary);
  border-radius: var(--radius-standard);
  padding: 1.5rem 1.375rem;
  display: flex;
  flex-direction: column;
  gap: 0;
  box-shadow: var(--shadow-soft);
}
.customer-story .tp-stars {
  font-size: 1.125rem;
  color: var(--color-primary);
  letter-spacing: 0.08em;
  margin-bottom: 0.25rem;
}
.customer-story h3 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-text-header);
  margin: 0 0 0.875rem;
  line-height: 1.3;
}
.story-quote {
  font-size: 0.9375rem;
  font-style: italic;
  color: var(--color-text-body);
  line-height: 1.6;
  margin: 0;
}
.story-expander {
  display: contents;
}
.story-expander > summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  margin-top: 1rem;
  padding-top: 0.875rem;
  border-top: 1px solid var(--color-border-soft);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-primary);
  user-select: none;
  transition: opacity 0.15s ease;
}
.story-expander > summary::-webkit-details-marker { display: none; }
.story-expander > summary:hover { opacity: 0.75; }
.story-expander > summary:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
  border-radius: 2px;
}
.story-expander > summary::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}
.story-expander[open] > summary::after {
  transform: rotate(45deg) translate(-2px, -2px);
}
.story-expander-body { padding-top: 0.75rem; }
.story-expander-body p {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--color-text-body);
  margin: 0 0 0.5rem;
}
.story-expander-body h4 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  border-top: 1px solid var(--color-border-soft);
  padding-top: 0.75rem;
  margin: 0.875rem 0 0.375rem;
}
.story-brief {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  border-top: 1px solid var(--color-border-soft);
  padding-top: 0.875rem;
  margin-top: 1rem;
}
.story-badge-gone {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-primary);
  background: var(--color-primary-soft);
  padding: 0.2rem 0.625rem;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  flex-shrink: 0;
}

/* =====================================================
   PRICE EXAMPLE CARD
===================================================== */
.price-example-card {
  background: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-primary);
  border-radius: var(--radius-standard);
  padding: 0;
  margin: 0;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
}
.price-example-header {
  padding: 1rem 1.25rem 0.625rem;
}
.price-example-body {
  display: flex;
  flex-direction: row;
  flex: 1;
}
.price-example-content {
  flex: 1;
  padding: 0 1.25rem 1rem;
}
.price-example-img {
  width: 160px;
  flex-shrink: 0;
  align-self: center;
  pointer-events: none;
  display: block;
  margin: 0.75rem 0.75rem 0.75rem 0;
}
.price-example-header > h3 {
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--color-text-header);
  margin: 0 0 0.5rem;
}
.price-example-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  margin-bottom: 0.625rem;
}
.price-example-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  background: var(--color-bg-card, #fff);
  border: 1px solid var(--color-border);
  border-radius: 2rem;
  padding: 0.2rem 0.625rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-text-header);
}
.price-example-card p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--color-text-body);
  margin: 0 0 0.5rem;
}
.price-example-services {
  color: var(--color-text-muted) !important;
  font-size: 0.8125rem !important;
}
.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  list-style: none;
  padding: 0;
  margin: 0.375rem 0 0.625rem;
}
.service-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.4;
}
.service-tag--active {
  background: var(--color-primary-soft);
  color: var(--color-primary);
}
.service-tag--active::before {
  content: '✓';
  font-weight: 700;
  font-size: 0.7rem;
}
.price-example-result {
  margin: 0.75rem 0 0 !important;
}
.price-tag {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--color-primary);
  font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
}

/* =====================================================
   PRICE INSIGHT — callout box (city pages)
===================================================== */
.price-insight {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: var(--color-primary-soft);
  border-left: 3px solid var(--color-primary);
  border-radius: var(--radius-standard);
  padding: 1.125rem 1.5rem;
  margin: 1.5rem 0;
}
.price-insight > p {
  flex: 1;
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-text-header);
  line-height: 1.5;
}
@media (max-width: 600px) {
  .price-insight { flex-direction: column; align-items: flex-start; }
}

/* =====================================================
   MYTH ACCORDION
===================================================== */
.myth-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 2rem;
}
.myth-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-standard);
  background: var(--color-bg-white);
}
.myth-item > summary {
  padding: 1rem 1.25rem;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--color-text-header);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  user-select: none;
}
.myth-item > summary::-webkit-details-marker { display: none; }
.myth-item > summary::after {
  content: "";
  display: inline-block;
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--color-primary);
  border-bottom: 2px solid var(--color-primary);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}
.myth-item[open] > summary::after {
  transform: rotate(-135deg) translate(0, 3px);
}
.myth-item > summary:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: -2px;
  border-radius: var(--radius-standard);
}
.myth-body {
  padding: 0 1.25rem 1.125rem;
  font-size: 0.9375rem;
  color: var(--color-text-body);
  line-height: 1.65;
  border-top: 1px solid var(--color-border-soft);
}
.myth-body p { margin: 0.75rem 0 0; }

/* =====================================================
   TRUST QUOTES (city pages)
===================================================== */
.trust-quotes {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  gap: 1rem;
  margin-top: 2.5rem;
}
/* =====================================================
   VISA PRIS — reveal interaction (city pages)
===================================================== */
.btn-visa-pris {
  margin-top: 0.875rem;
}
.btn-visa-pris::before {
  content: '';
  display: inline-block;
  width: 0.5rem;
  height: 0.5rem;
  background: rgba(255,255,255,0.7);
  border-radius: 50%;
  flex-shrink: 0;
}

.price-reveal {
  display: none;
  margin-top: 0.75rem;
}
.price-reveal.is-visible {
  display: block;
  animation: priceReveal 0.25s ease;
}
@keyframes priceReveal {
  from { opacity: 0; transform: translateY(5px); }
  to   { opacity: 1; transform: translateY(0); }
}
.price-reveal-disclaimer {
  font-size: 0.8125rem !important;
  color: var(--color-text-muted) !important;
  margin: 0.25rem 0 0.875rem !important;
}

.trust-quote-item {
  background: var(--color-bg-card, #fff);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-standard);
  padding: 1.25rem;
  font-size: 1rem;
  font-style: italic;
  color: var(--color-text-body);
  margin: 0;
}
.trust-quote-item::before {
  content: '\201C';
  display: block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  font-style: normal;
  line-height: 1;
  color: var(--color-primary);
  margin-bottom: 0.375rem;
}

/* =====================================================
   PROSE STACK — stacked paragraphs in right column
===================================================== */
.prose-stack > p {
  font-size: 1rem;
  color: var(--color-text-body);
  line-height: 1.7;
  margin: 0 0 1rem;
}
.prose-stack > p:last-child { margin-bottom: 0; }

/* =====================================================
   PRICE TABLES GRID — two tables side by side
===================================================== */
.price-tables-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 1px solid var(--color-border-soft);
}
.price-table-group {
  min-width: 0;
}
.price-table-group > h3 {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--color-text-header);
  margin-bottom: 0.75rem;
}

/* =====================================================
   PRICE CARDS GRID — two cards side by side
===================================================== */
.price-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}
.prose-cards-split {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 1.5rem 4rem;
  align-items: start;
  margin-top: 2rem;
}
#pris-pa-flyttfirma > .container > h2 {
  font-size: clamp(1.375rem, 2vw, 1.625rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.25;
  margin-bottom: 0;
}
.prose-cards-split > .price-cards-grid {
  margin-top: 0;
  grid-template-columns: 1fr;
}

.cta-row { margin-top: 2.5rem; }
.rut-note {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: var(--color-text-muted);
}
.rut-note a {
  color: var(--color-primary);
  font-weight: 600;
}

/* landing-page prose helpers (service/PAGE-type pages) */
.prose-stack ul:not([class]) {
  list-style: disc;
  padding-left: 1.25rem;
  margin: 0.5rem 0 1.25rem;
}
.prose-stack ul:not([class]) li {
  margin-bottom: 0.45rem;
  color: var(--color-text-body);
  line-height: 1.6;
}
.media-figure { margin: 1.75rem 0 0; }
.media-figure img {
  width: 100%;
  border-radius: var(--radius-standard);
  display: block;
  box-shadow: var(--shadow-soft);
}

/* "Vad ingår" — two-column module: pitch + image | service menu card */
.vad-ingar-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem 4rem;
  align-items: start;
  margin-top: 2.5rem;
}
.vad-ingar-intro h2 { margin-bottom: 1.25rem; }
.vad-ingar-intro > p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text-body);
  margin-bottom: 1rem;
}
.vad-ingar-services {
  background: var(--color-bg-white);
  border: 1px solid var(--color-border-soft);
  border-radius: var(--radius-standard);
  padding: 0.25rem 1.5rem;
  box-shadow: var(--shadow-soft);
}
.vad-ingar-services .faq-accordion { max-width: none; margin: 0; }
.vad-ingar-services .faq-item:first-child { border-top: none; }
.vad-ingar-services .faq-item:last-child { border-bottom: none; }
@media (max-width: 900px) {
  .vad-ingar-grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* preparation check-list ("vad förväntar sig flytthjälpen av dig") */
.prep-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}
.prep-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: start;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--color-text-body);
}
.prep-list .prep-check {
  width: 22px;
  height: 22px;
  margin-top: 1px;
  color: var(--color-primary);
}
.prep-list--no .prep-check { color: var(--color-text-muted); }

/* hero CTA button (non-biddable service landings — no quote form) */
.hero-cta { margin-bottom: 1.5rem; }

/* hero teaser questions (what the guide answers) */
.hero-questions {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}
.hero-questions li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.6rem;
  align-items: start;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-text-header);
  line-height: 1.4;
}
.hero-questions svg { width: 15px; height: 15px; color: var(--color-primary); margin-top: 3px; }

/* premium feature-media section — text + framed image with depth accent */
.feature-media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
@media (max-width: 820px) {
  .feature-media { grid-template-columns: 1fr; gap: 2.75rem; }
}
.feature-media-text h2 {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 1.15rem;
}
.feature-media-text > p {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--color-text-body);
}
.feature-media-text a:not(.btn) { color: var(--color-primary); font-weight: 500; }
.feature-media-text a:not(.btn):hover { text-decoration: underline; }
.feature-media-text ul:not([class]) { list-style: disc; padding-left: 1.4rem; margin: 0 0 1rem; }
.feature-media-text ol:not([class]) { list-style: decimal; padding-left: 1.4rem; margin: 0 0 1rem; }
.feature-media-text li { margin-bottom: 0.4rem; }

.feature-media-frame { position: relative; }
.feature-media-frame::before {
  content: '';
  position: absolute;
  top: -1.75rem;
  right: -1.75rem;
  width: 58%;
  height: 72%;
  background: #dcfce7;
  border-radius: 1.5rem;
  z-index: 0;
}
.feature-media-frame img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  border-radius: 1.25rem;
  box-shadow: 0 40px 70px -32px rgba(15, 23, 42, 0.38), 0 14px 28px -18px rgba(15, 23, 42, 0.22);
  display: block;
}
.feature-media--reverse .feature-media-frame { order: -1; }
.feature-media--reverse .feature-media-frame::before { right: auto; left: -1.75rem; }
@media (max-width: 820px) {
  .feature-media--reverse .feature-media-frame { order: 0; }
}

/* included vs not-included comparison (service pages) */
.includes-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2.5rem;
}
@media (max-width: 768px) { .includes-split { grid-template-columns: 1fr; } }
.includes-card {
  background: var(--color-bg-white);
  border: 1px solid var(--color-border-soft);
  border-radius: var(--radius-standard);
  padding: 1.75rem;
  box-shadow: var(--shadow-soft);
}
.includes-card > h3 {
  margin: 0 0 1.25rem;
  font-size: 1.0625rem;
}

/* two-column check-list (long checklists) */
@media (min-width: 680px) {
  .prep-list--cols { grid-template-columns: 1fr 1fr; gap: 0.85rem 2.75rem; }
}
/* sub-heading directly above a list, and a paragraph following one */
.list-subhead { margin: 2.5rem 0 1.25rem; }
.list-foot { margin-top: 1.75rem; }

/* single intro statement (one paragraph, centred lead) */
.page-intro {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--color-text-body);
}
.page-intro a:not(.btn) { color: var(--color-primary); font-weight: 500; }
.page-intro a:not(.btn):hover { text-decoration: underline; }

/* prominent call-to-action / resource links (white boxes, green arrow) */
.cta-links {
  list-style: none;
  margin: 2rem 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 680px) { .cta-links { grid-template-columns: 1fr; } }
.cta-links li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: center;
  background: var(--color-bg-white);
  border: 1px solid var(--color-border-soft);
  border-radius: 0.875rem;
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow-soft);
  font-size: 0.9375rem;
  color: var(--color-text-body);
  line-height: 1.5;
}
.cta-links li svg { width: 18px; height: 18px; color: var(--color-primary); }
.cta-links a { color: var(--color-primary); font-weight: 700; }
.cta-links a:hover { text-decoration: underline; }
/* readable-width standalone paragraph (avoid full-container line length) */
.text-readable { max-width: 760px; }

/* Skip-link: off-screen until keyboard focus, then slides into view */
.skip-link {
  position: absolute;
  left: 0.5rem;
  top: -3.5rem;
  z-index: 1000;
  background: var(--color-primary);
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: top 0.15s ease;
}
.skip-link:focus { top: 0.5rem; }
/* breathing room when a standalone paragraph follows a feature-media block
   (the taller image column would otherwise sit flush against the text) */
.feature-media + .text-readable { margin-top: 2rem; }

/* ── 404 / error page ───────────────────────────────────────────── */
.error-section { text-align: center; padding: 5rem 0 5.5rem; }
.error-code {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: clamp(4.5rem, 20vw, 10rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--color-primary);
  margin: 0;
}
.error-title { margin: 0.25rem 0 0.75rem; }
.error-lead {
  max-width: 540px;
  margin: 0 auto 2rem;
  color: var(--color-text-body);
  line-height: 1.7;
}
.error-actions {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}
.error-suggest {
  margin-top: 3rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  justify-content: center;
  align-items: center;
  font-size: 0.9375rem;
}
.error-suggest-label { color: var(--color-text-muted, #6b7280); }
.error-suggest a { color: var(--color-primary); font-weight: 500; }
.error-suggest a:hover { text-decoration: underline; }

/* timeline checklist (checklista-flytt) */
.checklist-timeline { margin-top: 2.5rem; }
.checklist-step {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 3rem;
  padding: 2.75rem 0;
  border-top: 1px solid var(--color-border-soft);
}
.checklist-step:first-child { border-top: none; padding-top: 0.5rem; }
@media (max-width: 860px) {
  .checklist-step { grid-template-columns: 1fr; gap: 1.25rem; padding: 2rem 0; }
}
/* small uppercase step counter above each icon (CSS counter, presentation only) */
.checklist-timeline { counter-reset: checklist-step; }
.checklist-step { counter-increment: checklist-step; }
.checklist-step-aside::before {
  content: "Steg " counter(checklist-step);
  display: block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 0.7rem;
}
.checklist-step-icon {
  display: inline-grid; place-items: center;
  width: 48px; height: 48px; border-radius: 14px;
  background: linear-gradient(160deg, #f0fdf4, #dcfce7);
  border: 1px solid rgba(46, 125, 50, 0.14);
  box-shadow: 0 8px 16px -10px rgba(46, 125, 50, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.85);
  color: var(--color-primary);
  margin-bottom: 0.9rem;
}
.checklist-step-icon svg { width: 23px; height: 23px; }
.checklist-step-title { font-size: 1.25rem; font-weight: 800; letter-spacing: -0.01em; margin: 0; color: var(--color-text-header); line-height: 1.3; }
@media (min-width: 861px) { .checklist-step-aside { position: sticky; top: 6rem; align-self: start; } }
.checklist-step-body > p { color: var(--color-text-body); margin-bottom: 1.5rem; line-height: 1.7; }
.checklist-step-body > h3 { font-size: 1.0625rem; margin: 1.75rem 0 0.85rem; color: var(--color-text-header); }
.checklist-step-body > h3:first-child { margin-top: 0; }

/* green check-list (CSS-drawn marker, no per-item svg) */
.check-list { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; gap: 0.65rem; }
.check-list:last-child { margin-bottom: 0; }
.check-list li {
  position: relative; padding-left: 2rem;
  font-size: 0.9375rem; line-height: 1.55; color: var(--color-text-body);
}
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 0.05rem;
  width: 1.25rem; height: 1.25rem; border-radius: 50%; background: #dcfce7;
}
.check-list li::after {
  content: ""; position: absolute; left: 0.42rem; top: 0.27rem;
  width: 0.32rem; height: 0.6rem;
  border: solid var(--color-primary); border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.check-list a { color: var(--color-primary); font-weight: 500; }
.check-list a:hover { text-decoration: underline; }

/* map placeholder (storage-finder content page, real map added later) */
.map-placeholder {
  margin-top: 2.5rem;
  background: var(--color-bg-subtle);
  border: 1px dashed var(--color-border);
  border-radius: var(--radius-standard);
  min-height: 440px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 2.5rem 1.5rem;
}
.map-placeholder svg { width: 52px; height: 52px; color: var(--color-primary); opacity: 0.55; margin-bottom: 1rem; }
.map-placeholder strong { display: block; color: var(--color-text-header); font-size: 1.0625rem; margin-bottom: 0.35rem; }
.map-placeholder p { margin: 0; color: var(--color-text-muted); font-size: 0.9375rem; max-width: 380px; }

/* two-column body prose (long informational sections, full width) */
.prose-cols {
  columns: 2;
  column-gap: 3.5rem;
  margin-top: 1.5rem;
}
@media (max-width: 720px) { .prose-cols { columns: 1; } }
.prose-cols p {
  break-inside: avoid;
  margin: 0 0 1rem;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text-body);
}
.prose-cols p:last-child { margin-bottom: 0; }
.prose-cols a:not(.btn) { color: var(--color-primary); font-weight: 500; }
.prose-cols a:not(.btn):hover { text-decoration: underline; }
.prose-cols > div { break-inside: avoid; }
.prose-cols h3 { margin-bottom: 0.75rem; }
.prose-cols ul { list-style: disc; margin: 0 0 1rem; padding-left: 1.35rem; }
.prose-cols li { margin-bottom: 0.45rem; line-height: 1.65; color: var(--color-text-body); }
.checklist-full { margin-top: 1.75rem; }
.size-table-intro {
  margin: 2.5rem 0 1.25rem;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--color-text-body);
}

/* option/size cards (e.g. flyttbil storlekar + pris) */
.size-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}
@media (max-width: 900px) { .size-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .size-cards { grid-template-columns: 1fr; } }
.size-card {
  background: var(--color-bg-white);
  border: 1px solid var(--color-border-soft);
  border-radius: var(--radius-standard);
  padding: 1.5rem 1.375rem;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
}
.size-card-tag {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-primary);
}
.size-card-price {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-text-header);
  margin: 0.2rem 0 0.75rem;
}
.size-card p { margin: 0; font-size: 0.9rem; line-height: 1.55; color: var(--color-text-body); }

/* cost-factors — scannable reference list of what affects the final price */
.cost-factors-title { margin-top: 3rem; }
.cost-factors {
  margin-top: 1.5rem;
  margin-bottom: 2.75rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem 4rem;
}
@media (max-width: 720px) { .cost-factors { grid-template-columns: 1fr; gap: 1.5rem; } }
.cost-factor {
  position: relative;
  padding-left: 1.25rem;
}
.cost-factor::before {
  content: '';
  position: absolute;
  left: 0;
  top: 3px;
  bottom: 3px;
  width: 3px;
  border-radius: 3px;
  background: var(--color-primary);
}
.cost-factor strong {
  display: block;
  color: var(--color-text-header);
  font-size: 0.9375rem;
  margin-bottom: 0.25rem;
}
.cost-factor span {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.55;
}

/* time-estimate fact list (task | duration) */
.time-list {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 2rem;
}
@media (max-width: 560px) { .time-list { grid-template-columns: 1fr; } }
.time-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--color-border-soft);
  font-size: 0.9375rem;
  color: var(--color-text-body);
}
.time-list li strong { color: var(--color-text-header); white-space: nowrap; }

@media (max-width: 900px) {
  .price-cards-grid { grid-template-columns: 1fr; }
  .price-example-header { padding-bottom: 0; }
  .price-example-body { flex-direction: column; }
  .price-example-img { order: -1; width: 100%; height: 130px; object-fit: cover; object-position: center bottom; margin: 0; }
  .price-example-content { padding: 0.625rem 1.25rem 1rem; }
  .seo-price-table th:nth-child(2),
  .seo-price-table td:nth-child(2),
  .seo-price-table th:nth-child(3),
  .seo-price-table td:nth-child(3) { display: none; }
}
@media (max-width: 768px) {
  .price-tables-grid { grid-template-columns: 1fr; }
  .prose-cards-split { grid-template-columns: 1fr; }
  .story-brief { display: none; }
}

/* =====================================================
   CONTENT SPLIT — title left, prose right (city pages)
===================================================== */
.content-split {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 1.5rem 4rem;
  align-items: start;
}
.content-split + .content-split {
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 1px solid var(--color-border-soft);
}
.content-split-title h2 {
  font-size: clamp(1.375rem, 2vw, 1.625rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.25;
}
/* Premium editorial feature rows (e.g. "Flyttfirmor för varje avfärd") */
.feature-rows {
  margin-top: 3.5rem;
  display: flex;
  flex-direction: column;
  gap: 5rem;
}
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4.5rem;
  align-items: center;
}
.feature-row--reverse .feature-row-media { grid-column: 2; grid-row: 1; }
.feature-row--reverse .feature-row-text  { grid-column: 1; grid-row: 1; }
.feature-row-media {
  margin: 0;
  aspect-ratio: 3 / 2;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(16, 24, 40, 0.04), 0 34px 64px -34px rgba(16, 24, 40, 0.4);
}
.feature-row-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s cubic-bezier(0.2, 0.6, 0.2, 1);
}
.feature-row:hover .feature-row-media img { transform: scale(1.045); }
.feature-row-text h3 {
  font-size: clamp(1.3rem, 1.7vw, 1.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 0.9rem;
  color: var(--color-text-header);
}
.feature-row-text p {
  font-size: 1.0625rem;
  line-height: 1.85;
  color: var(--color-text-body);
  margin: 0;
}
/* Paired "tool/price" callouts for the imageless items */
.feature-tools {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem;
}
.feature-tool {
  padding: 2.25rem 2.25rem;
  background: var(--color-bg-white);
  border: 1px solid var(--color-border-soft);
  border-radius: 1.5rem;
  box-shadow: 0 2px 6px rgba(16, 24, 40, 0.04), 0 24px 48px -34px rgba(16, 24, 40, 0.3);
}
.feature-tool h3 {
  font-size: 1.1875rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 0.75rem;
  color: var(--color-text-header);
}
.feature-tool p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--color-text-body);
  margin: 0;
}
@media (max-width: 760px) {
  .feature-rows { gap: 3.25rem; margin-top: 2.5rem; }
  .feature-row { grid-template-columns: 1fr; gap: 1.5rem; }
  .feature-row--reverse .feature-row-media,
  .feature-row .feature-row-media { grid-column: 1; grid-row: 1; }
  .feature-row--reverse .feature-row-text,
  .feature-row .feature-row-text { grid-column: 1; grid-row: 2; }
  .feature-tools { grid-template-columns: 1fr; gap: 1.25rem; }
}
.text-lead {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--color-text-body);
}
@media (max-width: 640px) {
  .content-split {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .content-split + .content-split {
    margin-top: 2rem;
    padding-top: 2rem;
  }
}

/* =====================================================
   HYR ETT FÖRRÅD — storage locator (/hyr-ett-forrad/)
   Compact clickable cards + detail modal. Reuses .section/.partners-note.
====================================================== */
/* Hero reuses the standard .hero look (cream + interior photo, content card).
   The card is widened so the storage search (input + Sok + "Anvand min plats")
   sits on one row on desktop; .hero-sub spans the full card width. */
.hero-forrad .hero-sub { max-width: none; margin-bottom: 1.25rem; }
.hero-forrad .forrad-search { max-width: none; }
@media (min-width: 769px) {
  .hero-forrad .hero-card { max-width: 620px; }
}

.forrad-search { display: flex; flex-wrap: wrap; gap: 0.625rem; max-width: 42rem; }
.forrad-search .form-input-wrap { flex: 1 1 16rem; }
.forrad-search input[type="text"] {
  width: 100%;
  padding: 0.875rem 0.875rem 0.875rem 2.5rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-standard);
  font-size: 0.9375rem;
  background: var(--color-bg-white);
}
.forrad-search input[type="text"]:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-soft);
}

/* Secondary "Använd min plats" button — no outline button exists in core */
.btn-ghost { background: var(--color-bg-white); color: var(--color-text-header); border: 1px solid var(--color-border); }
.btn-ghost:hover { background: var(--color-bg-subtle); }
.btn-ghost svg { width: 1rem; height: 1rem; }

.forrad-status { margin: 0.75rem 0 0; font-size: 0.875rem; color: var(--color-text-muted); min-height: 1.2em; }
.forrad-status.is-error { color: #b91c1c; }

.forrad-map {
  height: 460px;
  width: 100%;
  margin-bottom: 1.5rem;
  border-radius: var(--radius-standard);
  border: 1px solid var(--color-border);
  background: var(--color-bg-subtle);
  z-index: 0;
}
@media (max-width: 720px) { .forrad-map { height: 320px; } }

.forrad-count { font-weight: 600; color: var(--color-text-header); margin: 0 0 1rem; }

/* ---- Compact clickable cards ---- */
.forrad-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(248px, 1fr));
  gap: 0.75rem;
}
.forrad-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.875rem 1rem;
  background: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-standard);
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.forrad-card:hover { border-color: var(--color-primary-soft); box-shadow: 0 4px 16px -10px rgba(0, 0, 0, 0.18); }
.forrad-card:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 2px; }
.forrad-card.is-active { border-color: var(--color-primary); box-shadow: 0 4px 16px -8px rgba(0, 0, 0, 0.18); }
.forrad-card-name { font-size: 0.9375rem; font-weight: 700; color: var(--color-text-header); margin: 0; line-height: 1.3; }
.forrad-card-addr { font-size: 0.8125rem; color: var(--color-text-muted); margin: 0; }
.forrad-dist {
  align-self: flex-start;
  margin-bottom: 0.1rem;
  padding: 0.05rem 0.5rem;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--color-primary);
  background: var(--color-primary-soft);
  border-radius: var(--radius-pill);
}

/* ---- Detail modal ---- */
.forrad-modal {
  width: min(34rem, calc(100vw - 2rem));
  margin: auto; /* restore centering — global *{margin:0} resets the dialog UA default */
  padding: 1.75rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-standard);
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.4);
  color: var(--color-text-body);
}
.forrad-modal::backdrop { background: rgba(15, 23, 42, 0.45); }
.forrad-modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background: var(--color-bg-subtle);
  color: var(--color-text-body);
  cursor: pointer;
  transition: background 0.15s ease;
}
.forrad-modal-close:hover { background: var(--color-primary-soft); color: var(--color-primary); }
.forrad-modal-close svg { width: 16px; height: 16px; }
.forrad-modal-name { font-size: 1.25rem; font-weight: 800; color: var(--color-text-header); margin: 0 2.5rem 0.35rem 0; }
.forrad-modal-addr { font-size: 0.875rem; color: var(--color-text-muted); margin: 0 0 0.9rem; }
.forrad-modal-desc { font-size: 0.9375rem; line-height: 1.6; margin: 0 0 1.25rem; }
.forrad-modal-actions { display: flex; flex-wrap: wrap; gap: 0.625rem; }

/* ==========================================================================
   Flytträknaren — moving-cost calculator (/flyttraknaren/)
   Builds on the shared form language (.offert-* rules below).
   ========================================================================== */

.ml-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  gap: 1.75rem;
  align-items: start;
  max-width: 1060px;
  margin: 0 auto;
}
@media (max-width: 880px) {
  .ml-form { grid-template-columns: 1fr; gap: 1.25rem; }
}

/* --- Left column: stepper card -------------------------------------------- */
.ml-steps {
  background: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  box-shadow: 0 1px 3px rgba(16,24,40,.04), 0 12px 30px -10px rgba(16,24,40,.10);
  padding: 2rem 2rem 2.25rem;
  counter-reset: ml-step;
}
@media (max-width: 519px) {
  .ml-steps { padding: 1.25rem 1.25rem 1.5rem; border-radius: 12px; }
}

/* --- Numbered sections (badge via CSS counter) ---------------------------- */
.ml-section { counter-increment: ml-step; }
/* Anchor target (e.g. /flyttraknaren/#flyttlador) clears the sticky header. */
.ml-section[id] { scroll-margin-top: calc(var(--header-height) + 1.5rem); }
.ml-section + .ml-section {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border-soft);
}
.ml-section h2 {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin: 0 0 1.1rem;
  font-size: 1.2rem;
  color: var(--color-text-header);
}
.ml-section h2::before {
  content: counter(ml-step);
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  background: var(--color-primary);
  color: #fff;
  border-radius: 50%;
  font-size: .9rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

/* --- Tip callout (toggle on the heading row; box opens below) ------------- */
.section-tip {
  margin-bottom: 1.4rem;
  padding: .7rem .85rem;
  background-color: var(--color-bg-subtle);
  border: 1px solid var(--color-border-soft);
  border-radius: var(--radius-standard);
}
/* The "Tips" toggle sits at the right end of the section heading row. */
.section-tip-label {
  margin-left: auto;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: 0;
  font-family: inherit;
  font-size: .68rem;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--color-primary);
  background: none;
  border: 0;
  cursor: pointer;
}
.section-tip-label::before {
  content: "";
  flex-shrink: 0;
  width: .9rem;
  height: .9rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%232e7d32' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 18h6M10 22h4'/%3E%3Cpath d='M15.09 14c.18-.98.65-1.74 1.41-2.5A4.65 4.65 0 0 0 18 8 6 6 0 0 0 6 8c0 1 .23 2.23 1.5 3.5.76.76 1.23 1.52 1.41 2.5'/%3E%3C/svg%3E") center/contain no-repeat;
}
.section-tip-chevron {
  width: .8rem;
  height: .8rem;
  margin-left: .05rem;
  transition: transform .2s ease;
}
.section-tip-label[aria-expanded="true"] .section-tip-chevron { transform: rotate(180deg); }
.section-tip p {
  margin: 0;
  font-size: .875rem;
  line-height: 1.5;
  color: var(--color-text-muted);
}
/* Tips are collapsed by default on every screen; the heading toggle reveals
   the box in place below the heading. */
.section-tip { display: none; }
.section-tip.is-open { display: block; }

/* --- Fields --------------------------------------------------------------- */
.form-block { margin-bottom: 1rem; }
.form-block > label {
  display: block;
  margin-bottom: .4rem;
  font-size: .9rem;
  font-weight: 600;
  color: var(--color-text-header);
}

.ml-form input[type="text"],
.ml-form input[type="number"],
.ml-form select {
  display: block;
  width: 100%;
  padding: .7rem .8rem;
  font: inherit;
  color: var(--color-text-header);
  background-color: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-standard);
  box-sizing: border-box;
  transition: border-color .15s, box-shadow .15s;
}
.ml-form select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding-right: 2.2em;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none' stroke='%23555' stroke-width='2'%3E%3Cpath d='M3 5l3 3 3-3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .7em center;
  background-size: 12px;
}
.ml-form input:focus,
.ml-form select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(46, 125, 50, .15);
}
.ml-form input:disabled {
  background-color: var(--color-bg-subtle);
  cursor: not-allowed;
}
/* Hide number-input spinners */
.ml-form input[type="number"]::-webkit-outer-spin-button,
.ml-form input[type="number"]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.ml-form input[type="number"] { -moz-appearance: textfield; }

/* Two fields side by side on wider screens */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 519px) {
  .form-row { grid-template-columns: 1fr; gap: 0; }
}

/* --- Radio choices (selectable cards) ------------------------------------- */
.ml-choice {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  margin-bottom: .5rem;
  padding: .75rem .85rem;
  font-size: .9375rem;
  line-height: 1.45;
  color: var(--color-text-body);
  background: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-standard);
  cursor: pointer;
  transition: border-color .15s, background .15s;
}
.ml-choice:hover { border-color: var(--color-primary); }
.ml-choice:has(input:checked) {
  border-color: var(--color-primary);
  background: var(--color-primary-soft);
}
.ml-choice input { margin-top: .15rem; flex-shrink: 0; accent-color: var(--color-primary); }

/* --- Range sliders -------------------------------------------------------- */
.ml-slider { margin-bottom: 1.75rem; }
.ml-slider:last-child { margin-bottom: 0; }
.ml-slider-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: .75rem;
  margin-bottom: .6rem;
}
.ml-slider-head strong { color: var(--color-text-header); font-weight: 600; }
.ml-slider-value {
  flex-shrink: 0;
  font-weight: 700;
  font-size: .85rem;
  color: var(--color-primary);
  background: var(--color-primary-soft);
  padding: .15rem .6rem;
  border-radius: var(--radius-pill);
  font-variant-numeric: tabular-nums;
}
.ml-form input[type="range"] {
  width: 100%;
  height: 6px;
  accent-color: var(--color-primary);
  cursor: pointer;
}

/* --- Right column: sticky summary card ------------------------------------ */
.ml-summary { position: relative; }
@media (min-width: 881px) {
  /* Offset by the sticky header height so the card top is never clipped. */
  .ml-summary { position: sticky; top: calc(var(--header-height) + 1.5rem); }
}
/* When the estimate is revealed, collapse the live figures and the now-redundant
   trigger button so the result + CTA take over the card (no scroll, stays in view).
   A "Detaljer" toggle appears so the figures can be expanded again on demand. */
.ml-summary:has(.ml-price-box:not([hidden])) .ml-summary-stats,
.ml-summary:has(.ml-price-box:not([hidden])) .ml-show-price {
  display: none;
}
.ml-summary:has(.ml-price-box:not([hidden])) .ml-details-toggle { display: inline-flex; }
.ml-summary:has(.ml-price-box:not([hidden])).ml-details-open .ml-summary-stats { display: block; }
.ml-summary-card {
  background: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  box-shadow: 0 1px 3px rgba(16,24,40,.04), 0 12px 30px -10px rgba(16,24,40,.12);
  padding: 1.5rem;
}
.ml-summary-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin: 0 0 1rem;
}
.ml-summary-title {
  margin: 0;
  font-size: 1.05rem;
  color: var(--color-text-header);
}
.ml-details-toggle {
  display: none; /* shown only once the estimate is revealed */
  align-items: center;
  gap: .3rem;
  flex-shrink: 0;
  padding: .25rem .5rem;
  font: inherit;
  font-size: .8rem;
  font-weight: 600;
  color: var(--color-primary);
  background: none;
  border: 0;
  border-radius: var(--radius-standard);
  cursor: pointer;
}
.ml-details-toggle:hover { background: var(--color-primary-soft); }
.ml-details-chevron { width: 14px; height: 14px; transition: transform .2s ease; }
.ml-details-toggle[aria-expanded="true"] .ml-details-chevron { transform: rotate(180deg); }
.ml-summary-stats { margin: 0 0 1.25rem; }
.ml-stat {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: .6rem 0;
  border-bottom: 1px solid var(--color-border-soft);
}
.ml-stat:last-child { border-bottom: 0; }
.ml-stat dt { color: var(--color-text-muted); font-size: .9rem; }
.ml-stat dd {
  margin: 0;
  font-weight: 700;
  color: var(--color-text-header);
  font-variant-numeric: tabular-nums;
  text-align: right;
}

/* --- Missing-info hint ---------------------------------------------------- */
.ml-missing-details-hint {
  margin: 0 0 1rem;
  padding: .85rem .95rem;
  border-radius: var(--radius-standard);
  background-color: #fdecec;
  color: #b00020;
  font-size: .85rem;
  line-height: 1.5;
}
.ml-missing-details-hint p { margin: 0 0 .4rem; }
.ml-missing-details-hint p:last-child { margin-bottom: 0; }

/* --- Show-price button + result panel ------------------------------------- */
.ml-show-price { width: 100%; transition: opacity .15s; }

.ml-price-box {
  margin-top: 1.25rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-standard);
  overflow: hidden;
}
.ml-price-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .15rem;
  padding: 1.15rem 1.25rem;
  text-align: center;
  background: linear-gradient(180deg, #fff 0%, var(--color-bg-subtle) 100%);
}
.ml-price-label {
  font-size: .8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--color-text-muted);
}
.ml-price-amount {
  font-size: 1.7rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--color-primary);
  font-variant-numeric: tabular-nums;
}
.ml-price-cta {
  padding: 1.25rem;
  background-color: var(--color-bg-white);
  border-top: 1px solid var(--color-border);
  color: var(--color-text-body);
}
.ml-price-cta p { margin: 0 0 1rem; font-size: .875rem; line-height: 1.55; }
.ml-submit {
  display: flex;
  flex-direction: column;
  gap: .6rem;
}
.ml-submit input[type="email"] {
  width: 100%;
  padding: .7rem .85rem;
  font: inherit;
  color: var(--color-text-header);
  background-color: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-standard);
  box-sizing: border-box;
}
.ml-submit input[type="email"]:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(46, 125, 50, .15);
}
/* Button styling comes from .btn .btn-primary (same look + hover + arrow slide
   as the header "Jämför offerter" CTA); only the full width is page-specific. */
.ml-submit button { width: 100%; }
.ml-no-thx {
  margin: 1.4rem 0 0;
  padding-top: 1.4rem;
  border-top: 1px solid var(--color-border);
  text-align: center;
}
.ml-no-thx a { color: var(--color-text-muted); text-decoration: underline; font-size: .85rem; }

.ml-divider { max-width: 1060px; margin: 2.5rem auto 0; border: 0; border-top: 1px solid var(--color-border); }
.ml-readmore { margin-top: 1rem; font-size: .9375rem; }
.ml-readmore a { color: var(--color-primary); }


/* =====================================================
   OFFERTFÖRFRÅGAN — offer form (/offerter-flyttfirmor/)
===================================================== */

/* Tighten the empty space under the breadcrumb (the form is the page's focus) */
.offert-section { padding-top: 2rem; }
.offert-intro {
  max-width: 720px;
  margin: 0 auto 2.5rem;
  text-align: center;
}

/* ── Form layout ── */
.offert-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}
@media (max-width: 767px) {
  .offert-grid { grid-template-columns: 1fr; gap: 2rem; }
}

.offert-col h4,
.offert-describe h4 {
  margin: 0 0 1rem;
  font-size: 1.15rem;
  color: var(--color-text-header);
}
.offert-describe { margin-top: 2.5rem; }
.offert-describe p { margin: 0 0 .75rem; color: var(--color-text-body); }

.offert-hidden { display: none; }

/* ── Fields ── */
.offert-field { display: block; margin-bottom: 1rem; }
.offert-field > span {
  display: block;
  margin-bottom: .35rem;
  font-size: .9375rem;
  font-weight: 500;
  color: var(--color-text-body);
}

.offert-form input[type="text"],
.offert-form input[type="email"],
.offert-form input[type="tel"],
.offert-form input[type="number"],
.offert-form select,
.offert-form textarea {
  display: block;
  width: 100%;
  padding: .6rem .75rem;
  font: inherit;
  color: var(--color-text-header);
  background-color: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-standard);
  box-sizing: border-box;
}
.offert-form textarea { resize: vertical; }

/* Consistent custom dropdown caret across browsers */
.offert-form select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding-right: 2.2em;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none' stroke='%23555' stroke-width='2'%3E%3Cpath d='M3 5l3 3 3-3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .7em center;
  background-size: 12px;
}

.offert-form input:focus,
.offert-form select:focus,
.offert-form textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(46, 125, 50, .15);
}
.offert-form input:disabled {
  background-color: var(--color-bg-subtle);
  cursor: not-allowed;
}

/* Hide number-input spinners */
.offert-form .nospinner::-webkit-outer-spin-button,
.offert-form .nospinner::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.offert-form .nospinner { -moz-appearance: textfield; }

/* Inline validation tips injected by offert-form.js */
.offert-form .not-valid-tip {
  display: block;
  margin-top: .35rem;
  font-size: .875rem;
  color: #c0392b;
}

/* ── Submit + fine print ── */
.offert-submit { margin-top: 2rem; text-align: center; }
.offert-submit .btn:disabled {
  opacity: .5;
  cursor: not-allowed;
  transform: none;
}
.ajax-loader {
  display: none;
  width: 26px;
  height: 26px;
  margin: 1.25rem auto 0;
  border: 3px solid var(--color-primary-soft);
  border-top-color: var(--color-primary);
  border-radius: 50%;
  animation: ajax-spin .7s linear infinite;
}
@keyframes ajax-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .ajax-loader { animation-duration: 1.6s; }
}

.offert-fineprint {
  max-width: 760px;
  margin: .75rem auto 0;
  text-align: center;
  font-size: .875rem;
  line-height: 1.6;
  color: var(--color-text-muted);
}
.offert-fineprint:first-of-type { margin-top: 2.5rem; }
.offert-fineprint a { color: var(--color-primary); }

/* ── Hero benefit checklist (matches the site hero design language) ── */
.hero-checklist {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: .6rem;
  max-width: 490px;
  position: relative;
  z-index: 2;
}
.hero-checklist li {
  display: flex;
  align-items: center;
  gap: .6rem;
  /* scale down on narrow screens so each item always stays on a single line */
  font-size: clamp(0.75rem, 3.1vw, 0.95rem);
  font-weight: 400;
  line-height: 1.5;
  color: var(--color-text-body);
  white-space: nowrap;
}
.hero-checklist li::before {
  content: "";
  flex-shrink: 0;
  width: 1.2em;
  height: 1.2em;
  /* plain green checkmark — no circle */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%232e7d32' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 10.5l4 4 8-9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 1.2em 1.2em;
}

/* Offer hero: a smaller one-line H1 + the compact "Så funkar det" strip (same
   illustrations as the homepage section), kept short so the form stays the focus. */
@media (min-width: 769px) {
  .hero-offer { padding-bottom: 2.5rem; }
  .hero-offer .hero-card { max-width: 760px; }
}
.hero-steps {
  position: relative;
  z-index: 2;
  margin-top: 1.75rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  /* Translucent box like the homepage mobile hero (.trust-row), but a touch
     less see-through (0.9) so the small step text stays crisp */
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 12px;
}
.hero-step {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.65rem 1.1rem;
}
/* Dashed connector arrow between steps — same style as the homepage "Hur funkar det" */
.hero-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -0.55rem;
  transform: translateY(-50%);
  width: 1.4rem;
  height: 11px;
  background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='32' height='12' viewBox='0 0 32 12'><line x1='0' y1='6' x2='22' y2='6' stroke='%23cbd5e1' stroke-width='2' stroke-dasharray='4 3'/><polyline points='18,2 26,6 18,10' fill='none' stroke='%23cbd5e1' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  z-index: 3;
}
.hero-step-img {
  flex-shrink: 0;
  width: 78px;
  height: 62px;
  object-fit: contain;
}
.hero-step-text { flex: 1 1 auto; min-width: 0; }
.hero-step-text strong {
  display: block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--color-text-header);
  margin-bottom: 0.3rem;
}
.hero-step-text span {
  display: block;
  font-size: 0.75rem;
  line-height: 1.2;
  color: var(--color-text-body);
  max-width: 30ch;        /* keep description lines narrow on wide desktops */
  text-wrap: balance;     /* even out the line lengths */
}
/* From the burger-nav breakpoint (<=991px) down, drop the step descriptions in
   the offer hero — keep just the numbered titles for a tighter, lighter hero. */
@media (max-width: 991px) {
  .hero-step-text span { display: none; }
  .hero-step-text strong { margin-bottom: 0; }
}
@media (max-width: 760px) {
  .hero-steps {
    grid-template-columns: repeat(3, 1fr);   /* three across (side by side) */
    margin-top: 0.85rem;
  }
  .hero-step {
    flex-direction: column;        /* icon on top, title below */
    align-items: center;
    text-align: center;
    gap: 0.4rem;
    padding: 0.6rem 0.4rem;
  }
  .hero-step-img { width: 48px; height: 38px; }
  .hero-step-text strong { font-size: 0.75rem; }   /* margin-bottom + span-hide come from <=991 */
  /* icon sits at the top now → drop the connector arrow to the icon's height */
  .hero-step:not(:last-child)::after { top: 28px; width: 1.1rem; right: -0.55rem; }
  /* Tighten the offer hero's vertical rhythm on mobile so the stack stays short */
  .hero-offer .hero-checklist { margin-top: 0.5rem; gap: 0.4rem; }
}

/* ── Pikaday calendar — clean inline theme (green accent) ── */
#preferred-dates-calendar { margin-top: .5em; }
#preferred-dates-selected { margin-top: .5em; }

.pika-single {
  display: block;
  position: relative;
  color: #333;
  background: #fff;
  border: 1px solid #e2e2e2;
  border-radius: 10px;
  font-family: inherit;
}
.pika-single:after { content: " "; display: table; clear: both; }
.pika-single.is-hidden { display: none; }
.pika-single.is-bound { position: absolute; box-shadow: 0 5px 15px -5px rgba(0,0,0,.5); }

.pika-lendar { float: none; width: auto; margin: 0; padding: 12px; }

/* Header — month label + prev/next arrows */
.pika-title { position: relative; text-align: center; padding: 2px 0 10px; }
.pika-label {
  display: inline-block;
  position: relative;
  z-index: 9999;
  overflow: hidden;
  margin: 0;
  padding: 5px 3px;
  font-size: 15px;
  line-height: 20px;
  font-weight: 700;
  background-color: #fff;
}
.pika-title select {
  cursor: pointer;
  position: absolute;
  z-index: 9998;
  margin: 0;
  left: 0;
  top: 5px;
  opacity: 0;
}
.pika-prev,
.pika-next {
  display: block;
  cursor: pointer;
  position: relative;
  outline: none;
  border: 0;
  padding: 0;
  width: 34px;
  height: 32px;
  text-indent: 34px;
  white-space: nowrap;
  overflow: hidden;
  border-radius: 8px;
  background-color: transparent;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: 15px 15px;
  transition: background-color .12s;
}
.pika-prev:hover,
.pika-next:hover { background-color: #f0f4ec; }
.pika-prev { float: left;  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23555' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 3 L5 8 L10 13'/%3E%3C/svg%3E"); }
.pika-next { float: right; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23555' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 3 L11 8 L6 13'/%3E%3C/svg%3E"); }
.pika-prev.is-disabled,
.pika-next.is-disabled { cursor: default; opacity: .2; }

/* Day grid */
.pika-table { width: 100%; border-collapse: collapse; border-spacing: 0; border: 0; }
.pika-table th,
.pika-table td { width: 14.2857%; padding: 1px; text-align: center; }
.pika-table th {
  color: #9a9a9a;
  font-size: 11px;
  line-height: 24px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .02em;
}
.pika-table abbr { border: 0; text-decoration: none; cursor: default; }

.pika-button {
  display: block;
  box-sizing: border-box;
  outline: none;
  border: 0;
  margin: 0;
  width: 100%;
  height: 38px;
  padding: 0;
  color: #333;
  font-size: 14px;
  line-height: 38px;
  text-align: center;
  background: transparent;
  border-radius: 8px;
  transition: background-color .12s, color .12s;
}
.pika-button:hover { color: #fff; background: var(--color-primary); border-radius: 8px; }
.pika-week { font-size: 11px; color: #999; }
.is-today .pika-button { color: var(--color-primary); font-weight: 700; }
.is-selected .pika-button {
  color: var(--color-primary);
  font-weight: 700;
  background: var(--color-primary-soft);
  box-shadow: none;
  border-radius: 8px;
}
.is-disabled .pika-button,
.is-outside-current-month .pika-button {
  pointer-events: none;
  cursor: default;
  color: #ccc;
  opacity: 1;
}

/* Selected-date chips below the calendar */
#preferred-dates-selected .date-item {
  display: inline-block;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  color: #555;
  margin: 5px 5px 0 0;
  padding: 4px 8px;
  cursor: pointer;
  font-size: .95rem;
  white-space: nowrap;
  -webkit-user-select: none;
  user-select: none;
}
#preferred-dates-selected .date-item i.remove {
  margin-left: 8px;
  color: #aaa;
  font-style: normal;
}
#preferred-dates-selected .flash-me { animation: pika-flash .4s linear; }
@keyframes pika-flash {
  50%  { background: var(--color-primary); color: #fff; }
  100% { background: #fff; }
}
#preferred-dates-selected .date-item i.remove::before {
  content: "\00d7";
  font-style: normal;
  font-weight: 700;
}

/* Tablet in portrait: keep the tools row as a swipe carousel (mirrors the
   <=768px mobile treatment) instead of the cramped 2-col grid. carousel.js is
   not width-gated and rebuilds the dots on resize/orientation change, so this
   is CSS-only. Landscape tablets keep the grid. */
@media (min-width: 769px) and (max-width: 1024px) and (orientation: portrait) {
  .tools-grid {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 1rem;
    padding-bottom: 1rem;
    margin-right: -1.5rem;
    padding-right: 1.5rem;
    scrollbar-width: none;
  }
  .tools-grid .tool-card {
    flex: 0 0 42vw;
    max-width: 260px;
    scroll-snap-align: start;
  }
  .tools-grid::-webkit-scrollbar { display: none; }
  .tools-dots { display: flex; margin-top: 0.75rem; }
}
