:root {
  --blue-50:  #eef4f8;
  --blue-100: #d4e3ed;
  --blue-200: #a4c2d4;
  --blue-300: #6d9bb9;
  --blue-400: #3d779d;
  --blue-500: #1d5a82;
  --blue-600: #154566;
  --blue-700: #0f334c;
  --blue-800: #0a2236;
  --blue-900: #061722;

  --ink:      #0d1418;
  --ink-2:    #1e2a32;
  --text:     #3e4a52;
  --text-mute: #6b7780;
  --text-dim: #9aa3aa;
  --line:     #e2e6ea;
  --line-soft: #eef0f3;
  --bg:       #ffffff;
  --bg-2:     #f5f7f9;
  --bg-3:     #eaeef2;

  --max-w: 1320px;
  --gutter: 32px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

/* Anchor-targets respekterar sticky topbar */
[id]:target { scroll-margin-top: 96px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
body {
  font-family: 'Manrope', -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.005em;
}
img { max-width: 100%; display: block; }

/* === TOP NAV — Qtechs egen logga === */
.topbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.topbar-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 16px var(--gutter);
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px;
}
.topbar-logo {
  display: flex; align-items: center;
}
.topbar-logo img {
  height: 38px;
  width: auto;
}
.topbar-nav {
  display: flex; gap: 32px;
  list-style: none;
}
.topbar-nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: -0.005em;
  transition: color 0.2s;
}
.topbar-nav a:hover { color: var(--blue-500); }
.topbar-cta {
  background: var(--blue-500);
  color: #fff;
  padding: 11px 22px;
  border: none;
  font-family: inherit;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
  transition: background 0.2s;
}
.topbar-cta:hover { background: var(--blue-600); }

.topbar-right {
  display: flex;
  align-items: center;
  gap: 18px;
}
.topbar-lang {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.topbar-lang a {
  color: var(--text-mute);
  text-decoration: none;
  padding: 4px 6px;
  transition: color 0.2s;
}
.topbar-lang a:hover { color: var(--blue-500); }
.topbar-lang a.active {
  color: var(--ink);
}
.topbar-lang .sep {
  color: var(--text-dim);
  font-weight: 400;
}

.topbar-hamburger {
  display: none;
  background: none;
  border: 1px solid var(--line);
  cursor: pointer;
  padding: 8px;
  border-radius: 4px;
  color: var(--ink);
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s;
}
.topbar-hamburger i { font-size: 22px; }
.topbar-hamburger:hover { background: var(--bg-2); border-color: var(--text-mute); }

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0; /* explicit nedre ankare som skydd om en framtida WebKit-version ändrar svh-tolkning */
  height: 100vh;   /* fallback för browsers utan svh (< iOS Safari 15.4) */
  height: 100svh;  /* Small Viewport Height = viewporten med ALL browser-UI expanderad, dvs
                      iOS Chromes persistenta bottom-bar inräknad. 100dvh kan på första frame
                      i en fixed-overlay resolvera till 100lvh och placera nedre kanten BAKOM
                      Chromes overlay — 100svh garanterar att botten alltid syns. */
  background: var(--bg);
  z-index: 200;
  display: flex;
  flex-direction: column;
  overflow-y: auto; /* scroll-fallback i landscape / iPhone SE där 100svh < innehåll */
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain; /* hindrar scroll-chain till body bakom menyn */
  transform: translateX(100%);
  transition: transform 0.3s ease;
  visibility: hidden;
}
.mobile-menu.open { transform: translateX(0); visibility: visible; }
.mobile-menu-header {
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
}
.mobile-menu-header img { height: 28px; width: auto; }
.mobile-menu-close {
  background: none;
  border: 1px solid var(--line);
  border-radius: 4px;
  cursor: pointer;
  padding: 8px;
  color: var(--ink);
  display: flex;
  align-items: center;
}
.mobile-menu-close i { font-size: 22px; }
.mobile-menu nav {
  flex: 1 1 auto;
  min-height: 0; /* klassisk WebKit-flex-fix: tillåter scroll inuti nav istället för att
                    pressa footer off-screen när innehållet är högre än container */
  padding: 32px 24px 24px;
  display: flex;
  flex-direction: column;
}
.mobile-menu nav a {
  font-size: 26px;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-soft);
  letter-spacing: -0.015em;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mobile-menu nav a i { color: var(--text-mute); font-size: 18px; }
.mobile-menu nav a:hover { color: var(--blue-500); }
.mobile-menu-footer {
  /* 100svh på .mobile-menu absorberar redan iOS Chromes bottom-bar. Padding-bottom
     skyddar bara hardware home-indicator via env() + en balanserad luftbuffert (28px). */
  padding: 24px 24px calc(28px + env(safe-area-inset-bottom, 0px));
  display: flex;
  flex-direction: column;
  gap: 18px;
  border-top: 1px solid var(--line);
  flex-shrink: 0; /* CTA-höjden är okränkbar oavsett nav-längd */
}
.mobile-menu-lang {
  display: flex;
  gap: 4px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  align-items: center;
}
.mobile-menu-lang a {
  color: var(--text-mute);
  text-decoration: none;
  padding: 6px 10px;
}
.mobile-menu-lang a.active { color: var(--ink); }
.mobile-menu-lang .sep { color: var(--text-dim); }
.mobile-menu-footer .btn { justify-content: center; padding: 16px 28px; }
body.menu-open { overflow: hidden; }

/* === SECTIONS === */
section { padding: 64px 0; }
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.section-head { margin-bottom: 56px; max-width: 720px; }

/* === TYPOGRAPHY === */
.eyebrow {
  font-size: 11.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue-500);
  font-weight: 700;
  display: inline-flex; align-items: center; gap: 12px;
  margin-bottom: 20px;
}
.eyebrow::before {
  content: '';
  width: 28px; height: 1px;
  background: var(--blue-500);
}
.h1 {
  font-size: clamp(44px, 5.4vw, 76px); /* fluid skala — Marstrom-känsla */
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.022em;
  color: var(--ink);
}
.h2 {
  font-size: 44px;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.022em;
  color: var(--ink);
}
.h3 {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.012em;
  color: var(--ink);
}
.lead {
  font-size: 19px;
  line-height: 1.6;
  color: var(--text);
  max-width: 640px;
  margin-top: 20px;
}

/* === HERO === */
.hero-video-section {
  position: relative;
  width: 100%;
  height: 72vh;
  min-height: 520px;
  max-height: 740px;
  overflow: hidden;
  background: var(--ink);
}
.hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 1;
}
.hero-video-frame {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 3;
  padding: 28px 40px;
  background: linear-gradient(180deg, rgba(13,20,24,0.55) 0%, transparent 100%);
  display: flex; justify-content: center;
  pointer-events: none;
}
.hero-video-frame-inner {
  max-width: var(--max-w);
  width: 100%;
  display: flex;
  justify-content: space-between;
  color: rgba(255,255,255,0.9);
  font-size: 11.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
}
.hero-video-frame span { display: flex; align-items: center; gap: 10px; }
.hero-video-frame .live-dot {
  width: 7px; height: 7px;
  background: var(--blue-300);
  border-radius: 50%;
  animation: heroPulse 2s infinite;
}
@keyframes heroPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* === HERO TEXT UNDER === */
.hero-text {
  background: var(--bg);
  padding: 80px 0 96px;
}
.hero-text-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: stretch;
}
.hero-text-inner > div:first-child { align-self: end; }
@media (max-width: 900px) {
  .hero-text-inner { grid-template-columns: 1fr; gap: 40px; }
}
.hero-text h1 {
  font-size: 64px;
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.028em;
  color: var(--ink);
  margin-bottom: 28px;
}
.hero-text-lead {
  font-size: 19px;
  line-height: 1.6;
  color: var(--text);
  margin-bottom: 36px;
  max-width: 580px;
}
.hero-cta-row { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }

/* Hero-bild — PLATSHÅLLARE från Unsplash (Sven Daniel, CNC-svarvning).
   Byt mot Qtechs egen produktbild när tillgänglig. */
.hero-image {
  align-self: stretch;
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  background: var(--bg-3);
}
@media (max-width: 900px) {
  .hero-image { min-height: 360px; max-height: 480px; }
}

.hero-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 2px solid var(--blue-500);
}
.hero-info-cell {
  padding: 20px 22px 18px 0;
  border-right: 1px solid var(--line);
}
.hero-info-cell:nth-child(2) { padding-right: 0; padding-left: 22px; border-right: none; }
.hero-info-cell:nth-child(3) { padding-top: 18px; }
.hero-info-cell:nth-child(4) { padding-top: 18px; padding-left: 22px; }
.hero-info-cell:nth-child(3), .hero-info-cell:nth-child(4) {
  border-top: 1px solid var(--line);
  margin-top: 18px;
  padding-bottom: 0;
}
.hero-info-cell .lbl {
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue-500);
  margin-bottom: 6px;
  font-weight: 700;
}
.hero-info-cell .val {
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.hero-info-cell .desc {
  font-size: 12.5px;
  color: var(--text-mute);
  margin-top: 4px;
}

/* === BUTTONS === */
.btn {
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -0.005em;
  padding: 14px 28px;
  border: none;
  cursor: pointer;
  display: inline-flex; align-items: center; gap: 10px;
  transition: all 0.2s;
  text-decoration: none;
}
.btn-primary { background: var(--blue-500); color: #fff; }
.btn-primary:hover { background: var(--blue-600); transform: translateY(-1px); }

/* Pil-shift på alla CTA-knappar med ikon */
.btn i {
  font-size: 16px;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn-primary:hover i,
.btn-outline:hover i,
.btn-light:hover i,
.btn-on-dark:hover i {
  transform: translateX(3px);
}
@media (prefers-reduced-motion: reduce) {
  .btn i { transition: none; }
  .btn:hover i { transform: none; }
}
.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
}
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--blue-50); }
.btn-on-dark {
  background: #fff;
  color: var(--ink);
}
.btn-on-dark:hover { background: var(--blue-50); }

/* === INDUSTRIER — ASTOR-STIL FULL BREDD === */
.industries-section {
  background: var(--bg);
  padding: 120px 0 80px;
}
.industries-head {
  max-width: 820px;
  margin: 0 auto 80px;
  text-align: center;
  padding: 0 var(--gutter);
}
.industries-head .eyebrow { justify-content: center; }
.industries-head h2 { font-size: 52px; }
.industries-head .lead { margin-left: auto; margin-right: auto; }

/* Industri-blocken går hela vägen ut - full bredd */
.industry-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--blue-800);
  overflow: hidden;
  min-height: 680px;
  width: 100%;
}
.industry-block:nth-child(even) > div:first-child { order: 2; }

.industry-img {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--blue-700), var(--ink));
  min-height: 680px;
  height: 100%;
}
.industry-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.industry-block:hover .industry-img img { transform: scale(1.03); }

.industry-content {
  padding: 64px 56px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.industry-eyebrow {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #d97f1f;
  font-weight: 700;
  margin-bottom: 20px;
}
.industry-content h3 {
  font-size: 38px;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.022em;
  color: #fff;
  margin-bottom: 24px;
  max-width: 460px;
}
.industry-content .lead-text {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255,255,255,0.78);
  margin-bottom: 32px;
  max-width: 520px;
}
.industry-content ul {
  list-style: none;
  margin-bottom: 36px;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.industry-content ul li {
  display: flex; align-items: start; gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  font-size: 14.5px;
  color: rgba(255,255,255,0.85);
}
.industry-content ul li i {
  color: var(--blue-300);
  font-size: 18px;
  margin-top: 2px;
  flex-shrink: 0;
}
.industry-content ul li strong { color: #fff; font-weight: 600; }

.industry-readmore {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  color: var(--ink);
  padding: 14px 26px;
  font-family: inherit;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  border-radius: 999px;
  align-self: flex-start;
  transition: background 0.2s, gap 0.2s;
}
.industry-readmore:hover {
  background: var(--blue-50);
  gap: 14px;
}

/* === SMÅKORT FÖR ÖVRIGA INDUSTRIER === */
.industries-cards-section {
  background: var(--bg);
  padding: 80px 0 120px;
}
.industries-cards-head {
  max-width: 820px;
  margin: 0 auto 48px;
  text-align: center;
  padding: 0 var(--gutter);
}
.industries-cards-head .eyebrow { justify-content: center; }
.industries-cards-head h3 {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-top: 12px;
  color: var(--ink);
}
.industries-cards-grid {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.industry-card {
  background: var(--bg-2);
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s;
}
.industry-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(13, 20, 24, 0.12);
}
.industry-card-img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: linear-gradient(135deg, var(--blue-700), var(--ink));
}
.industry-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.industry-card:hover .industry-card-img img { transform: scale(1.06); }
.industry-card-body {
  padding: 24px 24px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.industry-card-body h4 {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 10px;
  color: var(--ink);
}
.industry-card-body p {
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(13, 20, 24, 0.7);
  margin-bottom: 18px;
  flex: 1;
}
.industry-card-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--blue-500);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  letter-spacing: 0.02em;
}
.industry-card-link i { font-size: 16px; transition: transform 0.2s; }
.industry-card:hover .industry-card-link i { transform: translateX(3px); }

@media (max-width: 1024px) {
  .industries-cards-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .industries-cards-grid { grid-template-columns: 1fr; }
}

/* === TJÄNSTER — MÖRK BLÅ ÖVERSIKT === */
.services-dark {
  background: var(--blue-700);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.services-dark::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
}
.services-dark .container { position: relative; z-index: 1; }
.services-dark .eyebrow { color: var(--blue-300); }
.services-dark .eyebrow::before { background: var(--blue-300); }
.services-dark h2 { color: #fff; }
.services-dark .lead { color: rgba(255,255,255,0.75); }

.services-grid-4 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.service-area {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  padding: 28px 28px 24px;
  transition: background 0.25s, border-color 0.25s, transform 0.25s;
  display: flex;
  flex-direction: column;
}
.service-area:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.22);
  transform: translateY(-2px);
}
.service-area-num {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue-300);
  font-weight: 700;
  margin-bottom: 14px;
}
.service-area > i.service-area-icon {
  font-size: 26px;
  color: var(--blue-300);
  margin-bottom: 14px;
  display: block;
}
.service-area h4 {
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 10px;
}
.service-area > p {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  line-height: 1.55;
  margin-bottom: 16px;
}
.service-area ul.service-sublist {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.service-area ul.service-sublist li {
  padding: 9px 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  font-size: 13.5px;
  color: rgba(255,255,255,0.85);
  display: flex;
  align-items: center;
  gap: 12px;
  line-height: 1.4;
}
.service-area ul.service-sublist li i {
  font-size: 16px;
  color: var(--blue-300);
  flex-shrink: 0;
}
.service-area .service-area-link {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  align-self: flex-start;
  transition: gap 0.2s, color 0.2s;
}
.service-area .service-area-link:hover {
  gap: 14px;
  color: var(--blue-300);
}
@media (max-width: 860px) {
  .services-grid-4 { grid-template-columns: 1fr; }
  .service-area { padding: 28px 24px 24px; }
  .service-area h4 { font-size: 21px; }
}

.services-cta-row {
  margin-top: 56px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.services-cta-row p {
  color: rgba(255,255,255,0.75);
  font-size: 15px;
  max-width: 480px;
}

/* === TJÄNSTER — CLEAN GRID (2025-06-13) === */
.services-light {
  background: var(--bg);
  padding: 80px 0;
}
.services-light .section-head {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 64px;
  margin-bottom: 56px;
  align-items: start;
  max-width: none;
}
.services-light .section-head > div { padding-top: 4px; }
.services-light .section-head .lead { margin-top: 0; max-width: none; }
.process-timeline {
  display: flex;
  flex-direction: column;
  margin-top: 40px;
  border-top: 1px solid var(--line);
}
.process-step {
  display: grid;
  grid-template-columns: 110px 1fr 40px;
  gap: 40px;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  align-items: start;
  transition: background 0.25s;
}
.process-step:hover { background: var(--bg-2); }
.process-step-num {
  font-size: 44px;
  font-weight: 800;
  color: var(--blue-200);
  letter-spacing: -0.025em;
  line-height: 0.95;
  font-variant-numeric: tabular-nums;
}
.process-step-content h4 {
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
  letter-spacing: -0.015em;
  line-height: 1.25;
}
.process-step-content p {
  font-size: 15px;
  color: var(--text);
  line-height: 1.55;
  max-width: 620px;
  margin: 0;
}
.process-step-arrow {
  font-size: 22px;
  color: var(--text-mute);
  align-self: center;
  justify-self: end;
  transition: transform 0.2s, color 0.2s;
}
.process-step:hover .process-step-arrow {
  color: var(--blue-500);
  transform: translateX(4px);
}
@media (max-width: 800px) {
  .services-light .section-head { grid-template-columns: 1fr; gap: 24px; }
  .process-step {
    grid-template-columns: 56px 1fr;
    gap: 16px;
    padding: 24px 0;
  }
  .process-step-num { font-size: 28px; line-height: 1; padding-top: 4px; }
  .process-step-content h4 { font-size: 18px; }
  .process-step-content p { font-size: 14px; }
  .process-step-arrow { display: none; }
}

/* === KARRIÄR-BANNER === */
.career-banner {
  position: relative;
  min-height: 540px;
  overflow: hidden;
  background: var(--ink);
  display: flex;
  align-items: center;
}
.career-banner-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.5;
  z-index: 1;
}
.career-banner-overlay {
  position: absolute; inset: 0;
  z-index: 2;
  background: linear-gradient(90deg, rgba(13,20,24,0.85) 0%, rgba(13,20,24,0.5) 100%);
}
.career-banner-inner {
  position: relative;
  z-index: 3;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 100px var(--gutter);
  color: #fff;
}
.career-banner-content { max-width: 640px; }
.career-banner .eyebrow {
  color: var(--blue-300);
}
.career-banner .eyebrow::before {
  background: var(--blue-300);
}
.career-banner h2 {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.022em;
  color: #fff;
  margin-bottom: 24px;
}
.career-banner-lead {
  font-size: 18px;
  line-height: 1.65;
  color: rgba(255,255,255,0.82);
  margin-bottom: 36px;
  max-width: 540px;
}
.career-banner-tags {
  display: flex; gap: 10px; flex-wrap: wrap;
  margin-bottom: 36px;
}
.career-tag {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 500;
}

/* === IDENTITY === */
.identity {
  background: var(--bg-2);
  padding: 140px 0;
  text-align: center;
}
.identity-inner {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
  padding: 0 var(--gutter);
}
.identity .eyebrow { justify-content: center; margin-bottom: 32px; }
.identity h2 {
  font-size: 56px;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: 32px;
}
.identity p {
  font-size: 19px;
  line-height: 1.6;
  color: var(--text);
  max-width: 720px;
  margin: 0 auto 40px;
}

/* === FOOTER === */
.footer {
  background: var(--ink);
  color: rgba(255,255,255,0.7);
  padding: 80px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 56px;
  margin-bottom: 56px;
}
.footer-brand .logo img {
  height: 36px;
  width: auto;
  margin-bottom: 18px;
  filter: brightness(0) invert(1);
}
.footer-brand p { font-size: 14px; line-height: 1.6; max-width: 360px; }
.footer-col h5 {
  font-size: 11.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue-300);
  font-weight: 700;
  margin-bottom: 20px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { padding: 6px 0; font-size: 14px; }
.footer-col a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 28px;
  display: flex; justify-content: space-between;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}

/* === DS-DOC === */
.ds-section {
  padding: 64px 0;
  border-top: 1px solid var(--line);
}
.ds-section h2 { font-size: 32px; margin-bottom: 12px; }
.ds-section .ds-desc {
  font-size: 15px;
  color: var(--text-mute);
  max-width: 600px;
  margin-bottom: 40px;
}
.ds-swatches {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 8px;
  margin-bottom: 28px;
}
.ds-swatch {
  aspect-ratio: 1;
  display: flex; flex-direction: column;
  justify-content: flex-end;
  padding: 10px;
  font-size: 10px;
  font-weight: 700;
}

@media (max-width: 900px) {
  .h1, .hero-text h1 { font-size: 44px; }
  .h2, .identity h2, .industries-head h2 { font-size: 32px; }
  .topbar-nav { display: none; }
  .hero-text-inner { grid-template-columns: 1fr; gap: 40px; }
  .industry-block { grid-template-columns: 1fr; min-height: auto; }
  .industry-block:nth-child(even) > div:first-child { order: 0; }
  .industry-img { min-height: 320px; }
  .industry-content { padding: 40px 32px; }
  .industry-content h3 { font-size: 28px; }
  .services-overview-grid { grid-template-columns: 1fr 1fr; }
  .services-cta-row { flex-direction: column; gap: 24px; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 700px) {
  .topbar-cta, .topbar-lang { display: none; }
  .topbar-hamburger { display: flex; }
}

@media (max-width: 600px) {
  .topbar-inner { padding: 12px 16px; gap: 12px; }
  .topbar-logo img { height: 30px; }
  .topbar-right { gap: 8px; }
  .hero-video-section { aspect-ratio: 3/2; height: auto; min-height: 0; max-height: none; }
  .hero-video-frame { padding: 16px 20px; }
  .hero-video-frame-inner { font-size: 9.5px; letter-spacing: 0.18em; gap: 16px; }
  .h1, .hero-text h1 { font-size: 36px; }
  .h2, .identity h2, .industries-head h2 { font-size: 26px; }
  .industries-head h2 { font-size: 30px; }
  .industries-head { padding: 0 var(--gutter); margin: 0 auto 24px; }
  .industries-head .lead { font-size: 16px; }
  section { padding: 40px 0; }
  section.hero-text { padding: 24px 0 32px !important; }
  section.industries-section { padding: 40px 0 0 !important; }
  .services-light { padding: 36px 0; }
  .industries-small-head { margin: 40px auto 24px; }
  .industries-small-grid { padding-bottom: 8px; }
  .identity { padding: 40px 0; }
  .career-banner { min-height: 360px; }
  .footer { padding: 40px 0; }
  .industry-content { padding: 32px 24px; }
  .industry-content h3 { font-size: 24px; }
  .industry-content .lead-text { font-size: 15px; }
  .industries-small-head { margin: 60px auto 32px; }
  .industries-small-head h3 { font-size: 26px; }
  .industries-small-grid { grid-template-columns: 1fr; gap: 24px; padding: 0 var(--gutter); }
  .services-light .section-head { margin-bottom: 32px; }
  .services-light .lead { font-size: 16px; }
  .career-banner { min-height: 420px; }
  .career-banner h2 { font-size: 30px; }
  .career-banner-lead { font-size: 15px; }
  .identity-inner { padding: 0 var(--gutter); }
  .identity p { font-size: 16px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; align-items: flex-start; }
}

/* Små industri-kort (2x4 grid) */
.industries-small-head {
  max-width: 820px;
  margin: 100px auto 48px;
  text-align: center;
  padding: 0 var(--gutter);
}
.industries-small-head h3 {
  font-size: 38px;
  font-weight: 700;
  letter-spacing: -0.022em;
  line-height: 1.1;
  color: var(--ink);
  margin-top: 16px;
}
.industries-small-head .lead {
  margin: 18px auto 0;
  max-width: 640px;
}
.industries-small-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter) 60px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.industry-small {
  background: var(--bg);
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  text-decoration: none;
}
.industry-small:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(13, 20, 24, 0.12);
}
.industry-small-img {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--blue-700);
}
.industry-small-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  display: block;
}
.industry-small:hover .industry-small-img img {
  transform: scale(1.06);
}
.industry-small-content {
  padding: 26px 24px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.industry-small h4 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 12px;
  color: var(--ink);
  line-height: 1.22;
}
.industry-small p {
  font-size: 14.5px;
  line-height: 1.6;
  color: #4b5563;
  margin-bottom: 22px;
  flex: 1;
}
.industry-small-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--blue-500);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s;
  align-self: flex-start;
}
.industry-small-link i { font-size: 16px; }
.industry-small-link:hover { gap: 12px; }

@media (max-width: 1024px) {
  .industries-small-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .industries-small-head h3 { font-size: 32px; }
}
@media (max-width: 640px) {
  .industries-small-grid {
    grid-template-columns: 1fr;
  }
  .industries-small-head { margin: 80px auto 36px; }
  .industries-small-head h3 { font-size: 26px; }
}


/* ====================================================================
   DEFENCE (och framtida industri-undersidor) — brand-signatur
   Lagt 2026-06-14 från design-audit-workflow w01a38l4k.
   ==================================================================== */

/* Kort med 2px blå topp-border som signatur + hover-lyft */
.defence-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-top: 2px solid var(--blue-500);
  border-radius: 4px;
  padding: 36px;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              border-color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}
.defence-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px -12px rgba(13, 20, 24, 0.14);
  border-color: var(--blue-200);
  border-top-color: var(--blue-500);
}
.defence-card--soft { background: var(--bg-2); }
.defence-card--compact { padding: 32px; }
@media (prefers-reduced-motion: reduce) {
  .defence-card { transition: border-color 0.2s ease; }
  .defence-card:hover { transform: none; box-shadow: none; }
}

/* Scroll-driven fade-in — progressive enhancement på browsers som stöder
   CSS Scroll-driven Animations. Faller graciöst tillbaka på "alltid synlig". */
@keyframes defence-reveal {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.reveal-on-scroll { opacity: 1; transform: none; }
@supports (animation-timeline: view()) {
  .reveal-on-scroll {
    animation: defence-reveal linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 40%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .reveal-on-scroll {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Mobil-overrides för defence-undersidan */
@media (max-width: 900px) {
  .defence-hero-grid {
    grid-template-columns: 1fr !important;
    gap: 48px !important;
  }
}
@media (max-width: 600px) {
  .lead { font-size: 16.5px; line-height: 1.55; }
  .defence-hero { padding: 56px 0 40px !important; }
  .defence-hero .h1 { font-size: 36px; }
  .defence-compliance { padding: 64px 0 !important; }
}

/* A11y — medvetna focus-rings på interaktiva element */
.btn:focus-visible,
.defence-card:focus-visible,
.topbar-nav a:focus-visible,
.industry-card:focus-visible {
  outline: 2px solid var(--blue-500);
  outline-offset: 3px;
  border-radius: 2px;
}
.defence-compliance .btn:focus-visible,
.defence-compliance a:focus-visible {
  outline-color: var(--blue-200);
}

/* ====================================================================
   DEFENCE — editorial-tweaks (från craft-pass workflow wtm6ug5so)
   Lägger motion-tokens + dossier-meta-strip + pull-quote-breakout.
   ==================================================================== */

:root {
  --def-ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --def-dur-base: 240ms;
  --def-dur-slow: 480ms;
}

/* Dossier-meta-strip i hero — small-caps, tabular-nums, hairline border */
.def-dossier-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 28px;
  margin-bottom: 56px;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  gap: 24px;
  flex-wrap: wrap;
}
.def-dossier-meta strong {
  color: var(--ink);
  font-weight: 700;
}
@media (max-width: 600px) {
  .def-dossier-meta {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
    padding-bottom: 20px;
    margin-bottom: 40px;
  }
}

/* Pull-quote breakout — editorial weight, asymmetric */
.def-pullquote {
  padding: clamp(80px, 10vw, 128px) 0;
  background: var(--bg);
}
.def-pullquote-inner {
  max-width: 920px;
  padding-left: clamp(24px, 5vw, 64px);
  border-left: 2px solid var(--ink);
}
.def-pullquote blockquote {
  margin: 0;
  font-size: clamp(26px, 3.4vw, 42px);
  line-height: 1.25;
  font-weight: 300;
  letter-spacing: -0.015em;
  color: var(--ink);
  font-family: 'Manrope', sans-serif;
}
.def-pullquote-cite {
  margin-top: 32px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text);
  font-weight: 600;
}

/* Editorial CTA — border-top/bottom med extending pil */
.def-cta-editorial {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 18px 4px 18px 24px;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  font-family: 'Manrope', sans-serif;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  transition: padding 0.3s var(--def-ease);
  position: relative;
}
.def-cta-editorial::after {
  content: "";
  display: inline-block;
  width: 36px;
  height: 1px;
  background: var(--ink);
  transition: width 0.3s var(--def-ease);
  margin-left: 4px;
}
.def-cta-editorial:hover { padding-left: 32px; }
.def-cta-editorial:hover::after { width: 52px; }
@media (prefers-reduced-motion: reduce) {
  .def-cta-editorial,
  .def-cta-editorial::after { transition: none; }
}
