/* ==========================================================================
   Unwrischiv — Split-Screen Modern
   Theme: digitale forretningsidéer
   ========================================================================== */

:root {
  --ink: #16182a;
  --ink-soft: #3a3d55;
  --muted: #6c7089;
  --line: #e4e6f0;
  --paper: #ffffff;
  --cloud: #f5f6fb;
  --mist: #eef0f8;
  --brand: #4338ca;
  --brand-dark: #312b8f;
  --brand-soft: #eceafe;
  --accent: #0ea5a4;
  --accent-soft: #d8f4f3;
  --amber: #e8a13a;
  --fallback-1: #dcdef0;
  --fallback-2: #cfe7e6;
  --fallback-3: #e7dcc6;
  --radius-s: 8px;
  --radius-m: 16px;
  --radius-l: 28px;
  --shadow-s: 0 2px 10px rgba(22, 24, 42, .06);
  --shadow-m: 0 18px 44px rgba(22, 24, 42, .12);
  --wrap: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Segoe UI", "Inter", system-ui, -apple-system, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: "Georgia", "Times New Roman", serif;
  line-height: 1.12;
  margin: 0 0 .4em;
  color: var(--ink);
  letter-spacing: -.01em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.28rem; }

p { margin: 0 0 1.1rem; color: var(--ink-soft); }

a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

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

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

.eyebrow {
  display: inline-block;
  font-family: "Segoe UI", sans-serif;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .72rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 1rem;
}

/* ---------- Ad disclosure strip ---------- */
.ad-strip {
  background: var(--ink);
  color: #c9ccdf;
  font-size: .78rem;
  letter-spacing: .02em;
  text-align: center;
  padding: 7px 16px;
}
.ad-strip strong { color: #fff; font-weight: 600; }

/* ---------- Header / split nav ---------- */
.masthead {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 24px;
  max-width: 1320px;
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: "Georgia", serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--ink);
}
.brand:hover { text-decoration: none; }
.brand .glyph {
  width: 38px; height: 38px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.1rem; font-weight: 700;
}
.nav-left { display: flex; align-items: center; gap: 34px; }
.nav-links { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  font-family: "Segoe UI", sans-serif;
  color: var(--ink-soft);
  font-weight: 500;
  font-size: .96rem;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
}
.nav-links a:hover { color: var(--brand); border-bottom-color: var(--brand); text-decoration: none; }
.nav-right { display: flex; align-items: center; gap: 16px; }
.pill-ad {
  font-family: "Segoe UI", sans-serif;
  font-size: .68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--amber);
  border: 1px solid var(--amber);
  border-radius: 999px;
  padding: 4px 11px;
}
.nav-toggle {
  display: none;
  background: none; border: 1px solid var(--line);
  border-radius: 9px; padding: 8px 10px; cursor: pointer;
}
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--ink); margin: 4px 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: "Segoe UI", sans-serif;
  font-weight: 600;
  font-size: .97rem;
  padding: 13px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: var(--shadow-s); }
.btn-primary:hover { background: var(--brand-dark); box-shadow: var(--shadow-m); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: #0b8382; }
.btn-light { background: #fff; color: var(--brand); }
.link-inline {
  font-family: "Segoe UI", sans-serif;
  font-weight: 600;
  color: var(--brand);
  border-bottom: 2px solid var(--brand-soft);
}
.link-inline:hover { border-bottom-color: var(--brand); text-decoration: none; }

/* ---------- Split section primitive ---------- */
.split {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
}
.split > .pane {
  flex: 1 1 440px;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.pane-pad { padding: clamp(40px, 6vw, 92px); }
.split.reverse { flex-direction: row-reverse; }

/* image panes */
.media-pane {
  position: relative;
  min-height: 420px;
  overflow: hidden;
}
.media-pane img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.fill-1 { background-color: var(--fallback-1); }
.fill-2 { background-color: var(--fallback-2); }
.fill-3 { background-color: var(--fallback-3); }

/* ---------- Hero ---------- */
.hero { background: var(--cloud); border-bottom: 1px solid var(--line); }
.hero .pane-pad { padding-top: clamp(50px, 7vw, 104px); padding-bottom: clamp(50px, 7vw, 104px); }
.hero h1 span { color: var(--brand); }
.hero-lead { font-size: 1.16rem; color: var(--ink-soft); max-width: 40ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 10px; }
.hero-stats {
  display: flex; flex-wrap: wrap; gap: 30px; margin-top: 40px;
  padding-top: 26px; border-top: 1px solid var(--line);
}
.hero-stats div strong {
  display: block; font-family: "Georgia", serif; font-size: 1.9rem; color: var(--ink);
}
.hero-stats div span { font-size: .85rem; color: var(--muted); }

.hero-media {
  min-height: 520px;
  background-color: var(--fallback-1);
  position: relative;
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-tag {
  position: absolute;
  left: 28px; bottom: 28px;
  background: rgba(255,255,255,.95);
  border-radius: var(--radius-m);
  padding: 16px 20px;
  box-shadow: var(--shadow-m);
  max-width: 260px;
}
.hero-tag strong { color: var(--brand); font-family: "Segoe UI", sans-serif; }
.hero-tag span { font-size: .85rem; color: var(--muted); display: block; }

/* ---------- Section shells ---------- */
.section { padding: clamp(56px, 8vw, 110px) 0; }
.section.tight { padding: clamp(40px, 5vw, 70px) 0; }
.bg-cloud { background: var(--cloud); }
.bg-ink { background: var(--ink); color: #e7e9f6; }
.bg-ink h2, .bg-ink h3 { color: #fff; }
.bg-ink p { color: #b6b9d4; }
.bg-brand { background: linear-gradient(135deg, var(--brand-dark), var(--brand)); color: #fff; }
.bg-brand h2 { color: #fff; }
.bg-brand p { color: #dcd9fb; }

.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Pillar strip (asymmetric offset) ---------- */
.pillars { display: flex; flex-wrap: wrap; gap: 22px; }
.pillar {
  flex: 1 1 240px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 30px 26px;
  box-shadow: var(--shadow-s);
}
.pillar:nth-child(even) { transform: translateY(18px); }
.pillar .num {
  font-family: "Georgia", serif; font-size: 1.5rem; color: var(--accent); font-weight: 700;
}
.pillar h3 { margin-top: 10px; }
.pillar p { margin-bottom: 0; font-size: .95rem; }

/* ---------- Services / pricing cards ---------- */
.price-grid { display: flex; flex-wrap: wrap; gap: 24px; }
.price-card {
  flex: 1 1 300px;
  display: flex; flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: 34px 30px;
  box-shadow: var(--shadow-s);
}
.price-card.feature {
  border: 1px solid var(--brand);
  box-shadow: var(--shadow-m);
}
.price-card .svc-kick {
  font-family: "Segoe UI", sans-serif; font-size: .74rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--accent); font-weight: 700;
}
.price-card h3 { margin: 10px 0 6px; }
.price-card .price {
  font-family: "Georgia", serif; font-size: 2.1rem; color: var(--ink); margin: 14px 0 2px;
}
.price-card .price small { font-size: .9rem; color: var(--muted); font-family: "Segoe UI", sans-serif; }
.price-card ul { list-style: none; padding: 0; margin: 18px 0 26px; }
.price-card ul li {
  font-size: .95rem; color: var(--ink-soft); padding: 7px 0 7px 26px; position: relative;
  border-bottom: 1px dashed var(--line);
}
.price-card ul li:last-child { border-bottom: none; }
.price-card ul li::before {
  content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700;
}
.price-card .btn { margin-top: auto; justify-content: center; }
.price-badge {
  align-self: flex-start;
  background: var(--brand-soft); color: var(--brand);
  font-family: "Segoe UI", sans-serif; font-size: .7rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  border-radius: 999px; padding: 5px 12px; margin-bottom: 14px;
}

/* ---------- Service feature rows (image cards) ---------- */
.svc-media-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  overflow: hidden;
  box-shadow: var(--shadow-s);
  flex: 1 1 320px;
  display: flex; flex-direction: column;
}
.svc-media-card .thumb {
  height: 190px; background-color: var(--fallback-2); overflow: hidden;
}
.svc-media-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.svc-media-card .body { padding: 26px; display: flex; flex-direction: column; flex: 1; }
.svc-media-card .body h3 { margin-bottom: 8px; }
.svc-media-card .body p { font-size: .95rem; }
.svc-media-card .body .link-inline { margin-top: auto; }

/* ---------- Approach steps (zig-zag) ---------- */
.steps { display: flex; flex-direction: column; gap: 14px; }
.step {
  display: flex; gap: 22px; align-items: flex-start;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius-m); padding: 24px 26px;
}
.step:nth-child(odd) { margin-right: clamp(0px, 8vw, 90px); }
.step:nth-child(even) { margin-left: clamp(0px, 8vw, 90px); background: var(--mist); }
.step .idx {
  flex: 0 0 auto; width: 46px; height: 46px; border-radius: 50%;
  background: var(--brand); color: #fff; font-family: "Georgia", serif;
  font-size: 1.2rem; display: flex; align-items: center; justify-content: center;
}
.step h3 { margin-bottom: 4px; }
.step p { margin-bottom: 0; font-size: .95rem; }

/* ---------- Quote / testimonials inline ---------- */
.quotes { display: flex; flex-wrap: wrap; gap: 24px; }
.quote {
  flex: 1 1 300px;
  background: var(--paper);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-m);
  padding: 28px 26px;
  box-shadow: var(--shadow-s);
}
.quote p { font-style: italic; color: var(--ink); }
.quote .who { display: flex; align-items: center; gap: 13px; margin-top: 16px; }
.quote .who .avatar {
  width: 46px; height: 46px; border-radius: 50%; overflow: hidden;
  background-color: var(--fallback-3); flex: 0 0 auto;
}
.quote .who .avatar img { width: 100%; height: 100%; object-fit: cover; }
.quote .who strong { display: block; font-family: "Segoe UI", sans-serif; font-size: .92rem; }
.quote .who span { font-size: .82rem; color: var(--muted); }

/* ---------- CTA band with background ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  background-color: var(--brand-dark);
  color: #fff;
}
.cta-band .cta-bg {
  position: absolute; inset: 0;
  background-color: var(--brand-dark);
  opacity: .22;
}
.cta-band .cta-bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-band .cta-inner {
  position: relative;
  padding: clamp(56px, 8vw, 96px) 0;
  text-align: center;
  max-width: 720px; margin: 0 auto;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #e4e2fb; }

/* ---------- Form ---------- */
.form-shell {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: clamp(28px, 4vw, 44px);
  box-shadow: var(--shadow-m);
}
.form-row { display: flex; flex-wrap: wrap; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; flex: 1 1 220px; }
.field label {
  font-family: "Segoe UI", sans-serif; font-weight: 600; font-size: .9rem; color: var(--ink);
}
.field input, .field select, .field textarea {
  font-family: "Segoe UI", sans-serif;
  font-size: 1rem;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  background: var(--cloud);
  color: var(--ink);
  width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand); background: #fff;
  box-shadow: 0 0 0 3px var(--brand-soft);
}
.field textarea { resize: vertical; min-height: 110px; }
.form-note { font-size: .82rem; color: var(--muted); margin-top: 6px; }
.form-error {
  color: #c0392b; font-size: .85rem; margin-top: 8px; display: none;
}
.form-error.show { display: block; }

/* ---------- Contact meta ---------- */
.contact-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 22px; }
.contact-list li { display: flex; gap: 15px; }
.contact-list .k {
  flex: 0 0 auto; width: 44px; height: 44px; border-radius: 12px;
  background: var(--brand-soft); color: var(--brand);
  display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
}
.contact-list strong { display: block; font-family: "Segoe UI", sans-serif; font-size: .95rem; }
.contact-list span { color: var(--muted); font-size: .95rem; }

/* ---------- Prose (legal/about text) ---------- */
.prose { max-width: 760px; }
.prose h2 { margin-top: 2.2rem; }
.prose h3 { margin-top: 1.6rem; }
.prose ul { padding-left: 1.3rem; color: var(--ink-soft); }
.prose li { margin-bottom: .5rem; }
.page-hero {
  background: var(--ink);
  color: #fff;
  padding: clamp(60px, 9vw, 120px) 0 clamp(44px, 6vw, 70px);
}
.page-hero h1 { color: #fff; }
.page-hero p { color: #b6b9d4; max-width: 60ch; }
.page-hero .crumb {
  font-family: "Segoe UI", sans-serif; font-size: .82rem; color: #8c90b0;
  margin-bottom: 18px; letter-spacing: .04em;
}
.page-hero .crumb a { color: #b6b9d4; }

/* ---------- Disclaimer block ---------- */
.disclaimer {
  background: var(--mist);
  border: 1px dashed var(--line);
  border-radius: var(--radius-m);
  padding: 26px 28px;
  font-size: .9rem;
  color: var(--ink-soft);
}
.disclaimer strong { color: var(--ink); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #aeb2cf; padding: 64px 0 28px; }
.footer-grid { display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; }
.footer-col { flex: 1 1 200px; min-width: 180px; }
.footer-col h4 {
  font-family: "Segoe UI", sans-serif; color: #fff; font-size: .82rem;
  letter-spacing: .14em; text-transform: uppercase; margin-bottom: 16px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col a { color: #aeb2cf; font-size: .94rem; }
.footer-col a:hover { color: #fff; }
.footer-brand p { color: #8c90b0; font-size: .92rem; max-width: 30ch; }
.footer-email { color: #cfd2e6; font-size: .94rem; }
.footer-bottom {
  margin-top: 48px; padding-top: 22px; border-top: 1px solid #2a2d45;
  display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between;
  font-size: .82rem; color: #80849f;
}

/* ---------- Cookie banner ---------- */
.cookie {
  position: fixed; left: 20px; right: 20px; bottom: 20px;
  z-index: 60;
  background: var(--ink);
  color: #e7e9f6;
  border-radius: var(--radius-m);
  padding: 20px 24px;
  box-shadow: var(--shadow-m);
  display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between;
  max-width: 860px; margin: 0 auto;
}
.cookie.hidden { display: none; }
.cookie p { margin: 0; color: #c9ccdf; font-size: .9rem; flex: 1 1 320px; }
.cookie p a { color: #fff; text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; }
.cookie-actions .btn { padding: 10px 20px; font-size: .9rem; }

/* ---------- Thanks ---------- */
.thanks-wrap { max-width: 620px; margin: 0 auto; text-align: center; }
.thanks-mark {
  width: 84px; height: 84px; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 2.2rem; margin: 0 auto 26px;
}
.thanks-chip {
  display: inline-block; background: var(--brand-soft); color: var(--brand);
  border-radius: 999px; padding: 8px 18px; font-family: "Segoe UI", sans-serif;
  font-weight: 600; font-size: .95rem; margin: 6px 0 24px;
}

/* ---------- Utilities (replaces inline styles) ---------- */
.brand.on-dark { color: #fff; }
.btn-reject { color: #fff; border-color: #4a4e6b; }
.mt-14 { margin-top: 14px; }
.mt-18 { margin-top: 18px; }
.mt-20 { margin-top: 20px; }
.mt-22 { margin-top: 22px; }
.mt-28 { margin-top: 28px; }
.actions-center { justify-content: center; margin-top: 26px; }
.stats-center { justify-content: center; border-top: none; }
.crumb-inline {
  font-family: "Segoe UI", sans-serif;
  font-size: .82rem;
  color: var(--muted);
  margin-bottom: 14px;
}
.crumb-inline a { color: var(--muted); }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; gap: 4px;
    position: absolute; top: 72px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 16px 24px; box-shadow: var(--shadow-m);
  }
  .nav-left { gap: 0; }
  .nav-toggle { display: block; }
  .nav { position: relative; }
  .step:nth-child(odd), .step:nth-child(even) { margin: 0; }
  .pillar:nth-child(even) { transform: none; }
  .hero-media, .media-pane { min-height: 320px; }
}
