/* ==========================================================================
   Hyrbil Umeå – stilmall
   ========================================================================== */

:root {
  --ink: #0f1f2e;
  --muted: #526173;
  --line: #dce4eb;
  --navy: #0c2a44;
  --navy-2: #123a5c;
  --navy-3: #1b4d75;
  --night: #081d30;
  --sky: #eef4f8;
  --paper: #ffffff;
  --accent: #12805c;
  --accent-hover: #0c6a4b;
  --aurora: #3fd3a0;
  --aurora-soft: #e4f6ef;
  --link: #145f9b;
  --danger: #b42318;

  --radius: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(12, 42, 68, .06), 0 2px 8px rgba(12, 42, 68, .06);
  --shadow: 0 10px 30px rgba(8, 30, 50, .12), 0 2px 6px rgba(8, 30, 50, .08);
  --shadow-lg: 0 24px 60px rgba(3, 15, 28, .38), 0 4px 12px rgba(3, 15, 28, .2);

  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --container: 1160px;
  --header-h: 70px;
}

/* ---------- Bas ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

a { color: var(--link); text-underline-offset: .18em; }
a:hover { color: var(--navy-3); }

h1, h2, h3, h4 {
  margin: 0 0 .55em;
  line-height: 1.18;
  letter-spacing: -.015em;
  color: var(--navy);
  text-wrap: balance;
}
h1 { font-size: clamp(2rem, 4.6vw, 3.3rem); font-weight: 800; letter-spacing: -.028em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.15rem); font-weight: 800; letter-spacing: -.022em; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 700; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}
@media (max-width: 480px) {
  .container { padding-inline: 16px; }
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 12px; top: -80px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--navy);
  color: #fff;
  font-weight: 700;
}
.skip-link:focus { top: 12px; color: #fff; }

:focus-visible { outline: 3px solid #2f8fe0; outline-offset: 2px; }

.icon { width: 24px; height: 24px; flex: none; }

/* ---------- Knappar ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border: 2px solid transparent;
  border-radius: 10px;
  font: inherit;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s, transform .15s, box-shadow .15s;
}
.btn .icon { width: 20px; height: 20px; transition: transform .15s; }
.btn:hover .icon-arrow { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }

.btn-accent { background: var(--accent); color: #fff; box-shadow: 0 6px 16px rgba(18, 128, 92, .28); }
.btn-accent:hover { background: var(--accent-hover); color: #fff; }

.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--aurora-soft); color: var(--navy); }

.btn-outline { border-color: #c9d5df; color: var(--navy); background: #fff; }
.btn-outline:hover { border-color: var(--navy); color: var(--navy); }

.btn-lg { padding: 16px 30px; font-size: 1.1rem; }
.btn-sm { padding: 9px 16px; font-size: .95rem; }
.btn-block { width: 100%; }

/* ---------- Sidhuvud ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .95);
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  backdrop-filter: saturate(1.4) blur(10px);
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-h);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  font-size: 1.3rem;
  letter-spacing: -.02em;
  text-decoration: none;
  white-space: nowrap;
}
.logo:hover { color: var(--navy); }
.logo svg { width: 40px; height: 40px; flex: none; }
.logo-text { font-weight: 500; }
.logo-text strong { font-weight: 800; }

.main-nav { display: flex; align-items: center; gap: 8px; }
.main-nav ul { display: flex; gap: 2px; margin: 0; padding: 0; list-style: none; }
.main-nav a:not(.btn) {
  display: block;
  padding: 8px 11px;
  border-radius: 8px;
  color: var(--ink);
  font-size: .96rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.main-nav a:not(.btn):hover { background: var(--sky); color: var(--navy); }
.main-nav a[aria-current="page"] { background: var(--aurora-soft); color: var(--accent-hover); }
.nav-cta { margin-left: 10px; }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--navy);
  cursor: pointer;
}
.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 20px; height: 2.5px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .2s, opacity .2s;
}
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before,
.nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6.5px; }
.nav-toggle-bars::after { top: 6.5px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 1060px) {
  .nav-toggle { display: inline-flex; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 10px 24px 22px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px rgba(8, 30, 50, .12);
  }
  .main-nav.is-open { display: flex; }
  .main-nav ul { flex-direction: column; }
  .main-nav a:not(.btn) { padding: 12px 10px; font-size: 1.05rem; border-bottom: 1px solid var(--sky); border-radius: 0; }
  .main-nav a[aria-current="page"] { border-radius: 8px; }
  .nav-cta { margin: 14px 0 0; padding: 14px; }
}
@media (max-width: 480px) {
  .main-nav { padding-inline: 16px; }
}

/* ---------- Hero (startsida + flygplats) ---------- */

.hero {
  position: relative;
  padding: 64px 0 88px;
  color: #fff;
  background: #0b2540 url("../img/hero.svg") center bottom / cover no-repeat;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: var(--aurora);
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }

.hero h1 { color: #fff; text-shadow: 0 2px 24px rgba(0, 0, 0, .25); }
.hero-lead { max-width: 34em; color: #d6e4ef; font-size: 1.2rem; }

.check-list { display: grid; gap: 10px; margin: 26px 0 0; padding: 0; list-style: none; }
.check-list li { display: flex; align-items: flex-start; gap: 10px; }
.check-list .icon { width: 22px; height: 22px; margin-top: 2px; color: var(--accent); }
.hero .check-list .icon { color: var(--aurora); }
.hero .check-list li { color: #eef5fa; font-weight: 600; }

@media (max-width: 920px) {
  .hero { padding: 40px 0 56px; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-lead { font-size: 1.1rem; }
}
/* På mobil: få upp sökformuläret snabbare (fördelarna står även under knappen) */
@media (max-width: 600px) {
  .hero { padding-top: 28px; }
  .hero .check-list { display: none; }
  .hero-grid { gap: 24px; }
  .hero-lead { font-size: 1.02rem; }
}

/* ---------- Sökformulär ---------- */

.search-card {
  padding: 30px;
  border-radius: var(--radius-lg);
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow-lg);
}
.search-card h2 { margin-bottom: .25em; font-size: 1.5rem; }
.search-card .intro { margin-bottom: 20px; color: var(--muted); font-size: .95rem; line-height: 1.5; }

.search-form { display: grid; gap: 14px; }
.search-form fieldset { display: grid; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.search-form legend { padding: 0; margin-bottom: 8px; color: var(--navy); font-size: .8rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }

.field { display: grid; gap: 6px; min-width: 0; }
.field > label,
.field-label { color: var(--navy); font-size: .85rem; font-weight: 700; }

.field-row { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 10px; }

.input,
.select {
  width: 100%;
  height: 50px;
  padding: 0 14px;
  border: 1.5px solid #c8d4de;
  border-radius: 10px;
  background-color: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  transition: border-color .15s, box-shadow .15s;
}
.input:hover,
.select:hover { border-color: #9fb2c2; }
.input:focus,
.select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(18, 128, 92, .18); }

.select {
  padding-right: 38px;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230c2a44' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 18px;
  cursor: pointer;
}

.input-icon { position: relative; }
.input-icon .icon {
  position: absolute;
  left: 13px; top: 50%;
  width: 20px; height: 20px;
  color: var(--accent);
  transform: translateY(-50%);
  pointer-events: none;
}
.input-icon .input { padding-left: 42px; }

.checkbox { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-size: .95rem; cursor: pointer; }
.checkbox input { width: 19px; height: 19px; margin: 0; accent-color: var(--accent); cursor: pointer; }

.form-divider { height: 1px; margin: 4px 0; background: var(--line); border: 0; }

.form-bottom { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 10px; align-items: end; }
.form-bottom .btn { height: 54px; font-size: 1.1rem; }

.form-error { margin: 0; color: var(--danger); font-size: .9rem; font-weight: 600; }
.form-error:empty { display: none; }

.form-trust { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 4px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: .85rem; }
.form-trust li { display: inline-flex; align-items: center; gap: 6px; }
.form-trust .icon { width: 16px; height: 16px; color: var(--accent); }

[hidden] { display: none !important; }

@media (max-width: 480px) {
  .search-card { padding: 22px 18px; border-radius: 16px; }
  .form-bottom { grid-template-columns: 1fr; }
}

/* ---------- Sektioner ---------- */

.section { padding: 88px 0; }
.section-sm { padding: 60px 0; }
.section-alt { background: var(--sky); }
.section:not(.section-alt) + .section:not(.section-alt) { padding-top: 0; }

.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head.center { margin-inline: auto; text-align: center; }

.kicker {
  margin-bottom: 10px;
  color: var(--accent);
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.lead { color: var(--muted); font-size: 1.15rem; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.split-top { align-items: start; }

.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (max-width: 1000px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .section { padding: 64px 0; }
  .split { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ---------- Kort ---------- */

.card {
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.card h3 { margin-bottom: .45em; }
.card p { color: var(--muted); }

.icon-badge {
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: var(--aurora-soft);
  color: var(--accent);
}
.icon-badge .icon { width: 26px; height: 26px; }

a.card {
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
  transition: transform .18s, box-shadow .18s, border-color .18s;
}
a.card:hover { transform: translateY(-3px); border-color: #b9cad8; box-shadow: var(--shadow); }
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  margin-top: auto;
  padding-top: 14px;
  color: var(--accent-hover);
  font-weight: 700;
}
.card-link .icon { width: 18px; height: 18px; transition: transform .15s; }
a.card:hover .card-link .icon { transform: translateX(3px); }

.card-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--sky);
  color: var(--navy-2);
  font-size: .8rem;
  font-weight: 700;
}
.tag .icon { width: 14px; height: 14px; }
.tag-green { background: var(--aurora-soft); color: var(--accent-hover); }

/* Uthyrare */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.chips li {
  padding: 10px 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--navy);
  font-weight: 800;
  letter-spacing: .02em;
  box-shadow: var(--shadow-sm);
}
.chips-center { justify-content: center; }
.chips .more { border-style: dashed; background: transparent; box-shadow: none; color: var(--muted); font-weight: 600; }

/* Tipslista */
.tip-list { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; counter-reset: tips; }
.tip-list li {
  position: relative;
  padding: 18px 20px 18px 64px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--line);
  counter-increment: tips;
}
.tip-list li::before {
  content: counter(tips);
  position: absolute;
  left: 18px; top: 16px;
  display: grid;
  place-items: center;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--aurora);
  font-weight: 800;
}

/* Fakta-siffror */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0; }
.stat { padding: 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.stat dt { color: var(--muted); font-size: .9rem; line-height: 1.4; }
.stat dd { order: -1; margin: 0 0 6px; color: var(--navy); font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.stat { display: flex; flex-direction: column; }
.stats-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.prose .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 8px; }
.stat dd { white-space: nowrap; }
@media (max-width: 820px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Infobox */
.note {
  display: flex;
  gap: 14px;
  padding: 18px 20px;
  border-left: 4px solid var(--accent);
  border-radius: 0 12px 12px 0;
  background: var(--aurora-soft);
  color: var(--ink);
}
.note .icon { color: var(--accent); margin-top: 2px; }

/* ---------- CTA-band ---------- */

.cta-band {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
  padding: 52px 56px;
  border-radius: var(--radius-lg);
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-3) 100%);
  color: #d6e4ef;
  overflow: hidden;
  isolation: isolate;
}
.cta-band::before {
  content: "";
  position: absolute;
  z-index: -1;
  right: -120px; top: -160px;
  width: 520px; height: 360px;
  background: radial-gradient(closest-side, rgba(63, 211, 160, .45), transparent);
  filter: blur(10px);
}
.cta-band h2 { color: #fff; }
.cta-band p { max-width: 46em; }
@media (max-width: 820px) {
  .cta-band { grid-template-columns: 1fr; padding: 36px 26px; }
}

/* ---------- Undersidor ---------- */

.page-hero {
  padding: 56px 0 64px;
  background: #0b2540 url("../img/hero.svg") center 78% / cover no-repeat;
  color: #fff;
}
.page-hero h1 { margin-bottom: .3em; color: #fff; text-shadow: 0 2px 24px rgba(0, 0, 0, .25); }
.page-hero .lead { max-width: 42em; margin: 0; color: #d6e4ef; }

.breadcrumbs { margin-bottom: 14px; font-size: .9rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; color: #a9c1d6; }
.breadcrumbs li + li::before { content: "›"; margin-right: 6px; }
.breadcrumbs a { color: #fff; text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }

.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 56px;
  align-items: start;
}
.aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 20px; }
@media (max-width: 960px) {
  .layout { grid-template-columns: 1fr; }
  .aside { position: static; }
}

.prose > * + h2 { margin-top: 1.7em; }
.prose h3 { margin-top: 1.4em; }
.prose ul { padding-left: 1.25em; }
.prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--accent); }
.prose .lead { color: var(--ink); }

.aside-cta {
  padding: 28px;
  border-radius: var(--radius);
  background: var(--navy) url("../img/hero.svg") center 70% / cover no-repeat;
  color: #d6e4ef;
}
.aside-cta h2,
.aside-cta h3 { color: #fff; font-size: 1.35rem; }
.aside-cta p { font-size: .97rem; }
.aside-cta .btn { margin-top: 8px; }

.tip-box { padding: 26px; border-radius: var(--radius); background: var(--aurora-soft); }
.tip-box h2,
.tip-box h3 { display: flex; align-items: center; gap: 10px; font-size: 1.1rem; letter-spacing: .02em; }
.tip-box h2 .icon,
.tip-box h3 .icon { color: var(--accent); }
.tip-box ul { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.tip-box li { position: relative; padding-left: 20px; font-size: .97rem; line-height: 1.55; }
.tip-box li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }

/* Tipskort (hyrbilstips) */
.tip-cards { display: grid; gap: 16px; margin: 0 0 8px; }
.tip-card { display: flex; gap: 18px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.tip-card .icon-badge { margin: 0; width: 46px; height: 46px; flex: none; }
.tip-card h3 { margin: 0 0 .3em; font-size: 1.1rem; }
.tip-card p { color: var(--muted); }

/* ---------- FAQ ---------- */

.faq { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: 12px; background: #fff; transition: box-shadow .15s; }
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq summary {
  position: relative;
  padding: 18px 52px 18px 20px;
  color: var(--navy);
  font-weight: 700;
  list-style: none;
  cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 22px; top: 50%;
  width: 10px; height: 10px;
  border-right: 2.5px solid var(--accent);
  border-bottom: 2.5px solid var(--accent);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .2s;
}
.faq details[open] summary::after { transform: translateY(-25%) rotate(-135deg); }
.faq .faq-body { padding: 0 20px 20px; color: var(--muted); }
.faq .faq-body ul { margin: 0 0 1em; padding-left: 1.2em; }

/* ---------- Tabell ---------- */

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.table { width: 100%; border-collapse: collapse; font-size: .98rem; }
.table th,
.table td { padding: 13px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.table thead th { background: var(--sky); color: var(--navy); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; }
.table tbody tr:last-child td { border-bottom: 0; }
.table td:not(:first-child) { white-space: nowrap; }
.table td:first-child { font-weight: 600; color: var(--navy); }
@media (max-width: 480px) {
  .table { font-size: .9rem; }
  .table th, .table td { padding: 11px 10px; }
}

/* ---------- Karta ---------- */

.map {
  position: relative;
  height: min(70vh, 560px);
  min-height: 380px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #e3ebf1;
  overflow: hidden;
  z-index: 0;
}
.map-fallback { display: grid; place-items: center; height: 100%; padding: 24px; color: var(--muted); text-align: center; }

.map-legend { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 14px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: .92rem; }
.map-legend li { display: inline-flex; align-items: center; gap: 8px; }
.dot { display: inline-block; width: 14px; height: 14px; border-radius: 50%; border: 2.5px solid #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .15); }
.dot-hyrbil { background: var(--accent); }
.dot-resa { background: #e2742b; }
.dot-stad { background: var(--navy-3); }
.dot-utflykt { background: #8a5cd1; }

.map-marker span {
  display: block;
  width: 22px; height: 22px;
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .35);
}

.place-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 40px; }
.place-groups h3 { display: flex; align-items: center; gap: 10px; font-size: 1.05rem; }
.place-list { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
.place-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.place-list .place-name { font-weight: 600; color: var(--navy); }
.place-list .place-desc { display: block; color: var(--muted); font-size: .9rem; font-weight: 400; }
.show-on-map {
  flex: none;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--accent-hover);
  font: inherit;
  font-size: .85rem;
  font-weight: 700;
  cursor: pointer;
}
.show-on-map:hover { border-color: var(--accent); background: var(--aurora-soft); }
@media (max-width: 720px) { .place-groups { grid-template-columns: 1fr; } }

.leaflet-popup-content { font-family: var(--font); font-size: .95rem; line-height: 1.5; }
.leaflet-popup-content strong { display: block; color: var(--navy); font-size: 1.02rem; }
.leaflet-popup-content a { font-weight: 700; }

/* ---------- Sidfot ---------- */

.site-footer { padding: 68px 0 28px; background: var(--night); color: #a9bccd; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 48px; }
.site-footer .logo { color: #fff; margin-bottom: 16px; }
.site-footer h2 { margin-bottom: 14px; color: #fff; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; }
.site-footer ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.site-footer a { color: #dbe7f1; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-note { margin-top: 14px; font-size: .88rem; line-height: 1.55; color: #8ea4b8; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: .85rem;
}
@media (max-width: 820px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ---------- 404 ---------- */

.error-page { padding: 96px 0; text-align: center; }
.error-page .lead { margin-inline: auto; }
.footer-bottom-solo { margin-top: 0; padding-top: 0; border-top: 0; }
.error-page .big { color: var(--aurora); font-size: clamp(4rem, 14vw, 8rem); font-weight: 800; line-height: 1; letter-spacing: -.04em; }

/* ---------- Hjälpklasser ---------- */

.mt-0 { margin-top: 0; }
.mt-lg { margin-top: 40px; }
.mb-0 { margin-bottom: 0; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
