/* EV Høytrykk og Miljø – versjon A «Solid» */
@font-face {
  font-family: "Archivo";
  src: url("/assets/fonts/archivo.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

:root {
  --orange: #ef4f01;
  --orange-dk: #c94200;
  --asphalt: #1a1f22;
  --asphalt-2: #242b2f;
  --concrete: #ecebe6;
  --line: #d6d6cf;
  --steel: #59625f;
  --text: #1a1f22;
  --white: #fff;
  --wrap: 1240px;
  --gut: clamp(16px, 4vw, 40px);
  --narrow: 72%;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0;
  font-family: "Archivo", system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  font-stretch: 100%;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.skip { position: absolute; left: -999px; top: 0; background: var(--orange); color: #fff; padding: 10px 16px; z-index: 200; }
.skip:focus { left: 16px; top: 16px; }

/* Type */
.h1, .h2, .h3, .hero__h {
  font-stretch: 72%;
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.01em;
  margin: 0 0 .45em;
  text-wrap: balance;
}
.h1 { font-size: clamp(2.6rem, 5.5vw, 4.25rem); }
.h2 { font-size: clamp(2.2rem, 4.2vw, 3.5rem); }
.h3 { font-size: clamp(1.45rem, 2.2vw, 1.8rem); margin-top: 1.6em; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: 14px 22px; font-weight: 700; text-decoration: none; border: 2px solid transparent;
  font-size: 1rem; line-height: 1.2; cursor: pointer; font-family: inherit;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn--lg { padding: 18px 28px; font-size: 1.125rem; }
.btn--block { display: flex; width: 100%; }
.btn--orange { background: var(--orange); color: #fff; }
.btn--orange:hover { background: var(--orange-dk); }
.btn--ghost { border-color: rgba(255,255,255,.7); color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--asphalt); }
.btn--dark { background: var(--asphalt); color: #fff; }
.btn--dark:hover { background: var(--orange); }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header */
.top { position: sticky; top: 0; z-index: 100; background: #fff; border-bottom: 1px solid var(--line); }
.top__in { display: flex; align-items: center; gap: 32px; min-height: 84px; }
.top__logo img { width: auto; height: 50px; }
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 600; padding: 6px 0; border-bottom: 3px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--orange); }
.top__call {
  display: grid; text-decoration: none; background: var(--orange); color: #fff;
  padding: 9px 20px 10px; line-height: 1.15;
}
.top__call:hover { background: var(--orange-dk); }
.top__call-label { font-size: .78rem; font-weight: 600; opacity: .9; }
.top__call-num { font-size: 1.3rem; font-weight: 800; font-stretch: 80%; letter-spacing: .01em; }
.burger { display: none; }

/* Hero */
.hero { position: relative; color: #fff; background: var(--asphalt); overflow: hidden; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 45%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(26,31,34,.95) 0%, rgba(26,31,34,.82) 38%, rgba(26,31,34,.25) 75%, rgba(26,31,34,.1) 100%);
}
.hero__in {
  position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 320px; align-items: end; gap: 48px;
  min-height: min(78vh, 760px); padding-top: 96px; padding-bottom: 72px;
}
.hero__h { font-size: clamp(3.1rem, 8.2vw, 7rem); line-height: .93; margin-bottom: .3em; font-stretch: 68%; }
.hero__lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); max-width: 36em; color: #e9ecec; margin-bottom: 32px; }

.vakt {
  background: rgba(26,31,34,.86); border-top: 6px solid var(--orange); padding: 24px 26px 26px;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.vakt__label { font-weight: 700; font-size: .92rem; color: #c9cfcf; margin: 0 0 4px; }
.vakt__time { font-size: 4.4rem; font-weight: 800; font-stretch: 62%; line-height: 1; margin: 0 0 10px; font-variant-numeric: tabular-nums; letter-spacing: .01em; }
.vakt__text { margin: 0 0 18px; color: #e9ecec; }
.vakt__call { display: block; text-align: center; background: var(--orange); color: #fff; text-decoration: none; font-weight: 800; font-size: 1.3rem; padding: 12px; font-stretch: 80%; }
.vakt__call:hover { background: var(--orange-dk); }

.hero__strip { position: relative; z-index: 2; background: var(--orange); }
.hero__strip-in { display: grid; grid-template-columns: repeat(3, 1fr); }
.hero__strip p { margin: 0; padding: 18px 24px 18px 0; color: #fff; font-size: 1.02rem; }
.hero__strip p + p { padding-left: 24px; border-left: 1px solid rgba(255,255,255,.35); }

/* Sections */
.sec { padding: clamp(64px, 9vw, 120px) 0; }
.sec--light { background: #fff; }
.sec--concrete { background: var(--concrete); }
.sec--dark { background: var(--asphalt); color: #fff; }
.sec__head { max-width: 760px; margin-bottom: 48px; }
.sec__lead { font-size: 1.2rem; color: var(--steel); max-width: 40em; }
.sec--dark .sec__lead { color: #c9cfcf; }

/* Service grid */
.svc-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.svc { display: flex; flex-direction: column; height: 100%; text-decoration: none; background: var(--concrete); }
.svc__media { aspect-ratio: 4 / 3; overflow: hidden; background: #fff; }
.svc__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.svc--drawn .svc__media img { object-fit: contain; padding: 8px; }
.svc__body { display: grid; gap: 6px; padding: 18px 20px 22px; border-top: 4px solid var(--orange); flex: 1; }
.svc__title { font-weight: 800; font-size: 1.35rem; font-stretch: 78%; line-height: 1.1; }
.svc__text { color: var(--steel); font-size: .98rem; line-height: 1.5; }
.svc:hover .svc__media img { transform: scale(1.04); }
.svc:hover .svc__title { color: var(--orange-dk); }

/* Akutt */
.akutt__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.steps { list-style: none; padding: 0; margin: 36px 0; display: grid; gap: 2px; }
.steps__item { display: grid; grid-template-columns: 56px 1fr; gap: 18px; align-items: start; background: var(--asphalt-2); padding: 20px 22px; }
.steps__item strong { display: block; font-size: 1.15rem; margin-bottom: 2px; }
.steps__item span:last-child { color: #c9cfcf; }
.steps__item strong { color: #fff; }
.steps__n { display: grid; place-items: center; width: 44px; height: 44px; background: var(--orange); color: #fff; font-weight: 800; font-size: 1.3rem; }
.bignum { display: inline-grid; text-decoration: none; color: var(--orange); font-weight: 800; font-stretch: 64%; font-size: clamp(3.4rem, 7.5vw, 6rem); line-height: .95; }
.bignum span { font-size: 1rem; font-stretch: 100%; color: #fff; font-weight: 700; margin-bottom: 8px; }
.bignum:hover { color: #fff; }
.plate { margin: 0; background: #fff; padding: 24px 24px 0; }
.plate img { width: 100%; height: auto; }
.plate figcaption { color: var(--asphalt); padding: 16px 0 22px; border-top: 1px solid var(--line); font-size: .98rem; }

/* Split sections */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.split__media { margin: 0; }
.split__media--drawn { background: #fff; padding: 24px; }
.split__media--drawn img { width: 100%; height: auto; max-height: 560px; object-fit: contain; }
.split__copy p { font-size: 1.12rem; max-width: 34em; }
.ticks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .5em; width: 14px; height: 8px; border-left: 3px solid var(--orange); border-bottom: 3px solid var(--orange); transform: rotate(-45deg); }
.ticks a { font-weight: 700; text-decoration-color: var(--orange); text-underline-offset: 3px; text-decoration-thickness: 2px; }
.values { margin: 28px 0 32px; display: grid; gap: 0; }
.values div { padding: 16px 0; border-top: 1px solid var(--line); }
.values div:last-child { border-bottom: 1px solid var(--line); }
.values dt { font-weight: 800; font-size: 1.2rem; font-stretch: 80%; }
.values dd { margin: 2px 0 0; color: var(--steel); }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq { border-top: 2px solid var(--asphalt); }
.faq__item { border-bottom: 1px solid #c9c9c1; }
.faq__item summary {
  list-style: none; cursor: pointer; padding: 22px 48px 22px 0; position: relative;
  font-weight: 700; font-size: 1.2rem;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 14px; margin-top: -10px;
  border-right: 3px solid var(--orange); border-bottom: 3px solid var(--orange); transform: rotate(45deg); transition: transform .2s;
}
.faq__item[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq__item p { margin: 0 0 22px; color: var(--steel); max-width: 40em; }

/* Contact band */
.contact { background: var(--orange); color: #fff; padding: clamp(56px, 8vw, 96px) 0; }
.contact .sec__lead { color: #fff; opacity: .92; }
.contact__grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 48px; align-items: center; }
.contact__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ccard { display: grid; gap: 4px; background: rgba(0,0,0,.14); color: #fff; padding: 20px 22px; text-decoration: none; }
.ccard:hover { background: var(--asphalt); }
.ccard--main { grid-column: 1 / -1; background: var(--asphalt); }
.ccard--main:hover { background: #000; }
.ccard__label { font-size: .95rem; opacity: .85; }
.ccard__value { font-weight: 800; font-stretch: 66%; font-size: clamp(2.6rem, 5vw, 4rem); line-height: 1; }
.ccard__value--sm { font-size: 1.2rem; font-stretch: 100%; line-height: 1.3; overflow-wrap: anywhere; }

/* Subpages */
.page { padding: 28px 0 clamp(64px, 9vw, 112px); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .92rem; color: var(--steel); margin-bottom: clamp(28px, 4vw, 48px); }
.crumbs a { color: var(--steel); }
.page__intro { max-width: 760px; margin-bottom: 40px; }
.page__lead { font-size: 1.28rem; line-height: 1.5; }
.page__grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(32px, 6vw, 88px); align-items: start; }
.prose { max-width: 720px; }
.prose > p { font-size: 1.1rem; }
.prose a { text-decoration-color: var(--orange); text-underline-offset: 3px; text-decoration-thickness: 2px; }
.note { background: var(--concrete); border-left: 6px solid var(--orange); padding: 18px 22px; margin: 32px 0; }
.note p { margin: 0; }
.rel { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.rel a { display: grid; gap: 4px; padding: 18px 20px; background: var(--concrete); text-decoration: none; border-top: 4px solid var(--asphalt); height: 100%; }
.rel a:hover { border-top-color: var(--orange); }
.rel span { color: var(--steel); font-size: .96rem; }

.aside { position: sticky; top: 108px; background: var(--asphalt); color: #fff; }
.aside__media { aspect-ratio: 4 / 3; overflow: hidden; background: #fff; }
.aside__media img { width: 100%; height: 100%; object-fit: cover; }
.aside__media--drawn img { object-fit: contain; padding: 10px; }
.aside__body { padding: 24px 26px 28px; border-top: 6px solid var(--orange); }
.aside__h { font-weight: 800; font-stretch: 80%; font-size: 1.35rem; margin: 0 0 4px; }
.aside__body p { color: #c9cfcf; }
.aside__body .aside__h { color: #fff; }
.aside__mail { display: block; text-align: center; margin-top: 14px; color: #fff; }
.aside--contact .aside__h { margin-top: 10px; font-size: 1.05rem; }
.aside__big { display: block; color: var(--orange); font-weight: 800; font-stretch: 64%; font-size: 3.4rem; line-height: 1; text-decoration: none; margin-bottom: 14px; }
.aside--contact p a { color: #fff; }

.svc-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.svc-row { display: grid; grid-template-columns: 200px 1fr; text-decoration: none; background: var(--concrete); height: 100%; }
.svc-row__media { background: #fff; overflow: hidden; }
.svc-row__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1; }
.svc-row__media--drawn img { object-fit: contain; padding: 6px; }
.svc-row__body { display: grid; align-content: start; gap: 8px; padding: 22px 24px; border-left: 4px solid var(--orange); }
.svc-row__title { font-weight: 800; font-stretch: 76%; font-size: 1.6rem; line-height: 1.05; }
.svc-row__text { color: var(--steel); }
.svc-row__more { font-weight: 700; text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.svc-row:hover .svc-row__title { color: var(--orange-dk); }

.values--stack { margin: 32px 0; }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.duo figure { margin: 0; background: var(--concrete); padding: 16px; }
.duo img { width: 100%; height: auto; mix-blend-mode: multiply; }
.credits { padding-left: 1.2em; display: grid; gap: 8px; }

/* Form */
.form { margin-top: 32px; display: grid; gap: 18px; }
.form__row { display: grid; gap: 6px; }
.form__row--half { grid-template-columns: 1fr 1fr; gap: 16px; }
.form__row--half > div { display: grid; gap: 6px; }
.form label { font-weight: 700; }
.form input, .form select, .form textarea {
  font: inherit; padding: 14px 14px; border: 2px solid #b9bab2; background: #fff; border-radius: 0; width: 100%; color: var(--text);
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(239,79,1,.2); }
.form__error { color: #b42318; font-weight: 700; margin: 0; }
.form .btn { justify-self: start; }

/* Footer */
.foot { background: var(--asphalt); color: #c9cfcf; padding-top: 64px; }
.foot__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.foot__brand img { width: 220px; height: auto; margin-bottom: 14px; }
.foot__h { color: #fff; font-size: 1.05rem; margin: 0 0 12px; }
.foot a { color: #fff; text-decoration: none; }
.foot a:hover { color: var(--orange); }
.foot__phone { font-weight: 800; font-stretch: 70%; font-size: 2rem; }
.foot__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.foot__bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 20px; padding-bottom: 24px; border-top: 1px solid rgba(255,255,255,.12); font-size: .92rem; }
.callbar { display: none; }

/* Responsive */
@media (max-width: 1100px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .hero__in { grid-template-columns: 1fr; align-items: start; }
  .vakt { max-width: 420px; }
  .foot__grid { grid-template-columns: 1fr 1fr; }
  .svc-list { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .nav, .top__call { display: none; }
  .top__in { min-height: 70px; justify-content: space-between; }
  .top__logo img { height: 42px; }
  .burger {
    display: grid; gap: 5px; place-content: center; width: 48px; height: 48px; padding: 0;
    border: 0; background: var(--asphalt); cursor: pointer; position: relative; z-index: 2;
  }
  .burger span { display: block; width: 22px; height: 2px; background: #fff; transition: transform .2s, opacity .2s; }
  .nav-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-open .burger span:nth-child(2) { opacity: 0; }
  .nav-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav-open .nav {
    display: grid; position: fixed; left: 0; right: 0; top: 70px; bottom: 0; background: #fff;
    padding: 24px var(--gut); align-content: start; gap: 0; margin: 0; z-index: 1; overflow-y: auto;
  }
  .nav-open .nav a { font-size: 1.6rem; font-weight: 800; font-stretch: 78%; padding: 16px 0; border-bottom: 1px solid var(--line); }
  .akutt__grid, .split, .faq-wrap, .contact__grid, .page__grid { grid-template-columns: 1fr; }
  .split--rev .split__media { order: -1; }
  .aside { position: static; }
  .hero__strip-in { grid-template-columns: 1fr; }
  .hero__strip p { padding: 12px 0; }
  .hero__strip p + p { padding-left: 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.35); }
  .callbar {
    display: flex; align-items: center; justify-content: center; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    background: var(--orange); color: #fff; font-weight: 800; text-decoration: none; padding: 15px 16px calc(15px + env(safe-area-inset-bottom));
  }
  body { padding-bottom: 56px; }
  .hero::before { background: linear-gradient(180deg, rgba(26,31,34,.55) 0%, rgba(26,31,34,.78) 45%, rgba(26,31,34,.92) 100%); }
  .hero__img { object-position: 50% 30%; }
  .vakt { display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: 18px; padding: 16px 18px; max-width: none; }
  .vakt__label { grid-column: 1 / -1; }
  .vakt__time { font-size: 3rem; margin: 0; }
  .vakt__text { margin: 0; font-size: .98rem; }
  .vakt__call { display: none; }
  .hero__in { padding-top: 64px; padding-bottom: 48px; gap: 36px; }
}
@media (max-width: 600px) {
  .svc-grid { gap: 12px; }
  .svc__body { padding: 12px 12px 14px; }
  .svc__title { font-size: 1.12rem; }
  .svc__text { font-size: .88rem; }
  .contact__cards, .rel, .form__row--half, .duo { grid-template-columns: 1fr; }
  .svc-row { grid-template-columns: 110px 1fr; }
  .svc-row__body { padding: 16px; }
  .svc-row__title { font-size: 1.3rem; }
  .svc-row__text { font-size: .95rem; }
  .foot__grid { grid-template-columns: 1fr; }
  .btns .btn { width: 100%; }
}
