/*
Theme Name: Muuttokilpailutus (Skandi-Savi)
Theme URI: https://muuttokilpailutus.fi
Author: Muuttokilpailutus.fi
Description: Räätälöity, kevyt ja täysin responsiivinen Skandi-Savi -teema Muuttokilpailutus.fi-sivustolle.
Version: 1.0.0
Text Domain: muuttokilpailutus
*/

:root {
  --surface: #F6F1EB;
  --surface-raised: #FFFFFF;
  --surface-clay: #EAE0D5;
  --surface-clay-soft: #F1E9DF;
  --surface-deep: #231F20;
  --ink: #231F20;
  --ink-muted: #5C534E;
  --on-accent: #FFFFFF;
  --on-deep: #F6F1EB;
  --on-deep-muted: #CFC5BC;
  --accent: #B84A39;
  --accent-hover: #9C3A2B;
  --accent-soft: #F7E5E1;
  --positive: #2D6A4F;
  --positive-soft: #E5F1EB;
  --border: #DDD2C5;
  --border-control: #C6B8A8;
  --border-deep: #3E3839;
  --focus: #231F20;

  --font-display: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-sans: "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-pill: 999px;

  --shadow-card: 0 2px 6px rgba(35, 31, 32, 0.04), 0 12px 32px rgba(35, 31, 32, 0.06);
  --shadow-raised: 0 4px 12px rgba(35, 31, 32, 0.06), 0 20px 44px rgba(35, 31, 32, 0.09);

  --wide: 1200px;
  --content: 760px;
  --gutter: clamp(16px, 4vw, 32px);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background-color: var(--surface);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  font-feature-settings: "cv02", "cv03", "cv04", "cv11";
  overflow-x: hidden;
}

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

a {
  color: var(--accent);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--accent-hover);
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  margin: 0 0 0.55em;
  line-height: 1.15;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

h1 { font-size: clamp(2rem, 4.4vw, 3.35rem); font-weight: 700; }
h2 { font-size: clamp(1.55rem, 2.8vw, 2.2rem); font-weight: 700; }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.35rem); font-weight: 700; }
h4 { font-size: 1.05rem; font-weight: 700; }

p {
  margin: 0 0 1rem;
}

.tabular {
  font-variant-numeric: tabular-nums;
}

.mk-container {
  width: 100%;
  max-width: calc(var(--wide) + var(--gutter) * 2);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.mk-container--narrow {
  max-width: calc(var(--content) + var(--gutter) * 2);
}

.mk-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.mk-lead {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  line-height: 1.55;
  color: var(--ink-muted);
}

/* =========================================================
   HEADER & BESPOKE LOGO
   ========================================================= */
.mk-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(246, 241, 235, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(221, 210, 197, 0.75);
}

.mk-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 76px;
}

.mk-logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: var(--ink);
  flex-shrink: 0;
}

.mk-logo:hover {
  color: var(--ink);
}

.mk-logo__mark {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
}

.mk-logo__word {
  display: flex;
  align-items: baseline;
  font-family: var(--font-display);
  font-size: clamp(1.12rem, 2vw, 1.32rem);
  letter-spacing: -0.03em;
  line-height: 1;
}

.mk-logo__main {
  font-weight: 800;
  color: var(--ink);
}

.mk-logo__accent {
  font-weight: 700;
  color: var(--accent);
}

.mk-logo__tld {
  font-weight: 600;
  font-size: 0.85em;
  color: var(--ink-muted);
  margin-left: 1px;
}

.mk-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.2vw, 32px);
}

.mk-nav__list {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.2vw, 30px);
  list-style: none;
  margin: 0;
  padding: 0;
}

.mk-nav__link {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.98rem;
  padding: 6px 2px;
  position: relative;
  transition: color 0.15s ease;
}

.mk-nav__link:hover,
.mk-nav__link[aria-current="page"] {
  color: var(--accent);
}

.mk-nav__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 600;
  font-size: 0.94rem;
  text-decoration: none;
  transition: background-color 0.15s ease, transform 0.15s ease;
  white-space: nowrap;
}

.mk-nav__cta:hover {
  background: var(--accent-hover);
  color: var(--on-accent);
}

.mk-burger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border-control);
  border-radius: var(--radius-sm);
  background: var(--surface-raised);
  color: var(--ink);
  cursor: pointer;
  padding: 0;
}

/* Mobile Drawer */
.mk-mobile-nav {
  display: none;
  background: var(--surface-raised);
  border-bottom: 1px solid var(--border);
  padding: 16px var(--gutter) 24px;
}

.mk-mobile-nav.is-open {
  display: block;
}

.mk-mobile-nav__list {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mk-mobile-nav__link {
  display: block;
  padding: 12px 4px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
  border-bottom: 1px solid var(--surface-clay);
}

.mk-mobile-nav__link:hover {
  color: var(--accent);
}

@media (max-width: 900px) {
  .mk-nav {
    display: none;
  }
  .mk-burger {
    display: inline-flex;
  }
}

/* =========================================================
   HERO SECTION (CONCEPT 07 — SKANDI-SAVI)
   ========================================================= */
.mk-hero {
  padding: clamp(28px, 5vw, 56px) 0 clamp(44px, 6vw, 76px);
  scroll-margin-top: 84px;
}

.mk-band {
  scroll-margin-top: 84px;
}

.mk-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  gap: clamp(28px, 4.5vw, 56px);
  align-items: start;
}

.mk-hero__media {
  position: sticky;
  top: 100px;
}

.mk-hero__img-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  background: var(--surface-clay);
  aspect-ratio: 4 / 3;
}

.mk-hero__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mk-hero__caption {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-top: 14px;
  font-size: 0.88rem;
  color: var(--ink-muted);
}

.mk-hero__caption span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.mk-hero__caption svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
  flex-shrink: 0;
}

.mk-hero__content h1 {
  margin-bottom: 0.35em;
}

.mk-hero__lead {
  font-size: clamp(1.02rem, 1.5vw, 1.18rem);
  color: var(--ink-muted);
  margin-bottom: 1.6rem;
  max-width: 48ch;
}

/* Calculator Card */
.mk-calc-card {
  background: var(--surface-raised);
  border-radius: var(--radius-lg);
  padding: clamp(18px, 3vw, 28px);
  box-shadow: var(--shadow-raised);
  border: 1px solid rgba(221, 210, 197, 0.7);
}

.mk-calc-row {
  display: grid;
  grid-template-columns: 1fr 1fr 0.85fr;
  gap: 12px;
  margin-bottom: 14px;
}

.mk-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mk-field label {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink);
}

.mk-input,
.mk-select {
  width: 100%;
  height: 46px;
  min-height: 46px;
  padding: 10px 13px;
  border: 1.5px solid var(--border-control);
  border-radius: var(--radius-sm);
  background: var(--surface-raised);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 0.98rem;
  line-height: 1.25;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.mk-input:focus,
.mk-select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(184, 74, 57, 0.14);
}

.mk-calc-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-bottom: 16px;
  font-size: 0.88rem;
  color: var(--ink-muted);
}

.mk-check-inline {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  user-select: none;
}

.mk-check-inline input {
  width: 17px;
  height: 17px;
  accent-color: var(--accent);
  margin: 0;
}

.mk-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 24px;
  border: none;
  border-radius: var(--radius-sm);
  background: var(--accent);
  color: var(--on-accent);
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.15s ease, transform 0.12s ease;
}

.mk-btn:hover {
  background: var(--accent-hover);
  color: var(--on-accent);
}

.mk-btn--full {
  width: 100%;
}

.mk-btn--outline {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--border-control);
}

.mk-btn--outline:hover {
  background: var(--surface-clay-soft);
  color: var(--ink);
  border-color: var(--ink);
}

.mk-btn--pill {
  border-radius: var(--radius-pill);
}

/* Calculator Result Box */
.mk-calc-result {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  display: none;
}

.mk-calc-result.is-visible {
  display: block;
  animation: mkFadeIn 0.25s ease;
}

@keyframes mkFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.mk-estimate-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 10px;
}

.mk-estimate-label {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-muted);
}

.mk-estimate-price {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

.mk-estimate-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}

.mk-estimate-pill {
  background: var(--surface);
  border-radius: var(--radius-sm);
  padding: 9px 10px;
  font-size: 0.82rem;
  line-height: 1.35;
}

.mk-estimate-pill strong {
  display: block;
  font-size: 0.95rem;
  color: var(--ink);
}

.mk-savings-note {
  background: var(--positive-soft);
  color: var(--positive);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 14px;
}

.mk-input-unit {
  position: relative;
  display: flex;
  align-items: center;
}

/* Custom Searchable City Combobox */
.mk-combo {
  position: relative;
  width: 100%;
}

.mk-combo__input {
  padding-right: 36px;
}

.mk-combo__toggle {
  position: absolute;
  top: 0;
  right: 0;
  width: 36px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: var(--ink-muted);
  cursor: pointer;
  padding: 0;
}

.mk-combo__toggle:hover {
  color: var(--accent);
}

.mk-combo.is-open .mk-combo__toggle svg {
  transform: rotate(180deg);
}

.mk-combo__list {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  z-index: 60;
  max-height: 240px;
  overflow-y: auto;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: var(--surface-raised);
  border: 1.5px solid var(--border-control);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-raised);
}

.mk-combo.is-open .mk-combo__list {
  display: block;
}

.mk-combo__item {
  padding: 9px 11px;
  border-radius: 4px;
  font-size: 0.94rem;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mk-combo__item:hover,
.mk-combo__item.is-active {
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 600;
}

.mk-combo__empty {
  padding: 9px 11px;
  font-size: 0.86rem;
  color: var(--ink-muted);
}

.mk-input-unit .mk-input {
  padding-right: 38px;
}

.mk-unit-tag {
  position: absolute;
  right: 12px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-muted);
  pointer-events: none;
}

.mk-size-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.mk-preset-btn {
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--ink-muted);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.mk-preset-btn:hover {
  border-color: var(--accent);
  color: var(--ink);
}

.mk-preset-btn.is-active {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--accent);
}

.mk-estimate-route {
  font-size: 0.86rem;
  color: var(--ink-muted);
  margin-top: 2px;
}

.mk-breakdown {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 11px 13px;
  margin-bottom: 12px;
  font-size: 0.86rem;
}

.mk-breakdown__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 4px 0;
  border-bottom: 1px dashed rgba(221, 210, 197, 0.9);
}

.mk-breakdown__row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.mk-breakdown__row span:first-child {
  color: var(--ink-muted);
}

.mk-breakdown__row strong {
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.mk-breakdown__deduct {
  display: block;
  font-size: 0.78rem;
  color: var(--positive);
  font-weight: 600;
}

.mk-longdist-tip {
  background: var(--surface-clay-soft);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 9px 12px;
  font-size: 0.84rem;
  color: var(--ink);
  margin-bottom: 12px;
}

/* Quote Step 2 Form */
.mk-lead-form {
  display: none;
  margin-top: 14px;
  padding: 16px;
  background: var(--surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

.mk-lead-form.is-open {
  display: block;
}

.mk-lead-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 10px;
}

.mk-form-msg {
  margin-top: 10px;
  font-size: 0.9rem;
  font-weight: 600;
}

.mk-form-msg--ok { color: var(--positive); }
.mk-form-msg--err { color: var(--accent); }

@media (max-width: 960px) {
  .mk-hero__grid {
    grid-template-columns: 1fr;
  }
  .mk-hero__media {
    position: relative;
    top: auto;
  }
  .mk-hero__content {
    order: -1;
  }
}

@media (max-width: 600px) {
  .mk-calc-row {
    grid-template-columns: 1fr;
  }
  .mk-size-presets {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .mk-calc-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 12px;
  }
  .mk-estimate-meta {
    grid-template-columns: 1fr;
  }
  .mk-lead-grid {
    grid-template-columns: 1fr;
  }
}

.mk-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.mk-calc-error {
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: var(--radius-sm);
  padding: 9px 12px;
  font-size: 0.86rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.mk-consent-label {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 0.84rem;
  line-height: 1.45;
  color: var(--ink-muted);
  margin: 12px 0 14px;
  cursor: pointer;
}

.mk-consent-label input {
  width: 17px;
  height: 17px;
  margin-top: 2px;
  accent-color: var(--accent);
  flex-shrink: 0;
}

/* =========================================================
   CLAY BAND — MUUTTAJAN SÄÄSTÖPAKETTI
   ========================================================= */
.mk-band {
  padding: clamp(44px, 6vw, 76px) 0;
}

.mk-band--clay {
  background: var(--surface-clay);
}

.mk-band--white {
  background: var(--surface-raised);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.mk-band--deep {
  background: var(--surface-deep);
  color: var(--on-deep);
}

.mk-band--deep h2,
.mk-band--deep h3 {
  color: var(--on-deep);
}

.mk-band--deep p {
  color: var(--on-deep-muted);
}

.mk-section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: clamp(24px, 3.5vw, 36px);
}

.mk-section-head p {
  max-width: 56ch;
  color: var(--ink-muted);
  margin-bottom: 0;
}

.mk-pack-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 22px);
}

.mk-pack-card {
  background: var(--surface-raised);
  border-radius: var(--radius-md);
  padding: clamp(20px, 2.5vw, 26px);
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(221, 210, 197, 0.65);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.mk-pack-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-raised);
  border-color: var(--accent);
  color: var(--ink);
}

.mk-pack-card__icon {
  width: 34px;
  height: 34px;
  color: var(--accent);
  margin-bottom: 16px;
}

.mk-pack-card h3 {
  font-size: 1.15rem;
  margin-bottom: 6px;
}

.mk-pack-card p {
  font-size: 0.94rem;
  color: var(--ink-muted);
  margin-bottom: 16px;
  flex-grow: 1;
}

.mk-pack-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent);
}

@media (max-width: 1024px) {
  .mk-pack-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 540px) {
  .mk-pack-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   COMPARISON PRICE TABLE (2026 BENCHMARKS)
   ========================================================= */
.mk-table-wrap {
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  box-shadow: var(--shadow-card);
}

.mk-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
  font-size: 0.96rem;
}

.mk-table th,
.mk-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.mk-table thead th {
  background: var(--surface-clay-soft);
  font-family: var(--font-display);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-muted);
}

.mk-table tbody tr:last-child td {
  border-bottom: none;
}

.mk-table tbody tr:hover {
  background: rgba(246, 241, 235, 0.55);
}

.mk-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 700;
  background: var(--accent-soft);
  color: var(--accent);
}

.mk-badge--green {
  background: var(--positive-soft);
  color: var(--positive);
}

/* Editorial Underlined Tabs */
.mk-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 28px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 20px;
}

.mk-tab {
  appearance: none;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  padding: 10px 2px 12px;
  font-family: var(--font-display);
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--ink-muted);
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.mk-tab:hover {
  color: var(--ink);
}

.mk-tab.is-active {
  color: var(--ink);
  border-bottom-color: var(--accent);
}

.mk-table__act {
  text-align: right;
  white-space: nowrap;
}

.mk-row-calc {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
}

.mk-row-calc:hover {
  text-decoration: underline;
}

/* Editorial Hairline Price-Driver Strip */
.mk-drivers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.mk-driver {
  padding-right: 24px;
}

.mk-driver + .mk-driver {
  padding-left: 24px;
  border-left: 1px solid var(--border);
}

.mk-driver__stat {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 6px;
}

.mk-driver h3 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.mk-driver p {
  font-size: 0.9rem;
  color: var(--ink-muted);
  margin-bottom: 0;
  line-height: 1.55;
}

@media (max-width: 820px) {
  .mk-tabs {
    gap: 4px 18px;
  }
  .mk-drivers {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .mk-driver {
    padding-right: 0;
  }
  .mk-driver + .mk-driver {
    padding-left: 0;
    padding-top: 20px;
    border-left: none;
    border-top: 1px solid var(--border);
  }
}

/* =========================================================
   EDITORIAL 2-COLUMN SPLIT (TIMELINE + 5 QUOTE TRAPS)
   ========================================================= */
.mk-editorial-split {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.mk-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--border);
}

.mk-timeline li {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}

.mk-timeline__num {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--accent);
  padding-top: 2px;
}

.mk-timeline h3 {
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.mk-timeline p {
  font-size: 0.94rem;
  color: var(--ink-muted);
  margin-bottom: 0;
}

.mk-quote-audit {
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius-md);
  padding: clamp(22px, 3vw, 32px);
}

.mk-quote-audit h3 {
  font-size: 1.25rem;
  margin-bottom: 16px;
}

.mk-audit-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mk-audit-list li {
  font-size: 0.94rem;
  line-height: 1.55;
  color: var(--ink-muted);
  padding-left: 16px;
  position: relative;
}

.mk-audit-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.mk-audit-list strong {
  color: var(--ink);
}

@media (max-width: 900px) {
  .mk-editorial-split {
    grid-template-columns: 1fr;
  }
}

/* Checklist Header Actions */
.mk-checklist-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 14px 20px;
}

.mk-checklist-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.mk-text-btn {
  appearance: none;
  background: transparent;
  border: none;
  padding: 4px 2px;
  font-family: var(--font-sans);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.mk-text-btn:hover {
  color: var(--accent);
}

/* City Price Sub-label */
.mk-city-price {
  display: block;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--ink-muted);
  margin-top: 2px;
}

/* Editorial Hairline FAQ (No Box Clutter) */
.mk-faq-editorial {
  border-top: 1px solid var(--border);
}

.mk-faq-row {
  border-bottom: 1px solid var(--border);
}

.mk-faq-row summary {
  list-style: none;
  padding: 20px 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.08rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

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

.mk-faq-row summary::after {
  content: "+";
  font-size: 1.45rem;
  font-weight: 400;
  color: var(--accent);
  line-height: 1;
  flex-shrink: 0;
}

.mk-faq-row[open] summary::after {
  content: "−";
}

.mk-faq-row .mk-faq-body {
  padding: 0 0 22px;
  color: var(--ink-muted);
  font-size: 0.97rem;
  max-width: 64ch;
}

@media print {
  .mk-header, .mk-hero, #palvelut, #hinnasto, #vertailuopas, #kaupungit, #ukk, .mk-footer, .mk-checklist-actions {
    display: none !important;
  }
  .mk-checklist-box {
    border: none;
    box-shadow: none;
    padding: 0;
  }
}

/* =========================================================
   INTERACTIVE CHECKLIST (MUUTTAJAN MUISTILISTA)
   ========================================================= */
.mk-checklist-box {
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 3.5vw, 36px);
  box-shadow: var(--shadow-card);
}

.mk-progress-bar {
  width: 100%;
  height: 8px;
  background: var(--surface-clay);
  border-radius: var(--radius-pill);
  overflow: hidden;
  margin: 12px 0 24px;
}

.mk-progress-fill {
  height: 100%;
  width: 0%;
  background: var(--accent);
  border-radius: var(--radius-pill);
  transition: width 0.25s ease;
}

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

.mk-check-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.mk-check-item:hover {
  border-color: var(--accent);
}

.mk-check-item input {
  width: 19px;
  height: 19px;
  margin-top: 2px;
  accent-color: var(--accent);
  flex-shrink: 0;
}

.mk-check-item.is-done {
  background: var(--positive-soft);
  border-color: rgba(45, 106, 79, 0.35);
}

.mk-check-item.is-done strong {
  text-decoration: line-through;
  color: var(--ink-muted);
}

.mk-check-item small {
  display: block;
  color: var(--ink-muted);
  font-size: 0.84rem;
}

@media (max-width: 760px) {
  .mk-checklist-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   CITY LINKS GRID
   ========================================================= */
.mk-city-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.mk-city-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: border-color 0.15s ease, color 0.15s ease, transform 0.12s ease;
}

.mk-city-link:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

@media (max-width: 960px) {
  .mk-city-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 540px) {
  .mk-city-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* =========================================================
   FAQ ACCORDION
   ========================================================= */
.mk-faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mk-faq-item {
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.mk-faq-item summary {
  list-style: none;
  padding: 18px 22px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.04rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

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

.mk-faq-item summary::after {
  content: "+";
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--accent);
  line-height: 1;
  flex-shrink: 0;
}

.mk-faq-item[open] summary::after {
  content: "−";
}

.mk-faq-body {
  padding: 0 22px 20px;
  color: var(--ink-muted);
  font-size: 0.96rem;
}

/* =========================================================
   EDITORIAL SUBPAGES & ARTICLES
   ========================================================= */
.mk-page-hero {
  background: var(--surface-clay);
  padding: clamp(36px, 5vw, 60px) 0;
  border-bottom: 1px solid var(--border);
}

.mk-page-body {
  padding: clamp(36px, 5vw, 64px) 0;
}

.mk-prose h2 {
  margin-top: 2.2rem;
}

.mk-prose ul,
.mk-prose ol {
  padding-left: 1.35rem;
  margin-bottom: 1.25rem;
}

.mk-prose li {
  margin-bottom: 0.45rem;
}

.mk-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  color: var(--ink-muted);
  margin-bottom: 12px;
}

.mk-breadcrumb a {
  color: var(--ink-muted);
  text-decoration: none;
}

.mk-breadcrumb a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.mk-note {
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  margin: 24px 0;
  font-size: 0.96rem;
}

.mk-note p:last-child {
  margin-bottom: 0;
}

.mk-page-form {
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: clamp(20px, 3vw, 30px);
  margin: 24px 0 32px;
  box-shadow: var(--shadow-card);
}

.mk-textarea {
  height: auto;
  min-height: 110px;
  resize: vertical;
  line-height: 1.5;
}

.mk-meta-date {
  font-size: 0.88rem;
  color: var(--ink-muted);
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

/* =========================================================
   FOOTER (DEEP CHARCOAL)
   ========================================================= */
.mk-footer {
  background: var(--surface-deep);
  color: var(--on-deep);
  padding: clamp(44px, 6vw, 72px) 0 32px;
}

.mk-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: clamp(24px, 4vw, 48px);
  padding-bottom: 36px;
  border-bottom: 1px solid var(--border-deep);
}

.mk-footer h4 {
  color: var(--on-deep);
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

.mk-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mk-footer a {
  color: var(--on-deep-muted);
  text-decoration: none;
  font-size: 0.94rem;
}

.mk-footer a:hover {
  color: var(--on-deep);
  text-decoration: underline;
}

.mk-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  padding-top: 24px;
  font-size: 0.85rem;
  color: var(--on-deep-muted);
}

@media (max-width: 860px) {
  .mk-footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 520px) {
  .mk-footer__grid {
    grid-template-columns: 1fr;
  }
}
