:root {
  --fog: #E9EEED;
  --paper: #FFFFFF;
  --ink: #15262D;
  --slate: #4F6670;
  --line: #C9D3D2;
  --amber: #B9741A;
  --amber-ink: #7A4A0C;
  --ok: #2F6B4F;
  --err: #9B2C22;
  --display: "Familjen Grotesk", "Segoe UI", system-ui, sans-serif;
  --text: "Source Serif 4", Georgia, "Times New Roman", serif;
  --wrap: 1120px;
  --r-sm: 4px;
  --r-lg: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

body {
  margin: 0;
  background: var(--fog);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--text);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-underline-offset: 3px; }
a:hover { color: var(--amber-ink); }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3 { font-family: var(--display); line-height: 1.08; letter-spacing: -0.015em; margin: 0; font-weight: 700; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4.1rem); max-width: 15ch; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); margin-bottom: 1.5rem; }
h3 { font-size: 1.2rem; font-weight: 600; line-height: 1.25; }
p { margin: 0 0 1rem; }

.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--fog); padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 5; background: rgba(233, 238, 237, 0.94); backdrop-filter: saturate(1.2) blur(6px); border-bottom: 1px solid var(--line); }
.top__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { font: 700 1.3rem/1 var(--display); text-decoration: none; letter-spacing: -0.03em; }
.nav { display: flex; gap: 22px; align-items: center; font: 500 0.98rem/1 var(--display); }
.nav a { text-decoration: none; }
.nav__cta { background: var(--ink); color: var(--fog); padding: 10px 16px; border-radius: var(--r-sm); }
.nav__cta:hover { background: var(--amber-ink); color: #fff; }
@media (max-width: 760px) {
  .nav a:not(.nav__cta) { display: none; }
}

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: var(--r-sm); font: 600 1rem/1 var(--display); text-decoration: none; cursor: pointer; border: 2px solid var(--ink); transition: background-color .15s, color .15s; }
.btn--solid { background: var(--ink); color: var(--fog); }
.btn--solid:hover { background: var(--amber-ink); border-color: var(--amber-ink); color: #fff; }
.btn--line { background: transparent; color: var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--fog); }
.btn[disabled] { opacity: .6; cursor: progress; }

/* ---------- hero ---------- */
.hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; padding-block: 72px 88px; }
.hero__place { font: 500 0.95rem/1.3 var(--display); color: var(--slate); margin-bottom: 18px; }
.lead { font-size: 1.18rem; max-width: 36em; margin-top: 24px; color: #22363E; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* The signature: a map listing that becomes a site. */
.morph { margin: 0; display: grid; grid-template-columns: 1fr 34px 210px; align-items: center; gap: 0; }
.morph figcaption { grid-column: 1 / -1; margin-top: 18px; font-size: 0.86rem; color: var(--slate); }
.listing { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: 0 18px 40px -28px rgba(21, 38, 45, .55); }
.listing__photo { height: 110px; background:
  linear-gradient(180deg, transparent 55%, rgba(21,38,45,.25)),
  repeating-linear-gradient(90deg, #8E5A3A 0 18px, #7A4C31 18px 20px),
  #8E5A3A; }
.listing__body { padding: 14px 16px 16px; font-family: var(--display); }
.listing__name { font-weight: 600; font-size: 1.02rem; margin-bottom: 4px; line-height: 1.25; }
.listing__rating { font-size: .9rem; color: var(--slate); margin-bottom: 2px; }
.listing__rating span { color: var(--amber); letter-spacing: 1px; }
.listing__meta { font-size: .9rem; color: var(--slate); margin-bottom: 12px; }
.listing__missing { display: inline-block; font-size: .85rem; color: var(--err); border: 1px dashed currentColor; padding: 4px 8px; border-radius: var(--r-sm); margin: 0; }
.morph__bridge { height: 2px; background: repeating-linear-gradient(90deg, var(--ink) 0 6px, transparent 6px 11px); position: relative; }
.morph__bridge span { position: absolute; right: -2px; top: -5px; width: 12px; height: 12px; border-radius: 50%; background: var(--amber); animation: pulse 2.4s ease-in-out 1s 2; }
@keyframes pulse { 50% { transform: scale(1.6); } }
.phone { background: var(--ink); padding: 10px; border-radius: 30px; box-shadow: 0 30px 60px -30px rgba(21, 38, 45, .7); }
.phone__screen { background: #F7F3EC; border-radius: 22px; overflow: hidden; min-height: 380px; font-family: var(--display); }
.mini__hero { background: #2B1D16; color: #F7F3EC; padding: 22px 16px 20px; }
.mini__kicker { font-size: .72rem; opacity: .75; margin-bottom: 6px; }
.mini__title { font-size: 1.06rem; font-weight: 700; line-height: 1.15; margin-bottom: 14px; }
.mini__btn { display: inline-block; background: #D9A55B; color: #2B1D16; font-size: .78rem; font-weight: 600; padding: 7px 12px; border-radius: 3px; }
.mini__row { display: flex; justify-content: space-between; padding: 11px 16px; font-size: .8rem; border-bottom: 1px solid #E5DCCD; color: #2B1D16; }
.mini__row--hours { color: #6B5A4C; }

/* ---------- sections ---------- */
.block { padding-block: 80px; }
.block--band { background: var(--ink); color: var(--fog); }
.block--band h2 { color: #fff; }
.section-note { color: var(--slate); max-width: 46em; margin-top: -0.6rem; margin-bottom: 2rem; }

.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.steps li { counter-increment: s; border-top: 2px solid var(--ink); padding-top: 18px; }
.steps li::before { content: counter(s); display: block; font: 700 2.6rem/1 var(--display); color: var(--amber); margin-bottom: 14px; }
.steps h3 { margin-bottom: 8px; }
.steps p { color: #2B3F47; font-size: 1rem; }

.split { display: grid; grid-template-columns: 1fr 2fr; gap: 48px; }
.facts { margin: 0; display: grid; gap: 0; }
.facts > div { padding: 18px 0; border-bottom: 1px solid rgba(233, 238, 237, .18); display: grid; grid-template-columns: 15em 1fr; gap: 24px; }
.facts > div:first-child { padding-top: 0; }
.facts dt { font: 600 1.08rem/1.35 var(--display); color: #fff; }
.facts dd { margin: 0; color: #C5D2D3; }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
.plan { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px 26px; display: flex; flex-direction: column; min-height: 100%; }
.plan--featured { border: 2px solid var(--ink); }
.plan h3 { font-size: 1.35rem; }
.plan__price { font: 700 2.2rem/1 var(--display); margin: 14px 0 4px; letter-spacing: -0.02em; }
.plan__note { color: var(--slate); font-size: .95rem; margin-bottom: 14px; }
.plan__for { font-size: 1rem; margin-bottom: 18px; }
.plan ul { margin: 0 0 24px; padding-left: 1.1em; font-size: .98rem; }
.plan li { margin-bottom: 6px; }
.plan li::marker { color: var(--amber); }
.plan .btn { margin-top: auto; }

.cases { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.case { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.case img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.case div { padding: 18px 20px; }

.faq details { border-top: 1px solid var(--line); max-width: 52em; }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 20px 36px 20px 0; font: 600 1.12rem/1.35 var(--display); list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font-size: 1.5rem; color: var(--amber-ink); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding-bottom: 20px; max-width: 44em; }

.contact { display: grid; grid-template-columns: 1fr 1.25fr; gap: 56px; align-items: start; }
.contact__direct { color: var(--slate); }
.form { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; display: grid; gap: 18px; }
.field { display: grid; gap: 6px; font: 500 .95rem/1.3 var(--display); }
.field small { color: var(--slate); font-weight: 400; }
.field input, .field select, .field textarea { font: 400 1rem/1.4 var(--text); color: var(--ink); background: #F7F9F9; border: 1px solid #A9B8B9; border-radius: var(--r-sm); padding: 12px; width: 100%; min-height: 48px; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); outline: 2px solid var(--amber); outline-offset: 1px; }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: .92rem; line-height: 1.45; color: #2B3F47; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--ink); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__status { margin: 0; min-height: 1.5em; font-family: var(--display); }
.form__status.is-ok { color: var(--ok); }
.form__status.is-err { color: var(--err); }

.foot { border-top: 1px solid var(--line); padding-block: 32px 48px; font-size: .95rem; color: var(--slate); }
.foot__row { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.foot nav { display: flex; gap: 20px; flex-wrap: wrap; }
.foot p { margin: 0; }

/* ---------- legal pages ---------- */
.doc { padding-block: 56px 80px; max-width: 46em; }
.doc h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 1.5rem; max-width: none; }
.doc h2 { font-size: 1.35rem; margin: 2.2rem 0 .8rem; }
.doc ul { padding-left: 1.2em; }
.doc li { margin-bottom: .4rem; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; padding-block: 48px 64px; gap: 40px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .split, .contact { grid-template-columns: 1fr; gap: 32px; }
  .plans { grid-template-columns: 1fr; max-width: 560px; }
}
@media (max-width: 560px) {
  body { font-size: 1rem; }
  .block { padding-block: 56px; }
  .morph { grid-template-columns: 1fr; gap: 0; justify-items: center; }
  .listing { width: 100%; }
  .morph__bridge { width: 2px; height: 30px; background: repeating-linear-gradient(180deg, var(--ink) 0 6px, transparent 6px 11px); }
  .morph__bridge span { right: -5px; top: auto; bottom: -4px; }
  .phone { width: 220px; }
  .morph figcaption { text-align: left; justify-self: stretch; }
  .steps { grid-template-columns: 1fr; gap: 24px; }
  .facts > div { grid-template-columns: 1fr; gap: 6px; }
  .form { padding: 20px; }
  .hero__actions .btn { flex: 1 1 100%; }
}
