/* Rørportalen AS – jobb-landingsside. Farger fra rorportalen.no (blå #0d57d7). */

@font-face { font-family: "Poppins"; font-weight: 700; font-display: swap; src: url("fonts/poppins-700.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 800; font-display: swap; src: url("fonts/poppins-800.woff2") format("woff2"); }
@font-face { font-family: "Hanken Grotesk"; font-weight: 500; font-display: swap; src: url("fonts/hanken-500.woff2") format("woff2"); }
@font-face { font-family: "Hanken Grotesk"; font-weight: 600; font-display: swap; src: url("fonts/hanken-600.woff2") format("woff2"); }
@font-face { font-family: "Hanken Grotesk"; font-weight: 700; font-display: swap; src: url("fonts/hanken-700.woff2") format("woff2"); }

:root {
  --blue: #0d57d7;
  --blue-dark: #0a45ad;
  --blue-light: #9cc2ff;
  --sky: #e7eefb;
  --ice: #f4f7fd;
  --ink: #0f1b2d;
  --navy: #0b1830;
  --navy-2: #13254a;
  --muted: #475569;
  --muted-dark: #c3d0e6;
  --line: #dfe6f2;
  --star: #f5a623;
  --radius: 22px;
  --shadow: 0 18px 44px rgba(15, 27, 45, .10);
  --wrap: 1180px;
  --head: "Poppins", system-ui, sans-serif;
  --body: "Hanken Grotesk", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--body); font-weight: 500; font-size: 18px; line-height: 1.6; color: var(--ink); background: #fff; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--head); font-weight: 800; letter-spacing: -.025em; line-height: 1.08; margin: 0; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-inline: 24px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; z-index: 100; }
.skip:focus { left: 12px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 8px; }
.dark :focus-visible, .cta-band :focus-visible, .footer :focus-visible { outline-color: #fff; }

/* ---------- knapper ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 14px 24px; border-radius: 999px; font-family: var(--head); font-weight: 700; font-size: 16px; letter-spacing: -.005em; text-decoration: none; white-space: nowrap; transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease, color .15s ease; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 10px 24px rgba(13, 87, 215, .28); }
.btn-primary:hover { background: var(--blue-dark); }
.btn-ghost { background: #fff; color: var(--ink); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue-dark); }
.btn-white { background: #fff; color: var(--blue-dark); }
.btn-white:hover { background: var(--sky); }
.btn-outline-light { color: #fff; border: 1.5px solid rgba(255, 255, 255, .5); }
.btn-outline-light:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.btn-lg { min-height: 58px; padding: 16px 30px; font-size: 17px; }

/* ---------- eyebrow ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-dark); margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.dark .eyebrow { color: var(--blue-light); }

/* ---------- navbar ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .94); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.nav-logo { display: inline-flex; align-items: center; padding: 6px 0; border-radius: 8px; }
.nav-logo img { width: 124px; height: auto; }
.nav-right { display: flex; align-items: center; gap: 12px; }
.nav-tel { display: inline-flex; align-items: center; gap: 8px; font-family: var(--head); font-weight: 700; font-size: 16px; text-decoration: none; color: var(--ink); padding: 10px 12px; border-radius: 999px; }
.nav-tel svg { width: 18px; height: 18px; color: var(--blue); }
.nav-tel:hover { color: var(--blue-dark); }
.nav .btn { min-height: 46px; padding: 11px 20px; font-size: 15px; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--ice) 0%, #fff 100%); padding: 64px 0 120px; }
.hero::before { content: ""; position: absolute; right: -240px; top: -200px; width: 760px; height: 760px; border-radius: 50%; background: radial-gradient(circle, rgba(13, 87, 215, .16), rgba(13, 87, 215, 0) 68%); pointer-events: none; }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.02fr .98fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(42px, 6vw, 76px); margin-bottom: 22px; }
.hero h1 span { color: var(--blue); }
.hero-lead { font-size: 20px; color: var(--muted); max-width: 540px; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }
.trust { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; font-size: 15px; font-weight: 600; color: var(--muted); }
.trust li { display: inline-flex; align-items: center; gap: 8px; }
.trust span:not(.stars) { white-space: nowrap; }
.trust b { color: var(--ink); font-family: var(--head); font-weight: 700; }
.trust .g { width: 22px; height: 22px; }
.trust .ic { width: 20px; height: 20px; color: var(--blue); }
.stars { display: inline-flex; gap: 2px; }
.stars svg { width: 16px; height: 16px; fill: var(--star); }

.hero-media { position: relative; }
.hero-photo { border-radius: 28px; overflow: hidden; box-shadow: 0 30px 70px rgba(15, 27, 45, .20); aspect-ratio: 4 / 3; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.hero-badge { position: absolute; left: -22px; top: 30px; display: flex; align-items: center; gap: 14px; background: #fff; border-radius: 18px; padding: 14px 20px 14px 14px; box-shadow: var(--shadow); max-width: calc(100% - 20px); }
.hero-badge .dot { width: 44px; height: 44px; border-radius: 12px; background: var(--sky); color: var(--blue); display: grid; place-items: center; flex: none; }
.hero-badge .dot svg { width: 24px; height: 24px; }
.hero-badge small { display: block; font-size: 13px; font-weight: 600; color: var(--muted); line-height: 1.3; }
.hero-badge strong { display: block; font-family: var(--head); font-weight: 700; font-size: 17px; line-height: 1.25; }

/* ---------- fakta-stripe under hero ---------- */
.facts { position: relative; z-index: 2; margin-top: -70px; }
.facts ul { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); }
.facts li { display: flex; align-items: center; gap: 14px; padding: 22px 24px; }
.facts li + li { border-left: 1px solid var(--line); }
.facts .ic { width: 46px; height: 46px; border-radius: 14px; background: var(--sky); color: var(--blue); display: grid; place-items: center; flex: none; }
.facts .ic svg { width: 24px; height: 24px; }
.facts small { display: block; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); line-height: 1.3; }
.facts strong { display: block; font-family: var(--head); font-weight: 700; font-size: 16px; line-height: 1.3; }

/* ---------- seksjoner ---------- */
.section { padding: 110px 0; }
.section-head { max-width: 680px; margin-bottom: 52px; }
.section-head h2 { font-size: clamp(34px, 4.4vw, 52px); margin-bottom: 16px; }
.section-head p:not(.eyebrow) { font-size: 19px; color: var(--muted); }
.dark { background: var(--navy); color: #fff; }
.dark .section-head p:not(.eyebrow) { color: var(--muted-dark); }

/* hva vi ser etter */
.seek { display: grid; grid-template-columns: .85fr 1.15fr; gap: 40px; align-items: stretch; }
.seek-photo { border-radius: 26px; overflow: hidden; min-height: 100%; }
.seek-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.seek-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; box-shadow: 0 8px 26px rgba(15, 27, 45, .05); }
.card h3 { font-size: 22px; margin-bottom: 18px; display: flex; align-items: center; gap: 12px; }
.card h3 .ic { width: 40px; height: 40px; border-radius: 12px; background: var(--sky); color: var(--blue); display: grid; place-items: center; }
.card h3 .ic svg { width: 22px; height: 22px; }
.checks li { position: relative; padding-left: 32px; margin-bottom: 12px; font-weight: 600; line-height: 1.45; }
.checks li:last-child { margin-bottom: 0; }
.checks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 13px no-repeat; }
.checks .soft { color: var(--muted); font-weight: 500; }
.tasks { grid-column: 1 / -1; background: var(--ice); border: 1px solid var(--line); }
.tasks ul { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; }
.tasks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; line-height: 1.45; }
.tasks li svg { width: 22px; height: 22px; color: var(--blue); flex: none; margin-top: 2px; }

.inline-cta { margin-top: 44px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 28px; padding: 26px 30px; border-radius: var(--radius); background: var(--sky); }
.inline-cta p { font-family: var(--head); font-weight: 700; font-size: 21px; letter-spacing: -.01em; }
.inline-cta span { display: block; font-family: var(--body); font-weight: 500; font-size: 16px; color: var(--muted); letter-spacing: 0; }

/* hva vi tilbyr */
.offer-top { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; margin-bottom: 52px; }
.offer-top .section-head { margin-bottom: 0; }
.offer-photo { border-radius: 26px; overflow: hidden; aspect-ratio: 16 / 10; box-shadow: 0 24px 60px rgba(0, 0, 0, .35); }
.offer-photo img { width: 100%; height: 100%; object-fit: cover; }
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.benefit { background: var(--navy-2); border: 1px solid rgba(255, 255, 255, .08); border-radius: var(--radius); padding: 28px 26px; }
.benefit .ic { width: 52px; height: 52px; border-radius: 15px; background: var(--blue); color: #fff; display: grid; place-items: center; margin-bottom: 18px; }
.benefit .ic svg { width: 26px; height: 26px; }
.benefit h3 { font-size: 21px; margin-bottom: 8px; letter-spacing: -.015em; }
.benefit p { color: var(--muted-dark); font-size: 17px; line-height: 1.55; }

/* slik søker du */
.apply { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: start; }
.steps li { display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding: 24px 0; border-top: 1px solid var(--line); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps .n { width: 56px; height: 56px; border-radius: 50%; background: var(--blue); color: #fff; font-family: var(--head); font-weight: 800; font-size: 22px; display: grid; place-items: center; }
.steps h3 { font-size: 22px; margin-bottom: 6px; letter-spacing: -.015em; }
.steps p { color: var(--muted); }
.steps a { color: var(--blue-dark); font-weight: 700; text-underline-offset: 3px; }
.apply-card { position: sticky; top: 104px; background: var(--ice); border: 1px solid var(--line); border-radius: 26px; padding: 34px 32px; }
.apply-card h3 { font-size: 28px; margin-bottom: 10px; }
.apply-card > p { color: var(--muted); margin-bottom: 22px; }
.apply-card dl { margin: 0 0 26px; display: grid; gap: 12px; }
.apply-card dl div { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--line); font-size: 16px; }
.apply-card dt { color: var(--muted); font-weight: 600; }
.apply-card dd { margin: 0; font-weight: 700; text-align: right; }
.apply-card .btn { width: 100%; }
.apply-card .mail { display: block; text-align: center; margin-top: 14px; font-weight: 700; color: var(--blue-dark); text-underline-offset: 3px; overflow-wrap: anywhere; }
.apply-card .or { text-align: center; margin-top: 8px; font-size: 15px; color: var(--muted); }
.apply-card .or a { color: var(--ink); font-weight: 700; }

/* avsluttende CTA */
.cta-band { position: relative; overflow: hidden; background: var(--blue); color: #fff; padding: 84px 0 0; }
.cta-band::before { content: ""; position: absolute; left: -200px; top: -260px; width: 700px; height: 700px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .16), rgba(255, 255, 255, 0) 66%); }
.cta-band .wrap { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: end; }
.cta-text { padding-bottom: 84px; }
.cta-text h2 { font-size: clamp(34px, 4.6vw, 56px); margin-bottom: 16px; }
.cta-text p { font-size: 19px; color: #e3ecfc; max-width: 520px; margin-bottom: 30px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-media img { width: 100%; max-width: 560px; margin-left: auto; }

/* footer */
.footer { background: var(--navy); color: var(--muted-dark); padding: 64px 0 40px; font-size: 16px; }
.footer .top { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 36px; padding-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.footer img { width: 132px; margin-bottom: 16px; }
.footer h2 { font-family: var(--body); font-size: 14px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #fff; margin-bottom: 14px; }
.footer li { margin-bottom: 8px; }
.footer a { color: #fff; text-decoration: none; font-weight: 600; }
.footer a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer .bottom { padding-top: 24px; font-size: 14px; }

/* mobil handlingslinje */
.mobile-bar { display: none; }

/* ---------- responsivt ----------
   1100: små laptoper og iPad liggende (1024–1180)
   900:  iPad stående (768–834) – sentrert, én kolonne
   680:  mobil */
@media (max-width: 1100px) {
  .hero .wrap { gap: 40px; }
  .hero-lead { font-size: 18px; }
  .facts ul { grid-template-columns: 1fr 1fr; }
  .facts li:nth-child(3) { border-left: 0; }
  .facts li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .seek { grid-template-columns: 1fr; }
  .seek-photo { aspect-ratio: 16 / 9; }
  .seek-photo img { object-position: 50% 35%; }
  .offer-top { gap: 36px; }
  .benefit { padding: 26px 22px; }
}

@media (max-width: 900px) {
  .hero { padding: 48px 0 110px; text-align: center; }
  .hero::before { right: auto; left: 50%; transform: translateX(-50%); }
  .hero .wrap { grid-template-columns: 1fr; gap: 44px; justify-items: center; }
  .hero-text { max-width: 640px; }
  .hero-lead { margin-inline: auto; }
  .hero-actions, .trust { justify-content: center; }
  .hero-media { width: 100%; max-width: 680px; }
  .hero-badge { left: 16px; top: 16px; text-align: left; }
  .section { padding: 88px 0; }
  .section-head { text-align: center; margin-inline: auto; }
  .section-head p:not(.eyebrow) { margin-inline: auto; }
  .offer-top { grid-template-columns: 1fr; }
  .offer-top .section-head { margin-bottom: 0; }
  .benefits { grid-template-columns: 1fr 1fr; }
  .apply { grid-template-columns: 1fr; max-width: 680px; margin-inline: auto; }
  .apply-card { position: static; }
  .inline-cta { flex-direction: column; text-align: center; }
  .cta-band { text-align: center; }
  .cta-band::before { left: 50%; transform: translateX(-50%); }
  .cta-band .wrap { grid-template-columns: 1fr; justify-items: center; gap: 36px; }
  .cta-text { padding-bottom: 0; max-width: 640px; }
  .cta-text p { margin-inline: auto; }
  .cta-actions { justify-content: center; }
  .cta-media img { margin: 0 auto; max-width: 460px; }
}

@media (max-width: 680px) {
  body { font-size: 17px; padding-bottom: 76px; }
  .wrap { padding-inline: 18px; }
  .nav .wrap { min-height: 66px; }
  .nav-logo img { width: 104px; }
  .nav-tel span { display: none; }
  .nav-tel { width: 44px; height: 44px; justify-content: center; padding: 0; border: 1.5px solid var(--line); }
  .hero { padding: 36px 0 100px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .trust { gap: 8px 18px; }
  .hero-badge { left: 12px; top: 12px; padding: 10px 14px 10px 10px; }
  .hero-badge .dot { width: 36px; height: 36px; }
  .hero-badge strong { font-size: 15px; }
  .facts { margin-top: -64px; }
  .facts ul { grid-template-columns: 1fr; }
  .facts li + li, .facts li:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .facts li { padding: 16px 18px; }
  .section { padding: 72px 0; }
  .section-head { margin-bottom: 36px; }
  .section-head p:not(.eyebrow) { font-size: 18px; }
  .seek-photo { aspect-ratio: 4 / 3; }
  .seek-cards { grid-template-columns: 1fr; }
  .tasks ul { grid-template-columns: 1fr; }
  .card { padding: 26px 22px; }
  .benefits { grid-template-columns: 1fr; }
  .inline-cta { padding: 24px 20px; }
  .inline-cta .btn { width: 100%; }
  .steps li { grid-template-columns: 48px 1fr; gap: 16px; }
  .steps .n { width: 48px; height: 48px; font-size: 20px; }
  .apply-card { padding: 28px 22px; }
  .cta-band { padding-top: 60px; }
  .cta-actions .btn { flex: 1 1 100%; }
  .cta-media img { max-width: 360px; }
  .footer .top { grid-template-columns: 1fr; gap: 28px; }
  .mobile-bar { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(15, 27, 45, .08); }
  .mobile-bar .btn { min-height: 50px; padding: 12px 14px; font-size: 15px; }
}

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