/* SIVVO – startsida
   Stil: svart/vitt/grå (Urban Company-inspirerad), Plus Jakarta Sans */

:root {
  --orange: #111111;
  --orange-dark: #000000;
  --orange-soft: #f2f2f2;
  --ink: #111111;
  --ink-2: #666666;
  --sand: #f5f5f5;
  --sand-2: #ededed;
  --line: #e4e4e4;
  --white: #ffffff;
  --muted: #666666;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(23, 21, 15, 0.08);
  --shadow-lg: 0 24px 60px rgba(23, 21, 15, 0.14);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

/* Hoppa förbi den fasta menyraden vid ankarlänkar */
section[id], footer[id] { scroll-margin-top: 126px; }

body {
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; }
a { color: inherit; text-decoration: none; }

.wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Pulserande prickvågor i de vita partierna */
#dotwave {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}
.site-header, main, .site-footer { position: relative; z-index: 1; }

/* ---------- Knappar ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 15px;
  border-radius: 999px;
  padding: 12px 24px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
}
.btn-primary:hover { background: var(--orange-dark); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--sand); }
.btn-lg { padding: 15px 30px; font-size: 16px; }

/* ---------- Header (samma system som referensbilden) ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #000000;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.18);
}
.header-top {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 66px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.02em;
}
.logo-header {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.logo-header .logo-text { color: #fff; }
.logo-mark { height: 34px; width: auto; max-width: 140px; object-fit: contain; }

/* Meny-knapp vänster */
.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px 0;
  color: #fff;
}
.nav-toggle .lines { display: inline-flex; flex-direction: column; gap: 4px; width: 20px; }
.nav-toggle .lines i {
  display: block;
  height: 2px;
  width: 100%;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle em { font-style: normal; font-weight: 700; font-size: 16px; font-family: inherit; }
/* Meny-knappen behövs bara på mobil — på dator syns hela menyn i header-raden */
@media (min-width: 761px) {
  .nav-toggle { display: none; }
  /* om klassen .open hänger kvar vid byte från mobil: behåll desktop-utseendet */
  .main-nav.open {
    position: static;
    width: auto;
    max-width: none;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }
  .main-nav.open .nav-row { padding: 0 24px; }
}

/* Kontakt + Logga in höger */
.header-right { display: inline-flex; align-items: center; gap: 22px; }
.btn-contact {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  padding: 8px 0;
}
.btn-contact:hover { text-decoration: underline; }
.btn-contact svg { width: 19px; height: 19px; }
.btn-login {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  padding: 8px 0;
}
.btn-login:hover { text-decoration: underline; }
.btn-login svg { width: 22px; height: 22px; }

/* Länkraden under */
.main-nav { border-top: 1px solid rgba(255, 255, 255, 0.16); }
/* Meny-rullgardin när "Meny" trycks – öppnas direkt under Meny-knappen (vänster) */
.main-nav.open {
  position: absolute;
  top: 100%;
  left: 24px;
  width: 300px;
  max-width: calc(100% - 48px);
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-top: 0;
  border-radius: 0 0 16px 16px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5);
  z-index: 60;
}
@media (min-width: 1160px) {
  .main-nav.open { left: calc((100% - 1160px) / 2 + 24px); }
}
.main-nav.open .nav-row {
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 0;
  height: auto;
  padding: 8px 20px 20px;
  max-width: none;
}
.main-nav.open .nav-row > a:not(.btn) {
  padding: 13px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.main-nav.open .nav-row > a:not(.btn)::after { display: none; }
.main-nav.open .nav-row > a:not(.btn):hover { color: #ffffff; }
.main-nav.open .nav-row .btn { margin-top: 14px; }
.nav-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
  height: 46px;
  font-weight: 600;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.88);
}
.nav-row > a:not(.btn) { position: relative; padding: 4px 0; }
.nav-row > a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: #ffffff;
  transform: scaleX(0);
  transition: transform 0.18s ease;
}
.nav-row > a:not(.btn):hover { color: #fff; }
.nav-row > a:not(.btn):hover::after { transform: scaleX(1); }
.btn-nav { color: #fff !important; padding: 8px 18px; font-size: 14px; }

/* ---------- Hero ---------- */
.hero {
  background-color: #000000;
  background-image:
    linear-gradient(90deg,
      rgba(0, 0, 0, 0.05) 0%,
      rgba(0, 0, 0, 0.05) 50%,
      rgba(0, 0, 0, 0.55) 68%,
      rgba(0, 0, 0, 0.95) 82%,
      #000000 90%),
    url("../images/hero-car2.png");
  background-size: cover, auto 104%;
  background-position: center, left center;
  background-repeat: no-repeat;
  padding: 22px 0 24px;
  overflow-x: clip;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(320px, 430px) 1fr;
  gap: 48px;
  align-items: center;
  text-align: left;
}
.hero-widget-col { min-width: 0; }
.hero-copy { max-width: 720px; margin: 0; }
.hero-actions, .hero-points { justify-content: flex-start; }
.lead { margin-left: 0; margin-right: auto; }
.pill {
  display: inline-block;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.02em;
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.hero h1 {
  font-size: clamp(38px, 5vw, 58px);
  line-height: 1.06;
  letter-spacing: -0.03em;
  font-weight: 800;
  margin-bottom: 16px;
  color: #fff;
}
.hero h1 em {
  font-style: normal;
  color: #c9c9c9;
}
.lead {
  font-size: 19px;
  color: rgba(255, 255, 255, 0.88);
  max-width: 46ch;
  margin-bottom: 26px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }
.hero-points {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 600;
  font-size: 14px;
}
.hero .btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}
.hero .btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }
.hero-points li { position: relative; padding-left: 26px; }
.hero-points li::before {
  content: "";
  position: absolute;
  left: 0; top: 3px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4 10-10'/%3E%3C/svg%3E") center/10px no-repeat;
}

/* Bokningswidget i hero (vänster sida) */
.book-widget {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.40);
  padding: 18px;
  color: #111111;
  position: relative;
}
/* ankare för "Boka nu"-länkar utan JS */
#boka { position: absolute; top: -150px; left: 0; width: 1px; height: 1px; }
.bw-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  background: #f2f2f2;
  border-radius: 14px;
  padding: 4px;
  margin-bottom: 14px;
}
.bw-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 9px 4px 7px;
  border: 0;
  border-radius: 11px;
  background: transparent;
  color: #666666;
  font: inherit;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}
.bw-tab svg { width: 21px; height: 21px; }
.bw-tab:hover { color: #111111; }
.bw-tab.active {
  background: #fff;
  color: var(--orange);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
}
.bw-fields { display: flex; flex-direction: column; gap: 8px; }
.bw-field {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1.5px solid #e4e4e4;
  border-radius: 14px;
  padding: 9px 14px;
  cursor: text;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.bw-field:focus-within {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.14);
}
.bw-field.bw-error { border-color: #d92d20; box-shadow: 0 0 0 3px rgba(217, 45, 32, 0.12); }
.bw-dot {
  flex: 0 0 auto;
  width: 12px; height: 12px;
  border-radius: 50%;
  border: 3px solid var(--orange);
  background: #fff;
}
.bw-pin { flex: 0 0 auto; width: 20px; height: 20px; color: var(--orange); }
.bw-text { display: flex; flex-direction: column; gap: 1px; min-width: 0; flex: 1; }
.bw-text em {
  font-style: normal;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #999999;
}
.bw-text input {
  border: 0;
  outline: 0;
  background: transparent;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  color: #111111;
  width: 100%;
  padding: 0;
}
.bw-text input::placeholder { color: #9a9a9a; font-weight: 500; }
.bw-stop { position: relative; }
.bw-stop .bw-text { padding-right: 26px; }

/* ---- "Min position"-knapp i upphämtningsfältet ---- */
.locate-btn {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink-2);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}
.locate-btn:hover { border-color: var(--ink); color: var(--ink); }
.locate-btn svg { width: 18px; height: 18px; }
.locate-btn.locating { border-color: var(--ink); color: var(--ink); }
.locate-btn.locating svg { animation: locate-pulse 1s ease-in-out infinite; }
.locate-btn.located { background: #e8f5e9; border-color: #2e7d32; color: #2e7d32; }
@keyframes locate-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
/* placering i det fullständiga bokningsformuläret */
.signup-form label .locate-btn { position: absolute; right: 10px; top: 27px; }
.bw-stop .bw-text em { color: var(--orange); }
.bw-removestop {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px; height: 22px;
  border: 0;
  border-radius: 50%;
  background: #f2f2f2;
  color: #666666;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
}
.bw-removestop:hover { background: #e2e2e2; color: var(--orange); }
.bw-addstop {
  align-self: flex-start;
  border: 0;
  background: transparent;
  color: var(--orange);
  font: inherit;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  padding: 2px 4px;
  border-radius: 8px;
}
.bw-addstop:hover { background: #f2f2f2; }
.bw-submit {
  margin-top: 12px;
  width: 100%;
  border: 0;
  border-radius: 14px;
  padding: 14px 18px;
  background: linear-gradient(135deg, #2e2e2e 0%, #111111 55%, #000000 100%);
  color: #fff;
  font: inherit;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.30);
  transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.12s ease;
}
.bw-submit:hover { filter: brightness(1.05); transform: translateY(-1px); box-shadow: 0 14px 30px rgba(0, 0, 0, 0.38); }
.bw-submit:active { transform: translateY(0); }

/* Adressförslag medan man skriver */
.bw-field { position: relative; }
.signup-form label { position: relative; }
.addr-list {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 60;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  max-height: 240px;
  overflow-y: auto;
  list-style: none;
  margin: 0;
  padding: 4px;
}
.addr-list li {
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  line-height: 1.35;
}
.addr-list li.addr-item {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  -webkit-user-select: none;
}
.addr-list li.addr-item:hover, .addr-list li.addr-item.active { background: var(--orange-soft); }
.addr-main { display: block; font-weight: 700; }
.addr-city { display: block; color: var(--muted); font-size: 12.5px; }
.addr-credit, .addr-credit:hover {
  background: transparent;
  cursor: default;
  color: var(--muted);
  font-size: 11px;
  padding: 4px 12px 6px;
}

/* Bokningsfönster – öppnas när man trycker Boka */
.booking-overlay {
  position: fixed;
  inset: 0;
  background: rgba(23, 14, 5, 0.55);
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px;
}
.booking-overlay.open { display: flex; }
.overlay-box {
  background: #fff;
  width: min(520px, 100%);
  height: auto;
  max-height: calc(100dvh - 56px);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}
.overlay-box > .overlay-body { overflow-y: auto; }
.coming-soon {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 32px;
  text-align: center;
}
.coming-soon p {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.35;
  color: #1b1b21;
}
.overlay-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: #000000;
  color: #fff;
  flex: 0 0 auto;
}
.overlay-title { font-weight: 800; font-size: 17px; letter-spacing: -0.01em; }
.overlay-close {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 17px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s ease;
}
.overlay-close:hover { background: rgba(255, 255, 255, 0.32); }
.overlay-body { flex: 1 1 auto; min-height: 0; }
.overlay-body iframe { display: block; width: 100%; height: 100%; border: 0; background: #fff; }

.overlay-box-form {
  width: min(520px, 100%);
  max-height: min(860px, 100%);
}
.overlay-box-form .overlay-body { overflow: auto; }
.hidden-hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.signup-form {
  display: grid;
  gap: 14px;
  padding: 28px 28px 32px;
}
.signup-form[hidden], #signupThanks[hidden] { display: none; }
.signup-form label[hidden] { display: none; }
.signup-form .form-lead {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.signup-form label {
  display: grid;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}
.signup-form input[type="text"],
.signup-form input[type="email"],
.signup-form input[type="tel"],
.signup-form input[type="date"],
.signup-form input[type="password"],
.signup-form input[type="datetime-local"],
.signup-form input[type="file"],
.signup-form select,
.signup-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  background: #fff;
}
.signup-form input:focus,
.signup-form textarea:focus {
  outline: 2px solid var(--orange);
  border-color: var(--orange);
}
.signup-form textarea { resize: vertical; min-height: 96px; }
.signup-form label small { font-weight: 400; color: var(--muted); }

/* Fältgrupper i budformuläret (avsändare/mottagare) */
.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px 14px;
  margin: 0;
}
.form-grid-2 legend {
  padding: 0 6px;
  font-size: 13px;
  font-weight: 800;
  color: var(--ink);
}
.form-grid-2 label { gap: 4px; }
@media (max-width: 560px) {
  .form-grid-2 { grid-template-columns: 1fr; }
}

/* ---- Konto: inloggning, skapa konto, mitt konto ---- */
.auth-panel { padding: 4px 2px 2px; }
.auth-error {
  margin: 0;
  padding: 10px 14px;
  border-radius: 10px;
  background: #fdecea;
  color: #b3261e;
  font-size: 14px;
  font-weight: 600;
}
.auth-success {
  margin: 0 0 12px;
  padding: 10px 14px;
  border-radius: 10px;
  background: #e8f5e9;
  color: #1b5e20;
  font-size: 14px;
  font-weight: 600;
}
.auth-switch { margin: 2px 0 0; font-size: 14px; color: var(--muted); text-align: center; }
.auth-switch a { color: var(--ink); font-weight: 700; text-decoration: underline; }
.account-loading, .account-empty { color: var(--muted); font-size: 15px; }
.account-empty a { color: var(--ink); font-weight: 700; text-decoration: underline; }
.account-card {
  background: var(--sand);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
}
.account-card h3 { margin: 0; font-size: 19px; letter-spacing: -0.02em; flex: 1 1 auto; }
.account-meta { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.5; flex: 2 1 220px; }
.btn-logout { margin-left: auto; }
.account-sub {
  margin: 20px 0 10px;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.account-bookings { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.account-bookings li {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  background: #fff;
}
.ab-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.ab-top strong { font-size: 15px; }
.ab-ref { font-size: 12px; font-weight: 800; letter-spacing: 0.06em; color: var(--muted); }
.ab-route { margin-top: 4px; font-size: 14px; font-weight: 600; color: var(--ink); }
.ab-meta { margin-top: 2px; font-size: 13px; color: var(--muted); }
.btn-login.btn-logged-in { border-color: rgba(255, 255, 255, 0.5); }
.btn-signup-head {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 999px;
  background: #ffffff;
  color: #111111;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease;
}
.btn-signup-head:hover { background: #e8e8e8; }
.btn-signup-head.hidden { display: none; }
.nav-login-link { display: none; }

/* ---- Auth-drawer: sidopanel som glider in från höger ---- */
.auth-overlay {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: none;
}
.auth-overlay.open { display: block; }
.auth-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.auth-overlay.open .auth-backdrop { opacity: 1; }
.auth-drawer {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: min(440px, 100%);
  background: #fff;
  box-shadow: -24px 0 64px rgba(0, 0, 0, 0.35);
  transform: translateX(100%);
  transition: transform 0.34s cubic-bezier(0.32, 0.72, 0.35, 1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
.auth-overlay.open .auth-drawer { transform: translateX(0); }
.auth-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 22px 28px 0;
}
.auth-drawer-head h3 {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.auth-close {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s ease;
}
.auth-close:hover { background: var(--sand); }
.auth-drawer-body { padding: 18px 28px 32px; }
.auth-drawer .signup-form { padding: 0; }
.auth-drawer .form-lead { font-size: 14px; font-weight: 500; color: var(--muted); }
.auth-drawer .btn-primary { width: 100%; padding: 14px; font-size: 16px; }
.auth-legal { margin: 16px 0 0; font-size: 12.5px; color: var(--muted); text-align: center; }
.auth-legal a { color: var(--ink); text-decoration: underline; }
@media (max-width: 760px) {
  .auth-drawer { width: 100%; }
}
.signup-form .form-hint {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: var(--muted);
  margin-top: 4px;
}
.signup-form .form-choice {
  border: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.signup-form .form-choice legend {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 4px;
}
.signup-form .form-choice label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
}
.signup-form .btn { width: 100%; margin-top: 4px; border: 0; }

/* ---------- Sektioner ---------- */
.section { padding: 42px 0; }
#tjanster { padding-bottom: 16px; }
#sa-funkar-det { padding-top: 24px; }
.section-sand { background: transparent; }
.section-dark { background: var(--ink); color: #fff; }

.section-head { max-width: 640px; margin-bottom: 32px; }
.kicker {
  display: inline-block;
  color: var(--orange);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.kicker-light { color: #ffffff; }
.section-head h2, .split-copy h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 800;
}

/* Kort */
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-icon {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: var(--orange-soft);
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.card-icon svg { width: 23px; height: 23px; }
.card h3 { font-size: 17px; font-weight: 800; margin-bottom: 6px; letter-spacing: -0.01em; }
.card p { color: var(--ink-2); font-size: 14px; }
.card-cta {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin-top: 12px;
  color: var(--orange);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}
.card-cta span { transition: transform 0.15s ease; }
.card-cta:hover span { transform: translateX(4px); }

/* App-sektion med QR-koder */
.section-sub { color: var(--ink-2); margin-top: 10px; max-width: 52ch; }
.app-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.app-card {
  display: flex;
  align-items: center;
  gap: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}
.app-card img {
  flex: 0 0 auto;
  width: 140px;
  height: 140px;
  border-radius: 14px;
  border: 1px solid var(--line);
  padding: 6px;
  background: #fff;
}
.app-card h3 { font-size: 18px; font-weight: 800; margin-bottom: 6px; letter-spacing: -0.01em; }
.app-card p { color: var(--ink-2); font-size: 14px; }
.app-note { margin-top: 18px; color: var(--ink-2); font-size: 13.5px; }

/* ---- Kontaktsektion ---- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
  box-shadow: var(--shadow);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.contact-card:hover {
  border-color: var(--ink);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}
.contact-icon {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--sand);
  display: grid;
  place-items: center;
  color: var(--ink);
}
.contact-icon svg { width: 22px; height: 22px; }
.contact-copy { flex: 1; min-width: 0; }
.contact-copy h3 { margin: 0; font-size: 15px; letter-spacing: -0.01em; }
.contact-copy p { margin: 2px 0 0; font-size: 13.5px; color: var(--muted); }
.contact-arrow { color: var(--muted); font-size: 18px; transition: transform 0.15s ease, color 0.15s ease; }
.contact-card:hover .contact-arrow { transform: translateX(4px); color: var(--ink); }
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* Steg */
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  counter-reset: step;
}
.step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  position: relative;
}
.step-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  font-weight: 800;
  margin-bottom: 16px;
}
.step h3 { font-size: 17px; font-weight: 800; margin-bottom: 6px; }
.step p { color: var(--ink-2); font-size: 14.5px; }

/* Delad sektion */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.split-copy p { color: var(--ink-2); margin: 16px 0 24px; font-size: 16px; }
.section-dark .split-copy p { color: #b0b0b0; }
.check-list { list-style: none; margin-bottom: 28px; }
.check-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
  font-weight: 600;
  font-size: 15px;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 3px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4 10-10'/%3E%3C/svg%3E") center/11px no-repeat;
}

.split-panel { display: grid; gap: 16px; }
.panel-card {
  background: var(--orange-soft);
  border-radius: var(--radius);
  padding: 28px;
  display: grid;
  gap: 4px;
}
.panel-card-dark { background: var(--ink); color: #fff; }
.panel-label { font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.65; }
.panel-big { font-size: 34px; font-weight: 800; letter-spacing: -0.02em; }
.panel-sub { font-size: 14px; opacity: 0.75; }

.split-stats { display: grid; gap: 14px; }
.stat {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 22px 26px;
  display: flex;
  align-items: baseline;
  gap: 16px;
}
.stat-big { font-size: 30px; font-weight: 800; color: #ffffff; min-width: 86px; letter-spacing: -0.02em; }
.stat-label { color: #b0b0b0; font-size: 14.5px; }

/* ---------- Footer ---------- */
.site-footer { background: #000000; color: #a3a3a3; padding: 45px 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}
.logo-light .logo-text { color: #fff; }
.footer-brand p { margin-top: 16px; font-size: 14.5px; max-width: 34ch; }
.footer-col { display: grid; gap: 10px; align-content: start; font-size: 14.5px; }
.footer-col h4 { color: #fff; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 6px; }
.footer-col a:hover { color: #fff; }
.footer-connect {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 28px 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 26px 0;
}
.footer-follow h4,
.footer-apps h4 {
  color: #fff;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.footer-social { display: flex; align-items: center; gap: 12px; }
.footer-social a {
  color: #a3a3a3;
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.footer-social a svg { width: 16px; height: 16px; display: block; }
.footer-social a:hover { color: #ffffff; border-color: #ffffff; }
.footer-badges { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.footer-badge {
  display: inline-flex;
  pointer-events: none;
  user-select: none;
}
.footer-badge img { height: 40px; width: auto; display: block; }
.footer-badge-play img { height: 58px; margin: -9px -8px; }
.footer-soon { margin-top: 8px; font-size: 13px; color: #a3a3a3; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 22px;
  padding-bottom: 26px;
  font-size: 13px;
}

/* ---------- Mobilanpassning ---------- */
@media (max-width: 980px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .section { padding: 31px 0; }
  #tjanster { padding-bottom: 12px; }
  #sa-funkar-det { padding-top: 18px; }
  .hero { padding: 16px 0 18px; }
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-copy { text-align: center; margin: 0 auto; }
  .hero-copy .lead { margin-left: auto; margin-right: auto; }
  .hero-points { justify-content: center; }
  .book-widget { max-width: 430px; margin: 0 auto; }
  .steps { grid-template-columns: 1fr; }
  .app-grid { grid-template-columns: 1fr; }
  .app-card { flex-direction: column; text-align: center; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .header-top { height: 60px; }
  .nav-toggle .lines { width: 18px; }
  .btn-contact { display: none; }
  .btn-signup-head { display: none; }
  .header-right { gap: 12px; }
  .main-nav { display: none; }
  .main-nav.open { display: block; }
  .main-nav.open .nav-login-link { display: block; }
  .nav-row {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    height: auto;
    padding: 8px 24px 20px;
  }
  .nav-row > a:not(.btn) { padding: 13px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.14); }
  .nav-row > a:not(.btn)::after { display: none; }
  .nav-row > a:not(.btn):hover { color: #ffffff; }
  .nav-row .btn { margin-top: 14px; }
  .overlay-title { font-size: 15px; }
  .booking-overlay { padding: 0; }
  .overlay-box { width: 100%; height: 100%; border-radius: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-connect { flex-direction: column; gap: 22px; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 560px) {
  .cards { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1 1 auto; }
}

/* Förar-kort: 90 % till föraren */
.driver-card {
  margin-top: 2.75rem;
  background: linear-gradient(135deg, #2e2e2e 0%, #111111 48%, #000000 100%);
  border-radius: 28px;
  padding: 2.2rem 2.4rem;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.driver-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.5) 1px, transparent 1px);
  background-size: 14px 14px;
  opacity: 0.3;
  pointer-events: none;
}
.driver-card h3 {
  position: relative;
  margin: 0 0 0.9rem;
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.25;
  color: #fff;
}
.driver-card p {
  position: relative;
  max-width: 42rem;
  margin: 0;
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.7;
  color: rgba(255,255,255,0.94);
}
.driver-card .driver-big {
  position: relative;
  display: block;
  margin-top: 1.5rem;
  font-size: 3.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
  color: #fff;
}
@media (max-width: 640px) {
  .driver-card {
    margin-top: 2rem;
    padding: 1.6rem 1.4rem;
    border-radius: 22px;
  }
  .driver-card h3 { font-size: 1.4rem; }
  .driver-card p { font-size: 0.95rem; }
  .driver-card .driver-big { font-size: 2.4rem; margin-top: 1.1rem; }
}

/* Bokningsbekräftelse */
.booking-done { text-align: center; padding: 12px 4px 4px; }
.booking-done-check {
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(135deg, #2e2e2e 0%, #111111 48%, #000000 100%);
  color: #fff; font-size: 30px; line-height: 56px;
  margin: 0 auto 14px; text-align: center;
}
.booking-done h3 { margin: 0 0 8px; font-size: 20px; }
.booking-done p { color: var(--muted); margin: 0 0 14px; }
.booking-done-ref {
  display: inline-block; background: #f2f2f2; color: #111111;
  border: 1px solid #e0e0e0; border-radius: 999px;
  padding: 8px 18px; font-size: 14px; margin-bottom: 18px;
}
.booking-done-meta {
  list-style: none; margin: 0 0 20px; padding: 0;
  border: 1px solid #e8e8e8; border-radius: 16px; overflow: hidden;
  text-align: left;
}
.booking-done-meta li {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 10px 16px; font-size: 14px;
}
.booking-done-meta li + li { border-top: 1px solid #efefef; }
.booking-done-meta span { color: var(--muted); }
.booking-done-meta strong { font-weight: 600; text-align: right; }
.quick-summary { margin: 0 0 16px; text-align: left; }

/* Juridiska länkar i sidfoten */
.footer-legal { display: inline-flex; gap: 18px; }
.footer-legal a { color: #999; text-decoration: none; transition: color .2s; }
.footer-legal a:hover { color: #fff; }
@media (max-width: 700px) {
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 10px; }
}

/* ---------- Kontaktformulär ---------- */
.contact-form-card {
  margin-top: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px 28px;
}
.contact-form-card h3 { margin: 0; font-size: 18px; letter-spacing: -0.01em; }
.contact-form-sub { margin: 4px 0 18px; font-size: 13.5px; color: var(--muted); }
.contact-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 10px;
}
@media (max-width: 700px) { .contact-form-row { grid-template-columns: 1fr; } }
.bw-field-area { align-items: flex-start; margin-bottom: 14px; }
.bw-field-area textarea {
  border: 0; outline: 0; background: transparent;
  font: inherit; font-size: 14.5px; width: 100%;
  resize: vertical; min-height: 88px; padding: 2px 0;
}
.contact-form-foot { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.contact-form-status { font-size: 13.5px; font-weight: 600; }
.contact-form-status.ok { color: #12805c; }
.contact-form-status.err { color: #d92d20; }
