/* Industri: "Dette kan vi gjøre for deg" as illustrated tiles (same system as the development steps) */
.svc-tiles { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.svc-tiles .cat-tile { aspect-ratio: auto; display: flex; flex-direction: column; background: #0B1C38; }
.svc-tiles .cat-tile img { height: auto; aspect-ratio: 4/3; margin-bottom: -56px; }
.svc-tiles .cat-tile span { position: relative; left: auto; right: auto; bottom: auto; padding: 0 22px 24px; display: grid; gap: 6px; }
.svc-tiles .cat-tile b { font: 600 1.25rem var(--display); }
.svc-tiles .cat-tile small { font-size: .98rem; line-height: 1.55; color: #CFE0F2; }
.svc-tiles .cat-tile::after { content: ""; position: absolute; left: 22px; top: 18px; width: 34px; height: 3px; border-radius: 2px; background: var(--orange); }
.svc-tiles .svc-cta .go { font-style: normal; font-weight: 600; color: #fff; background: var(--orange); justify-self: start; padding: 10px 16px; border-radius: 999px; margin-top: 8px; }
.svc-tiles .svc-cta:hover .go { filter: brightness(1.08); }
.svc-tiles .svc-cta .svc-cta-actions { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin-top: 10px; }
.svc-tiles .svc-cta .btn-line { background: #fff; color: var(--navy); border-color: #fff; }
.svc-tiles .svc-cta .btn-line:hover { background: #E8EEF5; border-color: #E8EEF5; }
.ind-hero { border-radius: var(--radius-lg); width: 100%; height: auto; }

/* production services as one wide band (industri.html, #svc-products) */
.svc-band { display: grid; grid-template-columns: minmax(0, 0.62fr) minmax(0, 2.4fr); background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg, 16px); overflow: hidden; box-shadow: 0 10px 32px rgba(11, 28, 56, .07); }
.svc-band + .svc-band { margin-top: 32px; }
.svc-band-media { display: block; background: #0B1C38; min-height: 100%; }
.svc-band-media img { width: 100%; height: 100%; object-fit: cover; object-position: 18% 40%; display: block; }
.svc-band-body { padding: 34px 40px; display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 32px; row-gap: 10px; align-items: end; }
.svc-band-eyebrow { grid-column: 1 / -1; margin: 0; font: 600 .8rem var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--orange, #F5811E); }
.svc-band-body h2 { margin: 0; font-size: clamp(1.5rem, 2.2vw, 1.9rem); }
.svc-band-lede { grid-column: 1; margin: 0; color: var(--ink-soft); max-width: 60ch; }
.svc-band-actions { grid-column: 2; grid-row: 2 / span 2; display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; align-self: center; }
.svc-band-list { grid-column: 1 / -1; list-style: none; margin: 18px 0 0; padding: 20px 0 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 22px; }
.svc-band-list li { display: grid; align-content: start; gap: 4px; padding-top: 14px; position: relative; }
.svc-band-list li::before { content: ""; position: absolute; left: 0; top: 0; width: 22px; height: 3px; border-radius: 2px; background: var(--signal, #00ADEF); }
.svc-band-list b { color: var(--navy); font-size: .95rem; line-height: 1.3; hyphens: auto; overflow-wrap: break-word; }
.svc-band-list span { color: var(--ink-soft); font-size: .85rem; line-height: 1.5; }
@media (max-width: 1100px) { .svc-band-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px) {
  .svc-band { grid-template-columns: minmax(0, 1fr); }
  .svc-band-media { height: 180px; }
  .svc-band-body { padding: 26px 22px; grid-template-columns: minmax(0, 1fr); }
  .svc-band-actions { grid-column: 1; grid-row: auto; justify-content: flex-start; }
  .svc-band-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) { .svc-band-list { grid-template-columns: minmax(0, 1fr); } }

/* "Fra idé til ferdig produkt": value text across the full section (industri.html) */
.why-value { margin-top: 48px; padding: 40px 44px; background: var(--paper, #F3F6F9); border-radius: var(--radius-lg, 16px); border-top: 4px solid var(--orange, #F5811E); display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 2fr); gap: 20px 48px; }
.why-eyebrow { margin: 0 0 8px; font: 600 .8rem var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--orange, #F5811E); }
/* On the light «Hvorfor én partner» box the small label needs a darker orange (4.7:1); on dark bands it stays bright */
.why-value .why-eyebrow { color: #AD5405; }
.why-title { margin: 0; color: var(--navy); font: 600 clamp(1.45rem, 2.2vw, 1.85rem)/1.2 var(--display); }
.why-value-text { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.why-value-text p { margin: 0; color: var(--ink); line-height: 1.7; }
.why-gains { grid-column: 1 / -1; list-style: none; margin: 12px 0 0; padding: 24px 0 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.why-gains li { display: flex; align-items: center; gap: 12px; color: var(--navy); font-weight: 600; line-height: 1.3; }
.why-gains li::before { content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%2300ADEF' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat; box-shadow: 0 0 0 1px var(--line); }
@media (max-width: 980px) {
  .why-value { grid-template-columns: minmax(0, 1fr); padding: 30px 26px; }
  .why-gains { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) { .why-value-text { grid-template-columns: minmax(0, 1fr); gap: 14px; } .why-gains { grid-template-columns: minmax(0, 1fr); } }

/* Service tiles link to their product page in the catalogue. */
.svc-tiles a.svc-link { text-decoration: none; cursor: pointer; transition: box-shadow .2s, transform .2s; }
.svc-tiles a.svc-link:hover, .svc-tiles a.svc-link:focus-visible { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(11,28,56,.28); }
.svc-tiles .svc-go { position: absolute; right: 18px; bottom: 16px; font-style: normal; font-weight: 700; font-size: 1.25rem; color: #F5811E; transition: transform .2s; }
.svc-tiles a.svc-link:hover .svc-go { transform: translateX(4px); }

/* Clearer hover on the service tiles: lift, orange edge, picture zoom, accent bar and arrow grow */
.svc-tiles .cat-tile { transition: transform .25s cubic-bezier(.2,.7,.2,1), box-shadow .25s, background-color .25s; }
.svc-tiles .cat-tile img { transition: transform .45s cubic-bezier(.2,.7,.2,1), filter .3s; }
.svc-tiles .cat-tile::after { transition: width .3s ease; }
.svc-tiles .cat-tile:hover, .svc-tiles a.svc-link:hover, .svc-tiles .cat-tile:focus-visible, .svc-tiles a.svc-link:focus-visible, .svc-tiles .cat-tile:focus-within { transform: translateY(-8px); background-color: #10264A; box-shadow: 0 22px 44px rgba(11,28,56,.38), 0 0 0 2px #F5811E; }
.svc-tiles .cat-tile:hover img, .svc-tiles .cat-tile:focus-within img { transform: scale(1.07); filter: brightness(1.12) saturate(1.1); }
.svc-tiles .cat-tile:hover::after, .svc-tiles .cat-tile:focus-within::after { width: 72px; }
.svc-tiles a.svc-link:hover .svc-go, .svc-tiles a.svc-link:focus-visible .svc-go { transform: translateX(8px) scale(1.2); }
@media (prefers-reduced-motion: reduce) { .svc-tiles .cat-tile, .svc-tiles .cat-tile img { transition: none; } .svc-tiles .cat-tile:hover { transform: none; } }
/* Readability: dark illustration on top, light text panel below, so each card reads as its own unit at a glance. */
.svc-tiles a.svc-link { background: #fff; border: 1px solid var(--line); box-shadow: 0 8px 22px rgba(11,28,56,.08); }
.svc-tiles a.svc-link img { margin-bottom: 0; background: #0B1C38; }
.svc-tiles a.svc-link span { padding: 20px 22px 46px; }
.svc-tiles a.svc-link b { color: var(--navy); }
.svc-tiles a.svc-link small { color: var(--ink-soft); }
.svc-tiles a.svc-link:hover, .svc-tiles a.svc-link:focus-visible { background-color: #fff; }
/* Smaller cards: crop the empty lower part of the illustrations. "Be om tilbud" gets a gentle pulse and a clear hover. */
.svc-tiles a.svc-link img, .svc-tiles .svc-cta img { aspect-ratio: 2 / 1; object-fit: cover; object-position: 50% 0; }
.svc-tiles .svc-cta img { margin-bottom: -20px; }
.svc-tiles a.svc-link span { padding: 16px 20px 40px; gap: 4px; }
.svc-tiles a.svc-link b { font-size: 1.12rem; }
.svc-tiles a.svc-link small { font-size: .92rem; line-height: 1.5; }
.svc-tiles .svc-cta .btn-line { transition: transform .2s, box-shadow .2s, color .2s; animation: ask-pulse 2.6s ease-out infinite; }
.svc-tiles .svc-cta .btn-line:hover, .svc-tiles .svc-cta .btn-line:focus-visible { transform: translateY(-3px) scale(1.05); background: #fff; border-color: #fff; color: #0077A8; box-shadow: 0 10px 22px rgba(0,0,0,.3), 0 0 0 3px #00ADEF; animation: none; }
@keyframes ask-pulse { 0% { box-shadow: 0 0 0 0 rgba(255,255,255,.55); } 70%, 100% { box-shadow: 0 0 0 12px rgba(255,255,255,0); } }
@media (prefers-reduced-motion: reduce) { .svc-tiles .svc-cta .btn-line { animation: none; } }

/* «Fra én tanke til ferdig produkt»: workshop picture in the background on the right, fading into the page (same as Marine og subsea) */
.i-intro { padding-top: 0; }
.i-top { position: relative; overflow: hidden; padding: 72px 0 64px; }
.i-top .wrap { position: relative; }
.i-top .split { min-height: 360px; }
.i-intro-bg { position: absolute; top: 0; right: 0; bottom: 0; width: min(62%, 1180px); pointer-events: none; -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .35) 28%, #000 58%); mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .35) 28%, #000 58%); }
.i-intro-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.i-intro-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, 0) 25%, rgba(255, 255, 255, 0) 70%, #fff 100%); }
@media (max-width: 860px) {
  .i-top { padding-top: 0; }
  .i-intro-bg { position: relative; width: auto; height: 240px; margin: 0 0 28px; -webkit-mask-image: none; mask-image: none; }
  .i-intro-bg::after { background: none; }
  .i-top .split { min-height: 0; }
}

.i-svc-lede { max-width: none !important; }
.section-head > div:has(.i-svc-lede) { flex: 1 1 100%; }
.i-svc-lede a { color: #0077A8; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
