/* Avlopp Orust & Tjörn: one palette, spacing 4/8/12/16/24/32/48/64. */
:root {
  --navy: #12324a;
  --navy-2: #1d4a6b;
  --green: #2f7d4f;
  --green-dark: #256640;
  --sand: #f6f3ee;
  --line: #e2dcd2;
  --text: #1e2a33;
  --muted: #56636d;
  --white: #ffffff;
  --r: 12px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  padding-bottom: 72px; /* room for the sticky call button on phones */
}
h1, h2, h3 { line-height: 1.2; margin: 0 0 12px; color: var(--navy); }
h1 { font-size: clamp(30px, 6vw, 44px); color: var(--white); }
h2 { font-size: 26px; }
h3 { font-size: 18px; }
p { margin: 0 0 12px; }
a { color: var(--navy-2); }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }
[hidden] { display: none !important; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: 960px; margin: 0 auto; padding: 0 16px; }
.section { padding: 48px 16px; }
.band { background: var(--sand); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: var(--r);
  background: var(--green);
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
}
.btn:hover { background: var(--green-dark); }
.btn-small { min-height: 44px; padding: 8px 16px; }
.btn-big { font-size: 20px; min-height: 56px; margin: 8px 0 24px; }

.topbar { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 8px; color: var(--navy); font-weight: 800; text-decoration: none; }

.hero { background: linear-gradient(160deg, rgba(18, 50, 74, .9) 0%, rgba(18, 50, 74, .82) 45%, rgba(29, 74, 107, .45) 100%), url("img/markbadd-dranering.webp") center / cover, var(--navy); color: #e8f0f5; padding: 48px 0; }
.lead { font-size: 19px; max-width: 640px; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.ticks li::before { content: "✓"; color: #7fd1a0; font-weight: 800; margin-right: 8px; }

.cards { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); margin-top: 24px; }
.card { border: 1px solid var(--line); border-radius: var(--r); padding: 24px; }
.card p { color: var(--muted); margin: 0; }

.steps { padding-left: 24px; display: grid; gap: 12px; margin: 16px 0 0; }

.prices { width: 100%; border-collapse: collapse; margin: 16px 0; }
.prices th, .prices td { text-align: left; padding: 12px 8px; border-bottom: 1px solid var(--line); }
.prices thead th { color: var(--muted); font-size: 15px; }
.prices td { font-weight: 700; }
.prices th[scope="row"] { font-weight: 400; width: 50%; }
.note { color: var(--muted); }

.two-col { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.area-photo { margin: 48px auto 0; }
.area-photo img { display: block; width: 100%; height: auto; max-height: 380px; object-fit: cover; object-position: center 30%; border-radius: 8px; }

details { border-bottom: 1px solid var(--line); padding: 12px 0; }
summary { cursor: pointer; font-weight: 700; min-height: 32px; }
details p { margin-top: 8px; color: var(--muted); }

.cta { background: var(--navy); padding: 48px 0; text-align: center; }
.cta h2 { color: var(--white); }

.footer { padding: 32px 0; font-size: 15px; color: var(--muted); }

.sticky-call {
  position: fixed; left: 16px; right: 16px; bottom: max(12px, env(safe-area-inset-bottom));
  display: flex; align-items: center; justify-content: center;
  min-height: 52px; border-radius: var(--r);
  background: var(--green); color: var(--white); font-weight: 800; font-size: 18px;
  text-decoration: none; box-shadow: 0 6px 18px rgb(0 0 0 / 0.25); z-index: 10;
}
@media (min-width: 720px) {
  .sticky-call { display: none; }
  body { padding-bottom: 0; }
}

.answer { font-size: 18px; max-width: 720px; }
.faq h3 { margin-top: 24px; }
.faq p { color: var(--muted); max-width: 720px; }
.sources ul { padding-left: 20px; }
.updated { color: var(--muted); font-size: 15px; margin-top: 16px; }
