/* Advi kampanjesider (landingssider). Eget stilark, uavhengig av css/styles.css. */
@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 700 900;
    font-display: swap;
    src: url('../../fonts/montserrat-latin.woff2') format('woff2');
}

:root {
    --navy: #0d3c74;
    --navy-deep: #0a2e59;
    --blue: #0693e3;
    --blue-tint: #e3f2fc;
    --ink: #13233b;
    --muted: #4f5f75;
    --line: #dbe3ed;
    --ground: #edf5fc;
    --white: #ffffff;
    --radius: 14px;
    --display: 'Montserrat', 'Segoe UI', system-ui, sans-serif;
    --body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--ground);
    color: var(--ink);
    font: 17px/1.6 var(--body);
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.lp-wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding-inline: 20px; }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--white); padding: 8px 14px; z-index: 10; }
.skip:focus { left: 16px; }

/* Topp */
.lp-top { background: var(--white); border-bottom: 1px solid var(--line); }
.lp-top .lp-wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 12px; }
.lp-logo img { height: 46px; width: auto; }
.lp-call {
    display: inline-flex; align-items: center; gap: 8px;
    font: 700 15px var(--display); color: var(--navy); text-decoration: none;
    padding: 10px 16px; border: 2px solid var(--line); border-radius: 999px;
}
.lp-call:hover { border-color: var(--navy); }
.lp-call svg { width: 18px; height: 18px; }

/* Typografi */
h1, h2, h3 { font-family: var(--display); color: var(--navy); margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); font-weight: 800; line-height: 1.08; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); font-weight: 800; line-height: 1.15; letter-spacing: -0.015em; }
h3 { font-size: 1.15rem; font-weight: 700; line-height: 1.3; }
.mark { white-space: nowrap; background: linear-gradient(transparent 62%, rgba(6, 147, 227, 0.28) 62%); padding-inline: 2px; }
.eyebrow {
    display: inline-block; font: 700 13px var(--display); letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--blue); margin-bottom: 16px;
}
.lead { font-size: 1.2rem; color: var(--muted); max-width: 34em; margin: 20px 0 0; }
.section-intro { color: var(--muted); max-width: 40em; margin: 14px 0 0; font-size: 1.08rem; }

/* Knapper */
.lp-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    font: 700 16px var(--display); text-decoration: none; border-radius: 12px;
    padding: 16px 26px; border: 2px solid transparent; transition: transform 0.15s, background 0.15s, border-color 0.15s;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--navy); color: var(--white); }
.btn--primary:hover { background: var(--navy-deep); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--ghost:hover { background: var(--white); }
.btn--light { background: var(--white); color: var(--navy); }
.btn--light:hover { background: var(--blue-tint); }
.btn--outline-light { color: var(--white); border-color: rgba(255, 255, 255, 0.6); }
.btn--outline-light:hover { border-color: var(--white); }
.lp-note { margin: 16px 0 0; font-size: 0.95rem; color: var(--muted); }

/* Hero */
.lp-hero { background: var(--white); padding-block: 56px 64px; }
.lp-hero .lp-wrap { display: grid; gap: 40px; align-items: center; }
.lp-hero__media { position: relative; }
.lp-hero .faces { max-width: 520px; }
.lp-hero__media img { border-radius: 20px; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.lp-hero__badge {
    position: absolute; left: 16px; bottom: -18px; background: var(--white); border-radius: 12px;
    padding: 12px 16px; box-shadow: 0 10px 30px rgba(13, 60, 116, 0.16);
    font: 700 14px var(--display); color: var(--navy); max-width: 80%;
}
.lp-hero__badge span { display: block; font: 400 13px var(--body); color: var(--muted); }

/* Ansikter i hero (IT-drift) */
.faces { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.face { margin: 0; background: var(--ground); border-radius: 16px; overflow: hidden; }
.face img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: center 12%; }
.face figcaption { padding: 10px 12px 12px; font: 700 14px var(--display); color: var(--navy); }
.face figcaption span { display: block; font: 400 13px var(--body); color: var(--muted); }
.faces-caption { margin: 14px 0 0; font: 700 15px var(--display); color: var(--navy); }

/* Trust-stripe */
.lp-trust { border-block: 1px solid var(--line); background: var(--ground); }
.lp-trust ul { list-style: none; margin: 0; padding: 22px 0; display: grid; gap: 14px; }
.lp-trust li { display: flex; align-items: center; gap: 12px; font-size: 0.98rem; color: var(--ink); }
.lp-trust img { display: block; height: 84px; width: auto; max-width: 48%; background: none; border-radius: 0; padding: 0; }
.lp-trust li:first-child { flex-wrap: wrap; gap: 16px; }
.lp-trust svg { width: 22px; height: 22px; color: var(--blue); flex: none; }

/* Seksjoner */
.lp-section { padding-block: 72px; }
.lp-section--white { background: var(--white); }
.grid { display: grid; gap: 18px; margin-top: 36px; }
.benefit {
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
}
.lp-section--white .benefit { background: var(--ground); border-color: transparent; }
.benefit__icon {
    width: 44px; height: 44px; border-radius: 12px; background: var(--blue-tint); color: var(--navy);
    display: grid; place-items: center; margin-bottom: 16px;
}
.benefit__icon svg { width: 22px; height: 22px; }
.benefit p { margin: 8px 0 0; color: var(--muted); }

/* Tilbud (kurs) */
.offer { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; }
.offer--main { border: 2px solid var(--navy); }
.offer__tag { font: 700 12px var(--display); letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue); margin-bottom: 10px; }
.offer p { margin: 10px 0 0; color: var(--muted); }
.offer ul { margin: 14px 0 0; padding-left: 20px; color: var(--ink); }
.offer li { margin-top: 6px; }

/* Steg */
.steps { list-style: none; padding: 0; margin: 36px 0 0; display: grid; gap: 24px; counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding-top: 64px; }
.steps li::before {
    content: counter(step); position: absolute; top: 0; left: 0;
    width: 48px; height: 48px; border-radius: 50%; background: var(--navy); color: var(--white);
    font: 800 20px var(--display); display: grid; place-items: center;
}
.steps p { margin: 8px 0 0; color: var(--muted); max-width: 30em; }

/* Utsagn */
.statement { background: var(--navy); color: var(--white); }
.statement .lp-wrap { padding-block: 64px; }
.statement p { font: 800 clamp(1.4rem, 3vw, 2.1rem)/1.3 var(--display); margin: 0; max-width: 28em; text-wrap: balance; }
.statement p span { color: #8fd0f6; }

/* Neste steg (AI) */
.next {
    margin-top: 40px; border-radius: 20px; background: var(--blue-tint); padding: 32px;
    display: grid; gap: 16px; align-items: center;
}
.next h3 { font-size: 1.35rem; }
.next p { margin: 0; color: var(--ink); max-width: 44em; }
.next a { font: 700 16px var(--display); color: var(--navy); }

/* Folk */
.people { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 36px; }

/* FAQ */
.faq { margin-top: 32px; display: grid; gap: 12px; max-width: 820px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 12px; }
.faq summary {
    cursor: pointer; list-style: none; padding: 18px 52px 18px 20px; position: relative;
    font: 700 16px var(--display); color: var(--navy);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: '+'; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
    font: 700 22px var(--display); color: var(--blue);
}
.faq details[open] summary::after { content: '\2212'; }
.faq details p { margin: 0; padding: 0 20px 20px; color: var(--muted); }

/* Avslutning */
.final { background: var(--navy); color: var(--white); }
.final .lp-wrap { padding-block: 72px; }
.final h2 { color: var(--white); }
.final p { color: #d5e3f3; max-width: 36em; margin: 14px 0 0; font-size: 1.1rem; }
.final .lp-mail { margin-top: 18px; font-size: 0.98rem; }
.final .lp-mail a { color: var(--white); }

/* Footer */
.lp-foot { background: var(--navy-deep); color: #c5d4e8; font-size: 0.92rem; }
.lp-foot .lp-wrap { padding-block: 28px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
.lp-foot a { color: var(--white); }
.lp-foot p { margin: 0; }

/* Større skjermer */
@media (min-width: 720px) {
    .lp-trust ul { grid-template-columns: auto minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 32px; }
    .lp-trust img { max-width: none; }
    .grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .people { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .next { grid-template-columns: 1fr auto; padding: 40px; }
}
@media (min-width: 960px) {
    .lp-hero { padding-block: 80px 96px; }
    .lp-hero .lp-wrap { grid-template-columns: 1.1fr 0.9fr; gap: 64px; }
    .lp-section { padding-block: 96px; }
}
@media (max-width: 480px) {
    .btn { width: 100%; }
    .lp-call span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .btn { transition: none; }
    .btn:hover { transform: none; }
}

/* Seks ansikter i hero på IT-drift */
.lp-hero .faces--six { max-width: 600px; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.faces--six .face figcaption { padding: 8px 10px 10px; font-size: 13px; }
.faces--six .face figcaption span { font-size: 12px; }
@media (max-width: 420px) { .lp-hero .faces--six { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Sertifiseringer */
.certs { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.certs li { background: var(--ground); border: 1px solid var(--line); border-radius: 999px; padding: 9px 16px; font: 600 0.9rem var(--body); color: var(--navy); }
