/* ============================================================
   VIRKESPRISER.SE · NORDIC DATA AUTHORITY v3
   Cormorant Garamond · Space Mono · Outfit
   ============================================================ */

/* ── DESIGN TOKENS ─────────────────────────────────────────── */
:root {
  --bg:          #07100A;
  --bg-2:        #0C1710;
  --bg-3:        #111D14;
  --bg-4:        #162419;

  --surface:     #131E16;
  --surface-2:   #1A2B1E;
  --surface-3:   #203428;

  --border:      rgba(80, 180, 110, 0.10);
  --border-s:    rgba(80, 180, 110, 0.20);
  --border-h:    rgba(80, 180, 110, 0.35);

  --text:        #C8DDD0;
  --text-soft:   #8BAF95;
  --text-muted:  #506B58;
  --text-bright: #E8F5ED;

  --green:       #45C97E;
  --green-dim:   rgba(69, 201, 126, 0.12);
  --green-mid:   #2A8B55;
  --green-dark:  #1B5E38;

  --amber:       #E8B84B;
  --amber-dim:   rgba(232, 184, 75, 0.12);

  --positive:    #45C97E;
  --negative:    #E8614A;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-mono:    'Space Mono', 'Courier New', monospace;
  --font-ui:      'Outfit', system-ui, sans-serif;

  --r-sm:  5px;
  --r-md:  10px;
  --r-lg:  16px;
  --r-xl:  22px;

  --shadow:      0 1px 3px rgba(0,0,0,.3), 0 6px 24px rgba(0,0,0,.25);
  --shadow-h:    0 4px 12px rgba(0,0,0,.4), 0 16px 48px rgba(0,0,0,.3);
  --shadow-glow: 0 0 40px rgba(69,201,126,.08), 0 4px 20px rgba(0,0,0,.4);

  --max-w: 1160px;
  --pad:   clamp(16px, 4vw, 40px);
}

/* ── RESET ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html  { font-size: 16px; scroll-behavior: smooth; }
body  { margin: 0; }
h1,h2,h3,h4 { margin: 0; line-height: 1.1; }
p     { margin: 0; }
ul, ol { list-style: none; margin: 0; padding: 0; }
a     { color: inherit; text-decoration: none; }
button { cursor: pointer; font: inherit; border: none; background: none; padding: 0; }
img, svg { display: block; }
details > summary { cursor: pointer; list-style: none; }
details > summary::-webkit-details-marker { display: none; }
strong { font-weight: 600; }

/* ── BASE ──────────────────────────────────────────────────── */
body {
  font-family: var(--font-ui);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
}

/* Grain overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9000;
  opacity: .6;
}

/* ── UTILITIES ─────────────────────────────────────────────── */
.kicker {
  display: block;
  font-family: var(--font-ui);
  font-size: .63rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 10px;
}

.section-kicker {
  font-family: var(--font-ui);
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 4px;
}

/* ── SITE HEADER ───────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(7,16,10,.94);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad);
  height: 56px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-logo {
  display: flex;
  align-items: baseline;
  flex-shrink: 0;
  text-decoration: none;
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  font-style: italic;
  color: var(--text-bright);
  letter-spacing: -.01em;
  line-height: 1;
  white-space: nowrap;
}

.logo-tld {
  color: var(--green);
  font-style: normal;
}

.main-nav { flex: 1; min-width: 0; }
.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
  overflow-x: auto;
  scrollbar-width: none;
}
.nav-list::-webkit-scrollbar { display: none; }

.nav-sep {
  width: 1px; height: 14px;
  background: var(--border-s);
  margin: 0 5px;
  flex-shrink: 0;
}

.nav-label {
  font-size: .58rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 0 6px;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-link {
  font-size: .82rem;
  font-weight: 500;
  color: var(--text-soft);
  padding: 5px 9px;
  border-radius: var(--r-sm);
  white-space: nowrap;
  flex-shrink: 0;
  transition: background .14s, color .14s;
}
.nav-link:hover { background: var(--green-dim); color: var(--green); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 8px;
  margin-left: auto;
  flex-shrink: 0;
}
.nav-toggle span {
  display: block;
  width: 20px; height: 1.5px;
  background: var(--text-soft);
  border-radius: 2px;
  transition: transform .2s;
}

/* ── PRICE TICKER ──────────────────────────────────────────── */
.ticker-bar {
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
  padding: 8px 0;
  overflow: hidden;
}

.ticker-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: flex;
  align-items: center;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.ticker-inner::-webkit-scrollbar { display: none; }

.ticker-label {
  font-size: .6rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
  padding-right: 18px;
  border-right: 1px solid var(--border-s);
  margin-right: 18px;
  flex-shrink: 0;
}

.ticker-items { display: flex; gap: 26px; flex-wrap: nowrap; }

.ticker-item {
  display: flex;
  align-items: baseline;
  gap: 7px;
  flex-shrink: 0;
}

.ticker-name  { font-size: .7rem; font-weight: 500; color: var(--text-soft); white-space: nowrap; }
.ticker-price { font-family: var(--font-mono); font-size: .8rem; font-weight: 700; color: var(--green); white-space: nowrap; }
.ticker-unit  { font-size: .63rem; color: var(--text-muted); white-space: nowrap; }

.ticker-badge {
  font-size: .58rem;
  font-weight: 600;
  background: var(--green-dim);
  color: var(--green);
  border: 1px solid rgba(69,201,126,.2);
  padding: 1px 6px;
  border-radius: 999px;
  margin-left: 2px;
  white-space: nowrap;
}

/* ── BREADCRUMB ─────────────────────────────────────────────── */
.breadcrumb { margin-bottom: 24px; }
.breadcrumb ol {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: nowrap;
}
.breadcrumb li {
  font-size: .76rem;
  color: var(--text-muted);
  white-space: nowrap;
  flex-shrink: 0;
  line-height: 1;
}
.breadcrumb a { color: var(--green-mid); transition: color .13s; }
.breadcrumb a:hover { color: var(--green); }

/* ── HERO ───────────────────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  padding: 64px 0 80px;
  border-bottom: 1px solid var(--border);
  isolation: isolate;
}

.hero-bg-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 5% 0%, rgba(69,201,126,.05) 0%, transparent 55%),
    radial-gradient(ellipse 40% 40% at 95% 100%, rgba(232,184,75,.03) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.hero-rings {
  position: absolute;
  right: -80px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 0;
  opacity: .3;
}

.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad);
  position: relative;
  z-index: 1;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: .7rem;
  font-weight: 500;
  color: var(--green);
  background: var(--green-dim);
  border: 1px solid rgba(69,201,126,.2);
  padding: 5px 13px;
  border-radius: 999px;
  margin-bottom: 22px;
}

.live-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
  animation: blink 2.2s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes blink {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .3; transform: scale(.6); }
}

.hero-copy h1 {
  font-family: var(--font-display);
  font-size: clamp(2.7rem, 5.5vw, 4.8rem);
  font-weight: 700;
  font-style: italic;
  line-height: 1.0;
  letter-spacing: -.02em;
  color: var(--text-bright);
  margin-bottom: 22px;
}

.hero-copy h1 em {
  font-style: normal;
  color: var(--green);
}

.hero-lead {
  font-size: clamp(.93rem, 1.3vw, 1.04rem);
  line-height: 1.76;
  color: var(--text-soft);
  max-width: 54ch;
  margin-bottom: 26px;
}

.hero-pills { display: flex; flex-wrap: wrap; gap: 7px; }

.pill {
  font-family: var(--font-ui);
  font-size: .69rem;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 4px 11px;
  border-radius: 999px;
}

/* ── HERO-STAT: single price indicator card ────────────────────────── */
.hero-stat {
  background: var(--surface-2);
  border: 1px solid var(--border-s);
  border-radius: var(--r-xl);
  padding: 28px 32px 24px;
  position: relative;
  overflow: hidden;
  min-width: 220px;
  box-shadow: var(--shadow-glow);
}
.hero-stat::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 50% at 50% -10%, rgba(69,201,126,.12), transparent 65%);
  pointer-events: none;
}
.stat-eyebrow {
  font-family: var(--font-ui);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--green);
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.stat-eyebrow::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 6px var(--green);
  flex-shrink: 0;
}
.stat-big {
  font-family: var(--font-mono);
  font-size: clamp(2.8rem, 5.5vw, 4.2rem);
  font-weight: 700;
  color: var(--text-bright);
  line-height: 1;
  margin: 0;
  letter-spacing: -.04em;
  font-variant-numeric: tabular-nums;
}
.stat-unit {
  font-family: var(--font-ui);
  font-size: .82rem;
  color: var(--text-muted);
  margin: 6px 0 14px;
  font-weight: 400;
}
.stat-note {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-ui);
  font-size: .74rem;
  font-weight: 600;
  color: var(--text);
  background: rgba(69,201,126,.08);
  border: 1px solid rgba(69,201,126,.18);
  border-radius: 100px;
  padding: 4px 12px;
  margin: 0 0 16px;
}
.stat-rule {
  height: 1px;
  background: var(--border);
  margin: 0 0 12px;
}
.stat-caption {
  font-size: .72rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
  font-style: italic;
}

/* Hero stats panel */
.hero-stats {
  background: var(--surface);
  border: 1px solid var(--border-s);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-glow);
}

.hero-stats-head {
  background: var(--surface-2);
  padding: 13px 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.hero-stats-head p:first-child {
  font-size: .6rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.hero-stats-head p:last-child {
  font-family: var(--font-mono);
  font-size: .68rem;
  color: var(--green);
}

.hero-stat-row {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: background .14s;
}
.hero-stat-row:last-child { border-bottom: none; }
.hero-stat-row:hover { background: var(--bg-3); }

.hero-stat-name {
  font-size: .82rem;
  color: var(--text-soft);
  white-space: nowrap;
}

.hero-stat-right { text-align: right; }

.hero-stat-val {
  display: block;
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 700;
  color: var(--green);
  font-variant-numeric: tabular-nums;
}

.hero-stat-unit {
  display: block;
  font-size: .62rem;
  color: var(--text-muted);
  margin-top: 1px;
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-copy  { animation: fade-up .6s ease-out both; }
.hero-stats { animation: fade-up .6s ease-out .14s both; }

/* ── SWEDEN MAP ─────────────────────────────────────────────── */
.map-section {
  padding: 72px 0 0;
  border-bottom: 1px solid var(--border);
  background: var(--bg-2);
}

.map-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.map-header { margin-bottom: 28px; }
.map-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  font-style: italic;
  color: var(--text-bright);
  letter-spacing: -.015em;
  margin-bottom: 6px;
}
.map-header p { font-size: .9rem; color: var(--text-muted); }

/* FULL-WIDTH MAP WRAP */
.map-fullwidth-wrap {
  width: 100%;
  margin: 20px 0 0;
}

#sweden-map {
  width: 100%;
  height: clamp(500px, 65vh, 780px);
  display: block;
}

/* REGION GRID BELOW MAP */
.map-region-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--border-s);
  border-left: 1px solid var(--border);
  margin: 0;
}

/* SORT TOGGLE */
.msort-row {
  display: flex;
  gap: 8px;
  margin-bottom: 0;
  flex-wrap: wrap;
}

.msort {
  font-family: var(--font-ui);
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .02em;
  padding: 8px 18px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 100px;
  background: rgba(255,255,255,.04);
  color: rgba(255,255,255,.45);
  cursor: pointer;
  transition: all .18s;
  white-space: nowrap;
}
.msort:hover {
  border-color: rgba(69,201,126,.45);
  color: rgba(255,255,255,.8);
  background: rgba(69,201,126,.08);
}
.msort.active {
  background: var(--green);
  border-color: var(--green);
  color: #051209;
  font-weight: 700;
  font-size: .82rem;
  box-shadow: 0 0 0 3px rgba(69,201,126,.25), 0 2px 12px rgba(69,201,126,.3);
  transform: translateY(-1px);
}

/* Transición suave en polígonos al cambiar filtro */
.leaflet-interactive {
  transition: fill 0.35s ease, fill-opacity 0.25s ease;
}

/* Dark tile filter – invierte OSM a tema oscuro */
.dark-tiles {
  filter: invert(100%) hue-rotate(200deg) brightness(0.75) saturate(0.55) contrast(1.05);
}

/* Leaflet UI overrides */
.leaflet-container {
  background: #0f1f15;
  font-family: var(--font-ui);
}

.leaflet-control-zoom a {
  background: var(--surface) !important;
  color: var(--text) !important;
  border-color: var(--border) !important;
  font-size: 16px !important;
  line-height: 28px !important;
  width: 28px !important;
  height: 28px !important;
}
.leaflet-control-zoom a:hover {
  background: var(--surface-2) !important;
  color: var(--green) !important;
}
.leaflet-control-zoom-in { border-radius: 6px 6px 0 0 !important; }
.leaflet-control-zoom-out { border-radius: 0 0 6px 6px !important; }

.leaflet-control-attribution {
  background: rgba(10,20,14,.7) !important;
  color: rgba(255,255,255,.3) !important;
  font-size: 9px !important;
}
.leaflet-control-attribution a { color: rgba(255,255,255,.4) !important; }

/* Info box (hover panel) */
.map-info-box {
  background: rgba(10,20,14,.92);
  border: 1px solid var(--border-s);
  border-radius: 10px;
  padding: 16px 18px;
  min-width: 180px;
  backdrop-filter: blur(8px);
  pointer-events: none;
}
.map-info-hint {
  font-size: .78rem;
  color: var(--text-muted);
  margin: 0;
}
.map-info-region {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  font-style: italic;
  color: var(--text-bright);
  margin: 0 0 2px;
}
.map-info-sub { display: none; } /* hidden, county name is shown in map-info-lan */
.map-info-lan {
  font-size: .7rem;
  color: var(--text-muted);
  margin: 0 0 8px;
  line-height: 1.3;
}
.map-info-price {
  font-family: var(--font-mono);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--green);
  margin: 0 0 10px;
}
.map-info-price span { font-size: .65rem; color: var(--text-muted); }
.map-info-sort {
  font-size: .68rem;
  color: var(--text-muted);
  font-style: italic;
  margin: -6px 0 10px;
}
.map-info-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin: 0 0 12px;
  padding: 10px 0 0;
  border-top: 1px solid var(--border);
}
.map-info-stats div { display: flex; flex-direction: column; gap: 2px; }
.map-info-stats dt { font-size: .66rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .06em; }
.map-info-stats dd { font-family: var(--font-mono); font-size: .82rem; font-weight: 700; color: var(--text-bright); margin: 0; }
.map-info-link {
  display: inline-block;
  font-size: .74rem;
  font-weight: 600;
  color: var(--green);
  text-decoration: none;
  letter-spacing: .03em;
  pointer-events: auto;
}
.map-info-link:hover { text-decoration: underline; }

/* Legend */
.map-legend {
  background: rgba(10,20,14,.88);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 14px;
  min-width: 130px;
}
.map-legend-title {
  font-size: .68rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .07em;
  margin: 0 0 6px;
}
.map-legend-bar {
  height: 8px;
  border-radius: 4px;
  background: linear-gradient(to right, rgb(20,80,50), rgb(59,185,80));
  margin-bottom: 5px;
}
.map-legend-labels {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: .7rem;
  color: var(--text-muted);
}

/* Click popup */
.map-popup-wrap .leaflet-popup-content-wrapper {
  background: #0d1f14 !important;
  border: 1px solid rgba(69,201,126,.35) !important;
  border-radius: 10px !important;
  box-shadow: 0 8px 32px rgba(0,0,0,.6) !important;
  padding: 0 !important;
}
.map-popup-wrap .leaflet-popup-tip-container { display: none !important; }
.map-popup-wrap .leaflet-popup-content { margin: 0 !important; }
.map-popup-wrap .leaflet-popup-close-button {
  color: rgba(255,255,255,.4) !important;
  font-size: 18px !important;
  top: 10px !important; right: 12px !important;
}
.map-popup-wrap .leaflet-popup-close-button:hover { color: #fff !important; }

.map-popup { padding: 20px; min-width: 210px; }
.mp-region {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  font-style: italic;
  color: var(--text-bright);
  margin: 0 0 2px;
  padding-right: 20px;
}
.mp-lan { font-size: .72rem; color: var(--text-muted); margin: 0 0 10px; }
.mp-sort { font-size: .68rem; color: var(--text-muted); font-style: italic; margin: 0 0 4px; }
.mp-price {
  font-family: var(--font-mono);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--green);
  margin: 0 0 14px;
  line-height: 1;
}
.mp-price span { font-size: .65rem; color: var(--text-muted); }
.mp-stats {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 6px;
  padding: 10px 0;
  border-top: 1px solid var(--border);
  margin-bottom: 14px;
}
.mp-stats div { display: flex; flex-direction: column; gap: 2px; }
.mp-stats dt { font-size: .64rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .06em; }
.mp-stats dd { font-family: var(--font-mono); font-size: .82rem; font-weight: 700; color: var(--text-bright); margin: 0; }
.mp-btn {
  display: block;
  text-align: center;
  background: var(--green);
  color: #051209;
  font-family: var(--font-ui);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
  padding: 9px 16px;
  border-radius: 6px;
  text-decoration: none;
  transition: opacity .15s;
}
.mp-btn:hover { opacity: .85; }

/* City tooltips */
.city-tooltip {
  background: rgba(10,20,14,.85) !important;
  border: 1px solid var(--border) !important;
  border-radius: 5px !important;
  color: rgba(255,255,255,.75) !important;
  font-family: var(--font-ui) !important;
  font-size: .72rem !important;
  font-weight: 500 !important;
  padding: 3px 7px !important;
  box-shadow: none !important;
}
.city-tooltip::before { display: none !important; }

/* Region price cards — horizontal strip below map */
.map-card {
  background: var(--surface);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 0;
  overflow: hidden;
  transition: background .18s;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}
.map-card:hover {
  background: var(--surface-2);
}

.map-card-accent {
  height: 3px;
  width: 100%;
  flex-shrink: 0;
}

.map-card-body {
  padding: 20px 22px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.map-card-body h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  font-style: italic;
  color: var(--text-bright);
  line-height: 1.1;
  margin-bottom: 4px;
}

.map-card-body > p {
  font-size: .72rem;
  color: var(--text-muted);
  line-height: 1.3;
  margin-bottom: 12px;
}

.map-card-price-big {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--green);
  font-variant-numeric: tabular-nums;
  margin-bottom: 14px;
  line-height: 1;
}

.map-card-price-big small {
  font-size: .62rem;
  color: var(--text-muted);
  font-weight: 400;
  margin-left: 4px;
}

.map-card-prices {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
  margin: auto -22px -18px;
}

.map-card-stat {
  padding: 10px 14px;
  border-right: 1px solid var(--border);
  transition: background .13s;
}
.map-card-stat:last-child { border-right: none; }

.map-card-stat dt {
  font-size: .62rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 4px;
}

.map-card-stat dd {
  font-family: var(--font-mono);
  font-size: .84rem;
  font-weight: 700;
  color: var(--text);
  margin: 0;
  font-variant-numeric: tabular-nums;
}

/* ── EDITORIAL ──────────────────────────────────────────────── */
.editorial {
  padding: 72px 0;
  border-bottom: 1px solid var(--border);
}

.editorial-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: grid;
  grid-template-columns: 1.65fr 1fr;
  gap: 64px;
  align-items: start;
}

.editorial-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  font-style: italic;
  letter-spacing: -.015em;
  color: var(--text-bright);
  margin-bottom: 20px;
}

.editorial-text p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-soft);
  max-width: 64ch;
}
.editorial-text p + p { margin-top: 16px; }

.editorial-facts {
  background: var(--surface);
  border: 1px solid var(--border-s);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.facts-head {
  background: var(--surface-2);
  padding: 12px 20px;
  border-bottom: 1px solid var(--border);
  font-size: .6rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.fact-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 13px 20px;
  border-bottom: 1px solid var(--border);
  transition: background .13s;
}
.fact-row:last-child { border-bottom: none; }
.fact-row:hover { background: var(--bg-3); }
.fact-row dt { font-size: .82rem; color: var(--text-muted); }
.fact-row dd {
  font-family: var(--font-mono);
  font-size: .88rem;
  font-weight: 700;
  color: var(--amber);
  margin: 0;
  text-align: right;
  white-space: nowrap;
}

/* ── SORTIMENT HUB ──────────────────────────────────────────── */
.sortiment-section {
  padding: 80px 0;
  border-bottom: 1px solid var(--border);
}

.sortiment-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.sortiment-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  font-style: italic;
  color: var(--text-bright);
  letter-spacing: -.015em;
  margin-bottom: 40px;
}

.sortiment-group { margin-bottom: 40px; }
.sortiment-group:last-child { margin-bottom: 0; }

.sortiment-group-label {
  font-size: .6rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 16px;
}

.sortiment-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

/* Individual sortiment card */
.scard {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  transition: transform .18s, border-color .18s, box-shadow .18s;
  text-decoration: none;
  position: relative;
}
.scard:hover {
  transform: translateY(-3px);
  border-color: var(--border-s);
  box-shadow: var(--shadow-h);
}

.scard-top {
  padding: 24px 24px 18px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  border-bottom: 1px solid var(--border);
}

.scard-icon {
  width: 48px;
  height: 48px;
  background: var(--green-dim);
  border: 1px solid rgba(69,201,126,.2);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--green);
}

.scard-icon svg { width: 26px; height: 26px; }

.scard-meta { flex: 1; min-width: 0; }

.scard-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-bright);
  line-height: 1.1;
  margin-bottom: 4px;
}

.scard-latin {
  font-size: .73rem;
  color: var(--text-muted);
  font-style: italic;
  line-height: 1.3;
}

.scard-body { padding: 14px 24px 20px; }

.scard-desc {
  font-size: .82rem;
  line-height: 1.65;
  color: var(--text-soft);
  margin-bottom: 14px;
}

.scard-price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.scard-price {
  font-family: var(--font-mono);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--green);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.scard-price-unit {
  font-size: .68rem;
  color: var(--text-muted);
  white-space: nowrap;
}

.scard-period {
  font-size: .67rem;
  color: var(--text-muted);
  background: var(--surface-2);
  border: 1px solid var(--border);
  padding: 3px 8px;
  border-radius: 999px;
  white-space: nowrap;
}

/* no-link variant */
.scard.scard--nolink { cursor: default; }
.scard.scard--nolink:hover { transform: none; box-shadow: none; }

/* amber accent for massaved */
.scard--amber .scard-icon {
  background: var(--amber-dim);
  border-color: rgba(232,184,75,.2);
  color: var(--amber);
}

.scard--amber .scard-price { color: var(--amber); }

/* ── REGION HUB ─────────────────────────────────────────────── */
.hub {
  padding: 80px 0;
  border-bottom: 1px solid var(--border);
}

.hub-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.hub-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  font-style: italic;
  color: var(--text-bright);
  letter-spacing: -.015em;
  margin-bottom: 40px;
}

.hub-group { margin-bottom: 32px; }
.hub-group:last-child { margin-bottom: 0; }

.hub-group-label {
  font-size: .6rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 14px;
}

.hub-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(175px, 1fr));
  gap: 10px;
}

.hcard {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 20px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
  transition: transform .16s, border-color .16s, box-shadow .16s, background .16s;
  text-decoration: none;
  position: relative;
}
.hcard::after {
  content: '→';
  position: absolute;
  bottom: 14px; right: 16px;
  font-size: .8rem;
  color: var(--green);
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity .15s, transform .15s;
}
.hcard:hover {
  transform: translateY(-2px);
  border-color: var(--border-s);
  box-shadow: var(--shadow-h);
  background: var(--surface-2);
}
.hcard:hover::after { opacity: 1; transform: translateX(0); }

.hcard-icon { font-size: 1.4rem; line-height: 1; margin-bottom: 6px; }

.hcard-name {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--text-bright);
  line-height: 1.1;
}

.hcard-sub {
  font-size: .72rem;
  color: var(--text-muted);
  line-height: 1.4;
  padding-right: 20px;
}

.hcard-price {
  font-family: var(--font-mono);
  font-size: .78rem;
  color: var(--green);
  margin-top: 8px;
  padding-right: 20px;
}

/* Region cards — amber left border */
.hcard--reg::before {
  content: '';
  position: absolute;
  top: 12px; bottom: 12px; left: 0;
  width: 3px;
  background: var(--amber);
  border-radius: 0 2px 2px 0;
  opacity: 0;
  transition: opacity .15s;
}
.hcard--reg:hover::before { opacity: .7; }

/* ── HOW IT WORKS ───────────────────────────────────────────── */
.howto {
  background: var(--bg-2);
  padding: 72px 0;
  border-bottom: 1px solid var(--border);
}

.howto-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.howto-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  font-style: italic;
  color: var(--text-bright);
  letter-spacing: -.015em;
  margin-bottom: 40px;
}

.howto-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}

.step {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 28px 22px;
  transition: background .16s, border-color .16s;
}
.step:first-child { border-radius: var(--r-md) 0 0 var(--r-md); }
.step:last-child  { border-radius: 0 var(--r-md) var(--r-md) 0; }
.step:hover { background: var(--surface-2); border-color: var(--border-s); }

.step-num {
  font-family: var(--font-mono);
  font-size: 2.2rem;
  font-weight: 700;
  color: rgba(69,201,126,.12);
  line-height: 1;
  margin-bottom: 14px;
}

.step h3 {
  font-family: var(--font-ui);
  font-size: .9rem;
  font-weight: 600;
  color: var(--text-bright);
  margin-bottom: 8px;
}

.step p { font-size: .81rem; line-height: 1.65; color: var(--text-muted); }

/* ── PRICE TABLE ────────────────────────────────────────────── */
.price-table-section {
  padding: 72px 0;
  border-bottom: 1px solid var(--border);
}

.price-table-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.price-table-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 700;
  font-style: italic;
  color: var(--text-bright);
  letter-spacing: -.015em;
  margin-bottom: 6px;
}

.price-table-desc {
  font-size: .88rem;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.price-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border-s);
  border-radius: var(--r-lg);
}

table.price-table { width: 100%; border-collapse: collapse; font-size: .85rem; }

table.price-table thead { background: var(--surface-2); }

table.price-table thead th {
  padding: 13px 16px;
  text-align: left;
  font-size: .6rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-s);
  white-space: nowrap;
}

table.price-table tbody tr {
  border-bottom: 1px solid var(--border);
  transition: background .11s;
}
table.price-table tbody tr:last-child { border-bottom: none; }
table.price-table tbody tr:hover { background: var(--surface); }

table.price-table tbody td {
  padding: 13px 16px;
  color: var(--text-soft);
  white-space: nowrap;
}

table.price-table tbody td:first-child { color: var(--text); font-weight: 500; }

.td-price {
  font-family: var(--font-mono);
  font-size: .88rem;
  font-weight: 700;
  color: var(--green) !important;
  font-variant-numeric: tabular-nums;
}

.td-na { font-family: var(--font-mono); color: var(--text-muted) !important; }

/* ── DASHBOARD ──────────────────────────────────────────────── */
.dashboard {
  padding: 72px 0;
  background: var(--bg-2);
}

.dash-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: grid;
  gap: 20px;
}

.dash-header {
  padding-left: 18px;
  border-left: 2px solid var(--green);
  margin-bottom: 4px;
}
.dash-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 700;
  font-style: italic;
  color: var(--text-bright);
  letter-spacing: -.015em;
  margin-bottom: 6px;
}
.dash-desc { font-size: .9rem; color: var(--text-muted); max-width: 62ch; }

.controls-card {
  background: var(--surface);
  border: 1px solid var(--border-s);
  border-radius: var(--r-xl);
  padding: 24px;
  box-shadow: var(--shadow);
}

.controls-title {
  font-size: .6rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.controls-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.field-wrap { display: grid; gap: 6px; }

.field-label {
  font-size: .65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .13em;
  color: var(--green-mid);
}

.field-ctrl {
  width: 100%;
  font-family: var(--font-ui);
  font-size: .9rem;
  color: var(--text);
  background: var(--bg-3);
  border: 1px solid var(--border-s);
  border-radius: var(--r-md);
  padding: 10px 13px;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color .14s, box-shadow .14s;
}
.field-ctrl:focus {
  outline: none;
  border-color: var(--green-mid);
  box-shadow: 0 0 0 3px rgba(69,201,126,.1);
}

select.field-ctrl {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%2345C97E' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
  cursor: pointer;
}

.microcopy {
  margin-top: 13px;
  padding-top: 13px;
  border-top: 1px solid var(--border);
  display: grid;
  gap: 3px;
}
.microcopy-p { font-size: .79rem; color: var(--text-muted); }
.microcopy-source { color: var(--green-mid); }

.results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.metric-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 24px;
  box-shadow: var(--shadow);
  transition: border-color .16s;
}
.metric-card:hover { border-color: var(--border-s); }

.spotlight {
  background: var(--surface-2);
  border-color: var(--border-s);
  box-shadow: var(--shadow-glow);
  position: relative;
  overflow: hidden;
}
.spotlight::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 0% 0%, rgba(69,201,126,.07), transparent 55%);
  pointer-events: none;
}
.spotlight .section-kicker { color: var(--green); }

.metric-num {
  font-family: var(--font-mono);
  font-size: clamp(1.8rem, 3.2vw, 2.7rem);
  font-weight: 700;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.03em;
  margin: 8px 0 5px;
  color: var(--text-bright);
}
.spotlight .metric-num { color: var(--green); }
.metric-meta { font-size: .78rem; color: var(--text-muted); line-height: 1.5; }

.trend-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 12px;
  padding: 4px 11px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: .73rem;
  background: var(--green-dim);
  border: 1px solid rgba(69,201,126,.16);
  color: var(--green);
}

.insights-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 14px;
}

.panel-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 24px;
  box-shadow: var(--shadow);
  transition: border-color .16s;
}
.panel-card:hover { border-color: var(--border-s); }

.panel-kicker {
  font-size: .6rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.panel-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-bright);
  margin-bottom: 18px;
}

/* Mini chart */
.mini-chart { display: grid; gap: 13px; }
.bar-row { display: grid; gap: 6px; }
.bar-row header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
}
.bar-row header strong {
  font-family: var(--font-mono);
  font-size: .73rem;
  font-weight: 400;
  color: var(--text-soft);
}
.bar-row header span {
  font-family: var(--font-mono);
  font-size: .8rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--green);
}
.bar-track {
  height: 5px;
  border-radius: 999px;
  background: var(--surface-3);
  overflow: hidden;
}
.bar-fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green-mid), var(--green));
  transition: width .5s ease-out;
}

/* Comparables */
.comparables { display: grid; gap: 7px; }
.comparables-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 10px 13px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  transition: background .12s, border-color .12s;
}
.comparables-item:hover { background: var(--surface-2); border-color: var(--border-s); }
.comparables-item > div { display: flex; flex-direction: column; gap: 2px; }
.comparables-item > div:last-child { align-items: flex-end; }
.comparables-item strong { font-size: .85rem; font-weight: 600; color: var(--text); }
.comparables-item small {
  font-family: var(--font-mono);
  font-size: .71rem;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}

/* Sources */
.sources-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 24px;
  box-shadow: var(--shadow);
}
.sources-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.sources-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-bright);
}
.sources-fresh {
  font-family: var(--font-mono);
  font-size: .7rem;
  color: var(--green);
}
.sources-list { display: grid; gap: 10px; }
.src-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: .84rem;
  color: var(--text-soft);
  transition: color .12s;
}
.src-link:hover { color: var(--green); }
.src-link svg { opacity: .4; flex-shrink: 0; transition: opacity .12s; }
.src-link:hover svg { opacity: .75; }

/* ── FAQ ────────────────────────────────────────────────────── */
.faq { padding: 72px 0; border-bottom: 1px solid var(--border); }
.faq-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--pad); }
.faq-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 700;
  font-style: italic;
  color: var(--text-bright);
  letter-spacing: -.015em;
  margin-bottom: 32px;
}
.faq-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color .16s;
}
.faq-item[open] { border-color: var(--border-s); }
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
  font-size: .9rem;
  font-weight: 600;
  color: var(--text);
  transition: color .12s;
}
.faq-q:hover { color: var(--green); }
.faq-q::after {
  content: '+';
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--green);
  flex-shrink: 0;
  transition: transform .18s;
  margin-top: 1px;
}
details[open] .faq-q::after { transform: rotate(45deg); }
.faq-a {
  padding: 12px 18px 16px;
  border-top: 1px solid var(--border);
  font-size: .86rem;
  line-height: 1.74;
  color: var(--text-soft);
}

/* ── CITIES SECTION ─────────────────────────────────────────── */
.cities-section {
  padding: 64px 0;
  border-bottom: 1px solid var(--border);
}

.cities-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.cities-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  font-style: italic;
  color: var(--text-bright);
  letter-spacing: -.015em;
  margin-bottom: 28px;
}

.cities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 8px;
}

.city-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  font-size: .83rem;
  color: var(--text-soft);
  transition: background .13s, color .13s, border-color .13s;
  text-decoration: none;
}
.city-link:hover {
  background: var(--surface-2);
  color: var(--green);
  border-color: var(--border-s);
}
.city-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--text-muted);
  flex-shrink: 0;
  transition: background .13s;
}
.city-link:hover .city-dot { background: var(--green); }

/* ── SITE FOOTER ────────────────────────────────────────────── */
.site-footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 64px 0 40px;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: grid;
  grid-template-columns: 1.3fr 2fr;
  gap: 60px;
}
.footer-brand { align-self: start; }
.footer-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  font-style: italic;
  color: var(--text-bright);
  margin-bottom: 8px;
}
.footer-logo span { color: var(--green); font-style: normal; }
.footer-tag { font-size: .8rem; color: var(--text-muted); line-height: 1.55; max-width: 30ch; }
.footer-trust { margin-top: 18px; display: flex; flex-direction: column; gap: 7px; }
.trust-row { display: flex; align-items: center; gap: 8px; font-size: .75rem; color: var(--text-muted); }
.trust-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--green); opacity: .6; flex-shrink: 0; }

.footer-nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.fnav-title {
  font-size: .6rem;
  font-weight: 600;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 13px;
}
.fnav-col ul { display: grid; gap: 8px; }
.fnav-col a { font-size: .84rem; color: var(--text-muted); transition: color .12s; }
.fnav-col a:hover { color: var(--green); }

.footer-bottom {
  grid-column: 1 / -1;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-disclaimer { font-size: .74rem; color: var(--text-muted); line-height: 1.65; max-width: 68ch; }
.footer-copy { font-family: var(--font-mono); font-size: .68rem; color: var(--text-muted); white-space: nowrap; flex-shrink: 0; }

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 1060px) {
  .hero-layout   { grid-template-columns: 1fr 320px; gap: 40px; }
  .controls-grid { grid-template-columns: repeat(2, 1fr); }
  .sortiment-cards { grid-template-columns: repeat(2, 1fr); }
  .howto-steps   { grid-template-columns: repeat(2, 1fr); gap: 2px; }
  .howto-steps .step:first-child { border-radius: var(--r-md) var(--r-md) 0 0; }
  .howto-steps .step:last-child  { border-radius: 0 0 var(--r-md) var(--r-md); }
  .map-region-grid { grid-template-columns: repeat(4,1fr); }
}

@media (max-width: 860px) {
  .hero-layout    { grid-template-columns: 1fr; gap: 32px; }
  .hero-stats     { max-width: 380px; }
  .editorial-inner{ grid-template-columns: 1fr; gap: 28px; }
  .results-grid   { grid-template-columns: 1fr; }
  .insights-grid  { grid-template-columns: 1fr; }
  .faq-grid       { grid-template-columns: 1fr; }
  .footer-inner   { grid-template-columns: 1fr; gap: 36px; }
  .footer-nav     { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom  { flex-direction: column; align-items: flex-start; }
  .map-region-grid { grid-template-columns: repeat(2,1fr); }
  #sweden-map     { height: 420px; }
  .map-card-prices { margin: auto -14px -14px; }
}

@media (max-width: 640px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 56px; left: 0; right: 0;
    background: rgba(7,16,10,.97);
    border-bottom: 1px solid var(--border);
    padding: 14px var(--pad);
    z-index: 499;
  }
  .main-nav.is-open { display: block; }
  .nav-list { flex-direction: column; align-items: flex-start; gap: 4px; overflow: visible; }
  .nav-sep  { width: 100%; height: 1px; margin: 4px 0; }
  .nav-toggle { display: flex; }
  .site-header { position: relative; }

  .hero { padding: 44px 0 56px; }
  .hero-rings { display: none; }
  .ticker-bar { display: none; }

  .sortiment-cards { grid-template-columns: 1fr; }
  .hub-cards { grid-template-columns: repeat(2, 1fr); }
  .controls-grid { grid-template-columns: 1fr; }
  .footer-nav { grid-template-columns: 1fr; }
  .howto-steps { grid-template-columns: 1fr; }
  .howto-steps .step { border-radius: 0; }
  .howto-steps .step:first-child { border-radius: var(--r-md) var(--r-md) 0 0; }
  .howto-steps .step:last-child  { border-radius: 0 0 var(--r-md) var(--r-md); }
  .cities-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   CHILD-PAGE EXTRAS (fi.virkespriser.org) — mismo tema oscuro
   ============================================================ */
.section-pad { padding: 56px 0; border-bottom: 1px solid var(--border); }
.std-wrap { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--pad); }
.wrap-narrow { max-width: 840px; margin: 0 auto; padding: 0 var(--pad); }
.std-h2 { font-family: var(--font-display); font-size: clamp(1.6rem,3vw,2.3rem); font-weight: 700; font-style: italic; color: var(--text-bright); letter-spacing: -.015em; margin-bottom: 8px; }
.std-sub { font-size: .9rem; color: var(--text-muted); margin-bottom: 24px; }

.pricehero { display: flex; flex-wrap: wrap; gap: 26px; align-items: flex-end; margin: 22px 0 4px; }
.pricehero .ph { display: flex; flex-direction: column; gap: 5px; }
.pricehero .big { font-family: var(--font-mono); font-size: clamp(2.4rem,5.5vw,3.8rem); font-weight: 700; color: var(--green); line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: -.03em; }
.pricehero .big small { font-family: var(--font-ui); font-size: 1rem; color: var(--text-muted); font-weight: 400; margin-left: 4px; }
.pricehero .sub { font-size: .76rem; color: var(--text-muted); letter-spacing: .02em; }

.chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 20px; }
.chip { font-family: var(--font-ui); font-size: .8rem; font-weight: 500; color: var(--text-soft); background: var(--surface); border: 1px solid var(--border); padding: 6px 13px; border-radius: 999px; transition: border-color .14s, color .14s, background .14s; }
.chip:hover { border-color: var(--border-h); color: var(--green); background: var(--green-dim); }
.related { display: flex; flex-wrap: wrap; gap: 8px; }

.provenance { background: var(--surface); border: 1px solid var(--border-s); border-radius: var(--r-lg); padding: 24px; box-shadow: var(--shadow); }
.provenance > p { font-size: .88rem; color: var(--text-soft); line-height: 1.75; }
.provenance code { font-family: var(--font-mono); background: var(--bg-3); color: var(--green); padding: 1px 6px; border-radius: 4px; font-size: .82em; }
.provenance table { width: 100%; border-collapse: collapse; margin-top: 14px; }
.provenance td { padding: 9px 10px; border-bottom: 1px solid var(--border); font-size: .84rem; color: var(--text-soft); }
.provenance tr:last-child td { border-bottom: none; }
.provenance td strong { font-family: var(--font-mono); color: var(--text-bright); font-weight: 700; }
.provenance a { color: var(--green); }

.disclaimer-box { background: var(--surface); border: 1px solid rgba(232,184,75,.2); border-left: 3px solid var(--amber); border-radius: var(--r-md); padding: 16px 20px; font-size: .84rem; color: var(--text-soft); line-height: 1.7; }

#chart { width: 100%; height: 300px; display: block; }
.chart-card { background: var(--surface); border: 1px solid var(--border-s); border-radius: var(--r-xl); padding: 22px; box-shadow: var(--shadow); }

/* ============================================================
   MAPA (hinta-aluekartta) + RANK-BARS + correccion de acentos
   Regla: SIN border-left / border-top en ningun componente nuevo
   ============================================================ */
.finmap { display: grid; gap: 16px; }
.finmap-sorts { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.finmap-canvas { display: flex; justify-content: center; min-height: 200px; }
.finmap-svg { width: 100%; max-width: 430px; height: auto; filter: drop-shadow(0 10px 34px rgba(0,0,0,.45)); }
.finmap-marker { cursor: pointer; }
.finmap-marker circle { transition: fill .3s, stroke .15s; }
.finmap-marker:hover circle { stroke: #45C97E !important; stroke-width: 2.6 !important; }
.finmap-price { font-family: var(--font-mono); font-size: 12px; font-weight: 700; fill: #06120b; pointer-events: none; }
.finmap-name { font-family: var(--font-ui); font-size: 10.5px; font-weight: 600; fill: var(--text-soft); pointer-events: none; }
.finmap-marker:hover .finmap-name, .finmap-marker.is-active .finmap-name { fill: var(--text-bright); }
.finmap-legend { display: flex; align-items: center; gap: 10px; justify-content: center; font-family: var(--font-mono); font-size: .72rem; color: var(--text-muted); }
.finmap-grad { width: 130px; height: 8px; border-radius: 4px; background: linear-gradient(90deg, hsl(140,45%,26%), hsl(140,90%,48%)); }

.rankbars { display: grid; gap: 9px; margin-top: 8px; }
.rankrow { display: grid; grid-template-columns: 152px 1fr 80px; gap: 14px; align-items: center; }
.rankrow .nm { font-size: .84rem; color: var(--text-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rankrow .nm a { color: var(--text-soft); }
.rankrow .nm a:hover { color: var(--green); }
.rank-track { height: 10px; border-radius: 999px; background: var(--surface-3); overflow: hidden; }
.rank-fill { height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--green-mid), var(--green)); }
.rankrow .vv { font-family: var(--font-mono); font-weight: 700; color: var(--green); font-size: .86rem; text-align: right; font-variant-numeric: tabular-nums; }
@media (max-width: 560px) { .rankrow { grid-template-columns: 104px 1fr 60px; gap: 8px; } .rankrow .nm { font-size: .76rem; } }

/* honrar la regla: eliminar acentos border-left heredados */
.disclaimer-box { border-left: none !important; border: 1px solid rgba(232,184,75,.30); padding-left: 20px; }
.dash-header { border-left: none !important; padding-left: 0; }
.hcard--reg::before { display: none !important; }
.hcard--reg { border-bottom: 2px solid rgba(232,184,75,.28); }

/* Leaflet-choropleth (puun hinta -kartta) */
.finmap { display: block; }
.finmap-sorts { margin-bottom: 14px; }
#finmap-map { height: clamp(440px, 58vh, 640px); width: 100%; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--border-s); }
#finmap-map .leaflet-container { background: #0c1710; }

/* Etiquetas de precio permanentes sobre el mapa (una por hinta-alue) */
.finmap-label { background: rgba(10,20,14,.82) !important; border: 1px solid var(--border-s) !important; border-radius: 7px !important; box-shadow: 0 4px 14px rgba(0,0,0,.42) !important; padding: 3px 8px !important; text-align: center; line-height: 1.12; white-space: nowrap; }
.finmap-label::before { display: none !important; }
.finmap-label .fl-name { display: block; font-family: var(--font-ui); font-size: 9px; font-weight: 600; color: var(--text-soft); letter-spacing: .02em; }
.finmap-label .fl-val { display: block; font-family: var(--font-mono); font-size: 12px; font-weight: 700; color: var(--green); }
@media (max-width: 560px) { .finmap-label { padding: 2px 6px !important; } .finmap-label .fl-name { font-size: 8px; } .finmap-label .fl-val { font-size: 10.5px; } }

/* enlaces internos integrados en tabla y hero-stats */
.price-table a { color: inherit; text-decoration: none; transition: color .12s; }
.price-table a:hover { color: var(--green); }
.price-table thead th a { color: inherit; }
a.hero-stat-row { text-decoration: none; }


/* fix móvil: evitar desbordamiento horizontal (footer/grid) */
html, body { overflow-x: hidden; }
.footer-inner > * { min-width: 0; }
.footer-tag, .footer-disclaimer, .trust-row span { overflow-wrap: anywhere; }
.fnav-col a, .rankrow .nm a { overflow-wrap: anywhere; }
