/* ===== PropNordic Growth — delt designsystem ===== */
:root {
  --fjellhoyde: #151e2d;
  --nattehimmel: #153d47;
  --havblaa: #154651;
  --isbre: #7fd8e8;
  --isbre-lys: #9ae2ef;
  --nysno: #f5fbfd;
  --muted: #9fb3bd;
  --kort: #1b2638;
  --delelinje: rgba(159,179,189,0.15);
  --pad-x: 64px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--fjellhoyde);
  font-family: 'Archivo', sans-serif;
  color: var(--nysno);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--isbre); text-decoration: none; transition: color .18s ease; }
h1, h2, h3 { margin: 0; text-wrap: pretty; }

.kicker {
  font-family: 'Archivo', sans-serif;
  font-size: 12px; letter-spacing: 0.4em;
  text-transform: uppercase; color: var(--isbre);
}

/* ---------- Knapper ---------- */
.btn {
  display: inline-block; font-family: 'Jost', sans-serif;
  font-size: 14px; letter-spacing: 0.02em; text-transform: uppercase;
  padding: 14px 28px; cursor: pointer; border: 1px solid transparent;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
  white-space: nowrap; text-align: center;
}
.btn-primary { background: var(--isbre); color: var(--fjellhoyde); font-weight: 600; }
.btn-primary:hover { background: var(--isbre-lys); color: var(--fjellhoyde); }
.btn-outline { border: 1px solid var(--muted); color: var(--nysno); font-weight: 500; }
.btn-outline:hover { border-color: var(--isbre); color: var(--isbre); }
.btn[disabled] { opacity: .55; cursor: default; }
:focus-visible { outline: 2px solid var(--isbre); outline-offset: 3px; }

/* ---------- Logo-lås ---------- */
.logo { display: inline-block; text-align: left; line-height: 1.15; }
.logo .l1 { font-family: 'Jost', sans-serif; font-weight: 600; letter-spacing: 0.05em; color: var(--nysno); }
.logo .l2 { display: flex; align-items: center; }
.logo .l2 span { font-family: 'Jost', sans-serif; font-weight: 600; letter-spacing: 0.05em; color: var(--isbre); }
.logo .diamond { background: var(--isbre); transform: rotate(45deg); flex: none; }
.logo-16 .l1, .logo-16 .l2 span { font-size: 16px; }
.logo-16 .l2 { gap: 5px; } .logo-16 .diamond { width: 8px; height: 8px; }
.logo-13 .l1, .logo-13 .l2 span { font-size: 13px; }
.logo-13 .l2 { gap: 4px; } .logo-13 .diamond { width: 7px; height: 7px; }
.logo-52 .l1, .logo-52 .l2 span { font-size: 52px; }
.logo-52 .l2 { gap: 16px; } .logo-52 .diamond { width: 26px; height: 26px; }

/* ---------- Nav ---------- */
nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px var(--pad-x); border-bottom: 1px solid var(--delelinje);
  position: sticky; top: 0; z-index: 50;
  background: rgba(21,30,45,0.85); backdrop-filter: blur(10px);
}
.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-links a:not(.btn) { font-size: 14px; color: var(--muted); }
.nav-links a:not(.btn):hover { color: var(--nysno); }
.nav-links .btn { font-size: 13px; padding: 11px 22px; }
.burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: 0; padding: 6px; }
.burger span { width: 24px; height: 2px; background: var(--nysno); transition: .2s; }

section { position: relative; }

/* ---------- Hero (forside) ---------- */
.hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; padding: 96px var(--pad-x) 88px; overflow: hidden; }
.hero h1 { font-family: 'Jost', sans-serif; font-weight: 600; font-size: 56px; color: var(--nysno); line-height: 1.12; margin: 0 0 22px; }
.hero .kicker { margin-bottom: 20px; display: block; }
.hero p { color: var(--muted); font-size: 17px; line-height: 1.65; margin: 0 0 34px; max-width: 520px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* Hero-portretter (diamant-klipp + duotone mot Nattehimmel) */
.hero-portraits { position: relative; height: 480px; }
.portrait {
  position: absolute; overflow: hidden; isolation: isolate;
  background: var(--nattehimmel);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}
.portrait img {
  display: block; width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.08); mix-blend-mode: luminosity;
}
.p1 { left: 30px; top: 10px; width: 230px; height: 230px; }
.p1 img { object-position: 50% 18%; }
.p2 { right: 40px; top: 120px; width: 200px; height: 200px; }
.p2 img { object-position: 50% 14%; }
.p3 { left: 110px; top: 250px; width: 200px; height: 200px; }
.p3 img { object-position: 50% 12%; }
.pdot { position: absolute; transform: rotate(45deg); }
.pdot-a { right: 120px; top: 70px; width: 14px; height: 14px; background: var(--isbre); }
.pdot-b { left: 60px; top: 290px; width: 10px; height: 10px; background: var(--isbre); }
.pdot-c { right: 70px; bottom: 60px; width: 18px; height: 18px; border: 1.5px solid var(--isbre); }

.decor { position: absolute; border: 1px solid rgba(127,216,232,0.14); transform: rotate(45deg); pointer-events: none; }
.decor.d1 { right: -120px; top: -120px; width: 420px; height: 420px; }
.decor.d2 { right: 40px; top: 120px; width: 200px; height: 200px; border-color: rgba(127,216,232,0.10); }
.decor.d3 { right: -150px; bottom: -150px; width: 300px; height: 300px; border-color: rgba(127,216,232,0.10); }

/* ---------- Stats ---------- */
.stats { display: flex; background: var(--nattehimmel); border-top: 1px solid var(--delelinje); border-bottom: 1px solid var(--delelinje); }
.stats > div { flex: 1; padding: 36px var(--pad-x); border-right: 1px solid var(--delelinje); }
.stats > div:last-child { border-right: 0; }
.stats .num { font-family: 'Jost', sans-serif; font-weight: 600; font-size: 34px; color: var(--isbre); line-height: 1.1; }
.stats .lbl { font-size: 13px; color: var(--muted); margin-top: 4px; }
/* Tredje celle: NCA-wordmark + skillelinje + beskrivelse */
.stats .stat-nca { display: flex; align-items: center; gap: 18px; }
.stats .nca-wm { display: block; text-align: left; }
.stats .nca-wm .wm-main { font-family: 'Jost', sans-serif; font-weight: 600; font-size: 21px; letter-spacing: 0.05em; color: var(--nysno); line-height: 1.15; }
.stats .nca-wm .wm-main span { color: var(--isbre); transition: color .18s ease; }
.stats .nca-wm:hover .wm-main span { color: var(--isbre-lys); }
.stats .nca-wm .wm-sub { font-family: 'Archivo', sans-serif; font-weight: 400; font-size: 9px; letter-spacing: 0.49em; color: var(--muted); margin-top: 4px; }
.stats .nca-divider { width: 1px; height: 44px; background: rgba(159,179,189,0.3); flex: none; }
.stats .nca-desc { font-size: 13px; color: var(--muted); line-height: 1.5; }
.stats .nca-logo-link:hover .nca-logo { opacity: 1; }

/* ---------- Tjenester ---------- */
.tjenester { padding: 88px var(--pad-x); }
.tjenester .kicker { margin-bottom: 14px; display: block; }
.tjenester h2 { font-family: 'Jost', sans-serif; font-weight: 500; font-size: 36px; color: var(--nysno); margin: 0 0 44px; }
.kort-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.kort { background: var(--kort); padding: 34px 30px; border-top: 2px solid var(--isbre); }
.kort h3 { font-family: 'Jost', sans-serif; font-weight: 500; font-size: 21px; color: var(--nysno); margin: 0 0 12px; }
.kort p { color: var(--muted); font-size: 14.5px; line-height: 1.65; margin: 0; }
.ikon { margin: 6px 0 24px; }
.ikon .fyllt { width: 22px; height: 22px; background: var(--isbre); transform: rotate(45deg); }
.ikon .kontur { width: 22px; height: 22px; border: 2px solid var(--isbre); transform: rotate(45deg); box-sizing: border-box; }
.ikon.dobbel { display: flex; gap: 4px; }
.ikon.dobbel .liten { width: 14px; height: 14px; background: var(--muted); transform: rotate(45deg); opacity: 0.5; margin-top: 8px; }
.ikon.dobbel .stor { width: 22px; height: 22px; background: var(--isbre); transform: rotate(45deg); }

/* ---------- NCA CTA ---------- */
.nca { margin: 0 var(--pad-x) 88px; background: linear-gradient(120deg, var(--nattehimmel) 30%, var(--havblaa)); padding: 64px 56px; display: flex; align-items: center; justify-content: space-between; gap: 40px; overflow: hidden; }
.nca-text { max-width: 560px; }
.nca-text .kicker { font-size: 11px; margin-bottom: 12px; display: block; }
.nca-text h2 { font-family: 'Jost', sans-serif; font-weight: 500; font-size: 30px; color: var(--nysno); line-height: 1.25; margin: 0 0 14px; }
.nca-text p { color: var(--muted); font-size: 15px; line-height: 1.6; margin: 0; }

/* ---------- Footer ---------- */
footer { border-top: 1px solid var(--delelinje); padding: 40px var(--pad-x); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
footer .copy { font-size: 12px; color: var(--muted); }

/* ---------- Undersider: page-hero + skjema ---------- */
.page {
  max-width: 720px; margin: 0 auto; padding: 72px var(--pad-x) 96px;
  position: relative;
}
.page.wide { max-width: 820px; }
.page .kicker { display: block; margin-bottom: 16px; }
.page h1 { font-family: 'Jost', sans-serif; font-weight: 600; font-size: 42px; color: var(--nysno); line-height: 1.14; margin: 0 0 18px; }
.page .lead { color: var(--muted); font-size: 17px; line-height: 1.6; margin: 0 0 44px; max-width: 560px; }

/* Tekstside (Om oss o.l.) */
.about p { color: var(--muted); font-size: 16.5px; line-height: 1.72; margin: 0 0 22px; max-width: 620px; }
.about p strong { color: var(--nysno); font-weight: 500; }
.about h2 { font-family: 'Jost', sans-serif; font-weight: 500; font-size: 24px; color: var(--nysno); margin: 48px 0 22px; }
.about-list { list-style: none; padding: 0; margin: 0 0 8px; display: grid; gap: 18px; max-width: 620px; }
.about-list li { display: flex; gap: 14px; align-items: flex-start; }
.about-list .d { width: 12px; height: 12px; background: var(--isbre); transform: rotate(45deg); flex: none; margin-top: 6px; }
.about-list b { font-family: 'Jost', sans-serif; font-weight: 500; color: var(--nysno); font-size: 16px; }
.about-list span { color: var(--muted); font-size: 15px; line-height: 1.6; }
.about-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 44px; }

.form { display: grid; gap: 20px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 13px; color: var(--nysno); font-family: 'Jost', sans-serif; font-weight: 500; letter-spacing: 0.02em; }
.field .req { color: var(--isbre); }
.field input, .field textarea, .field select {
  font-family: 'Archivo', sans-serif; font-size: 15px; color: var(--nysno);
  background: var(--kort); border: 1px solid var(--delelinje); border-radius: 0;
  padding: 13px 15px; width: 100%; transition: border-color .18s ease;
  appearance: none;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #6c7d87; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--isbre); }
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%237fd8e8' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px;
  color: var(--muted);
}
.field select:valid { color: var(--nysno); }
/* honeypot */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { margin-top: 8px; }
.form-note { font-size: 12.5px; color: var(--muted); margin-top: 14px; line-height: 1.5; }
.form-msg { display: none; padding: 16px 18px; font-size: 14.5px; line-height: 1.5; margin-top: 4px; }
.form-msg.ok { display: block; background: rgba(127,216,232,0.10); border-left: 3px solid var(--isbre); color: var(--nysno); }
.form-msg.err { display: block; background: rgba(232,127,127,0.10); border-left: 3px solid #e88; color: var(--nysno); }

/* ---------- Kommer snart ---------- */
.soon { max-width: 640px; margin: 0 auto; padding: 120px var(--pad-x); text-align: center; position: relative; }
.soon .diamond-big { width: 40px; height: 40px; background: var(--isbre); transform: rotate(45deg); margin: 0 auto 32px; }
.soon h1 { font-family: 'Jost', sans-serif; font-weight: 600; font-size: 46px; color: var(--nysno); line-height: 1.12; margin: 0 0 20px; }
.soon .kicker { display: block; margin-bottom: 20px; }
.soon p { color: var(--muted); font-size: 17px; line-height: 1.65; margin: 0 auto 36px; max-width: 480px; }

/* ---------- Responsivt ---------- */
@media (max-width: 900px) {
  :root { --pad-x: 28px; }
  .burger { display: flex; }
  .nav-links {
    position: absolute; top: 100%; right: 0; left: 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--fjellhoyde); border-bottom: 1px solid var(--delelinje);
    padding: 0; max-height: 0; overflow: hidden; transition: max-height .28s ease;
  }
  .nav-links.open { max-height: 340px; padding: 12px 0; }
  .nav-links a:not(.btn) { padding: 14px 28px; width: 100%; }
  .nav-links .btn { margin: 12px 28px; }

  .hero { grid-template-columns: 1fr; gap: 8px; padding: 64px var(--pad-x) 56px; }
  .hero h1 { font-size: 40px; }
  .hero-portraits { height: auto; display: flex; justify-content: center; align-items: center; gap: 12px; margin-top: 30px; }
  .portrait { position: static; width: 88px; height: 88px; }
  .p1, .p2, .p3 { left: auto; right: auto; top: auto; bottom: auto; }
  .pdot { display: none; }
  .stats { flex-direction: column; }
  .stats > div { border-right: 0; border-bottom: 1px solid var(--delelinje); }
  .stats > div:last-child { border-bottom: 0; }
  .kort-grid { grid-template-columns: 1fr; }
  .nca { flex-direction: column; align-items: flex-start; padding: 48px 32px; }
  footer { flex-direction: column; align-items: flex-start; }
  .page h1 { font-size: 34px; }
  .soon h1 { font-size: 36px; }
}
@media (max-width: 420px) {
  .hero h1 { font-size: 34px; }
  .logo-52 .l1, .logo-52 .l2 span { font-size: 40px; }
}
