/* === BLINKEN V1 — REFRESH === */

:root {
  --navy-900: #0A1628;
  --navy-800: #0D1B3D;
  --navy-700: #142347;
  --navy-header: #15324E;        /* CRM navy chrome — topbar + header only */
  --navy-header-accent: #1A3A59; /* CRM navy accent — hover/hairlines on navy-header */
  --yellow:   #176294;
  --yellow-dark: #124F78;
  --white:    #FFFFFF;
  --grey-50:  #F5F7FA;
  --grey-100: #EEF1F5;
  --grey-200: #DDE3EB;
  --grey-400: #9CA8B8;
  --grey-600: #5A6878;
  --grey-800: #2A3645;
  --text:     #1A2433;
  --shadow-sm: 0 2px 8px rgba(10, 22, 40, 0.06);
  --shadow-md: 0 6px 24px rgba(10, 22, 40, 0.10);
  --shadow-lg: 0 16px 48px rgba(10, 22, 40, 0.16);
  --radius:   4px;
  --radius-lg: 8px;
  --container: 1240px;
  --header-h: 68px;
  --topbar-h: 30px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);

  /* === TYPSKALA — storlek === */
  --fs-display:  clamp(34px, 4vw + 8px, 60px);    /* .fs-title — samma grad som hero-h1 */
  --fs-h1:       clamp(34px, 4vw + 8px, 60px);    /* hero */
  --fs-h2:       clamp(28px, 2.2vw + 10px, 44px); /* sektionsrubrik, CTA, partnership */
  --fs-h2-sm:    clamp(24px, 1.2vw + 14px, 32px); /* rubrik i halvbrett kort */
  --fs-h3-lg:    24px;                            /* modal-rubrik */
  --fs-h3:       clamp(17px, 0.5vw + 15px, 20px); /* kort-rubriker */
  --fs-h4:       13px;                            /* versal etikett-rubrik */
  --fs-lead:     clamp(17px, 0.5vw + 14px, 20px); /* leads */
  --fs-body:     17px;                            /* global brödtext */
  --fs-body-sm:  16px;                            /* kort-brödtext */
  --fs-ui:       15px;                            /* knapp, nav, toast */
  --fs-link:     14px;
  --fs-eyebrow:  12px;
  --fs-micro:    13px;
  --fs-tag:      11px;

  /* === TYPSKALA — vikt === */
  --w-thin:      200;   /* endast display >=28px, alltid med --ink-thin */
  --w-body:      300;   /* brödtext >=16px */
  --w-body-sm:   400;   /* all text <16px (legibilitetsgolv) */
  --w-label:     500;   /* etiketter, länkar, nav, knappar */
  --w-display:   600;   /* h1-h3, pris, betoning */

  /* === TYPSKALA — tracking === */
  --ls-display: -0.03em;
  --ls-heading: -0.02em;
  --ls-body:     0;
  --ls-ui:       0.01em;
  --ls-label:    0.14em;

  /* === TYPSKALA — line-height === */
  --lh-display:  1.0;
  --lh-h1:       1.05;
  --lh-h2:       1.1;
  --lh-h3:       1.3;
  --lh-lead:     1.55;
  --lh-body:     1.65;
  --lh-ui:       1;

  /* === BLÄCK === */
  --ink:       var(--navy-900);   /* #0A1628 — rubriker, länkar, etiketter, nav */
  --ink-soft:  var(--grey-600);   /* #5A6878 — brödtext, leads, beskrivningar */
  --ink-thin:  #7A8595;           /* display-tunn andrarad */
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  font-weight: var(--w-body);
  letter-spacing: var(--ls-body);
  color: var(--ink-soft);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

h1, h2, h3, h4 {
  font-weight: var(--w-display);
  line-height: var(--lh-h2);
  color: var(--ink);
  letter-spacing: var(--ls-display);
  overflow-wrap: break-word;
}
h1 { font-size: var(--fs-h1); line-height: var(--lh-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: var(--lh-h3); letter-spacing: var(--ls-heading); }
h4 {
  font-size: var(--fs-h4);
  font-weight: var(--w-label);
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: var(--ls-label);
}

/* === MÖRK YTA — bläck-tokens flippas en gång, hela sidan följer === */
.topbar,
.site-header,
.mobile-nav,
.section-dark,
.cta-banner,
.site-footer,
.toast {
  --ink:      #FFFFFF;
  --ink-soft: rgba(255,255,255,0.80);
  --ink-thin: rgba(255,255,255,0.55);
  color: var(--ink-soft);
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-size: var(--fs-ui);
  font-weight: var(--w-label);
  letter-spacing: var(--ls-ui);
  line-height: var(--lh-ui);
  border-radius: var(--radius);
  transition: all 0.25s var(--ease);
  cursor: pointer;
  white-space: nowrap;
  border: 2px solid transparent;
  text-align: center;
}
.btn-primary {
  background: var(--yellow);
  color: var(--navy-900);
}
.btn-primary:hover {
  background: var(--yellow-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-outline {
  background: transparent;
  color: var(--navy-900);
  border-color: var(--navy-900);
}
.btn-outline:hover {
  background: var(--navy-900);
  color: var(--white);
}
.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline-light:hover {
  background: var(--white);
  color: var(--navy-900);
}
.btn-block { width: 100%; }

/* === TOP BAR === */
.topbar {
  background: var(--navy-header);
  color: var(--grey-200);
  font-size: var(--fs-micro);
  font-weight: var(--w-body-sm);
  letter-spacing: var(--ls-ui);
  height: var(--topbar-h);
  border-bottom: 1px solid var(--navy-header-accent);
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}
.topbar a { color: var(--grey-200); transition: color 0.2s; }
.topbar a:hover { color: #FFFFFF; }
.topbar-sep { color: var(--grey-400); margin: 0 12px; }
.topbar-contact a { font-weight: var(--w-label); }

/* === HEADER === */
.site-header {
  background: var(--navy-header);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  border-bottom: 3px solid var(--yellow);
  transition: box-shadow 0.3s var(--ease);
}
.site-header.scrolled { box-shadow: var(--shadow-md); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.logo img {
  height: 38px;
  width: auto;
}
.main-nav ul {
  display: flex;
  gap: 4px;
  list-style: none;
}
.main-nav a {
  display: block;
  padding: 8px 16px;
  color: var(--white);
  font-weight: var(--w-label);
  font-size: var(--fs-ui);
  letter-spacing: var(--ls-ui);
  line-height: 1.2;
  border-radius: var(--radius);
  transition: all 0.2s var(--ease);
  position: relative;
}
.main-nav a::after {
  content: '';
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 4px;
  height: 2px;
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}
.main-nav a:hover::after { transform: scaleX(1); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 4px;
}
.icon-btn {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  border-radius: 50%;
  transition: background 0.2s;
  position: relative;
}
.icon-btn:hover { background: rgba(255,255,255,0.08); }
.cart-btn .cart-badge {
  position: absolute;
  top: 4px;
  right: 4px;
  background: var(--yellow);
  color: var(--navy-900);
  font-size: var(--fs-tag);
  font-weight: var(--w-display);
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
  transition: transform 0.2s var(--ease);
}
.cart-btn.bump .cart-badge { transform: scale(1.3); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 4px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s;
}
.hamburger.active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* === HERO — produktporträtt (RL-HV2S) === */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 900px 600px at 68% 38%, #FFFFFF 0%, rgba(255,255,255,0) 72%),
    var(--grey-50);   /* basen identisk med brand-strip → ingen synlig skarv */
}
.hero-content {
  position: relative;
  z-index: 1;
  padding: 88px 24px 72px;
  max-width: var(--container);
  width: 100%;
  margin: 0 auto;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  align-items: start;      /* rubrik och produkt startar på samma höjd */
  gap: 32px;
  max-width: 1080px;       /* symmetrisk luft mot logotypraden nedanför */
  margin: 0 auto;
}
.hero h1 {
  color: var(--ink);
  margin-bottom: 20px;
  max-width: 540px;
}
.hero-thin { font-weight: var(--w-thin); color: var(--ink-thin); }
.hero-lead {
  font-size: var(--fs-lead);
  font-weight: var(--w-body);
  color: var(--ink-soft);
  margin-bottom: 32px;
  max-width: 460px;
  line-height: var(--lh-lead);
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
/* Varumärkesraden i heron — ersätter den gamla punktlistan */
.hero-brands {
  padding-top: 26px;
  border-top: 1px solid var(--grey-200);
  max-width: 520px;
}
.hero-brands-label {
  display: none;   /* variant 1: bara logotyperna */
  font-size: var(--fs-tag);
  font-weight: var(--w-label);
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 18px;
}
.hero-brands-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 26px;
}
.hero-brands-row img { width: auto; opacity: 0.92; }
.hero-brands-row img:nth-child(1),
.hero-brands-row img:nth-child(2),
.hero-brands-row img:nth-child(3) { height: 15px; }
.hero-brands-row img:nth-child(4) { height: 17px; }
.hero-brands-row img:nth-child(5) { height: 19px; }

.hero-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  list-style: none;
  max-width: 480px;
  padding-top: 24px;
  border-top: 1px solid var(--grey-200);
}
.hero-specs li {
  position: relative;
  padding-left: 15px;
  font-size: var(--fs-micro);
  font-weight: var(--w-label);
  letter-spacing: var(--ls-ui);
  color: var(--ink-soft);
}
.hero-specs li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--yellow);
}
.hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-end;         /* produktens högerkant linjerar med sista loggan */
  justify-content: flex-start;   /* toppen linjerar med rubrikens första rad */
  min-height: 380px;
}
.hero-visual-shadow {
  position: absolute;
  left: auto;
  right: 8%;         /* centrerad under den högerjusterade produkten */
  bottom: 8%;
  width: 64%;
  height: 34px;
  background: radial-gradient(ellipse at center, rgba(10,22,40,0.24) 0%, rgba(10,22,40,0) 72%);
  filter: blur(3px);
  z-index: 0;
}
.hero-visual img {
  position: relative;
  z-index: 1;
  margin-top: -34px;   /* kompenserar PNG:ens transparenta luft → optisk linje med rubriken */
  width: auto;
  max-width: 100%;     /* fyller kolumnen → högerkanten möter sista loggan */
  max-height: 520px;
  object-fit: contain;
  filter: drop-shadow(0 36px 48px rgba(10,22,40,0.16));
}
.hero-product-tag {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 4px;
  font-size: var(--fs-micro);
}
.hero-product-eyebrow {
  text-transform: uppercase;
  letter-spacing: var(--ls-label);
  font-weight: var(--w-label);
  color: var(--ink-soft);
}
.hero-product-sep { color: var(--grey-400); }
.hero-product-link {
  font-weight: var(--w-label);
  color: var(--yellow);
  transition: color 0.2s;
}
.hero-product-link:hover { color: var(--yellow-dark); }

/* === BRAND STRIP (flyttad ut ur hero) === */
.brand-strip {
  background: var(--grey-50);   /* samma yta som hero-botten och sektionen under — ingen ram, ingen skarv */
  padding: 72px 0 56px;
}
.brand-strip .section-header { margin-bottom: 44px; }
.brand-strip .brand-row {
  margin: 0 auto;
  max-width: 40%;             /* 30% tom yta på var sida — raden upptar mittens 40% */
  opacity: 1;
  justify-content: space-between;   /* första och sista logga i linje med de 30%-kanterna */
}
.brand-row {
  display: flex;
  gap: 22px;
  align-items: center;
  flex-wrap: wrap;
}
.brand-row img {
  width: auto;
  opacity: 0.92;
  transition: opacity 0.25s, filter 0.25s;
}
.brand-row img:hover { opacity: 1; }
/* Laserliner (2) och Fluke (4): originallogotyper i färg, hämtade från laserliner.com
   respektive fluke.com och sparade lokalt i assets/ (blinken.eu har bara vita varianter) */
/* Per-logga-höjder hämtade EXAKT från blinken.eu:s egen partner-rad (inline height-style);
   färgversionerna för Topcon/TinyMobileRobots/GSSI har samma bildförhållande som de vita, så höjderna är oförändrade */
.brand-row img:nth-child(1),   /* TOPCON (färg) */
.brand-row img:nth-child(2),   /* Laserliner (färg) */
.brand-row img:nth-child(3) { height: 17px; }   /* TinyMobileRobots (färg) */
.brand-row img:nth-child(4) { height: 20px; }   /* Fluke (färg, gul platta — tightare asset) */
.brand-row img:nth-child(5) { height: 22px; }   /* GSSI (färg) */

/* === SECTIONS === */
.section {
  padding: 96px 0;
}
.section-light { background: var(--grey-50); }
.section-white { background: var(--white); }
.section-dark {
  background: var(--navy-header);
  color: var(--white);
}
.section-dark h1, .section-dark h2,
.section-dark h3, .section-dark h4 { color: var(--ink); }
.section-dark p { color: var(--ink-soft); }

.section-header {
  text-align: center;
  margin-bottom: 56px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.eyebrow, .fs-eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: var(--ls-label);
  font-size: var(--fs-eyebrow);
  font-weight: var(--w-label);
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 16px;
  padding: 5px 12px;
  background: rgba(23, 98, 148, 0.18);
  border-radius: 2px;
}
.eyebrow-yellow {
  background: var(--yellow);
  color: #FFFFFF;
}
.section-dark .eyebrow {
  color: #FFFFFF;
  background: rgba(23, 98, 148, 0.12);
}
.section-lead {
  margin-top: 16px;
  font-size: var(--fs-lead);
  line-height: var(--lh-lead);
  font-weight: var(--w-body);
  color: var(--ink-soft);
}
.section-dark .section-lead { color: rgba(255,255,255,0.78); }

/* === KATEGORIER === */
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.category-card {
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-lg);
  padding: 32px 24px 24px;
  text-align: center;
  transition: all 0.3s var(--ease);
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.category-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 3px;
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.category-card:hover {
  border-color: var(--navy-900);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.category-card:hover::before { transform: scaleX(1); }
.category-img {
  width: 100%;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  overflow: hidden;
}
.category-img img {
  max-height: 100%;
  max-width: 80%;
  object-fit: contain;
  transition: transform 0.4s var(--ease);
}
.category-card:hover .category-img img { transform: scale(1.06); }
.category-card h3 {
  margin-bottom: 8px;
}
.category-link {
  transition: color 0.2s;
}

/* === PRODUKTER (webshop) === */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.product-card {
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.3s var(--ease);
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--navy-900);
}
.quick-view {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  background: var(--white);
  border-radius: 50%;
  color: var(--navy-900);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  opacity: 0;
  transform: translateY(-6px);
  transition: all 0.25s var(--ease);
  box-shadow: var(--shadow-sm);
}
.product-card:hover .quick-view {
  opacity: 1;
  transform: translateY(0);
}
.quick-view:hover { background: var(--yellow); color: #FFFFFF; }

.product-img {
  background: var(--grey-50);
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  overflow: hidden;
}
.product-img img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  transition: transform 0.4s var(--ease);
}
.product-card:hover .product-img img { transform: scale(1.04); }

.product-info {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-cat {
  font-size: var(--fs-eyebrow);
  text-transform: uppercase;
  letter-spacing: var(--ls-label);
  color: var(--ink-soft);
  font-weight: var(--w-label);
  margin-bottom: 8px;
}
.product-info h3 {
  margin-bottom: 14px;
  line-height: var(--lh-h3);
}
.product-price {
  font-size: 20px;
  font-weight: var(--w-display);
  letter-spacing: var(--ls-heading);
  color: var(--navy-900);
  margin-bottom: 14px;
}
.product-price.product-quote {
  color: var(--grey-800);
  font-weight: var(--w-label);
  font-size: var(--fs-body);
}
.product-vat {
  display: inline-block;
  font-size: var(--fs-micro);
  font-weight: var(--w-body-sm);
  color: var(--ink-soft);
  margin-left: 6px;
}
.btn-add {
  background: var(--navy-900);
  color: var(--white);
  padding: 12px 20px;
  font-size: var(--fs-ui);
  font-weight: var(--w-label);
  border-radius: var(--radius);
  margin-top: auto;
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.25s var(--ease);
  letter-spacing: var(--ls-ui);
}
.product-card:hover .btn-add { opacity: 1; transform: translateY(0); }
.btn-add:hover { background: var(--yellow); color: #FFFFFF; }

@media (max-width: 768px) {
  .btn-add { opacity: 1; transform: none; }
  .quick-view { opacity: 1; transform: none; }
}

/* === ÅTERFÖRSÄLJARE === */
.reseller-strip {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 40px;
  padding: 16px 0;
}
.reseller-strip img {
  max-height: 50px;
  width: auto;
  transition: all 0.25s var(--ease);   /* full färg direkt — ingen gråtoning */
}
.reseller-strip img:hover {
  transform: scale(1.05);
}

/* === SERVICE / SUPPORT SPLIT === */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.split-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.3s var(--ease);
}
.split-card:hover { box-shadow: var(--shadow-md); }
.split-img {
  height: 280px;
  overflow: hidden;
}
.split-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.split-card:hover .split-img img { transform: scale(1.04); }
.split-text {
  padding: 36px 36px 40px;
}
.split-text h2 {
  margin: 12px 0 16px;
  font-size: var(--fs-h2-sm);
}
.split-text p {
  color: var(--ink-soft);
  margin-bottom: 24px;
  font-size: var(--fs-body);
  line-height: var(--lh-body);
}

/* === PARTNERSHIP === */
.partnership {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.partnership-img img {
  border-radius: var(--radius-lg);
  filter: brightness(0) invert(1);   /* mörk lockup → vit mot navy-sektionen */
}
.partnership-text h2 {
  font-size: var(--fs-h2);
  margin: 14px 0 20px;
}
.partnership-text p {
  color: var(--ink-soft);
  margin-bottom: 32px;
  font-size: var(--fs-lead);
  line-height: var(--lh-lead);
}

/* === NEWS === */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.news-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s var(--ease);
}
.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.news-img {
  height: 200px;
  background: var(--grey-50);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  overflow: hidden;
}
.news-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.news-body {
  padding: 28px 28px 32px;
}
.news-tag {
  display: inline-block;
  font-size: var(--fs-tag);
  font-weight: var(--w-label);
  letter-spacing: var(--ls-label);
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--navy-900);
  background: var(--yellow);
  padding: 4px 10px;
  border-radius: 2px;
  margin-bottom: 14px;
}
.news-body h3 { margin-bottom: 10px; }
.news-body p {
  color: var(--ink-soft);
  margin-bottom: 18px;
  line-height: var(--lh-body);
  font-size: var(--fs-body-sm);
}
.news-link {
  font-weight: var(--w-label);
  color: var(--ink);
  font-size: var(--fs-link);
  position: relative;
}
.news-link::after {
  content: ' →';
  transition: transform 0.25s var(--ease);
  display: inline-block;
}
.news-link:hover::after { transform: translateX(4px); }

/* === VALUES === */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.value-item {
  text-align: center;
  padding: 16px;
}
.value-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  background: var(--navy-header);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s var(--ease);
}
.value-icon img {
  width: 28px;
  height: 28px;
  filter: brightness(0) invert(1);
}
.value-item:hover .value-icon {
  background: var(--yellow);
  transform: rotateY(180deg);
}
.value-item:hover .value-icon img {
  filter: brightness(0);
}
.value-item h3 {
  margin-bottom: 10px;
}
.value-item p {
  color: var(--ink-soft);
  font-size: var(--fs-body-sm);
  line-height: var(--lh-body);
}

/* === CTA BANNER === */
.cta-banner {
  position: relative;
  padding: 120px 0;
  color: var(--white);
  overflow: hidden;
  text-align: center;
}
.cta-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.cta-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cta-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,22,40,0.88) 0%, rgba(13,27,61,0.78) 100%);
}
.cta-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}
.cta-content h2 {
  color: var(--white);
  margin-bottom: 20px;
}
.cta-content p {
  font-size: var(--fs-lead);
  line-height: var(--lh-lead);
  font-weight: var(--w-body);
  margin-bottom: 36px;
  color: var(--ink-soft);
}
.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* === FOOTER === */
.site-footer {
  background: var(--navy-header);
  color: var(--grey-200);
  padding-top: 72px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 2fr 1fr;
  gap: 56px;
  padding-bottom: 56px;
}
.footer-logo { height: 50px; width: auto; margin-bottom: 16px; }
.footer-tagline {
  color: rgba(255,255,255,0.85);
  font-weight: var(--w-body);
  font-size: var(--fs-body);
  line-height: var(--lh-lead);
  margin-bottom: 24px;
}
.footer-social {
  display: flex;
  gap: 12px;
}
.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.footer-social a:hover { background: var(--yellow); }
.footer-social img {
  width: 16px;
  height: 16px;
  filter: brightness(0) invert(1);
  transition: filter 0.2s;
}
.footer-social a:hover img { filter: brightness(0); }

.footer-offices {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.footer-office h4 {
  color: var(--ink);
  margin-bottom: 12px;
  font-size: var(--fs-h4);
}
.footer-office p {
  font-size: var(--fs-ui);
  font-weight: var(--w-body-sm);
  line-height: var(--lh-lead);
  color: var(--ink-soft);
  margin-bottom: 8px;
}
.footer-office a:hover { color: #FFFFFF; }

.footer-contact h4 {
  color: var(--ink);
  margin-bottom: 12px;
  font-size: var(--fs-h4);
}
.footer-contact p {
  font-size: var(--fs-ui);
  font-weight: var(--w-body-sm);
  margin-bottom: 16px;
  color: var(--ink-soft);
}
.footer-contact a:hover { color: #FFFFFF; }
.footer-links {
  list-style: none;
  margin-top: 12px;
}
.footer-links li { margin-bottom: 8px; }
.footer-links a {
  color: var(--ink-soft);
  font-size: var(--fs-ui);
  font-weight: var(--w-body-sm);
  transition: color 0.2s;
}
.footer-links a:hover { color: #FFFFFF; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 24px 0;
}
.footer-bottom p {
  font-size: var(--fs-micro);
  font-weight: var(--w-body-sm);
  color: var(--grey-400);
  text-align: center;
}

/* === CART DRAWER === */
.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 380px;
  max-width: 100vw;
  height: 100vh;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  z-index: 1000;
  transform: translateX(100%);
  transition: transform 0.35s var(--ease);
  display: flex;
  flex-direction: column;
}
.cart-drawer.open { transform: translateX(0); }

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 24px 20px;
  border-bottom: 1px solid var(--grey-200);
}
.cart-header h3 {
  margin: 0;
}
.cart-close {
  color: var(--navy-900);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.cart-close:hover { background: var(--grey-100); }

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 16px 24px;
}
.cart-item {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--grey-100);
  align-items: center;
}
.cart-item-img {
  width: 60px;
  height: 60px;
  background: var(--grey-50);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
}
.cart-item-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.cart-item-name {
  font-size: var(--fs-ui);
  font-weight: var(--w-label);
  color: var(--ink);
  margin-bottom: 4px;
  line-height: 1.3;
}
.cart-item-price {
  font-size: var(--fs-link);
  font-weight: var(--w-body-sm);
  color: var(--ink-soft);
}
.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-link);
  font-weight: var(--w-body-sm);
  margin-top: 4px;
}
.cart-item-qty button {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--grey-100);
  color: var(--navy-900);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: var(--w-display);
  font-size: var(--fs-link);
  transition: background 0.15s;
}
.cart-item-qty button:hover { background: var(--yellow); color: #FFFFFF; }
.cart-item-remove {
  color: var(--grey-400);
  font-size: var(--fs-micro);
  font-weight: var(--w-body-sm);
  align-self: start;
  padding: 4px;
  transition: color 0.2s;
}
.cart-item-remove:hover { color: var(--navy-900); }

.cart-empty {
  flex: 1;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
  color: var(--grey-600);
  gap: 20px;
}
.cart-empty.visible { display: flex; }

.cart-footer {
  padding: 20px 24px 24px;
  border-top: 1px solid var(--grey-200);
  background: var(--grey-50);
}
.cart-footer.hidden { display: none; }
.cart-subtotal {
  display: flex;
  justify-content: space-between;
  font-size: var(--fs-body-sm);
  font-weight: var(--w-body-sm);
  margin-bottom: 4px;
}
.cart-subtotal strong {
  font-size: 18px;
  font-weight: var(--w-display);
  color: var(--navy-900);
}
.cart-vat-note {
  font-size: var(--fs-micro);
  font-weight: var(--w-body-sm);
  color: var(--ink-soft);
  margin-bottom: 16px;
}
.cart-footer .btn { margin-bottom: 8px; }

.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 22, 40, 0.55);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.cart-overlay.open { opacity: 1; pointer-events: auto; }

/* === MODAL === */
.modal {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal.open { display: flex; }
.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 22, 40, 0.7);
}
.modal-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 800px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  max-height: 90vh;
}
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  color: var(--navy-900);
  transition: background 0.2s;
}
.modal-close:hover { background: var(--yellow); color: #FFFFFF; }
.modal-img {
  background: var(--grey-50);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
}
.modal-img img {
  max-width: 100%;
  max-height: 320px;
  object-fit: contain;
}
.modal-body {
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
}
.modal-body h3 {
  font-size: var(--fs-h3-lg);
  line-height: 1.2;
  letter-spacing: var(--ls-display);
  margin: 8px 0 16px;
}
.modal-body p {
  color: var(--ink-soft);
  margin-bottom: 20px;
  font-size: var(--fs-body-sm);
  line-height: var(--lh-body);
}
.modal-body .product-price { margin-bottom: 24px; }

/* === TOAST === */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--navy-900);
  color: var(--white);
  padding: 14px 24px;
  border-radius: var(--radius);
  font-size: var(--fs-ui);
  font-weight: var(--w-label);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s var(--ease);
  z-index: 1200;
  border-left: 3px solid var(--yellow);
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* === MOBILE NAV === */
.mobile-nav {
  position: fixed;
  top: calc(var(--header-h) + var(--topbar-h));
  left: 0;
  right: 0;
  background: var(--navy-header);
  z-index: 90;
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s var(--ease);
  padding: 16px 0;
  border-bottom: 3px solid var(--yellow);
}
.mobile-nav.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-nav ul {
  list-style: none;
}
.mobile-nav a {
  display: block;
  padding: 16px 24px;
  color: var(--white);
  font-weight: var(--w-label);
  font-size: var(--fs-body-sm);
  letter-spacing: var(--ls-ui);
  line-height: 1.2;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.mobile-nav a:hover { background: rgba(255,255,255,0.06); color: #FFFFFF; }

/* === REVEAL ANIMATIONS === */
.reveal {
  opacity: 1;      /* innehållet syns alltid — ingen vit yta i väntan på scroll */
  transform: none; /* ingen initial förskjutning → ingen vit springa mellan sektionerna */
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .category-grid { grid-template-columns: repeat(3, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-offices { grid-column: span 2; }
  .partnership { grid-template-columns: 1fr; gap: 40px; }
  .split { grid-template-columns: 1fr; }

  .hero-grid { gap: 24px; }
  .hero-visual img { max-height: 360px; }
}

@media (max-width: 768px) {
  :root { --header-h: 62px; }
  /* Avstavning bara där bredden kräver det (svensk, lang="sv") */
  h1, h2, h3, h4 { hyphens: auto; }
  .topbar-contact { display: none; }
  .main-nav { display: none; }
  .hamburger { display: flex; }
  .header-inner { gap: 12px; }
  .logo img { height: 34px; }

  .section { padding: 64px 0; }
  .hero-content { padding: 40px 24px 48px; }
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-lead, .hero-specs { margin-left: auto; margin-right: auto; }
  .hero-actions, .hero-specs { justify-content: center; }
  .hero h1 { max-width: none; }
  .hero-visual { order: -1; min-height: 260px; margin-bottom: 8px; }
  .hero-visual img { max-height: 260px; }
  .brand-strip { padding: 20px 0; }
  .brand-row { gap: 24px; justify-content: center; }
  .brand-strip .brand-row { max-width: 100%; justify-content: center; }   /* 30/40/30 gäller desktop — på mobil får raden hela bredden */

  .category-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .category-img { height: 100px; }
  .product-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr 1fr; gap: 24px; }

  .reseller-strip { gap: 20px; }
  .reseller-strip img { max-height: 32px; }

  .split-text { padding: 24px; }
  .split-img { height: 200px; }

  .cta-banner { padding: 80px 0; }

  .footer-inner { grid-template-columns: 1fr; gap: 36px; padding-bottom: 36px; }
  .footer-offices { grid-column: span 1; grid-template-columns: 1fr; }

  .modal-card { grid-template-columns: 1fr; max-height: 90vh; overflow-y: auto; }
  .modal-img { padding: 24px; }
  .modal-img img { max-height: 200px; }
  .modal-body { padding: 24px; }

  .cart-drawer { width: 100%; }
}

@media (max-width: 480px) {
  .topbar-links { font-size: 12px; }
  .topbar-sep { margin: 0 8px; }
  .hero-content { padding: 32px 20px 40px; }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; }
  .container { padding: 0 16px; }
}


/* =========================================================
   FOKUSPRODUKTER — scopad v4-sektion (.focus-showcase / fs-*)
   Ligger efter v1:s regler. All CSS scopad; rör aldrig v1-globala namn.
   ========================================================= */

/* SCOPAD BAS — identisk för alla tre versionerna (v4 rad 265–314) */
.focus-showcase { padding: 80px 0; }
.focus-showcase .fs-row {
  display: grid; grid-template-columns: 1fr 1.1fr;
  gap: 80px; align-items: center;
  max-width: 1280px; margin: 0 auto 120px; padding: 0 32px;
}
.focus-showcase .fs-row.reverse { grid-template-columns: 1.1fr 1fr; }
.focus-showcase .fs-row.reverse .fs-text  { order: 2; }
.focus-showcase .fs-row.reverse .fs-image { order: 1; }
.focus-showcase .fs-text  { max-width: 520px; }
.focus-showcase .fs-image {
  background: linear-gradient(135deg, var(--grey-50), var(--grey-100));
  aspect-ratio: 1 / 1; display: flex; align-items: center;
  justify-content: center; padding: 48px; overflow: hidden;
  position: relative; border-radius: 24px;
}
.focus-showcase .fs-image::before {
  content:""; position:absolute; inset:0; pointer-events:none;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.6), transparent 60%);
}
.focus-showcase .fs-image img {
  max-width:70%; max-height:70%; object-fit:contain;
  filter: drop-shadow(0 30px 60px rgba(0,0,0,0.15));
  position:relative; z-index:1;
  transition: transform .8s cubic-bezier(0.22,1,0.36,1);
}
.focus-showcase .fs-row:hover .fs-image img { transform: scale(1.04); }

/* SCOPAD YTA — V-EXAKT (v4 rad 41–42, 49, 279, 306) */
.focus-showcase { background: var(--white); }   /* egen vit yta — tydlig gräns mot den grå sektionen ovanför */

/* GLOBAL DISPLAY — fokusens rubrikskala, oscopad. Vikt/tracking/färg ärvs
   från den globala h1-h4-regeln. */
.fs-title, .t-display {
  font-size: var(--fs-display);
  line-height: var(--lh-display);
  margin-bottom: 24px;
  hyphens: auto;   /* långa svenska sammansättningar i displaygrad */
}
.fs-thin, .t-thin {
  font-weight: var(--w-thin);
  color: var(--ink-thin);
}
/* .fs-desc: 17px / 300 / --ink-soft är nu globala defaults. Kvar = geometri. */
.fs-desc {
  margin-bottom: 28px;
  max-width: 460px;
}
/* GLOBAL LÄNKREGEL — fokusens .fs-link lyft till system */
.fs-link, .category-link, .news-link {
  font-size: var(--fs-link);
  font-weight: var(--w-label);
  letter-spacing: var(--ls-ui);
  line-height: 1.4;
  color: var(--ink);
  border-bottom: 1px solid currentColor;
  padding-bottom: 4px;
}
/* Rörelse/geometri för fokuslänken — orörd */
.focus-showcase .fs-link {
  display:inline-flex; align-items:center; gap:8px;
  transition: gap .3s cubic-bezier(0.22,1,0.36,1);
}
.focus-showcase .fs-link:hover { gap:14px; }

/* RESPONSIV — bevara v4:s kollaps <1024px (v4 rad 672–676, 694) */
@media (max-width:1024px){
  .focus-showcase .fs-row, .focus-showcase .fs-row.reverse { grid-template-columns:1fr; gap:40px; }
  .focus-showcase .fs-row.reverse .fs-text,
  .focus-showcase .fs-row.reverse .fs-image { order:unset; }
}
@media (max-width:720px){
  .focus-showcase .fs-row, .focus-showcase .fs-row.reverse { padding:0 20px; margin-bottom:80px; }
}


/* ---------------------------------------------------------
   V-ANPASSAD-A — konservativ (~17%). Bara delta mot V-EXAKT.
   --------------------------------------------------------- */
/* A1  Eyebrow -> global .eyebrow-regel (pill). Scopad dublett borttagen. */
/* A2  Bildradie 24px -> v1 --radius-lg 8px (v1 rad 21) */
.focus-showcase .fs-image { border-radius:8px; }
/* A3-A5  Färger kommer nu från --ink / --ink-soft globalt. */

/* === BLÅ-ANPASSNING (#176294) — vit text på solida blå-element, matchar blinken.eu === */
.btn-primary, .btn-primary:hover { color: #FFFFFF; }
.news-tag { color: #FFFFFF; }
.cart-btn .cart-badge { color: #FFFFFF; }

/* === Blinken Topcon-logga i header (svart PNG → vit på navy) === */
.site-header .logo img.logo-topcon { height: 34px; filter: brightness(0) invert(1); }

/* === FOKUSPRODUKTER — kompakt 2-kolumnsrutnät (ersätter helskärmsraderna) === */
.focus-showcase {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 32px;
  max-width: 1128px;
  margin: 0 auto;
  padding: 88px 24px;
}
.focus-showcase .fs-row,
.focus-showcase .fs-row.reverse {
  display: grid;
  grid-template-columns: 148px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  max-width: none;
  margin: 0;
  padding: 0;
}
.focus-showcase .fs-row .fs-image,
.focus-showcase .fs-row.reverse .fs-image { order: -1; }   /* bilden alltid i den smala kolumnen */
.focus-showcase .fs-row .fs-text,
.focus-showcase .fs-row.reverse .fs-text { order: 0; }
.focus-showcase .fs-text { max-width: none; }
.focus-showcase .fs-image {
  aspect-ratio: 1 / 1;
  padding: 16px;
  border-radius: 14px;
}
.focus-showcase .fs-image img { max-width: 82%; max-height: 82%; }
.focus-showcase .fs-eyebrow { font-size: var(--fs-tag); margin-bottom: 8px; }
.focus-showcase .fs-title {
  font-size: var(--fs-h3);
  line-height: var(--lh-h3);
  letter-spacing: var(--ls-heading);
  margin-bottom: 8px;
}
.focus-showcase .fs-title br { display: none; }
.focus-showcase .fs-thin { font-size: inherit; display: block; }
.focus-showcase .fs-desc {
  font-size: var(--fs-body-sm);
  line-height: 1.5;
  margin-bottom: 12px;
  max-width: none;
}
.focus-showcase .fs-link { font-size: var(--fs-link); padding-bottom: 2px; }
@media (max-width: 860px) {
  .focus-showcase { grid-template-columns: 1fr; padding: 56px 20px; }
}
@media (max-width: 480px) {
  .focus-showcase .fs-row,
  .focus-showcase .fs-row.reverse { grid-template-columns: 108px minmax(0, 1fr); gap: 16px; }
}

/* === HERO — animerade laserstrålar (produkt och strålar som separata lager) === */
.hero-laser {
  position: relative;
  display: block;
  margin-top: -34px;
  line-height: 0;
}
.hero-laser img { display: block; }
.hero-laser .hero-body {
  margin-top: 0;
  width: auto;
  max-width: 100%;
  max-height: 520px;
  object-fit: contain;
  filter: drop-shadow(0 36px 48px rgba(10,22,40,0.16));
}
.hero-laser .hero-rays {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  transform-origin: 50% 24%;
  animation: laser-sweep 6.5s linear infinite, laser-pulse 2.4s ease-in-out infinite;
  will-change: transform, opacity;
}
@keyframes laser-sweep {
  from { transform: perspective(900px) rotateY(0deg); }
  to   { transform: perspective(900px) rotateY(360deg); }
}
@keyframes laser-pulse {
  0%, 100% { opacity: 0.85; }
  50%      { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-laser .hero-rays { animation: none; }
}
