/* Ferder Solutions — one token set, used everywhere */
:root {
  --navy: #18335E;
  --navy-deep: #0E2242;
  --abyss: #081730;
  --signal: #00ADEF;
  --orange: #F5811E;
  --orange-dark: #D96C0C;
  --ink: #373435;
  --ink-soft: #5E6670;
  --red: #ED3237;
  --paper: #F2F5F8;
  --white: #FFFFFF;
  --line: #D9E1EA;
  --line-strong: #B9C6D4;
  --radius: 6px;
  --radius-lg: 12px;
  --wrap: 1180px;
  --display: "Saira", "Arial Narrow", sans-serif;
  --body: "Public Sans", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--paper); }
img { max-width: 100%; display: block; }
a { color: var(--navy); }
a:hover { color: var(--signal); }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 2px; border-radius: 3px; }
h1, h2, h3, h4 { font-family: var(--display); color: var(--navy); line-height: 1.12; margin: 0 0 .5em; font-weight: 600; letter-spacing: -.005em; }
h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.lede { font-size: 1.2rem; max-width: 60ch; color: var(--ink-soft); }
.muted { color: var(--ink-soft); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sr-only[href="#main"]:focus { left: 16px; top: 12px; z-index: 60; width: auto; height: auto; overflow: visible; clip: auto; padding: 10px 16px; border-radius: 8px; background: var(--navy-deep); color: #fff; font-weight: 600; text-decoration: none; }   /* 25.11.2026: «Hopp til innhold» shows when reached with Tab */

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; font: 600 1rem/1 var(--body); padding: .95em 1.4em; border-radius: var(--radius); border: 2px solid transparent; cursor: pointer; text-decoration: none; transition: background .15s, color .15s, border-color .15s; }
.btn-primary { background: var(--orange); color: #1d1206; }
.btn-primary:hover { background: var(--orange-dark); color: #fff; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn-ghost:hover { border-color: #fff; color: #fff; }
.btn-line { background: transparent; color: var(--navy); border-color: var(--line-strong); }
.btn-line:hover { border-color: var(--navy); color: var(--navy); }
.btn-small { padding: .6em .9em; font-size: .92rem; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.brand img { height: 30px; width: auto; }
.nav { display: flex; gap: 4px; margin-left: auto; align-items: center; }
.nav a { text-decoration: none; color: var(--ink); font-weight: 500; padding: .5em .75em; border-radius: var(--radius); }
.nav a:hover { color: var(--navy); background: var(--paper); }
.nav a[aria-current="page"] { color: var(--navy); box-shadow: inset 0 -2px 0 var(--signal); border-radius: 0; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.lang { font: 600 .85rem var(--body); border: 1px solid var(--line-strong); background: #fff; border-radius: var(--radius); padding: .45em .6em; cursor: pointer; color: var(--navy); }
.req-link { position: relative; display: inline-flex; align-items: center; gap: .45em; text-decoration: none; font-weight: 600; color: var(--navy); padding: .5em .8em; border: 1px solid var(--line-strong); border-radius: var(--radius); background: #fff; }
.req-count { min-width: 1.5em; height: 1.5em; border-radius: 1em; background: var(--orange); color: #1d1206; font-size: .78rem; display: inline-grid; place-items: center; padding: 0 .35em; }
.req-count[data-zero="true"] { background: var(--line); color: var(--ink-soft); }
.menu-toggle { display: none; }
.nav a { white-space: nowrap; }
.brand { flex: none; }
@media (min-width: 1181px) { .nav { gap: 0; } .nav a { padding: .5em .6em; font-size: .97rem; } .header-actions { gap: 6px; } }
@media (max-width: 1180px) {
  .menu-toggle { display: inline-flex; margin-left: auto; background: none; border: 1px solid var(--line-strong); border-radius: var(--radius); padding: .5em .7em; font: 600 .9rem var(--body); color: var(--navy); }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 72px; background: #fff; flex-direction: column; align-items: stretch; padding: 10px 20px 20px; border-bottom: 1px solid var(--line); }
  .nav.open { display: flex; }
  .header-actions .req-label { display: none; }
}

/* ---------- hero: the water column ---------- */
.hero { position: relative; color: #fff; background: linear-gradient(180deg, #1F4577 0%, var(--navy) 28%, var(--navy-deep) 62%, var(--abyss) 100%); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 45% at 75% 0%, rgba(0,173,239,.28), transparent 70%); pointer-events: none; }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1fr 72px; gap: 32px; padding-top: 96px; padding-bottom: 96px; }
.hero h1 { color: #fff; max-width: 16ch; }
.hero .lede { color: #C9D8EA; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.depth { position: relative; border-left: 1px solid rgba(255,255,255,.25); }
.depth li { position: absolute; left: -1px; display: flex; align-items: center; gap: 8px; font: 500 .78rem var(--display); color: rgba(255,255,255,.55); transform: translateY(-50%); }
.depth li::before { content: ""; width: 10px; height: 1px; background: rgba(255,255,255,.45); }
.depth li.major::before { width: 18px; background: var(--signal); }
.depth li.major { color: #fff; }
.depth ol { list-style: none; margin: 0; padding: 0; height: 100%; position: relative; }
.depth .marker { position: absolute; left: -5px; width: 9px; height: 9px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 6px rgba(0,173,239,.18); animation: descend 6s cubic-bezier(.45,0,.2,1) 0.4s 1 both; }
@keyframes descend { from { top: 0%; } to { top: 100%; } }
.hero-split { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; margin: 56px -22px 0; }
/* each half is a card: visibly a target at rest, clearly lit on hover/focus */
.hero-split a { display: flex; flex-direction: column; align-items: flex-start; padding: 24px 22px 22px; color: #fff; text-decoration: none; border-radius: 12px; border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.03); transition: background .2s, border-color .2s, transform .2s, box-shadow .2s; }
.hero-split a:hover, .hero-split a:focus-visible { background: rgba(255,255,255,.09); border-color: var(--orange); transform: translateY(-3px); box-shadow: 0 14px 30px rgba(0,0,0,.25); }
.hero-split h2 { color: #fff; font-size: 1.45rem; margin-bottom: .3em; }
.hero-split p { color: #B7C8DD; margin: 0 0 .6em; max-width: 44ch; }
.hero-split .go { margin-top: auto; display: inline-flex; align-items: center; gap: 10px; padding: .6em 1em; border-radius: 6px; border: 1.5px solid rgba(0,173,239,.7); color: var(--signal); font-weight: 600; transition: background .2s, border-color .2s, color .2s; }
.hero-split .go::after { content: ""; width: 7px; height: 7px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); transition: transform .2s; }
.hero-split a:hover .go, .hero-split a:focus-visible .go { background: var(--orange); border-color: var(--orange); color: #1d1206; }
.hero-split a:hover .go::after, .hero-split a:focus-visible .go::after { transform: translateX(4px) rotate(45deg); }
@media (max-width: 760px) {
  .hero .wrap { grid-template-columns: 1fr; padding-top: 64px; padding-bottom: 56px; }
  .depth { display: none; }
  .hero-split { grid-template-columns: 1fr; margin: 40px 0 0; }
}

/* ---------- page head (inner pages) ---------- */
.page-head { background: var(--navy); color: #fff; padding: 56px 0 44px; }
.page-head h1 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); }
.page-head .lede { color: #C9D8EA; margin: 0; }
.crumbs { font-size: .9rem; margin-bottom: 14px; color: #9FB3CC; }
.crumbs a { color: #C9D8EA; }

/* ---------- sections ---------- */
.section { padding: 88px 0; }
.section-white { background: #fff; }
.section-tight { padding: 56px 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 36px; flex-wrap: wrap; }
.section-head p { margin: 0; max-width: 56ch; color: var(--ink-soft); }

.split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.split > * { min-width: 0; }
.split img { border-radius: var(--radius-lg); aspect-ratio: 4/3; object-fit: cover; width: 100%; height: auto; background: #DCE4EC; }
@media (max-width: 860px) { .split { grid-template-columns: minmax(0, 1fr); gap: 32px; } }

.reasons { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 40px; }
.reasons h3 { font-size: 1.2rem; }
.reasons p { color: var(--ink-soft); margin: 0; }
.reasons > div { border-top: 3px solid var(--navy); padding-top: 18px; }
@media (max-width: 860px) { .reasons { grid-template-columns: 1fr; gap: 28px; } }

.steps { counter-reset: s; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 32px; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: s; position: relative; padding-top: 52px; }
.steps li::before { content: counter(s); position: absolute; top: 0; left: 0; width: 38px; height: 38px; border-radius: 50%; border: 2px solid var(--signal); color: var(--navy); font: 600 1.05rem/34px var(--display); text-align: center; }
.steps h3 { font-size: 1.15rem; }
.steps p { color: var(--ink-soft); margin: 0; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

.customers { margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--line); }
.customers h3 { font: 600 1rem var(--body); color: var(--ink-soft); margin-bottom: 14px; }
.customers .partners { color: var(--navy); font-size: 1.35rem; }
/* Seavision — own brand, kept visible for recognition */
.sv-eyebrow { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 12px; margin: 0 0 22px; color: #C9D8EA; font: 600 .95rem var(--display); letter-spacing: .02em; }
.sv-eyebrow img { height: 19px; width: auto; }
.card-media { position: relative; }
.sv-badge { position: absolute; top: 10px; left: 10px; z-index: 1; display: block; padding: 6px 9px; background: #fff; border-radius: 6px; box-shadow: 0 2px 8px rgba(11,28,56,.15); line-height: 0; }
.card-media .sv-badge img, .sv-badge img { width: 74px; height: auto; object-fit: contain; }
.sv-pdp { display: block; width: 130px; height: auto; margin: 4px 0 12px; }
.sv-foot { display: inline-flex; align-items: center; gap: 8px; }
.sv-foot img { height: 13px; width: auto; }
/* supplier names sit with the equipment, not under the customers */
.brand-strip { margin-top: 40px; padding: 22px 24px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.brand-strip h3 { margin: 0 0 14px; font: 600 .95rem var(--body); color: var(--ink-soft); }
.brand-strip .kl-tile { background: #F7F9FB; }
.brand-strip .kl-tile:not(.is-empty) { background: #fff; }
.brand-strip .partners { gap: 10px 30px; font-size: 1.05rem; }
.partners { display: flex; flex-wrap: wrap; gap: 12px 36px; font: 600 1.15rem var(--display); color: var(--ink-soft); }

.cta-band { background: var(--navy); color: #fff; padding: 64px 0; }
.cta-band .wrap { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin: 0 0 .25em; }
.cta-band p { color: #C9D8EA; margin: 0; max-width: 52ch; }

/* ---------- product development ---------- */
.section-navy { background: var(--navy-deep); color: #C9D8EA; }
.section-navy h2, .section-navy h3 { color: #fff; }
.section-navy .lede { color: #C9D8EA; }
.dev { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 56px; align-items: center; }
.dev > * { min-width: 0; }
.dev img { width: 100%; height: auto; border-radius: var(--radius-lg); border: 1px solid rgba(127,211,245,.2); }
.dev-list { list-style: none; counter-reset: d; padding: 0; margin: 28px 0 32px; display: grid; gap: 18px; }
.dev-list li { counter-increment: d; display: grid; grid-template-columns: 40px 1fr; gap: 14px; }
.dev-list li::before { content: counter(d); width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--signal); color: #fff; font: 600 1rem/30px var(--display); text-align: center; }
.dev-list h3 { font-size: 1.12rem; margin: 4px 0 2px; }
.dev-list p { margin: 0; color: #B7C8DD; }
@media (max-width: 900px) { .dev { grid-template-columns: minmax(0, 1fr); gap: 32px; } .dev img { order: -1; } }
.dev-tiles { counter-reset: dt; }
.dev-tiles .cat-tile { counter-increment: dt; }
.dev-tiles .cat-tile::before { content: counter(dt); position: absolute; top: 14px; left: 14px; z-index: 1; width: 32px; height: 32px; border-radius: 50%; background: var(--navy-deep); border: 2px solid var(--signal); color: #fff; font: 600 .95rem/28px var(--display); text-align: center; }
.dev-tiles .cat-tile b { font-weight: 600; }
.dev-tiles .cat-tile:hover img { transform: none; }
/* development brief under the tiles */
.dev-req { margin-top: 28px; display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 28px; align-items: start; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--orange); border-radius: var(--radius-lg); padding: 28px; scroll-margin-top: 90px; }
.dev-req[hidden] { display: none; }
.dev-req h3 { font-size: 1.4rem; margin: 0 0 6px; }
.dev-req-intro > p { color: var(--ink-soft); margin: 0 0 18px; }
.dev-req .form-card { border: 0; padding: 0; }
.svc-picks { border: 0; margin: 0 0 14px; padding: 0; display: grid; gap: 10px; }
.svc-picks legend { font-weight: 600; color: var(--navy); margin-bottom: 10px; padding: 0; }
.svc-pick { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; cursor: pointer; font-weight: 600; color: var(--navy); background: #fff; transition: border-color .15s, background .15s; }
.svc-pick:hover { border-color: var(--line-strong); }
.svc-pick input { position: absolute; opacity: 0; pointer-events: none; }
.svc-pick .n { flex: none; width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--signal); display: grid; place-items: center; font: 600 .85rem var(--display); color: var(--navy); }
.svc-pick::after { content: ""; margin-left: auto; width: 20px; height: 20px; border-radius: 5px; border: 2px solid var(--line-strong); background: #fff center/14px no-repeat; }
.svc-pick:has(input:checked) { border-color: var(--orange); background: #FFF6EE; }
.svc-pick:has(input:checked)::after { border-color: var(--orange); background-color: var(--orange); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3 3 7-7' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.svc-pick:has(input:focus-visible) { outline: 3px solid var(--signal); outline-offset: 2px; }
@media (max-width: 860px) { .dev-req { grid-template-columns: minmax(0, 1fr); padding: 22px; } }
.dev-tiles .cat-tile { aspect-ratio: auto; display: flex; flex-direction: column; background: #0B1C38; }
.dev-tiles .cat-tile img { height: auto; aspect-ratio: 4/3; margin-bottom: -48px; }
.dev-tiles .cat-tile span { position: relative; left: auto; right: auto; bottom: auto; padding: 0 18px 20px; }

/* ---------- catalog ---------- */
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.tab { font: 500 .95rem var(--body); padding: .55em 1em; border-radius: 99px; border: 1px solid var(--line-strong); background: #fff; color: var(--ink); cursor: pointer; text-decoration: none; }
.tab:hover { border-color: var(--navy); color: var(--navy); }
.tab[aria-pressed="true"], .tab[aria-current="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.catalog-bar { display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin-bottom: 18px; }
.search { position: relative; flex: 1 1 260px; max-width: 360px; }
.search input { width: 100%; font: inherit; padding: .7em .9em; border: 1px solid var(--line-strong); border-radius: var(--radius); background: #fff; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 22px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; }
.card-media { aspect-ratio: 1/1; background: #E7EDF3; display: grid; place-items: center; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-media .ph { width: 42%; opacity: .35; }
.card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-cat { font-size: .82rem; color: var(--ink-soft); }
.card h3 { font-size: 1.08rem; margin: 0; }
.card h3 a { text-decoration: none; color: var(--navy); }
.card h3 a:hover { color: var(--signal); }
.card-actions { margin-top: auto; display: flex; gap: 8px; }
.card-actions .btn { flex: 1; }
.added { background: var(--navy); color: #fff; }
.added:hover { background: var(--navy-deep); color: #fff; }
.empty, .error-box { padding: 28px; border-radius: var(--radius-lg); background: #fff; border: 1px dashed var(--line-strong); color: var(--ink-soft); }
.error-box { border-style: solid; border-color: var(--red); color: var(--ink); }
.skeleton { background: linear-gradient(90deg, #E7EDF3 0%, #F2F5F8 50%, #E7EDF3 100%); background-size: 200% 100%; animation: shimmer 1.4s infinite; border-radius: var(--radius-lg); min-height: 330px; }
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }

.cat-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.cat-tile { position: relative; display: block; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/3; color: #fff; text-decoration: none; background: var(--navy); }
.cat-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.cat-tile span { position: absolute; left: 18px; right: 18px; bottom: 16px; font: 600 1.25rem/1.2 var(--display); }
.cat-tile small { display: block; font: 400 .9rem var(--body); color: #D3E0EE; margin-top: 4px; }
.cat-tile:hover img { transform: scale(1.03); }
.cat-tile:hover { color: #fff; }

/* ---------- product page ---------- */
.pdp { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: start; }
.gallery-main { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); aspect-ratio: 1/1; display: grid; place-items: center; overflow: hidden; }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; }
.thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.thumbs button { width: 72px; height: 72px; border: 1px solid var(--line); border-radius: var(--radius); padding: 0; overflow: hidden; background: #fff; cursor: pointer; }
.thumbs button[aria-pressed="true"] { border: 2px solid var(--signal); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pdp-info h1 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
.desc ul { padding-left: 1.2em; }
.desc table { width: 100%; border-collapse: collapse; font-size: .95rem; margin: 4px 0 18px; }
.desc td { padding: 9px 12px 9px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.desc td p { margin: 0; }
.desc td:first-child { width: 42%; color: var(--navy); }
.desc tr:last-child td { border-bottom: 0; }
.pdp-sheet { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px; }
.pdp-sheet::before { content: ""; width: 14px; height: 16px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 16'%3E%3Cpath d='M7 1v9M3 6.5 7 10.5l4-4M1 14h12' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 16'%3E%3Cpath d='M7 1v9M3 6.5 7 10.5l4-4M1 14h12' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: var(--radius); background: #fff; }
.qty button { width: 40px; height: 44px; border: 0; background: none; font-size: 1.2rem; cursor: pointer; color: var(--navy); }
.qty input { width: 54px; height: 44px; border: 0; text-align: center; font: inherit; -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.pdp-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 24px 0; align-items: center; }
.assure { border-top: 1px solid var(--line); padding-top: 18px; display: grid; gap: 8px; color: var(--ink-soft); font-size: .95rem; }
@media (max-width: 860px) { .pdp { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- system builder ---------- */
.builder { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 36px; align-items: start; }
.builder-list { display: grid; gap: 10px; }
.row-item { display: grid; grid-template-columns: 64px minmax(0,1fr) auto; gap: 14px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 12px; }
.row-item img, .row-item .thumb-ph { width: 64px; height: 64px; object-fit: cover; border-radius: var(--radius); background: #E7EDF3; }
.row-item h4 { margin: 0; font-size: 1rem; }
.row-item small { color: var(--ink-soft); }
.panel { position: sticky; top: 92px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; }
.panel h2 { font-size: 1.4rem; }
.sel-item { border-bottom: 1px solid var(--line); padding: 12px 0; display: grid; gap: 8px; }
.sel-top { display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.sel-top strong { font-weight: 600; color: var(--navy); }
.sel-item textarea { width: 100%; font: inherit; font-size: .92rem; border: 1px solid var(--line); border-radius: var(--radius); padding: .5em .6em; resize: vertical; min-height: 38px; }
.link-btn { background: none; border: 0; color: var(--ink-soft); cursor: pointer; font: inherit; font-size: .88rem; text-decoration: underline; padding: 0; }
.link-btn:hover { color: var(--red); }
[hidden] { display: none !important; }
.builder-steps { display: flex; gap: 0; margin: 0 0 28px; padding: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: #fff; }
.builder-steps li { flex: 1; list-style: none; padding: 14px 18px; font-weight: 600; color: var(--ink-soft); border-right: 1px solid var(--line); }
.builder-steps li:last-child { border-right: 0; }
.builder-steps li[aria-current="step"] { color: var(--navy); box-shadow: inset 0 -3px 0 var(--orange); }
.builder-steps ol { display: contents; }
@media (max-width: 980px) { .builder { grid-template-columns: 1fr; } .panel { position: static; } }

/* ---------- form ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; }
.fs-form { display: grid; grid-template-columns: repeat(12, minmax(0,1fr)); gap: 16px 18px; }
.fs-field { grid-column: span 12; display: grid; gap: 6px; }
.fs-field.half { grid-column: span 6; }
@media (max-width: 640px) { .fs-field.half { grid-column: span 12; } }
.fs-field label, .fs-field legend { font-weight: 600; font-size: .95rem; color: var(--navy); }
.fs-field .req { color: var(--orange-dark); margin-left: 2px; }
.fs-field input[type=text], .fs-field input[type=email], .fs-field input[type=tel], .fs-field input[type=url], .fs-field input[type=number], .fs-field input[type=date], .fs-field input[type=time], .fs-field input[type=datetime-local], .fs-field select, .fs-field textarea {
  width: 100%; font: inherit; padding: .7em .85em; border: 1px solid var(--line-strong); border-radius: var(--radius); background: #fff; color: var(--ink);
}
.fs-field textarea { min-height: 120px; resize: vertical; }
.fs-field [aria-invalid="true"] { border-color: var(--red); }
.fs-field .help { font-size: .88rem; color: var(--ink-soft); }
.fs-err { color: var(--red); font-size: .88rem; min-height: 0; margin: 0; }
.fs-actions { grid-column: span 12; display: flex; justify-content: flex-end; align-items: center; gap: 16px; flex-wrap: wrap; }
.fs-form-error { grid-column: span 12; color: var(--red); margin: 0; }
.fs-success { padding: 32px; text-align: left; }
.fs-success h3 { color: var(--navy); }
.choice-row { display: flex; gap: 8px; align-items: center; font-weight: 400; color: var(--ink); }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 56px; align-items: start; }
.facts { display: grid; gap: 22px; }
.facts h3 { font-size: 1rem; margin-bottom: 4px; color: var(--ink-soft); font-family: var(--body); font-weight: 600; }
.facts p { margin: 0; font-size: 1.1rem; }
.facts a { text-decoration: none; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- services list ---------- */
.svc { display: grid; grid-template-columns: 220px 1fr; gap: 28px; padding: 30px 0; border-top: 1px solid var(--line); }
.svc:last-child { border-bottom: 1px solid var(--line); }
.svc h3 { margin: 0; }
.svc p { margin: 0 0 12px; color: var(--ink-soft); max-width: 62ch; }
@media (max-width: 760px) { .svc { grid-template-columns: 1fr; gap: 8px; } }

/* ---------- system builder prompt in the catalog ---------- */
.builder-band { display: flex; align-items: center; gap: 20px; margin: 4px 0 26px; padding: 20px 24px; border-radius: var(--radius-lg); background: linear-gradient(120deg, var(--navy), var(--navy-deep)); color: #C9D8EA; }
.builder-band .bb-icon { flex: none; color: #7FD3F5; }
.builder-band h2 { color: #fff; font-size: 1.3rem; margin: 0 0 4px; }
.builder-band p { margin: 0; max-width: 62ch; }
.builder-band .btn { margin-left: auto; flex: none; }
.pdp-builder { align-self: center; font-weight: 600; color: var(--navy); }
.pdp-builder::after { content: " →"; }
@media (max-width: 760px) { .builder-band { flex-wrap: wrap; padding: 18px; gap: 12px 16px; } .builder-band .btn { margin-left: 0; } .builder-band p { display: none; } }

/* ---------- about ---------- */
.om-brands { margin: 0; background: linear-gradient(160deg, var(--navy), var(--abyss)); border-radius: var(--radius-lg); padding: 56px 48px 40px; display: grid; justify-items: center; gap: 26px; text-align: center; }
.split .om-brands img { aspect-ratio: auto; object-fit: contain; background: none; border-radius: 0; height: auto; }
.om-brands .om-ferder { width: min(320px, 100%); height: auto; }
.om-brands .om-sv { width: min(260px, 80%); height: auto; }
.om-plus { width: 22px; height: 22px; position: relative; }
.om-plus::before, .om-plus::after { content: ""; position: absolute; inset: 10px 0; background: var(--orange); border-radius: 2px; }
.om-plus::after { inset: 0 10px; }
.om-brands figcaption { color: #A9BBD1; font-size: .95rem; max-width: 34ch; border-top: 1px solid rgba(255,255,255,.14); padding-top: 18px; }
.om-facts { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 32px; }
.om-facts > div { border-left: 3px solid var(--orange); padding-left: 18px; }
.om-facts strong { display: block; font: 600 clamp(1.8rem, 3.2vw, 2.6rem)/1.1 var(--display); color: #fff; }
.om-facts span { color: #C9D8EA; }
.om-areas { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 24px; }
.om-areas a { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; color: var(--ink); text-decoration: none; transition: border-color .2s, transform .2s, box-shadow .2s; }
.om-areas img { width: 100%; height: 100%; object-fit: cover; }
.om-areas a > div { padding: 26px 24px; display: flex; flex-direction: column; align-items: flex-start; }
.om-areas h3 { font-size: 1.35rem; margin: 0 0 8px; }
.om-areas p { color: var(--ink-soft); margin: 0 0 18px; }
.om-areas .go { margin-top: auto; color: var(--navy); font-weight: 600; display: inline-flex; align-items: center; gap: 8px; }
.om-areas .go::after { content: ""; width: 7px; height: 7px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); transition: transform .2s; }
.om-areas a:hover, .om-areas a:focus-visible { border-color: var(--orange); transform: translateY(-3px); box-shadow: 0 14px 30px rgba(14,34,66,.12); }
.om-areas a:hover .go { color: var(--orange-dark); }
.om-areas a:hover .go::after { transform: translateX(4px) rotate(45deg); }
.om-values { grid-template-columns: repeat(4, minmax(0,1fr)); gap: 32px; }
.om-visit { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 20px 32px; margin: 28px 0 8px; }
.om-visit dt { font-weight: 600; color: var(--ink-soft); font-size: .9rem; margin-bottom: 4px; }
.om-visit dd { margin: 0; font-size: 1.05rem; }
@media (max-width: 960px) { .om-facts, .om-values { grid-template-columns: repeat(2, minmax(0,1fr)); } .om-areas { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .om-facts, .om-values, .om-visit { grid-template-columns: 1fr; } .om-areas a { grid-template-columns: 1fr; } .om-areas img { aspect-ratio: 16/9; } .om-brands { padding: 40px 24px 32px; } }

/* ---------- footer ---------- */
.site-footer { background: var(--abyss); color: #A9BBD1; padding: 64px 0 28px; font-size: .95rem; }
.site-footer a { color: #DCE6F2; text-decoration: none; }
.site-footer a:hover { color: var(--signal); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.foot-grid h4 { font: 600 1rem var(--display); color: #fff; margin-bottom: 12px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.foot-logo { height: 46px; width: auto; margin-bottom: 16px; }
.foot-base { border-top: 1px solid rgba(255,255,255,.12); margin-top: 44px; padding-top: 20px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .85rem; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }

/* ---------- toast ---------- */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 140%); background: var(--navy); color: #fff; padding: 14px 18px; border-radius: var(--radius); display: flex; gap: 16px; align-items: center; z-index: 90; transition: transform .25s; max-width: calc(100% - 32px); }
.toast.show { transform: translate(-50%, 0); }
.toast a { color: var(--signal); font-weight: 600; }
/* Phones: the confirmation spans the screen (16 px margins) and the link goes on its own line if needed */
@media (max-width: 600px) { .toast { left: 16px; right: 16px; max-width: none; transform: translateY(140%); flex-wrap: wrap; gap: 6px 16px; } .toast.show { transform: none; } }

/* "Legg i forespørsel" once added: shows the count; hover (or a tap) removes it again */
.btn.btn-inreq { background: #E8F6EE; color: #146C3B; border: 1px solid #A6D9BA; }
/* Both texts sit in the same cell, so the button keeps one width with and without hover. (When the hover text was wider,
   the button wrapped to the next line, left the pointer, shrank back under it – and the page shook.) */
.btn.btn-inreq:has(> .ir-on) { display: inline-grid; justify-items: center; }
.btn.btn-inreq > .ir-on, .btn.btn-inreq > .ir-off { grid-area: 1 / 1; }
.btn.btn-inreq .ir-off { visibility: hidden; }
.btn.btn-inreq:hover, .btn.btn-inreq:focus-visible { background: #FDECEC; color: #B42318; border-color: #F3B4AE; }
.btn.btn-inreq:hover .ir-on, .btn.btn-inreq:focus-visible .ir-on { visibility: hidden; }
.btn.btn-inreq:hover .ir-off, .btn.btn-inreq:focus-visible .ir-off { visibility: visible; }
@media (hover: none) { .btn.btn-inreq .ir-on::after { content: "  ✕"; opacity: .6; } }

/* "Se tjenestene" in the hero: signal blue, between the orange and the outline button */
.btn.btn-svc { background: #00ADEF; color: #fff; border-color: #00ADEF; }
.btn.btn-svc:hover, .btn.btn-svc:focus-visible { background: #0077A8; border-color: #0077A8; color: #fff; }
/* Small brand icons above the "reasons" points (front page) */
.reasons .v-ico { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; margin-bottom: 14px; border-radius: 14px; background: linear-gradient(135deg, #E6F6FD 0%, #FFF1E4 100%); }
.reasons .v-ico svg { width: 30px; height: 30px; fill: none; stroke: var(--navy, #13294B); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.reasons .v-ico .ac { stroke: #F5811E; }
/* Hover on a reason: the icon tile turns navy and the icon comes alive – the boat rides the waves,
   the camera links up to the rest of the system, the wrench gives a turn. */
.reasons .v-ico { transition: background .3s, box-shadow .3s, transform .3s; overflow: hidden; }
.reasons .v-ico svg * { transition: stroke .3s; }
.reasons > div:hover .v-ico { background: linear-gradient(135deg, #13294B 0%, #1E4A7A 100%); box-shadow: 0 10px 22px rgba(19,41,75,.25); transform: translateY(-3px); }
.reasons > div:hover .v-ico svg { stroke: #fff; }
.reasons > div:hover .v-ico .ac { stroke: #F5811E; }
.v-boat .hull { transform-origin: 12px 18px; transform-box: view-box; }
.reasons > div:hover .v-boat .hull { animation: v-bob 1.6s ease-in-out infinite; }
.reasons > div:hover .v-boat .wave { animation: v-wave 1.2s linear infinite; }
@keyframes v-bob { 0%, 100% { transform: translateY(0) rotate(0); } 25% { transform: translateY(-.8px) rotate(-4deg); } 75% { transform: translateY(.4px) rotate(3deg); } }
@keyframes v-wave { to { transform: translateX(6px); } }
.v-sys .cam { transform-origin: 7px 11.5px; transform-box: view-box; }
.v-sys .link { stroke-dasharray: 5; }
.v-sys .node { transform-box: fill-box; transform-origin: center; }
.reasons > div:hover .v-sys .cam { animation: v-pan 1.8s ease-in-out infinite; }
.reasons > div:hover .v-sys .link { animation: v-draw 1.8s ease-in-out infinite; }
.reasons > div:hover .v-sys .n1 { animation: v-ping 1.8s ease-out infinite .35s; }
.reasons > div:hover .v-sys .n2 { animation: v-ping 1.8s ease-out infinite .55s; }
@keyframes v-pan { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(-6deg); } }
@keyframes v-draw { 0% { stroke-dashoffset: 5; } 40%, 100% { stroke-dashoffset: 0; } }
@keyframes v-ping { 0% { transform: scale(.6); opacity: .4; } 30% { transform: scale(1.25); opacity: 1; } 60%, 100% { transform: scale(1); } }
.v-tool .wr { transform-origin: 12.5px 11px; transform-box: view-box; }
.v-tool .spark { transform-box: fill-box; transform-origin: 0 0; }
.reasons > div:hover .v-tool .wr { animation: v-turn 1.4s ease-in-out infinite; }
.reasons > div:hover .v-tool .spark { animation: v-spark 1.4s ease-out infinite; }
@keyframes v-turn { 0%, 100% { transform: rotate(0); } 35% { transform: rotate(-22deg); } 55% { transform: rotate(-18deg); } }
@keyframes v-spark { 0%, 30% { opacity: 0; transform: scale(.5); } 45% { opacity: 1; transform: scale(1.15); } 80%, 100% { opacity: 0; transform: scale(1.3); } }
@media (prefers-reduced-motion: reduce) { .reasons > div:hover .v-ico, .reasons > div:hover .v-ico * { animation: none !important; transform: none !important; } }
/* Front page category tiles: clearer hover – lift, orange edge, deeper shadow, picture zoom */
#cat-tiles .cat-tile { transition: transform .25s cubic-bezier(.2,.7,.2,1), box-shadow .25s; }
#cat-tiles .cat-tile img { transition: transform .45s cubic-bezier(.2,.7,.2,1), filter .3s; }
#cat-tiles .cat-tile:hover, #cat-tiles .cat-tile:focus-visible { transform: translateY(-8px); box-shadow: 0 22px 44px rgba(11,28,56,.35), 0 0 0 2px #F5811E; }
#cat-tiles .cat-tile:hover img, #cat-tiles .cat-tile:focus-visible img { transform: scale(1.08); filter: brightness(1.12) saturate(1.1); }
@media (prefers-reduced-motion: reduce) { #cat-tiles .cat-tile, #cat-tiles .cat-tile img { transition: none; } #cat-tiles .cat-tile:hover { transform: none; } }
/* "Fra idé til ferdig produkt": hover (or tap/focus) shows how we do each step */
.dev-tiles .cat-tile { outline: none; transition: transform .25s cubic-bezier(.2,.7,.2,1), box-shadow .25s; }
.dev-tiles .cat-tile .dev-more { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 22px 22px 22px; background: linear-gradient(160deg, #10264A 0%, #0B1C38 100%); opacity: 0; transform: translateY(14px); transition: opacity .28s ease, transform .28s cubic-bezier(.2,.7,.2,1); pointer-events: none; }
.dev-tiles .cat-tile .dev-more i { font: 600 .75rem var(--body); font-style: normal; letter-spacing: .12em; text-transform: uppercase; color: #F5811E; }
.dev-tiles .cat-tile .dev-more em { font: 600 1.15rem/1.25 var(--display); font-style: normal; color: #fff; }
.dev-tiles .cat-tile .dev-more ul { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 8px; }
.dev-tiles .cat-tile .dev-more li { position: relative; padding-left: 22px; font: 400 .92rem/1.45 var(--body); color: #D8E6F4; }
.dev-tiles .cat-tile .dev-more li::before { content: ""; position: absolute; left: 0; top: .35em; width: 12px; height: 12px; border-radius: 50%; border: 2px solid #00ADEF; box-sizing: border-box; }
.dev-tiles .cat-tile:hover, .dev-tiles .cat-tile:focus-visible, .dev-tiles .cat-tile:focus { transform: translateY(-8px); box-shadow: 0 22px 44px rgba(11,28,56,.35), 0 0 0 2px #F5811E; }
.dev-tiles .cat-tile:hover .dev-more, .dev-tiles .cat-tile:focus .dev-more { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .dev-tiles .cat-tile, .dev-tiles .cat-tile .dev-more { transition: none; } .dev-tiles .cat-tile:hover { transform: none; } }
/* "Sett sammen systemet selv": system builder button, "… eller" and a meeting button */
.steps-h { margin-bottom: 14px; }
.steps-h + .section-head { align-items: flex-start; }
.steps-actions { display: grid; justify-items: stretch; gap: 8px; min-width: 250px; }
.steps-actions .btn { width: 100%; }
.steps-or { text-align: center; font-size: .92rem; color: var(--ink-soft); font-style: italic; }
@media (max-width: 860px) { .steps-actions { justify-items: start; min-width: 0; } .steps-actions .btn { width: auto; } .steps-or { text-align: left; } }
/* Smaller, lighter "shadow" line after a heading */
.h-shadow { display: block; margin-top: 4px; font-size: .55em; font-weight: 500; color: #64788F; letter-spacing: .01em; }
/* System builder section on the front page: steps as cards with icons + a navy action card */
.sb-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; align-items: stretch; }
.sb-eyebrow { margin: 0 0 8px; font: 600 .8rem var(--body); letter-spacing: .12em; text-transform: uppercase; color: #AD5405; } /* darker orange: 4.7:1 on white */
.sb-lede { color: var(--ink-soft); max-width: 60ch; margin: 0 0 28px; font-size: 1.05rem; }
.sb-steps { gap: 18px; }
.sb-steps li { padding: 22px 20px 20px; background: linear-gradient(180deg, #F6F9FC 0%, #EEF3F8 100%); border: 1px solid var(--line); border-radius: 16px; transition: transform .25s cubic-bezier(.2,.7,.2,1), box-shadow .25s, border-color .25s; }
.sb-steps li::before { top: -14px; left: auto; right: 16px; width: 32px; height: 32px; background: #fff; font: 600 .95rem/28px var(--display); }
.sb-steps li:not(:last-child)::after { content: ""; position: absolute; top: 50%; right: -15px; width: 12px; height: 12px; border-top: 2.5px solid #00ADEF; border-right: 2.5px solid #00ADEF; transform: translateY(-50%) rotate(45deg); }
.sb-steps li:hover { transform: translateY(-5px); box-shadow: 0 16px 32px rgba(11,28,56,.12); border-color: #BFD9EA; }
.sb-steps .v-ico { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; margin-bottom: 12px; border-radius: 14px; background: #fff; box-shadow: 0 4px 12px rgba(11,28,56,.06); }
.sb-steps .v-ico svg { width: 26px; height: 26px; fill: none; stroke: var(--navy, #13294B); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sb-steps .v-ico .ac { stroke: #F5811E; }
.sb-card { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 10px; justify-content: center; padding: 30px 26px; border-radius: 20px; color: #fff; background: radial-gradient(120% 90% at 100% 0%, #1E4A86 0%, #13294B 45%, #0B1C38 100%); box-shadow: 0 20px 44px rgba(11,28,56,.25); }
.sb-card::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 22px 22px; pointer-events: none; }
.sb-card > * { position: relative; }
.sb-card-art { width: 120px; height: 80px; margin-bottom: 4px; fill: none; stroke: #6FC8F0; stroke-width: 2; }
.sb-card-art .ac { stroke: #F5811E; }
.sb-card-art .dot { fill: #00ADEF; stroke: none; }
.sb-card-h { font: 600 1.35rem/1.2 var(--display); color: #fff; margin-bottom: 4px; }
.sb-card .btn { width: 100%; }
.sb-card .steps-or { color: #B9CCE2; text-align: center; }
.sb-card-note { color: #93A9C4; font-size: .82rem; text-align: center; margin-top: 4px; }
@media (max-width: 980px) { .sb-grid { grid-template-columns: minmax(0, 1fr); } .sb-card { max-width: 520px; } }
@media (max-width: 860px) { .sb-steps li:not(:last-child)::after { display: none; } }
/* Hero depth gauge: lighthouse above the surface, fish at different depths */
.depth .ds { position: absolute; pointer-events: none; overflow: visible; fill: none; stroke: rgba(150,212,245,.75); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.depth { margin-top: 96px; }
.depth .ds-light { left: 60px; top: -98px; width: 70px; height: 92px; }
.ds-light .tower, .ds-light .cap { stroke: rgba(220,236,250,.8); fill: rgba(255,255,255,.06); }
.ds-light .stripe { fill: rgba(245,129,30,.85); stroke: none; }
.ds-light .rock { fill: rgba(9,24,48,.65); stroke: rgba(140,205,240,.35); }
.ds-light .lamp { fill: #FFD27A; stroke: none; filter: drop-shadow(0 0 6px rgba(255,210,122,.9)); animation: lamp-blink 4s ease-in-out infinite; }
.ds-light .beam { fill: rgba(255,214,140,.16); stroke: none; transform-origin: 35px 14px; animation: beam-sweep 4s ease-in-out infinite; }
.ds-light .beam.b2 { animation-delay: -2s; }
.depth .ds-wave { left: 50px; top: -5px; width: 120px; height: 10px; stroke: rgba(140,205,240,.6); animation: wave-drift 6s linear infinite; }
.depth .ds-fish { animation: fish-swim 14s ease-in-out infinite; }
.depth .ds-fish circle { fill: rgba(140,205,240,.7); stroke: none; }
.depth .f1 { left: 64px; top: 14%; width: 44px; height: 22px; }
.depth .f2 { left: 60px; top: 32%; width: 72px; height: 34px; animation-duration: 18s; animation-delay: -4s; }
.depth .f3 { left: 58px; top: 55%; width: 76px; height: 33px; stroke: rgba(150,212,245,.55); animation-duration: 22s; animation-delay: -9s; }
.depth .f4 { left: 62px; top: 86%; width: 64px; height: 40px; stroke: rgba(150,212,245,.45); animation-duration: 26s; animation-delay: -3s; }
.depth .f4 .glow { fill: #7FE3FF; filter: drop-shadow(0 0 5px #7FE3FF); animation: lamp-blink 3s ease-in-out infinite; }
@keyframes fish-swim { 0%, 100% { transform: translate(0, 0); } 25% { transform: translate(-10px, -4px); } 50% { transform: translate(-22px, 2px); } 75% { transform: translate(-8px, 5px); } }
@keyframes beam-sweep { 0%, 100% { opacity: .15; } 50% { opacity: 1; } }
@keyframes lamp-blink { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
@keyframes wave-drift { from { transform: translateX(0); } to { transform: translateX(-27px); } }
.hero .wrap { overflow: visible; }
/* Narrower screens: no room right of the gauge, so the scene sits on its left side */
@media (max-width: 1399px) { .depth .ds { left: auto; } .depth .ds-light { right: 6px; } .depth .ds-wave { right: 10px; } .depth .f1 { right: 34px; } .depth .f2 { right: 30px; } .depth .f3 { right: 36px; } .depth .f4 { display: none; } }
@media (prefers-reduced-motion: reduce) { .depth .ds, .depth .ds * { animation: none !important; } }
/* Well boat cruising along the surface, left of the gauge */
.depth .ds-wave2 { left: -236px; width: 230px; }
.depth .ds-boat-run { position: absolute; left: -110px; top: -30px; width: 84px; height: 34px; pointer-events: none; animation: boat-cruise 34s linear infinite; }
.depth .ds-boat { position: static; display: block; width: 84px; height: 34px; }
.ds-boat .hull { fill: rgba(9,24,48,.85); stroke: rgba(220,236,250,.8); }
.ds-boat .stripe { fill: rgba(245,129,30,.9); stroke: none; }
.ds-boat .house { fill: rgba(255,255,255,.08); stroke: rgba(220,236,250,.8); }
.ds-boat .win { stroke: #FFD27A; stroke-width: 1.8; }
.ds-boat .crane { stroke: rgba(245,129,30,.85); }
.ds-boat .bob { transform-origin: 42px 30px; animation: boat-bob 3.2s ease-in-out infinite; }
@keyframes boat-cruise { 0% { transform: translateX(0) scaleX(1); } 46% { transform: translateX(-150px) scaleX(1); } 50% { transform: translateX(-150px) scaleX(-1); } 96% { transform: translateX(0) scaleX(-1); } 100% { transform: translateX(0) scaleX(1); } }
@keyframes boat-bob { 0%, 100% { transform: translateY(0) rotate(-1.5deg); } 50% { transform: translateY(1.5px) rotate(1.5deg); } }
@media (max-width: 1399px) { .depth .ds-wave2 { left: -236px; right: auto; } .depth .ds-boat-run { left: -200px; } .depth .ds-light { right: 6px; } }
@media (prefers-reduced-motion: reduce) { .depth .ds-boat-run, .ds-boat .bob { animation: none !important; } }
/* The scale line starts just below the waves, so 0 m doesn't clash with the surface. */
.depth { border-left-color: transparent; }
.depth::before { content: ""; position: absolute; left: -1px; top: 14px; bottom: 0; border-left: 1px solid rgba(255,255,255,.25); }
/* Small ROV on its tether, in place of one of the fish */
.depth .ds-rov { width: 64px; height: 40px; stroke: rgba(150,212,245,.7); }
.ds-rov .float { fill: rgba(245,129,30,.85); stroke: none; }
.ds-rov .tether { stroke: rgba(245,129,30,.55); stroke-dasharray: 3 3; }
.ds-rov .glow { fill: #FFD27A; stroke: none; filter: drop-shadow(0 0 5px #FFD27A); animation: lamp-blink 3s ease-in-out infinite; }
/* "Innebygd LED-lys" (AquaView 51C/51S): amber tag wherever tags are shown. */
.tag.tag-lit, .card-specs li.k-lit { background: #FFF4CF; color: #6E4B00; box-shadow: inset 0 0 0 1px #EBC65A; }

/* Telephone and map as quiet text links next to the buttons */
.cta-tel { display: inline-block; padding: 10px 4px; font-weight: 600; color: inherit; text-decoration: underline; text-decoration-color: rgba(0,173,239,.6); text-underline-offset: 5px; text-decoration-thickness: 2px; }
.cta-tel:hover { text-decoration-color: #00ADEF; }
.cta-band .cta-tel { color: #fff; }
.cta-band .hero-actions { align-items: center; }

/* Sticky request bar on product pages */
.req-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: rgba(11, 27, 51, .96); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: #fff; border-top: 1px solid rgba(0,173,239,.35); box-shadow: 0 -10px 30px rgba(2,10,24,.25); animation: reqbar-in .35s ease both; }
.req-bar[hidden] { display: none; }
.req-bar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 12px; padding-bottom: 12px; }
.req-bar-n { font-weight: 500; color: #C9D8EA; }
.req-bar-n b { color: #fff; font-size: 1.15em; margin-right: .15em; }
.req-bar .btn { padding-top: 10px; padding-bottom: 10px; white-space: nowrap; }
body.has-req-bar { padding-bottom: 72px; }
@keyframes reqbar-in { from { transform: translateY(100%); } to { transform: none; } }
@media (max-width: 520px) { .req-bar-n { font-size: .92rem; } }
@media (prefers-reduced-motion: reduce) { .req-bar { animation: none; } }
body.has-req-bar .toast { bottom: 88px; }
/* The ROV's lamp throws a soft beam towards the depth bar */
.ds-rov .beam { fill: url(#rov-beam); stroke: none; mix-blend-mode: screen; transform-origin: 7px 16px; animation: rov-beam 3s ease-in-out infinite; }
@keyframes rov-beam { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .ds-rov .beam { animation: none; } }
/* Customer account: header link and the bar at the top of the system builders */
.acct-link { display: inline-flex; align-items: center; gap: .4em; white-space: nowrap; text-decoration: none; font-weight: 600; font-size: .92rem; color: var(--navy); padding: .5em .7em; border-radius: var(--radius); }
.acct-link:hover, .acct-link[aria-current="page"] { background: #EEF4FA; }
.acct-bar { display: flex; justify-content: center; align-items: center; gap: 12px 16px; flex-wrap: wrap; margin: 0 auto 18px; padding: 10px 16px; max-width: 760px; border: 1px solid rgba(255,255,255,.22); border-radius: 999px; background: rgba(255,255,255,.08); font-size: .93rem; color: #DDE8F3; text-align: center; }
.acct-bar b { color: #fff; }
.acct-bar .btn-line { color: #fff; border-color: rgba(255,255,255,.5); }
@media (max-width: 720px) { .acct-link span { display: none; } .acct-bar { border-radius: 16px; } }
.acct-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 0 0 20px; }
.acct-row .sc-pick { margin: 0; flex: 0 1 auto; }
.acct-bar.light { margin: 0; padding: 0; border: 0; background: none; color: var(--ink-soft); font-size: .88rem; }
.acct-bar.light > span { display: none; }
.acct-bar.light b { color: var(--navy); }
.acct-bar.light .btn-line { color: var(--navy); border-color: var(--line-strong); }

/* Logged in: clearly marked in the header and on the builders */
.acct-link.on { background: #E7F6EE; color: #0F6B3A; border: 1px solid #BFE5CE; border-radius: 999px; padding: .42em .85em; }
.acct-link.on::before, .acct-dot { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #1FA463; box-shadow: 0 0 0 3px rgba(31,164,99,.18); flex: none; }
.acct-dot { margin-right: 8px; vertical-align: 1px; }
.acct-link.on:hover { background: #DDF2E6; }
.acct-bar.light.on > span { display: inline-flex; align-items: center; color: #0F6B3A; font-weight: 600; }
.acct-bar.light.on > span b { color: #0F6B3A; margin-left: .3em; }
/* Privacy line under forms: present, but quiet */
.pv-note { grid-column: 1 / -1; flex-basis: 100%; width: 100%; margin: 10px 0 0; font-size: .76rem; line-height: 1.4; color: var(--ink-soft); opacity: .85; }
.pv-note a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

/* Header: room for everything when logged in – the request button keeps its icon and drops the word on narrower screens */
.req-ico { flex: none; }
@media (min-width: 1181px) and (max-width: 1440px) { .site-header .wrap { gap: 14px; } .header-actions .req-label { display: none; } .nav a { padding: .5em .5em; } }
@media (min-width: 1181px) and (max-width: 1260px) { .site-header .wrap { gap: 10px; } .nav a { padding: .5em .4em; font-size: .95rem; } }
/* Phones: the header fits on one line (logo, menu, account, language, request) */
@media (max-width: 520px) { .site-header .wrap { gap: 8px; } .brand img { height: 22px; } .header-actions { gap: 6px; } .menu-toggle { padding: .45em .55em !important; } .lang { padding: .4em .45em; } .req-link { padding: .45em .55em; } .acct-link { padding: .45em .55em; } }

/* Product page: category links, key tags, gallery that follows on desktop, foldable sections, "Se også" */
.pdp-cats { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 6px; margin: 0 0 10px; font-size: .92rem; color: var(--ink-soft); }
.pdp-cats a { color: var(--ink-soft); }
.pdp-cats a:hover { color: var(--navy); }
.pdp-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: -6px 0 18px; padding: 0; list-style: none; }
.pdp-tags li { font-size: .82rem; font-weight: 600; line-height: 1; padding: 6px 10px; border-radius: 999px; background: #EEF2F6; color: var(--navy); }
.pdp-tags li.k-ip { background: #E3F5FC; color: #00739F; box-shadow: inset 0 0 0 1px #9FDDF5; }
.pdp-tags li.k-ana { background: #18335E; color: #fff; }
.pdp-tags li.k-acc { background: #FEF0E3; color: #A44F05; box-shadow: inset 0 0 0 1px #F8C99C; }
.pdp-tags li.k-lit { background: #FFF4CF; color: #6E4B00; box-shadow: inset 0 0 0 1px #EBC65A; }
@media (min-width: 861px) { .pdp > div:first-child { position: sticky; top: 96px; } }
.pdp-sec { border-top: 1px solid var(--line); margin: 0; }
.pdp-sec:last-of-type { border-bottom: 1px solid var(--line); }
.pdp-sec > summary { display: flex; align-items: center; gap: 10px; padding: 14px 0; cursor: pointer; list-style: none; }
.pdp-sec > summary::-webkit-details-marker { display: none; }
.pdp-sec > summary h3 { margin: 0; font-size: 1.15rem; flex: 1; }
.pdp-sec > summary::after { content: ""; width: 10px; height: 10px; border-right: 2px solid var(--navy); border-bottom: 2px solid var(--navy); transform: rotate(45deg) translateY(-3px); transition: transform .15s; flex: none; margin-right: 4px; }
.pdp-sec[open] > summary::after { transform: rotate(225deg) translateY(-3px); }
.pdp-sec > summary:hover h3 { color: var(--signal-dark, #0077A8); }
.pdp-sec > .desc { padding: 0 0 8px; }
.pick + .pdp-sec, .fits + .pdp-sec { margin-top: 24px; }
.pdp-lang-note { margin: -4px 0 16px; padding: 8px 12px; border-left: 3px solid var(--signal, #00ADEF); background: #F0FAFE; font-size: .9rem; color: var(--ink); }
.pdp-rel { margin: 48px 0 0; padding-top: 28px; border-top: 1px solid var(--line); }
.pdp-rel-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; margin-bottom: 14px; }
.pdp-rel-head h2 { margin: 0; font-size: 1.35rem; }
.pdp-rel-head a { font-weight: 600; color: var(--navy); }
.pdp-rel .fits-list { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
/* Chosen rows in the pickers: a clear orange edge and the number in bold */
.pick .lens-opt.on, .pick .pick-row.on { background: #FFF8F1; box-shadow: inset 3px 0 0 var(--orange, #F5811E); }
.pick .pick-row.on { padding-left: 10px; }
.pick .on .qty input { font-weight: 700; color: var(--navy); }
/* Phones: notes in the pickers wrap instead of running off the screen */
.pick .lens-txt { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 560px) { .pick .lens-req, .pick .lens-ok, .pick .cam-note, .pick .lens-txt .nb { white-space: normal; } }
/* Product cards: the two buttons share a row when there is room, otherwise they stack */
.card-actions { flex-wrap: wrap; }
.card-actions .btn { flex: 1 1 auto; white-space: nowrap; }
/* Products: second row of tabs for the subcategories, and the category cards grouped under Marint / Industri / … */
.tabs:has(+ .subtabs:not([hidden])) { margin-bottom: 12px; }
.tabs.subtabs[hidden] { display: none; }
.tabs.subtabs .tab { font-size: .88rem; padding: .45em .9em; }
.cat-group { grid-column: 1 / -1; }
.cat-group + .cat-group { margin-top: 26px; }
.cat-group > h2 { font-size: 1.3rem; margin: 0 0 12px; }
/* Product page: lede with «Les mer», sections closed by default with a count, «Åpne alle» */
.pdp-lede { margin: 0 0 6px; font-size: 1.08rem; line-height: 1.55; color: var(--ink); }
.pdp-lede.hide { display: none; }
.pdp-more { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .4s ease, opacity .3s ease; }
.pdp-more.open { grid-template-rows: 1fr; opacity: 1; }
.pdp-more > div { overflow: hidden; min-height: 0; }
.pdp-more .desc { padding-top: 2px; }
.pdp-more-btn { display: inline-flex; align-items: center; gap: 6px; margin: 2px 0 20px; padding: 6px 14px 6px 12px; border: 1px solid var(--line-strong, #C5D0DC); border-radius: 999px; background: #fff; font: 600 .9rem var(--body); color: var(--navy); cursor: pointer; transition: border-color .15s, background .15s; }
.pdp-more-btn:hover, .pdp-more-btn:focus-visible { border-color: var(--navy); background: #F4F7FB; }
.pdp-more-btn svg { transition: transform .3s ease; }
.pdp-more-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.pdp-secs-head { display: flex; justify-content: flex-end; margin: 24px 0 2px; }
.pdp-secs-all { border: 0; background: none; padding: 4px 0; font: 600 .88rem var(--body); color: var(--signal-dark, #0077A8); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.pdp-secs-head + .pdp-sec { margin-top: 0; }
.pdp-sec > summary h3 .pdp-sec-n { font-weight: 500; color: var(--ink-soft); font-size: .95rem; }
@media (prefers-reduced-motion: reduce) { .pdp-more, .pdp-more-btn svg { transition: none; } }
/* Novus: «Norsk distributør av Novus» – the full range on request (product list, Novus product pages, front page tile) */
.novus-note { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin: 0 0 18px; padding: 16px 20px; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--orange, #F5811E); border-radius: 12px; }
.novus-note > div { flex: 1 1 320px; min-width: 0; }
.novus-note h3 { margin: 0 0 4px; font-size: 1.02rem; color: var(--navy); }
.novus-note p { margin: 0; font-size: .93rem; line-height: 1.55; color: var(--ink-soft); }
.novus-note .btn { flex: none; white-space: nowrap; }
.novus-note.compact { margin: -6px 0 22px; padding: 12px 16px; background: #F7F9FC; }
.novus-note.compact h3 { font-size: .95rem; }
.novus-note.compact p { font-size: .86rem; }
#novus-note:empty { display: none; }
.cat-tile small.tile-note { display: block; margin-top: 6px; font-weight: 600; color: #FFC48C; }
/* Novus colours: round swatches on the product page, a small note on the cards */
.sw { display: inline-block; width: 18px; height: 18px; border-radius: 50%; flex: none; box-shadow: inset 0 0 0 1px rgba(11,28,56,.25); }
.sw-white { background: #fff; }
.sw-graphite { background: #1C1E22; }
.pdp-colour { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: -6px 0 18px; }
.pdp-colour-h { font-size: .92rem; color: var(--ink-soft); }
.pdp-colour-h b { color: var(--navy); font-weight: 600; }
.sw-list { display: flex; flex-wrap: wrap; gap: 8px; }
.sw-opt { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 7px; border: 1px solid var(--line-strong, #C5D0DC); border-radius: 999px; background: #fff; font: 600 .86rem var(--body); color: var(--navy); text-decoration: none; }
a.sw-opt:hover, a.sw-opt:focus-visible { border-color: var(--navy); background: #F4F7FB; }
.sw-opt.is-on { border-color: var(--orange, #F5811E); box-shadow: inset 0 0 0 1px var(--orange, #F5811E); }
.sw-opt.is-on .sw { box-shadow: inset 0 0 0 1px rgba(11,28,56,.25), 0 0 0 2px #fff, 0 0 0 4px var(--orange, #F5811E); }
.card-colour { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 600; color: var(--ink-soft); }
.card-colour .sw { width: 12px; height: 12px; }
/* Novus brackets: compatible cameras with an add button per camera */
.nv-fits { margin: 8px 0 26px; }
.nv-fits .fits-list { grid-template-columns: 1fr; gap: 6px; }
.nv-fits .lens-h { margin: 14px 0 8px; }
.nv-fit { gap: 8px; padding-right: 8px; }
.nv-fit-link { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; color: inherit; text-decoration: none; }
.nv-fit .btn { flex: none; padding: 6px 10px; font-size: .8rem; }
.nv-fits-more { margin: 10px 0 0; font-size: .88rem; }
/* Phone numbers never break over two lines */
a[href^="tel:"] { white-space: nowrap; }
/* Header buttons on touch screens: at least 44 px tall (and wide from 381 px), text centred; slightly smaller logo on phones so the row still fits */
@media (max-width: 1180px) { .site-header .menu-toggle, .site-header .lang, .site-header .acct-link, .site-header .req-link { min-height: 44px; align-items: center; justify-content: center; } .site-header .menu-toggle { flex-shrink: 0; } }
@media (min-width: 381px) and (max-width: 1180px) { .site-header .menu-toggle, .site-header .lang, .site-header .acct-link { min-width: 44px; } }
@media (max-width: 420px) { .site-header .header-actions { gap: 4px; } .site-header .brand img { height: 20px; } }
/* The narrowest phones (320–360 px): the header row fits without sideways scrolling – a little less side space and padding, a slightly smaller logo (nothing changes above 360 px) */
@media (max-width: 360px) { .site-header .wrap { padding-left: 12px; padding-right: 12px; gap: 6px; } .site-header .brand img { height: 16px; } .site-header .header-actions { gap: 3px; min-width: 0; } .site-header .menu-toggle { padding: .45em .45em !important; } .site-header .lang { padding: .4em .35em; } .site-header .acct-link, .site-header .acct-link.on { padding-left: .45em; padding-right: .45em; gap: .3em; } .site-header .req-link { padding-left: .45em; padding-right: .45em; gap: .3em; } }
