/* Klinor demo – navy/oransje brandpalett fra originalen (Elementor-kit + logo-SVG) */

@font-face {
  font-family: "Roboto";
  src: url("/assets/fonts/roboto-var-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Roboto Slab";
  src: url("/assets/fonts/robotoslab-var-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --navy: #0f2c49;
  --navy-dark: #0a1f35;
  --navy-deep: #071627;
  --orange: #f35d22;
  --orange-dark: #d84d12;
  --cream: #f5f0ea;
  --ink: #16283c;
  --muted: #52647a;
  --line: #e3e8ee;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(7, 22, 39, 0.10);
  --font-body: "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Roboto Slab", "Roboto", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--orange-dark); }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; color: var(--navy); margin: 0 0 0.5em; font-weight: 700; }
p { margin: 0 0 1em; }
ul { margin: 0; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 22px; }

.sr-only {
  position: absolute; 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: -999px; top: 0; z-index: 100;
  background: var(--navy); color: #fff; padding: 10px 18px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }

.ic { width: 1em; height: 1em; fill: currentColor; flex: none; }

/* ---------- Knapper ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  font-family: var(--font-body); font-weight: 700; font-size: 1rem;
  padding: 14px 26px; border-radius: 8px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; transition: background 0.18s, color 0.18s, border-color 0.18s, transform 0.18s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-dark); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.65); }
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.1); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-dark); }
.btn-outline-navy { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline-navy:hover { background: var(--navy); color: #fff; }
.btn-ghost-dark { background: transparent; color: var(--navy); border-color: rgba(15, 44, 73, 0.45); }
.btn-ghost-dark:hover { border-color: var(--navy); }

/* ---------- Topbar ---------- */
.topbar { background: var(--navy-dark); color: rgba(255, 255, 255, 0.88); font-size: 0.875rem; }
.topbar a { color: rgba(255, 255, 255, 0.88); text-decoration: none; }
.topbar a:hover { color: #fff; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; min-height: 40px; gap: 16px; }
.topbar-left { display: flex; gap: 22px; align-items: center; }
.topbar-item { display: inline-flex; align-items: center; gap: 7px; }
.topbar-item .ic { color: var(--orange); font-size: 1.05em; }
.topbar-right { display: flex; align-items: center; gap: 14px; }
.topbar-follow { color: rgba(255, 255, 255, 0.6); }
.topbar-right .ic { font-size: 1.15rem; display: block; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: #fff; border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 14px rgba(7, 22, 39, 0.06);
}
.header-inner { display: flex; align-items: center; gap: 28px; min-height: 74px; }
.logo img { height: 32px; width: auto; }
.nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-list > li { position: relative; }
.nav-list a {
  display: block; padding: 10px 14px; text-decoration: none;
  color: var(--navy); font-weight: 500; border-radius: 6px;
}
.nav-list a:hover { color: var(--orange-dark); }
.nav-list a[aria-current="page"] { color: var(--orange-dark); }
.has-children > a::after {
  content: ""; display: inline-block; margin-left: 7px; vertical-align: 2px;
  border: 4px solid transparent; border-top-color: currentColor; border-bottom: 0;
}
.nav-sub {
  position: absolute; top: 100%; left: 8px; min-width: 220px;
  background: #fff; border: 1px solid var(--line); border-radius: 8px;
  box-shadow: var(--shadow); padding: 8px; list-style: none;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity 0.15s, transform 0.15s, visibility 0.15s;
}
.has-children:hover .nav-sub,
.has-children:focus-within .nav-sub { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-sub a { padding: 9px 12px; }
.header-actions { display: flex; align-items: center; gap: 18px; }
.header-phone {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none;
  color: var(--navy); font-weight: 700; white-space: nowrap;
}
.header-phone .ic { color: var(--orange); font-size: 1.2rem; }
.header-phone:hover { color: var(--orange-dark); }
.btn-header { padding: 11px 20px; }

.nav-toggle { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--navy-dark); color: #fff; overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.hero-media video, .hero-media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(78deg, rgba(7, 22, 39, 0.88) 0%, rgba(10, 31, 53, 0.72) 42%, rgba(10, 31, 53, 0.18) 100%);
}
.hero-inner { position: relative; z-index: 2; padding: clamp(84px, 12vw, 150px) 0 clamp(56px, 8vw, 96px); max-width: 720px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  color: #fff; font-weight: 500; font-size: 1rem; margin: 0 0 18px;
}
.hero-eyebrow::before { content: ""; width: 34px; height: 3px; background: var(--orange); border-radius: 2px; }
.hero h1 {
  color: #fff; font-size: clamp(2.5rem, 5.6vw, 4.1rem); margin: 0 0 20px; letter-spacing: -0.5px;
}
.hero h1 em { font-style: normal; color: var(--orange); }
.hero-lede { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: rgba(255, 255, 255, 0.92); max-width: 34em; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-usp { position: relative; z-index: 2; background: rgba(7, 22, 39, 0.55); backdrop-filter: blur(6px); border-top: 1px solid rgba(255, 255, 255, 0.14); }
.hero-usp-inner { display: flex; flex-wrap: wrap; gap: 8px 42px; padding: 16px 0; }
.hero-usp-item { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; color: #fff; }
.hero-usp-item .ic { color: var(--orange); font-size: 1.25rem; }

/* ---------- Seksjoner ---------- */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section-cream { background: var(--cream); }
.section-navy { background: var(--navy); color: #fff; }
.section-head { max-width: 640px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow {
  display: block; color: var(--orange-dark); font-weight: 700; font-size: 0.95rem;
  margin-bottom: 10px;
}
.section-navy .eyebrow { color: #ff8a54; }
.section-title { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin: 0 0 14px; }
.section-navy .section-title, .section-navy h3 { color: #fff; }
.section-lede { color: var(--muted); font-size: 1.1rem; margin: 0; }
.section-navy .section-lede { color: rgba(255, 255, 255, 0.85); }

/* ---------- Tjenestekort ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.service-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.service-card-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.service-card-media img { width: 100%; height: 100%; object-fit: cover; }
.service-card-icon {
  position: absolute; left: 18px; bottom: -26px; width: 62px; height: 62px;
  background: #fff; border-radius: 12px; box-shadow: var(--shadow);
  display: flex; align-items: center; justify-content: center; padding: 11px;
}
.service-card-icon img { max-height: 40px; width: auto; }
.service-card-body { padding: 40px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.service-card-body h3 { font-size: 1.35rem; margin-bottom: 8px; }
.service-card-body p { color: var(--muted); margin-bottom: 18px; }
.card-link {
  margin-top: auto; display: inline-flex; align-items: center; gap: 8px;
  color: var(--orange-dark); font-weight: 700; text-decoration: none;
}
.card-link::after { content: "→"; transition: transform 0.18s; }
.card-link:hover::after { transform: translateX(4px); }

/* ---------- Faktabånd (signatur) ---------- */
.facts { position: relative; overflow: hidden; }
.facts::after {
  content: ""; position: absolute; right: -140px; top: -140px; width: 460px; height: 460px;
  border: 54px solid rgba(243, 93, 34, 0.14); border-radius: 50%; pointer-events: none;
}
.facts-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: center; position: relative; z-index: 1; }
.facts-stat-number {
  font-family: var(--font-display); font-weight: 700; color: var(--orange);
  font-size: clamp(4.2rem, 9vw, 7rem); line-height: 1; letter-spacing: -2px;
}
.facts-stat-label { font-size: clamp(1.15rem, 2vw, 1.45rem); color: #fff; font-weight: 500; max-width: 20em; margin-top: 10px; }
.facts-stat-label strong { color: #fff; }
.facts-list { display: grid; gap: 18px; }
.fact-item {
  display: flex; gap: 16px; align-items: flex-start;
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius); padding: 18px 20px;
}
.fact-item .ic { color: var(--orange); font-size: 1.6rem; margin-top: 3px; }
.fact-item h3 { font-size: 1.08rem; margin: 0 0 4px; font-family: var(--font-body); font-weight: 700; }
.fact-item p { margin: 0; color: rgba(255, 255, 255, 0.82); font-size: 0.98rem; }
.facts-cta { margin-top: 26px; }

/* ---------- Om oss-splitt ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 64px); align-items: center; }
.split-media { position: relative; }
.split-media img { border-radius: var(--radius); box-shadow: var(--shadow); }
.split-media::before {
  content: ""; position: absolute; inset: 22px -22px -22px 22px;
  border: 3px solid var(--orange); border-radius: var(--radius); z-index: -1;
}
.check-list { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 12px; }
.check-list li { display: flex; align-items: flex-start; gap: 12px; font-weight: 500; }
.check-list .ic { color: var(--orange); font-size: 1.35rem; margin-top: 2px; }
.split-actions { display: flex; flex-wrap: wrap; gap: 22px; align-items: center; }
.inline-contact { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; color: var(--navy); font-weight: 700; }
.inline-contact .ic { color: var(--orange); font-size: 1.2rem; }
.inline-contact:hover { color: var(--orange-dark); }

/* ---------- Slik jobber vi ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; counter-reset: step; }
.step { position: relative; padding-top: 18px; }
.step-number {
  font-family: var(--font-display); font-weight: 700; font-size: 3rem; line-height: 1;
  color: var(--orange); display: block; margin-bottom: 12px;
}
.step::before {
  content: ""; position: absolute; top: 42px; left: 74px; right: 8px; height: 2px;
  background: var(--line);
}
.step:last-child::before { display: none; }
.step h3 { font-size: 1.15rem; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 0.98rem; margin: 0; }

/* ---------- Anbefalinger ---------- */
.quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.quote-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px; display: flex; flex-direction: column; box-shadow: 0 4px 18px rgba(7, 22, 39, 0.05);
}
.quote-mark { font-family: var(--font-display); font-size: 3rem; line-height: 0.6; color: var(--orange); margin-bottom: 18px; }
.quote-card blockquote { margin: 0 0 18px; font-size: 1.02rem; color: var(--ink); }
.quote-card figcaption { margin-top: auto; font-weight: 700; color: var(--navy); }
.quote-card figcaption span { display: block; font-weight: 400; color: var(--muted); font-size: 0.9rem; }

/* ---------- CTA-bånd ---------- */
.cta-band { background: var(--orange); color: #fff; padding: clamp(40px, 6vw, 64px) 0; }
.cta-band h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 8px; }
.cta-band p { margin: 0; color: rgba(255, 255, 255, 0.94); font-size: 1.1rem; }
.cta-band-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 26px; }
.cta-band-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.cta-band .btn-ghost-dark { color: #fff; border-color: rgba(255, 255, 255, 0.7); }
.cta-band .btn-ghost-dark:hover { border-color: #fff; background: rgba(255, 255, 255, 0.12); }

/* ---------- Footer ---------- */
.footer { background: var(--navy-deep); color: rgba(255, 255, 255, 0.85); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 0.9fr 1fr; gap: 36px; padding: clamp(44px, 6vw, 70px) 22px; }
.footer h3 { color: #fff; font-size: 1.05rem; font-family: var(--font-body); font-weight: 700; margin-bottom: 16px; }
.footer-brand img { height: 30px; width: auto; margin-bottom: 16px; }
.footer-brand p { font-size: 0.95rem; color: rgba(255, 255, 255, 0.72); }
.footer-social { display: flex; gap: 12px; }
.footer-social a { color: rgba(255, 255, 255, 0.8); }
.footer-social a:hover { color: #fff; }
.footer-social .ic { font-size: 1.3rem; }
.footer-list { list-style: none; padding: 0; display: grid; gap: 9px; font-size: 0.98rem; }
.footer-list a { color: rgba(255, 255, 255, 0.85); text-decoration: none; }
.footer-list a:hover { color: #fff; text-decoration: underline; }
.footer-days { display: inline-block; min-width: 86px; color: rgba(255, 255, 255, 0.6); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.12); padding: 18px 0; font-size: 0.9rem; color: rgba(255, 255, 255, 0.6); }
.footer-bottom p { margin: 0; }

/* ---------- Undersider ---------- */
.page-header { background: linear-gradient(100deg, var(--navy-deep) 0%, var(--navy) 70%, #16406a 100%); color: #fff; position: relative; overflow: hidden; }
.page-header::after {
  content: ""; position: absolute; right: -110px; top: -150px; width: 380px; height: 380px;
  border: 44px solid rgba(243, 93, 34, 0.16); border-radius: 50%;
}
.page-header-inner { position: relative; z-index: 1; padding: clamp(48px, 7vw, 84px) 0; max-width: 720px; }
.page-header h1 { color: #fff; font-size: clamp(2.1rem, 4.4vw, 3.2rem); margin: 0 0 12px; }
.page-header p { color: rgba(255, 255, 255, 0.88); font-size: 1.12rem; margin: 0; max-width: 36em; }
.page-header .eyebrow { color: #ff8a54; }

.prose { max-width: 720px; }
.prose p { margin-bottom: 1.2em; }
.prose h2 { font-size: 1.6rem; margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }

.benefit-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.benefit {
  background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--orange);
  border-radius: 8px; padding: 20px;
}
.benefit h3 { font-size: 1.05rem; font-family: var(--font-body); font-weight: 700; margin: 0 0 6px; }
.benefit p { margin: 0; color: var(--muted); font-size: 0.95rem; }

.tick-list { list-style: none; padding: 0; display: grid; gap: 13px; }
.tick-list li { display: flex; gap: 12px; align-items: flex-start; }
.tick-list .ic { color: var(--orange); font-size: 1.3rem; margin-top: 3px; }

.pull-quote {
  border-left: 4px solid var(--orange); background: var(--cream);
  border-radius: 0 var(--radius) var(--radius) 0; padding: 26px 30px; margin: 34px 0;
  font-family: var(--font-display); font-size: 1.3rem; color: var(--navy); font-weight: 600; max-width: 36em;
}

/* ---------- Kontakt ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: clamp(36px, 5vw, 56px); }
.contact-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 22px; text-align: left;
}
.contact-card .ic { font-size: 1.7rem; color: var(--orange); margin-bottom: 12px; }
.contact-card h3 { font-size: 1.02rem; font-family: var(--font-body); font-weight: 700; margin-bottom: 4px; }
.contact-card p { margin: 0; color: var(--muted); font-size: 0.98rem; }
.contact-card a { color: var(--navy); font-weight: 500; text-decoration: none; }
.contact-card a:hover { color: var(--orange-dark); }

.contact-layout { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(30px, 5vw, 60px); align-items: start; }
.form { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 700; font-size: 0.95rem; color: var(--navy); }
.field input, .field select, .field textarea {
  font: inherit; padding: 12px 14px; border: 1.5px solid #c9d3de; border-radius: 8px;
  background: #fff; color: var(--ink); width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(243, 93, 34, 0.15);
}
.form-note { font-size: 0.9rem; color: var(--muted); margin: 0; }
.map-frame { border: 0; width: 100%; height: 100%; min-height: 380px; border-radius: var(--radius); box-shadow: var(--shadow); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn:hover, .service-card:hover { transform: none; }
}

/* ---------- Responsivt ---------- */
@media (max-width: 1020px) {
  .header-phone span { display: none; }
  .benefit-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 34px 26px; }
  .step::before { display: none; }
}

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex; flex-direction: column; gap: 5px; justify-content: center;
    background: none; border: 0; padding: 10px; cursor: pointer; margin-left: auto;
  }
  .nav-toggle-bar { width: 24px; height: 3px; background: var(--navy); border-radius: 2px; transition: transform 0.2s, opacity 0.2s; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .nav { margin-left: auto; }
  .nav-list {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    flex-direction: column; align-items: stretch; gap: 0; padding: 10px 14px 16px;
  }
  .nav-list.is-open { display: flex; }
  .nav-list a { padding: 13px 10px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav-list li:last-child > a { border-bottom: 0; }
  .nav-sub {
    position: static; opacity: 1; visibility: visible; transform: none;
    border: 0; box-shadow: none; padding: 0 0 0 18px; min-width: 0;
  }
  .has-children > a::after { display: none; }
  .btn-header { display: none; }
  .topbar-left .topbar-item:first-child { display: none; }
  .header-inner { gap: 10px; }
  .card-grid, .quote-grid { grid-template-columns: 1fr; }
  .facts-grid, .split, .contact-layout { grid-template-columns: 1fr; }
  .split-media::before { display: none; }
  .hero-usp-inner { flex-direction: column; gap: 10px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
  .benefit-grid, .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .topbar-inner { justify-content: center; }
  .topbar-right { display: none; }
  .hero-actions .btn { width: 100%; }
}
