/* =========================================================================
   Husby Maskin AS – nettside
   Design-tokens og komponenter gjenskapt fra design-handoffen (hifi).
   Skrifter: Oswald (display) + Barlow (brødtekst) via Google Fonts.
   ========================================================================= */

:root {
  /* Aksent */
  --yellow: #FBD824;
  --yellow-hover: #ffe14d;
  --yellow-121: #F5C21B;
  --yellow-dark: #D9AE06;
  --ink: #17140C;

  /* Mørke flater */
  --bg-base: #16140F;
  --bg-raised: #1B1811;
  --bg-footer: #100F0C;
  --card: #1E1B14;
  --card-hover: #221E16;

  /* Tekst på mørkt */
  --heading: #F4F1E9;
  --heading-2: #F7F4EC;
  --body: #D9D3C6;
  --body-2: #B7B0A2;
  --body-3: #ADA598;
  --muted: #8A8478;
  --muted-2: #75705F;
  --nav: #E7E2D7;

  /* Lys seksjon */
  --light-bg: #F3EFE6;
  --light-callout: #FBF7EA;
  --light-ink: #1B1913;
  --light-body: #4A453B;
  --light-muted: #6C6656;
  --light-border: #E6D8A6;

  /* Fonter */
  --fh: 'Oswald', system-ui, sans-serif;
  --fb: 'Barlow', system-ui, sans-serif;

  --container: min(1220px, 92vw);
  --section-pad: clamp(64px, 9vw, 120px);
  --header-h: 74px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg-base);
  color: var(--heading);
  font-family: var(--fb);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

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

.container { width: var(--container); margin: 0 auto; }

/* Lucide-ikoner settes til strektykkelse 1.6 og arver tekstfarge */
.svg-icon,
[data-lucide] { stroke-width: 1.6; }

/* =========================================================================
   KNAPPER
   ========================================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  text-decoration: none;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-family: var(--fb);
  font-weight: 800;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: transform .15s ease, background .2s ease, border-color .2s ease, color .2s ease;
}
.btn i { width: 19px; height: 19px; }
.btn-sm { height: 44px; padding: 0 22px; font-size: 0.96rem; }
.btn-sm i { width: 17px; height: 17px; }
.btn-lg { height: 58px; padding: 0 30px; font-size: 1.05rem; }
.btn-block { width: 100%; }

.btn-primary { background: var(--yellow); color: var(--ink); box-shadow: 0 14px 38px -14px rgba(251,216,36,0.55); }
.btn-primary:hover { background: var(--yellow-hover); transform: translateY(-2px); }
.btn-sm.btn-primary { box-shadow: none; }
.btn-sm.btn-primary:hover { transform: translateY(-1px); }

.btn-ghost { background: rgba(255,255,255,0.06); color: var(--heading); border: 1.5px solid rgba(255,255,255,0.30); }
.btn-ghost:hover { border-color: var(--yellow); color: var(--yellow); }

.btn-ink { background: var(--ink); color: var(--yellow); }
.btn-ink:hover { transform: translateY(-2px); }

.btn-outline-ink { background: transparent; color: var(--ink); border: 2px solid var(--ink); }
.btn-outline-ink:hover { background: var(--ink); color: var(--yellow); }

/* =========================================================================
   EYEBROW / SEKSJONSHODE
   ========================================================================= */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 16px;
  font: 700 0.82rem var(--fb);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--yellow);
}
.eyebrow-bar { width: 26px; height: 2px; background: var(--yellow); display: block; flex-shrink: 0; }
.eyebrow-light { color: var(--light-ink); }
.eyebrow-bar-light { background: var(--yellow-dark); }

.section { padding: var(--section-pad) 0; scroll-margin-top: 80px; }
.section-base { background: var(--bg-base); }
.section-raised { background: var(--bg-raised); }
#maskinpark.section-raised { border-top: 1px solid rgba(255,255,255,0.05); }

.section-head { max-width: 740px; margin-bottom: clamp(38px, 5vw, 56px); }
.section-title {
  font: 700 clamp(2rem, 4.6vw, 3.5rem)/1.1 var(--fh);
  text-transform: uppercase;
  letter-spacing: 0.006em;
  color: var(--heading);
  margin: 0 0 16px;
}
.section-intro { font: 400 clamp(1.02rem, 1.2vw, 1.16rem)/1.65 var(--fb); color: var(--body-2); margin: 0; }

/* =========================================================================
   HEADER
   ========================================================================= */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(20,18,14,0.42);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.site-header.scrolled {
  background: rgba(20,18,14,0.94);
  border-bottom-color: rgba(255,255,255,0.10);
  box-shadow: 0 12px 30px -22px rgba(0,0,0,0.9);
}
.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo-plate {
  display: inline-flex;
  align-items: center;
  background: #F4F1E9;
  padding: 7px 13px;
  border-radius: 9px;
  flex-shrink: 0;
}
.logo-plate img { height: 34px; width: auto; }
.logo-plate-lg { padding: 9px 15px; border-radius: 10px; margin-bottom: 18px; }
.logo-plate-lg img { height: 44px; }

.nav-desktop { display: flex; align-items: center; gap: 28px; }
.nav-desktop > a { text-decoration: none; color: var(--nav); font: 600 0.98rem var(--fb); letter-spacing: 0.01em; transition: color .2s ease; }
.nav-desktop > a:hover { color: var(--yellow); }
.nav-phone { display: inline-flex; align-items: center; gap: 8px; color: var(--heading) !important; font-weight: 700 !important; }
.nav-phone i { width: 17px; height: 17px; }
/* «Be om tilbud»-knappen er en .nav-desktop > a, så nav-lenkefargen (lys)
   overstyrer btn-primary sin mørke tekst. Tving svart tekst – også på hover
   (ellers blir teksten gul på gul bakgrunn). */
.nav-desktop a.btn-primary,
.nav-desktop a.btn-primary:hover { color: var(--ink); }

.hamburger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  margin-right: -8px;
  background: transparent;
  border: none;
  color: var(--heading);
  cursor: pointer;
}
.hamburger i { width: 30px; height: 30px; }

/* =========================================================================
   MOBILMENY
   ========================================================================= */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(16,15,12,0.985);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  padding: 20px 22px 26px;
  animation: fadeIn .2s ease both;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu-top { display: flex; align-items: center; justify-content: space-between; height: 54px; }
.mobile-menu-top .logo-plate img { height: 32px; }
.menu-close { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; margin-right: -8px; background: transparent; border: none; color: var(--heading); cursor: pointer; }
.menu-close i { width: 30px; height: 30px; }
.mobile-nav { display: flex; flex-direction: column; margin-top: 26px; }
.mobile-nav a { text-decoration: none; color: var(--heading); font: 700 1.55rem var(--fb); padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
.mobile-nav a:last-child { border-bottom: none; }
.mobile-menu-cta { margin-top: auto; display: flex; flex-direction: column; gap: 12px; padding-top: 24px; }
.mobile-menu-cta .btn { height: 56px; font-size: 1.05rem; }
.mobile-menu-addr { margin: 8px 0 0; color: #9C968A; font: 500 0.92rem var(--fb); text-align: center; }

/* =========================================================================
   HERO
   ========================================================================= */
.hero {
  position: relative;
  min-height: clamp(620px, 92vh, 900px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--bg-footer);
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 42%;
  transform: scale(1.08);
  will-change: transform;
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(16,15,12,0.40) 0%, rgba(16,15,12,0.05) 28%, rgba(16,15,12,0.12) 50%, rgba(16,15,12,0.64) 85%, rgba(16,15,12,0.93) 100%),
    linear-gradient(90deg, rgba(16,15,12,0.82) 0%, rgba(16,15,12,0.30) 42%, rgba(16,15,12,0) 74%);
}
.hero-accent { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--yellow); }
.hero-content {
  position: relative;
  z-index: 1;
  padding: clamp(120px, 16vh, 180px) 0 clamp(52px, 8vh, 88px);
}
.hero-eyebrow { letter-spacing: 0.26em; animation: heroUp .8s cubic-bezier(.2,.75,.25,1) both; }
.hero-eyebrow .eyebrow-bar { width: 30px; }
.hero-title {
  font: 700 clamp(2.4rem, 6.4vw, 5rem)/1.12 var(--fh);
  text-transform: uppercase;
  letter-spacing: 0.006em;
  color: var(--heading-2);
  margin: 0 0 22px;
  max-width: 18ch;
  text-shadow: 0 2px 34px rgba(0,0,0,0.45);
  animation: heroUp .8s cubic-bezier(.2,.75,.25,1) both;
  animation-delay: .08s;
}
.hero-title span { color: var(--yellow); }
.hero-sub {
  font: 400 clamp(1.05rem, 1.5vw, 1.28rem)/1.62 var(--fb);
  color: var(--body);
  margin: 0 0 34px;
  max-width: 58ch;
  animation: heroUp .8s cubic-bezier(.2,.75,.25,1) both;
  animation-delay: .16s;
}
.hero-buttons { display: flex; flex-wrap: wrap; gap: 14px; animation: heroUp .8s cubic-bezier(.2,.75,.25,1) both; animation-delay: .24s; }
.hero-buttons .btn-ghost { padding: 0 26px; }

/* =========================================================================
   TRUST-STRIPE
   ========================================================================= */
.trust { background: var(--bg-raised); border-bottom: 1px solid rgba(255,255,255,0.06); }
.trust-inner { display: flex; flex-wrap: wrap; gap: 16px 48px; padding: 24px 0; justify-content: center; align-items: center; }
.trust-item { display: flex; align-items: center; gap: 13px; color: var(--nav); font: 600 1.04rem var(--fb); }
.trust-icon { display: flex; color: var(--yellow); }
.trust-icon i { width: 24px; height: 24px; }
.trust-divider { width: 1px; height: 22px; background: rgba(255,255,255,0.12); }

/* =========================================================================
   TJENESTER
   ========================================================================= */
.services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 18px; }
.service-card {
  background: var(--card);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 8px;
  padding: 30px 26px 32px;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.service-card:hover { transform: translateY(-4px); border-color: rgba(251,216,36,0.35); background: var(--card-hover); }
.service-icon {
  width: 54px; height: 54px;
  border-radius: 8px;
  display: grid; place-items: center;
  background: rgba(251,216,36,0.10);
  border: 1px solid rgba(251,216,36,0.24);
  color: var(--yellow);
  margin-bottom: 20px;
}
.service-icon i { width: 28px; height: 28px; }
.service-card h3 { font: 700 1.28rem var(--fb); color: var(--heading); margin: 0 0 10px; }
.service-card p { font: 400 1.01rem/1.62 var(--fb); color: var(--body-3); margin: 0; }
.pill-row { margin-top: 16px; }
.pill {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 12px;
  background: rgba(251,216,36,0.12);
  border: 1px solid rgba(251,216,36,0.30);
  border-radius: 999px;
  color: var(--yellow);
  font: 700 0.76rem var(--fb);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.pill i { width: 14px; height: 14px; }

/* =========================================================================
   MASKINPARK
   ========================================================================= */
/* Ikon-basert utstyrsliste (horisontale kort) */
.equipment-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 16px; }
.equipment-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  background: var(--bg-base);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 24px 24px 26px;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.equipment-item:hover { transform: translateY(-3px); border-color: rgba(251,216,36,0.35); background: #1A1712; }
.equipment-icon {
  display: grid; place-items: center;
  width: 52px; height: 52px;
  border-radius: 8px;
  background: rgba(251,216,36,0.10);
  border: 1px solid rgba(251,216,36,0.24);
  color: var(--yellow);
  flex-shrink: 0;
}
.equipment-icon i { width: 26px; height: 26px; }
.equipment-text h3 { font: 700 1.18rem var(--fb); color: var(--heading); margin: 0 0 6px; }
.equipment-text p { font: 400 0.98rem/1.55 var(--fb); color: var(--body-3); margin: 0; }

/* =========================================================================
   PROSJEKTER
   ========================================================================= */
.projects-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 16px; }
.project-tile {
  position: relative;
  border: none; padding: 0; margin: 0;
  cursor: pointer;
  overflow: hidden;
  border-radius: 10px;
  background: var(--bg-raised);
  aspect-ratio: 4 / 3;
}
.project-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.project-tile:hover img { transform: scale(1.06); }
.project-overlay {
  position: absolute; inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(16,15,12,0.88) 100%);
  display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start;
  padding: 20px;
}
.project-see { display: inline-flex; align-items: center; gap: 7px; margin-bottom: 9px; color: var(--yellow); font: 700 0.72rem var(--fb); letter-spacing: 0.12em; text-transform: uppercase; }
.project-see i { width: 14px; height: 14px; }
.project-caption { color: var(--heading); font: 700 1.06rem/1.3 var(--fb); text-align: left; }
.projects-note { margin: 22px 0 0; color: var(--muted); font: 500 0.95rem var(--fb); }

/* =========================================================================
   OM OSS (lys seksjon)
   ========================================================================= */
.section-light { background: var(--light-bg); color: var(--light-ink); }
.about-inner { display: flex; flex-wrap: wrap; gap: clamp(32px, 5vw, 64px); align-items: center; }
.about-text { flex: 1 1 380px; min-width: min(100%, 320px); }
.about-title { color: var(--light-ink); font-size: clamp(1.9rem, 4.2vw, 3.2rem); margin-bottom: 22px; }
.about-p { font: 400 clamp(1.02rem, 1.2vw, 1.14rem)/1.7 var(--fb); color: var(--light-body); margin: 0 0 16px; }
.about-p:last-of-type { margin-bottom: 26px; }
.adk-box {
  display: flex; align-items: flex-start; gap: 16px;
  margin: 0 0 30px;
  padding: 20px 22px;
  background: var(--light-callout);
  border: 1px solid var(--light-border);
  border-radius: 10px;
}
.adk-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 8px; background: var(--yellow-121); color: var(--light-ink); flex-shrink: 0; }
.adk-icon i { width: 26px; height: 26px; }
.adk-title { font: 800 1.08rem var(--fb); color: var(--light-ink); margin-bottom: 5px; }
.adk-body { margin: 0; font: 400 0.99rem/1.55 var(--fb); color: var(--light-body); }
.certs-label { margin: 0 0 14px; font: 700 0.95rem var(--fb); color: var(--light-ink); }
.certs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 16px 20px; margin: 0 0 30px; }
.cert-item { display: flex; align-items: flex-start; gap: 13px; }
.cert-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 8px; background: rgba(217,174,6,0.14); border: 1px solid rgba(217,174,6,0.28); color: #9A7D09; flex-shrink: 0; }
.cert-icon i { width: 21px; height: 21px; }
.cert-item p { margin: 0; font: 400 0.97rem/1.5 var(--fb); color: var(--light-body); }
.cert-item strong { color: var(--light-ink); font-weight: 800; }
.stats-row { display: flex; flex-wrap: wrap; gap: 14px 40px; border-top: 1px solid rgba(27,25,19,0.14); padding-top: 26px; }
.stat-value { font: 700 clamp(2rem, 3.4vw, 2.7rem)/1.1 var(--fh); color: var(--light-ink); }
.stat-label { font: 600 0.9rem var(--fb); color: var(--light-muted); letter-spacing: 0.04em; text-transform: uppercase; margin-top: 4px; }
.about-media { flex: 1 1 340px; min-width: min(100%, 300px); }
.about-img-wrap { position: relative; border-radius: 12px; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(27,25,19,0.5); }
.about-img-wrap img { width: 100%; height: auto; }
.about-badge { position: absolute; top: 18px; left: 18px; background: var(--yellow); color: var(--ink); padding: 12px 16px; border-radius: 6px; }
.about-badge-value { font: 700 1.5rem/1.05 var(--fh); }
.about-badge-label { font: 700 0.72rem var(--fb); letter-spacing: 0.1em; text-transform: uppercase; margin-top: 3px; }
.about-caption { margin: 16px 2px 0; color: var(--light-muted); font: 600 0.96rem var(--fb); }

/* =========================================================================
   CTA-BÅND
   ========================================================================= */
.cta-band { background: var(--yellow); color: var(--ink); padding: clamp(48px, 7vw, 84px) 0; }
.cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 26px; }
.cta-text { flex: 1 1 420px; }
.cta-overline { margin: 0 0 12px; font: 700 0.8rem var(--fb); letter-spacing: 0.22em; text-transform: uppercase; color: #6B5806; }
.cta-title { font: 700 clamp(1.9rem, 3.9vw, 3rem)/1.1 var(--fh); text-transform: uppercase; letter-spacing: 0.006em; color: var(--ink); margin: 0 0 10px; }
.cta-body { font: 500 clamp(1.02rem, 1.2vw, 1.14rem)/1.55 var(--fb); color: #3F350A; margin: 0; max-width: 540px; }
.cta-buttons { display: flex; flex-wrap: wrap; gap: 14px; }

/* =========================================================================
   KONTAKT
   ========================================================================= */
.contact-inner { display: flex; flex-wrap: wrap; gap: clamp(32px, 5vw, 60px); }
.contact-form-col { flex: 1 1 400px; min-width: min(100%, 320px); }
.contact-cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 18px; }
.form-note { margin: 0; color: var(--muted); font: 500 0.9rem/1.5 var(--fb); }

.contact-info-col { flex: 1 1 300px; min-width: min(100%, 280px); }
.contact-card { background: var(--bg-base); border: 1px solid rgba(255,255,255,0.08); border-radius: 12px; padding: 30px 28px; }
.contact-card h3 { font: 700 1.24rem var(--fb); color: var(--heading); margin: 0 0 22px; }
.contact-row { display: flex; align-items: center; gap: 15px; padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,0.08); text-decoration: none; }
.contact-row:last-of-type { border-bottom: none; }
.contact-row-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 8px; background: rgba(251,216,36,0.10); border: 1px solid rgba(251,216,36,0.24); color: var(--yellow); flex-shrink: 0; }
.contact-row-icon i { width: 20px; height: 20px; }
.contact-row-label { display: block; font: 600 0.8rem var(--fb); color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; }
.contact-row-value { display: block; font: 700 1.08rem var(--fb); color: var(--heading); margin-top: 2px; }
.contact-row-value.break { word-break: break-all; }
.contact-quote { margin-top: 22px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.08); display: flex; align-items: center; gap: 11px; color: var(--yellow); font: 700 0.98rem var(--fb); }
.contact-quote i { width: 18px; height: 18px; }

/* =========================================================================
   FOOTER
   ========================================================================= */
.site-footer { background: var(--bg-footer); border-top: 1px solid rgba(255,255,255,0.07); padding: clamp(48px, 6vw, 72px) 0 36px; }
.footer-cols { display: flex; flex-wrap: wrap; gap: 34px 48px; justify-content: space-between; }
.footer-brand { flex: 1 1 300px; max-width: 420px; }
.footer-brand-name { margin: 0 0 8px; font: 700 1.02rem var(--fb); color: var(--nav); }
.footer-brand-tag { margin: 0; font: 400 0.98rem/1.6 var(--fb); color: var(--muted); }
.footer-col { flex: 0 1 auto; }
.footer-col h4 { margin: 0 0 16px; font: 700 0.82rem var(--fb); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.footer-nav { display: flex; flex-direction: column; gap: 11px; }
.footer-nav a { text-decoration: none; color: var(--body); font: 500 0.98rem var(--fb); transition: color .2s ease; }
.footer-nav a:hover { color: var(--yellow); }
.footer-contact { display: flex; flex-direction: column; gap: 11px; }
.footer-contact a,
.footer-contact span { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--body); font: 500 0.98rem var(--fb); transition: color .2s ease; }
.footer-contact a:hover { color: var(--yellow); }
.footer-contact i { width: 16px; height: 16px; }
.footer-bottom { margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.07); display: flex; flex-wrap: wrap; gap: 10px 20px; justify-content: space-between; align-items: center; }
.footer-bottom p { margin: 0; font: 500 0.9rem var(--fb); color: var(--muted-2); }
.footer-slogan { font-weight: 700 !important; color: var(--yellow) !important; letter-spacing: 0.02em; }

/* =========================================================================
   STICKY RINGEBAR (mobil)
   ========================================================================= */
.call-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 120;
  display: none;
  gap: 1px;
  background: rgba(255,255,255,0.09);
  border-top: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 -12px 30px -14px rgba(0,0,0,0.85);
}
.call-bar a { flex: 1; display: flex; align-items: center; justify-content: center; gap: 9px; height: 60px; font: 800 1.04rem var(--fb); text-decoration: none; }
.call-bar a i { width: 20px; height: 20px; }
.call-bar-call { background: var(--yellow); color: var(--ink); }
.call-bar-quote { background: #211E16; color: var(--heading); }

/* =========================================================================
   LIGHTBOX
   ========================================================================= */
.lightbox {
  position: fixed; inset: 0;
  z-index: 300;
  background: rgba(10,9,7,0.95);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  animation: fadeIn .2s ease both;
}
.lightbox[hidden] { display: none; }
.lb-btn { position: absolute; display: grid; place-items: center; width: 52px; height: 52px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.16); color: var(--heading); cursor: pointer; }
.lb-close { top: 18px; right: 18px; border-radius: 8px; }
.lb-close i { width: 26px; height: 26px; }
.lb-prev, .lb-next { top: 50%; transform: translateY(-50%); border-radius: 50%; }
.lb-prev { left: 16px; }
.lb-next { right: 16px; }
.lb-prev i, .lb-next i { width: 28px; height: 28px; }
.lb-figure { margin: 0; max-width: min(1000px, 92vw); max-height: 86vh; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.lb-figure img { max-width: 100%; max-height: 74vh; object-fit: contain; border-radius: 8px; box-shadow: 0 30px 80px -30px rgba(0,0,0,0.9); }
.lb-figure figcaption { display: flex; align-items: center; gap: 12px; color: var(--nav); font: 600 1.02rem var(--fb); text-align: center; }
.lb-counter { color: var(--yellow); font-weight: 800; }

/* =========================================================================
   SCROLL-REVEAL
   ========================================================================= */
.reveal { opacity: 0; transform: translateY(28px); }
.reveal.is-visible { animation: revUp .7s cubic-bezier(.2,.75,.25,1) both; }

/* =========================================================================
   ANIMASJONER
   ========================================================================= */
@keyframes heroUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
@keyframes revUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* =========================================================================
   RESPONSIV – enkelt brytepunkt på 960px
   ========================================================================= */
@media (max-width: 959px) {
  .nav-desktop { display: none; }
  .hamburger { display: flex; }
  .call-bar { display: flex; }
  /* Plass til ringebaren nederst på mobil */
  body { padding-bottom: 60px; }
}
@media (min-width: 960px) {
  .mobile-menu { display: none !important; }
}

/* =========================================================================
   REDUSERT BEVEGELSE
   ========================================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .hero-bg { transform: scale(1.08) !important; }
}
