/* =========================================================
   Vest Betongsaging og Kjerneboring AS – demo v2
   Presis industriell: violett + oransje fra logoen,
   sagsnitt-motiv, store ekte jobbfoto.
   ========================================================= */

@font-face {
  font-family: "Archivo";
  src: url("/assets/fonts/archivo-var.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --violet: #6b2f85;
  --violet-strong: #57266d;
  --violet-dark: #241430;
  --violet-deepest: #150b1d;
  --violet-tint: #f0e8f5;
  --orange: #ef7f1a;
  --orange-dark: #d96d08;
  --orange-deep: #c4640a;
  --ink: #221b2b;
  --body: #544d5e;
  --concrete: #f4f2f6;
  --line: #e5e1ea;
  --white: #ffffff;
  --radius: 12px;
  --radius-sm: 9px;
  --shadow: 0 10px 30px -12px rgba(34, 27, 43, 0.22);
  --shadow-sm: 0 4px 14px -6px rgba(34, 27, 43, 0.18);
  --header-h: 78px;
  --cut: 3.2rem; /* sagsnitt-vinkel */
}

/* ---------- Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: clip;
  font-family: "Archivo", "Segoe UI", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1,
h2,
h3 {
  font-weight: 800;
  line-height: 1.12;
  color: var(--ink);
  letter-spacing: -0.012em;
  margin: 0 0 0.5em;
}

h1 {
  font-size: clamp(2.5rem, 5.2vw, 4.3rem);
  line-height: 1.03;
}

h2 {
  font-size: clamp(1.75rem, 3.1vw, 2.5rem);
}

h3 {
  font-size: 1.22rem;
  line-height: 1.25;
}

p {
  margin: 0 0 1em;
}

a {
  color: var(--violet);
  text-decoration: none;
}

a:hover {
  color: var(--violet-strong);
}

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
  border-radius: 3px;
}

.container {
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: clamp(1.1rem, 4vw, 2rem);
}

.section {
  padding: clamp(3.2rem, 7vw, 5.2rem) 0;
}

.section-tinted {
  background: var(--concrete);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--violet);
  color: #fff;
  padding: 0.7em 1.2em;
  z-index: 200;
  border-radius: 0 0 8px 0;
}

.skip-link:focus {
  left: 0;
  color: #fff;
}

.ic {
  width: 1.2em;
  height: 1.2em;
  flex: none;
}

/* ---------- Typo-hjelpere ---------- */
.eyebrow {
  color: var(--orange-deep);
  font-weight: 700;
  font-size: 0.98rem;
  margin: 0 0 0.55rem;
}

.eyebrow-orange,
.eyebrow-light {
  color: var(--orange);
}

.section-head {
  max-width: 720px;
  margin-bottom: clamp(1.8rem, 4vw, 2.8rem);
}

.section-head h2 {
  margin-bottom: 0.3em;
}

.section-lead {
  font-size: 1.05rem;
  max-width: 62ch;
}

.section-head-row {
  max-width: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

/* ---------- Knapper ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  background: var(--orange);
  color: #fff;
  font: inherit;
  font-weight: 700;
  padding: 0.85em 1.55em;
  border-radius: var(--radius-sm);
  border: 0;
  cursor: pointer;
  box-shadow: 0 6px 18px -6px rgba(239, 127, 26, 0.55);
  transition: background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.btn:hover {
  background: var(--orange-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 22px -8px rgba(239, 127, 26, 0.6);
}

.btn-lg {
  font-size: 1.07rem;
  padding: 1em 1.75em;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid rgba(255, 255, 255, 0.75);
  box-shadow: none;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: #fff;
  box-shadow: none;
}

.btn-outline-dark {
  background: transparent;
  color: var(--violet);
  border: 2px solid var(--violet);
  box-shadow: none;
}

.btn-outline-dark:hover {
  background: var(--violet);
  color: #fff;
}

.btn-block {
  width: 100%;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  font-weight: 700;
  color: var(--violet);
}

.text-link .ic {
  transition: transform 0.18s ease;
}

.text-link:hover .ic {
  transform: translateX(4px);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.2s ease;
}

.site-header.scrolled {
  box-shadow: 0 6px 24px -12px rgba(34, 27, 43, 0.3);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: var(--header-h);
}

.brand img {
  width: clamp(170px, 18vw, 220px);
  height: auto;
}

.main-nav > ul {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3em;
  padding: 0.55em 0.85em;
  font: inherit;
  font-weight: 600;
  color: var(--ink);
  background: none;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
}

.nav-link:hover,
.nav-link.is-active,
.has-sub.is-active > .sub-toggle {
  color: var(--violet);
  background: var(--violet-tint);
}

.chev {
  width: 1em;
  height: 1em;
  transition: transform 0.18s ease;
}

.has-sub {
  position: relative;
}

.sub-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 220px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 0.5rem;
  list-style: none;
  margin: 0;
}

.has-sub:hover .sub-menu,
.has-sub:focus-within .sub-menu,
.has-sub.open .sub-menu {
  display: block;
}

.has-sub:hover .chev,
.has-sub.open .chev {
  transform: rotate(180deg);
}

.sub-menu a {
  display: block;
  padding: 0.6em 0.9em;
  border-radius: 8px;
  font-weight: 600;
  color: var(--ink);
}

.sub-menu a:hover,
.sub-menu a[aria-current="page"] {
  background: var(--violet-tint);
  color: var(--violet);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-weight: 800;
  color: var(--violet);
  font-size: 1.02rem;
  white-space: nowrap;
}

.header-cta {
  padding: 0.7em 1.2em;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 9px;
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  height: 3px;
  width: 100%;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

body.nav-open .nav-toggle-bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

body.nav-open .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

body.nav-open .nav-toggle-bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.nav-mobile-extra {
  display: none;
}

/* ---------- Hero (forside) ---------- */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: min(calc(100svh - var(--header-h)), 860px);
  color: #fff;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(
      100deg,
      rgba(21, 11, 29, 0.93) 0%,
      rgba(21, 11, 29, 0.78) 38%,
      rgba(21, 11, 29, 0.38) 72%,
      rgba(21, 11, 29, 0.25) 100%
    ),
    url("/assets/img/hero.webp") center / cover no-repeat;
}

.hero-inner {
  width: 100%;
  flex: 1;
  display: flex;
  align-items: center;
  padding-top: clamp(2.5rem, 6vw, 4rem);
  padding-bottom: clamp(2.5rem, 6vw, 4rem);
}

.hero-content {
  max-width: 660px;
}

.eyebrow-hero {
  color: var(--orange);
  font-weight: 700;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  margin: 0 0 0.9rem;
}

.hero h1 {
  color: #fff;
  margin-bottom: 0.35em;
}

.hero-lead {
  font-size: clamp(1.05rem, 1.7vw, 1.22rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
  max-width: 56ch;
  margin-bottom: 1.6em;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 1.4rem;
}

.hero-avail {
  display: flex;
  align-items: center;
  gap: 0.55em;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.82);
  margin: 0;
}

.hero-avail .ic {
  color: var(--orange);
}

.hero-method {
  background: rgba(18, 9, 24, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 3px solid var(--orange);
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1rem, 3vw, 2.4rem);
  padding-top: 1.3rem;
  padding-bottom: 1.3rem;
}

.method-item {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
}

.method-ic {
  width: 30px;
  height: 30px;
  color: var(--orange);
  margin-top: 0.15rem;
}

.method-title {
  font-size: 1.04rem;
  color: #fff;
  margin: 0 0 0.15em;
  letter-spacing: 0;
}

.method-item p {
  font-size: 0.86rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.74);
  margin: 0;
}

/* ---------- Tjenestekort ---------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.2rem, 2.5vw, 2rem);
}

.service-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.service-card-media {
  display: block;
  aspect-ratio: 3 / 2;
  overflow: hidden;
}

.service-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.service-card:hover .service-card-media img {
  transform: scale(1.05);
}

.service-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.5rem 1.5rem 1.6rem;
}

.service-card-body h3 {
  font-size: 1.42rem;
  margin-bottom: 0.35em;
}

.service-card-body h3 a {
  color: var(--ink);
}

.service-card-body h3 a:hover {
  color: var(--violet);
}

.service-card-body > p {
  font-size: 0.97rem;
  margin-bottom: 1em;
}

.check-list {
  list-style: none;
  margin: 0 0 1.4rem;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
}

.check-ic {
  width: 17px;
  height: 17px;
  color: var(--orange);
  margin-top: 0.22em;
}

.service-card-actions {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* ---------- Materialbånd (signatur) ---------- */
.materials-band {
  background: linear-gradient(140deg, #241430 0%, #3a1d4e 52%, #57266d 100%);
  color: #fff;
  clip-path: polygon(0 var(--cut), 100% 0, 100% calc(100% - var(--cut)), 0 100%);
  padding: calc(clamp(3.2rem, 7vw, 5rem) + var(--cut)) 0;
}

.section-head-light h2 {
  color: #fff;
}

.materials-sub {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.05rem;
  margin-top: 0.6em;
}

.materials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}

.material-tile {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  padding: 1.35rem 1.45rem;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.material-tile:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(239, 127, 26, 0.55);
  transform: translateY(-3px);
}

.material-ic {
  width: 26px;
  height: 26px;
  color: var(--orange);
  margin-bottom: 0.7rem;
}

.material-tile h3 {
  color: #fff;
  font-size: 1.12rem;
  margin-bottom: 0.25em;
}

.material-tile p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
  line-height: 1.5;
  margin: 0;
}

/* ---------- Om selskapet ---------- */
.about-grid {
  display: grid;
  grid-template-columns: minmax(300px, 440px) 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.about-media {
  position: relative;
}

.about-media::before {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  background: var(--violet-tint);
  border-radius: var(--radius);
  z-index: -1;
}

.about-media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
}

.about-media-tag {
  position: absolute;
  bottom: -16px;
  left: 20px;
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  background: var(--orange);
  color: #fff;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0.65em 1.05em;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}

.about-content p {
  font-size: 1.02rem;
}

.mission {
  margin: 1.3em 0;
  padding: 0.2em 0 0.2em 1.1em;
  border-left: 4px solid var(--orange);
  font-size: 1.13rem;
  font-weight: 600;
  color: var(--violet);
  line-height: 1.5;
}

.about-actions {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

/* ---------- Hvorfor velge oss ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}

.why-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.55rem 1.5rem;
  box-shadow: var(--shadow-sm);
}

.why-ic-wrap {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 11px;
  background: var(--violet-tint);
  color: var(--violet);
  margin-bottom: 0.9rem;
}

.why-ic {
  width: 24px;
  height: 24px;
}

.why-card h3 {
  font-size: 1.08rem;
  margin-bottom: 0.3em;
}

.why-card p {
  font-size: 0.94rem;
  margin: 0;
}

/* ---------- Galleri-utdrag ---------- */
.preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.preview-item {
  display: block;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.preview-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.preview-item:hover img {
  transform: scale(1.06);
}

/* ---------- FAQ ---------- */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
  align-items: start;
}

.faq-item,
.type-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}

.faq-item summary,
.type-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker,
.type-item summary::-webkit-details-marker {
  display: none;
}

.faq-plus {
  position: relative;
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: var(--violet-tint);
}

.faq-plus::before,
.faq-plus::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 2.4px;
  background: var(--violet);
  translate: -50% -50%;
  transition: rotate 0.2s ease;
}

.faq-plus::after {
  rotate: 90deg;
}

details[open] > summary .faq-plus::after {
  rotate: 0deg;
}

details[open] > summary .faq-plus {
  background: var(--orange);
}

details[open] > summary .faq-plus::before,
details[open] > summary .faq-plus::after {
  background: #fff;
}

.faq-item p {
  padding: 0 1.25rem 1.1rem;
  margin: 0;
  font-size: 0.96rem;
}

/* ---------- Undersider: toppbanner ---------- */
.page-hero {
  position: relative;
  color: #fff;
  background:
    linear-gradient(
      100deg,
      rgba(21, 11, 29, 0.94) 0%,
      rgba(21, 11, 29, 0.8) 45%,
      rgba(38, 17, 51, 0.55) 100%
    ),
    var(--page-hero-img, none) center / cover no-repeat,
    linear-gradient(140deg, #241430, #57266d);
}

.page-hero-violet {
  background: linear-gradient(140deg, #241430 0%, #3a1d4e 55%, #57266d 100%);
}

.page-hero-inner {
  padding-top: clamp(2.8rem, 6vw, 4.5rem);
  padding-bottom: clamp(2.8rem, 6vw, 4.5rem);
  max-width: 900px;
  margin-inline: auto;
}

.page-hero h1 {
  color: #fff;
  font-size: clamp(2.1rem, 4.2vw, 3.3rem);
}

.page-hero-lead {
  font-size: 1.12rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 60ch;
  margin-bottom: 1.4em;
}

.page-hero .hero-cta {
  margin-bottom: 0;
}

.crumbs {
  display: flex;
  gap: 0.6em;
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 1.1rem;
}

.crumbs a {
  color: rgba(255, 255, 255, 0.85);
}

.crumbs a:hover {
  color: var(--orange);
}

/* ---------- Hensyn (nummerert prosess) ---------- */
.hensyn-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: hensyn;
}

.hensyn-card {
  background: var(--concrete);
  border-radius: var(--radius);
  padding: 1.5rem 1.5rem 1.3rem;
}

.hensyn-num {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: var(--orange);
  color: #fff;
  font-weight: 800;
  font-size: 1.05rem;
  margin-bottom: 0.85rem;
}

.hensyn-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5em;
}

.hensyn-card ul {
  margin: 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.45rem;
}

.hensyn-card li {
  font-size: 0.93rem;
  line-height: 1.5;
}

.hensyn-card li::marker {
  color: var(--orange);
}

/* ---------- Ofte bestilte typer ---------- */
.types-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
  align-items: start;
}

.type-item summary {
  font-size: 1.04rem;
}

.type-body {
  padding: 0 1.25rem 1.2rem;
}

.type-body > p {
  font-size: 0.97rem;
}

.type-list-title {
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.5em;
}

.type-body .check-list {
  margin-bottom: 0;
}

/* ---------- Andre tjenester ---------- */
.other-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.other-card {
  position: relative;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 5 / 2;
  box-shadow: var(--shadow-sm);
}

.other-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.other-card:hover img {
  transform: scale(1.05);
}

.other-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(21, 11, 29, 0) 30%, rgba(21, 11, 29, 0.82) 100%);
}

.other-card-label {
  position: absolute;
  left: 1.3rem;
  bottom: 1.1rem;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  color: #fff;
  font-weight: 800;
  font-size: 1.3rem;
}

/* ---------- Bestillingsbånd ---------- */
.contact-band {
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(107, 47, 133, 0.45), transparent 65%),
    var(--violet-deepest);
  color: #fff;
  padding: clamp(3.2rem, 7vw, 5.2rem) 0;
}

.contact-band-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.contact-band-title {
  color: #fff;
  margin-bottom: 0.3em;
}

.contact-band-sub {
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 1.8em;
}

.inquiry-form label {
  display: block;
  margin-bottom: 1rem;
}

.inquiry-form label span {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 0.35rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.inquiry-form input,
.inquiry-form textarea {
  width: 100%;
  font: inherit;
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  padding: 0.75em 0.95em;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.inquiry-form input::placeholder,
.inquiry-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.inquiry-form input:focus,
.inquiry-form textarea:focus {
  outline: none;
  border-color: var(--orange);
  background: rgba(255, 255, 255, 0.11);
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
  margin-top: 1.3rem;
}

.form-note {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.62);
  max-width: 34ch;
  margin: 0;
}

.contact-band-channels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

.channel-card {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  padding: 1.25rem 1.3rem;
  color: #fff;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

a.channel-card:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(239, 127, 26, 0.6);
  color: #fff;
  transform: translateY(-3px);
}

.channel-ic {
  width: 26px;
  height: 26px;
  color: var(--orange);
  margin-bottom: 0.5rem;
}

.channel-label {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.62);
  font-weight: 600;
}

.channel-value {
  font-weight: 700;
  font-size: 1.02rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

/* ---------- Kontaktside ---------- */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
}

.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
  box-shadow: var(--shadow-sm);
  color: var(--body);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

a.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(239, 127, 26, 0.5);
  color: var(--body);
}

.contact-ic {
  width: 30px;
  height: 30px;
  color: var(--orange);
  margin-bottom: 0.8rem;
}

.contact-card h2 {
  font-size: 1.12rem;
  margin-bottom: 0.25em;
}

.contact-value {
  font-weight: 800;
  color: var(--violet);
  font-size: 1.05rem;
  margin-bottom: 0.4em;
  overflow-wrap: anywhere;
}

.contact-card p:last-child {
  font-size: 0.9rem;
  margin: 0;
}

.contact-facts {
  margin-top: 2rem;
  padding: 1.1rem 1.4rem;
  background: var(--concrete);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
}

.contact-facts p {
  margin: 0;
}

/* ---------- Misjonsbånd + nyheter (om oss) ---------- */
.mission-band {
  background: linear-gradient(140deg, #241430 0%, #3a1d4e 55%, #57266d 100%);
  color: #fff;
  clip-path: polygon(0 var(--cut), 100% 0, 100% calc(100% - var(--cut)), 0 100%);
  padding: calc(clamp(3rem, 6vw, 4.5rem) + var(--cut)) 0;
}

.mission-band blockquote {
  margin: 0 0 0.8em;
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  font-weight: 800;
  line-height: 1.3;
  color: #fff;
  max-width: 26ch;
  letter-spacing: -0.01em;
}

.mission-band-text {
  color: rgba(255, 255, 255, 0.78);
  max-width: 70ch;
  margin: 0;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}

.news-card {
  background: var(--concrete);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.news-date {
  font-weight: 700;
  color: var(--orange-deep);
  font-size: 0.88rem;
  margin-bottom: 0.5em;
}

.news-card h3 {
  font-size: 1.12rem;
  margin-bottom: 0.35em;
}

.news-card p:last-child {
  font-size: 0.95rem;
  margin: 0;
}

/* ---------- Galleri-side ---------- */
.masonry {
  columns: 3 300px;
  column-gap: 1rem;
}

.masonry-item {
  display: block;
  width: 100%;
  margin: 0 0 1rem;
  padding: 0;
  border: 0;
  background: none;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: zoom-in;
  break-inside: avoid;
  box-shadow: var(--shadow-sm);
}

.masonry-item img {
  width: 100%;
  transition: transform 0.35s ease;
}

.masonry-item:hover img {
  transform: scale(1.04);
}

.lightbox {
  border: 0;
  border-radius: var(--radius);
  padding: 0;
  background: var(--violet-deepest);
  max-width: min(92vw, 900px);
  max-height: 90vh;
}

.lightbox::backdrop {
  background: rgba(15, 7, 20, 0.85);
}

.lightbox img {
  max-width: 100%;
  max-height: 78vh;
  width: auto;
  height: auto;
  margin-inline: auto;
}

.lightbox-caption {
  color: rgba(255, 255, 255, 0.85);
  text-align: center;
  font-size: 0.92rem;
  padding: 0.7rem 1rem 1rem;
  margin: 0;
}

.lightbox-close {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.lightbox-close:hover {
  background: var(--orange);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--violet-deepest);
  color: rgba(255, 255, 255, 0.78);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.15fr 1fr;
  gap: clamp(1.8rem, 4vw, 3rem);
  padding-top: clamp(2.8rem, 6vw, 4rem);
  padding-bottom: clamp(2.2rem, 5vw, 3rem);
}

.footer-brand img {
  width: 210px;
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.95rem;
  max-width: 34ch;
}

.footer-org {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.55);
}

.site-footer h3 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 0.9rem;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 500;
}

.footer-links a:hover {
  color: var(--orange);
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}

.footer-contact .ic {
  color: var(--orange);
  margin-top: 0.2em;
}

.footer-hours {
  font-size: 0.95rem;
  margin-bottom: 1.2rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.1rem 0;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.55);
}

/* ---------- Reveal ---------- */
html.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

html.js .reveal.in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  html.js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn,
  .service-card,
  .service-card-media img,
  .preview-item img,
  .masonry-item img,
  .other-card img {
    transition: none !important;
  }
}

/* ---------- Responsivt ---------- */
@media (max-width: 1080px) {
  .service-grid {
    grid-template-columns: 1fr 1fr;
  }

  .materials-grid,
  .why-grid,
  .hensyn-grid,
  .news-grid {
    grid-template-columns: 1fr 1fr;
  }

  .contact-cards {
    grid-template-columns: 1fr 1fr;
  }

  .header-cta {
    display: none;
  }
}

@media (max-width: 1000px) {
  .nav-toggle {
    display: flex;
  }

  .main-nav {
    display: none;
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    padding: 1.4rem clamp(1.1rem, 4vw, 2rem) 2.5rem;
    overflow-y: auto;
    z-index: 99;
  }

  body.nav-open .main-nav {
    display: block;
  }

  body.nav-open {
    overflow: hidden;
  }

  .main-nav > ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0.2rem;
  }

  .nav-link {
    width: 100%;
    justify-content: space-between;
    font-size: 1.15rem;
    padding: 0.8em 0.6em;
  }

  .sub-menu {
    position: static;
    display: none;
    border: 0;
    box-shadow: none;
    padding: 0 0 0 1rem;
    min-width: 0;
  }

  .has-sub.open .sub-menu {
    display: block;
  }

  .sub-menu a {
    font-size: 1.05rem;
    padding: 0.7em 0.6em;
  }

  .nav-mobile-extra {
    display: grid;
    gap: 0.8rem;
    margin-top: 1.6rem;
  }

  .method-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.1rem;
  }
}

@media (max-width: 760px) {
  :root {
    --cut: 2rem;
    --header-h: 68px;
  }

  .header-phone span {
    display: none;
  }

  .service-grid,
  .faq-grid,
  .types-grid,
  .other-grid,
  .form-row,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .contact-band-grid {
    grid-template-columns: 1fr;
  }

  .about-media {
    max-width: 440px;
  }

  .about-grid {
    align-items: start;
  }

  .about-media::before {
    inset: 12px -8px -12px 12px;
  }

  .about-media {
    margin-right: 8px;
  }

  .about-content {
    padding-top: 1.6rem;
  }

  .hero {
    min-height: 0;
  }

  .hero-inner {
    padding-top: 3.2rem;
    padding-bottom: 3rem;
  }

  .masonry {
    columns: 2 160px;
  }
}

@media (max-width: 560px) {
  .materials-grid,
  .why-grid,
  .hensyn-grid,
  .news-grid,
  .contact-cards,
  .contact-band-channels,
  .method-grid,
  .preview-grid {
    grid-template-columns: 1fr;
  }

  .preview-grid {
    grid-template-columns: 1fr 1fr;
  }

  .preview-item {
    aspect-ratio: 1;
  }

  .btn-lg {
    width: 100%;
  }

  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .method-grid {
    grid-template-columns: 1fr 1fr;
  }

  .method-item {
    flex-direction: column;
    gap: 0.4rem;
  }

  .method-item p {
    display: none;
  }

  .method-title {
    font-size: 0.95rem;
  }

  .method-ic {
    width: 24px;
    height: 24px;
  }
}
