/* ==========================================================================
   Circom Solutions — Main Stylesheet
   Matches Avada theme settings from WordPress export
   ========================================================================== */

/* ---------- CSS Variables (from Grafisk Lathund + Avada) ---------- */
:root {
  --circom-white: #ffffff;
  --circom-light-gray: #f9f9fb;
  --circom-gray-border: #f2f3f5;
  --circom-gray: #575856;        /* Circom Grå — logotyp, rubriker */
  --circom-green: #a4c954;       /* Circom Grön — primär */
  --circom-green-dark: #86BC25;  /* Logotypens mörkgröna */
  --circom-green-mid: #BDD684;   /* Logotypens mellangrön */
  --circom-green-pale: #D5E4B1;  /* Logotypens ljusgrön */
  --circom-light-green: #f2f7e6; /* Circom Ljus — bakgrund */
  --circom-blue: #0d6a86;        /* Circom Blå — komplementfärg */
  --circom-orange: #f5aa33;      /* Circom Orange — komplementfärg */

  /* Typografi: speglar Avada typography_sets pa circom.se (verifierat mot live-CSS)
     typography1 Rubriker   Oxygen 400 / lh 1.2 / ls -0.015em
     typography2 Underrubr. Inter  600 / 24px / lh 1.1
     typography3 Ingress    Inter  500 / 16px / lh 1.2
     typography4 Brodtext   Inter  400 / 16px / lh 1.72 / ls 0.015em */
  --font-heading: 'Oxygen', Arial, Helvetica, sans-serif;
  --font-body: 'Inter', Arial, Helvetica, sans-serif;

  --site-width: 1200px;
  --nav-height: 94px;
  --nav-height-scrolled: 80px;
}

/* ==========================================================================
   Reset / Normalize
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  min-height: 100vh;
  text-rendering: optimizeSpeed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

input,
button,
textarea,
select {
  font: inherit;
}

ul,
ol {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* ==========================================================================
   Typography
   ========================================================================== */
body {
  font-family: var(--font-body);
  font-weight: 400;  /* typography4 — brodtext pa circom.se ar Inter 400 */
  font-size: 16px;
  line-height: 1.72;
  letter-spacing: 0.015em;
  color: var(--circom-gray);
  background-color: var(--circom-white);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 400;  /* Normal — per Avada fusion_options h1-h6 typography */
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--circom-gray);
  margin-bottom: 0.5em;
}

h1 { font-size: 32px; }

/* Live-sajten kor rubriker i Oxygen 400. <strong> inuti en rubrik far
   darfor inte gora den fet, med undantag for sidfotens "we make IT work"
   som ar fet aven pa circom.se. */
h1 strong, h2 strong, h3 strong, h4 strong, h5 strong, h6 strong {
  font-weight: inherit;
}
.footer-widgets__title strong { font-weight: 700; }

/* Quotes and captions: Oxygen Light per Grafisk Lathund */
blockquote, cite, figcaption, .caption {
  font-family: 'Oxygen', sans-serif;
  font-weight: 300;  /* Light */
}
h2 { font-size: 30px; }
h3 { font-size: 24px; }
h4 { font-size: 16px; }
h5 { font-size: 20px; }
h6 { font-size: 16px; }

p {
  margin-bottom: 1em;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--circom-blue);
  transition: color 0.2s ease;
}

a:hover,
a:focus {
  color: var(--circom-orange);
}

strong, b {
  font-weight: 700;
}

/* ==========================================================================
   Layout — Container
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--site-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.container--wide {
  max-width: 1400px;
}

.container--full {
  max-width: 100%;
}

/* ==========================================================================
   Topbar
   ========================================================================== */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001;
  background-color: var(--circom-gray);
  color: var(--circom-gray-border);
  font-size: 14px;
  line-height: 36px;
  height: 36px;
}

.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.topbar__social {
  display: flex;
  align-items: center;
  gap: 12px;
}

.topbar__social a {
  color: var(--circom-gray-border);
  font-size: 16px;
  transition: color 0.2s ease;
}

.topbar__social a:hover {
  color: var(--circom-white);
}

.topbar__contact {
  display: none;  /* G1: Original visar inte telefon/email i topbar */
}

.topbar__contact a {
  color: var(--circom-gray-border);
}

/* Driftstatus i topbaren (byggs av main.js från /driftstatus/status.json) */
.topbar__drift {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--circom-gray-border);
  font-size: 13px;
  text-decoration: none;
  transition: color 0.2s ease;
}
.topbar__drift:hover, .topbar__drift:focus-visible { color: var(--circom-white); }
.topbar__drift svg { transition: transform 0.2s ease; }
.topbar__drift:hover svg { transform: translateX(2px); }
.topbar__drift-dot {
  --dot: #9bd34a;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--dot);
  box-shadow: 0 0 6px var(--dot);
}
.topbar__drift--maint .topbar__drift-dot { --dot: #5ec2e6; }
.topbar__drift--degraded .topbar__drift-dot { --dot: #f5c542; }
.topbar__drift--partial .topbar__drift-dot { --dot: #ff9a4d; }
.topbar__drift--major .topbar__drift-dot { --dot: #ff6b6b; }
.topbar__drift-text { color: var(--circom-white); }

.topbar__contact a:hover {
  color: var(--circom-white);
}

/* ==========================================================================
   Header / Sticky Nav
   ========================================================================== */
.site-header {
  position: fixed;
  top: 36px;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.8);
  height: 60px;
  transition: box-shadow 0.3s ease;
}

.site-header.is-scrolled {
  height: 60px;
  background-color: rgba(255, 255, 255, 0.9);
  box-shadow: 2px 2px 19px -6px rgba(87, 88, 86, 0.75);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: 100%;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* Logo */
.site-logo {
  flex: 0 0 20%;
}

.site-logo img {
  height: 40px;
  width: auto;
}

/* ==========================================================================
   Navigation (Desktop)
   ========================================================================== */
.main-nav {
  flex: 0 0 80%;
  display: flex;
  justify-content: center;
}

.main-nav__list {
  display: flex;
  align-items: center;
  gap: 0;
}

.main-nav__item {
  position: relative;
}

.main-nav__link {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 0;
  color: var(--circom-gray);
  padding: 3px 7px;
  border-radius: 3px;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.main-nav__link:hover,
.main-nav__link:focus {
  color: var(--circom-gray);
}

.main-nav__link.is-active,
.main-nav__item.is-current .main-nav__link {
  background-color: var(--circom-green);
  color: var(--circom-white);
  border-bottom: 3px solid var(--circom-green);  /* nav_highlight_border: 3 */
}

/* Dropdown */
.main-nav__dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background-color: var(--circom-green);
  border-radius: 0 0 5px 5px;
  padding: 8px 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 100;
}

.main-nav__item:hover .main-nav__dropdown {
  display: block;
}

.main-nav__dropdown a {
  display: block;
  padding: 8px 20px;
  color: rgba(255, 255, 255, 0.8);
  font-family: var(--font-body);
  font-size: 16px;
  transition: background-color 0.2s ease;
}

.main-nav__dropdown a:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--circom-white);
}

/* Mobile hamburger toggle */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
}

.mobile-menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--circom-green);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.mobile-menu-toggle.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  position: relative;
  min-height: calc(60vh - 36px);
  margin-top: 36px;
  display: flex;
  align-items: center;  /* vertikalt centrerad */
  justify-content: center;
  text-align: center;
  padding: 130px 7vw 60px;  /* extra top för header */
  background-size: cover;
  background-position: center center;
  background-attachment: scroll;
  background-blend-mode: overlay;
  color: var(--circom-white);
}

.hero__content {
  max-width: 900px;
  margin: 0 auto;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 400;  /* Bold */
  color: var(--circom-white);
  margin-bottom: 20px;
}

.hero__subtitle {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 400;  /* Light — per Grafisk Lathund (citat/bildtexter) */
  color: var(--circom-gray-border);
  margin-bottom: 40px;
}

.hero__buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 16px;
  padding: 9px 25px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  text-align: center;
  transition: background-color 0.25s ease, transform 0.15s ease;
  line-height: 1.4;
  letter-spacing: 0.015em;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background-color: var(--circom-blue);  /* #0d6a86 */
  color: var(--circom-white);
}

.btn--primary:hover {
  background-color: #0b5a72;
  color: var(--circom-white);
}

.btn--secondary {
  background-color: var(--circom-orange);  /* #f5aa33 */
  color: var(--circom-white);
}

.btn--secondary:hover {
  background-color: #e09520;
  color: var(--circom-white);
}

.btn--accent {
  background-color: var(--circom-orange);
  color: var(--circom-white);
}

.btn--accent:hover {
  background-color: #e09a2a;
  color: var(--circom-white);
}

.btn--outline {
  background-color: transparent;
  color: var(--circom-blue);
  border: 2px solid var(--circom-blue);
}

.btn--outline:hover {
  background-color: var(--circom-blue);
  color: var(--circom-white);
}

/* Rounded buttons (Avada style) */
.btn--rounded {
  border-radius: 30px;
}

.btn--large {
  padding: 16px 36px;
  font-size: 18px;
}

/* ==========================================================================
   Content Sections
   ========================================================================== */
.section {
  padding: 60px 0;
}

.section--gray {
  background-color: var(--circom-light-gray);
}

.section--green-light {
  background-color: var(--circom-light-green);
}

.section--dark {
  background-color: var(--circom-gray);
  color: var(--circom-white);
}

.section--dark h2,
.section--dark h3 {
  color: var(--circom-white);
}

.section--full-width {
  padding-left: 7vw;
  padding-right: 7vw;
}

.section__title {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 400;
  text-align: center;
  margin-bottom: 20px;
}

.section__title span {
  color: var(--circom-green);
}

.section__separator {
  width: 25%;
  max-width: 300px;
  height: 1px;
  background-color: var(--circom-green);
  margin: 0 auto 40px;
}

/* CTA Banner section (gradient + background image) */
.section--cta {
  background-size: cover;
  background-position: center;
  padding: 60px 7vw;
  text-align: center;
  color: var(--circom-white);
}

.section--cta .section__text {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 400;
  color: var(--circom-white);
  margin-bottom: 20px;
}

/* ==========================================================================
   Grid System (Flexbox)
   ========================================================================== */
.grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.grid--2 > * {
  flex: 1 1 calc(50% - 12px);
  min-width: 280px;
}

.grid--3 > * {
  flex: 0 1 calc(33.333% - 16px);
  min-width: 260px;
  max-width: calc(33.333% - 16px);
}

.grid--4 > * {
  flex: 0 1 calc(25% - 18px);
  min-width: 220px;
  max-width: calc(25% - 18px);
}

.grid--center {
  justify-content: center;
}

/* ==========================================================================
   Cards (Flip cards for values, portfolio, services)
   ========================================================================== */

/* Flip card */
.flip-card {
  perspective: 1000px;
  min-height: 280px;
  cursor: pointer;
}

.flip-card__inner {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 280px;
  transition: transform 0.6s ease;
  transform-style: preserve-3d;
}

.flip-card:hover .flip-card__inner,
.flip-card:focus-within .flip-card__inner {
  transform: rotateY(180deg);
}

.flip-card__front,
.flip-card__back {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px 24px;
  text-align: center;
}

.flip-card__front {
  background-color: var(--circom-white);
  color: var(--circom-gray);
}

.flip-card__back {
  background-color: var(--circom-blue);
  color: var(--circom-white);
  transform: rotateY(180deg);
  font-size: 15px;
  line-height: 1.6;
}

.flip-card__icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
}

.flip-card__label {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
}

/* Service / portfolio card */
.card {
  background-color: var(--circom-white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.card:hover {
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}

.card__image {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

/* Team/person grid — portrait images, 3 columns, no stretch on last row */
.team-grid {
  gap: 30px;
}

.team-grid > * {
  flex: 0 1 calc(33.333% - 20px);
  max-width: calc(33.333% - 20px);
}

.team-grid .card__image {
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top center;
}

.card__body {
  padding: 24px;
}

.card__title {
  font-size: 18px;
  margin-bottom: 8px;
  text-align: center;
}

/* Kundcase-kort på startsidan: ingen ram/skugga (matchar original) */
a.card {
  box-shadow: none;
  border: none;
}

a.card .card__title {
  text-align: left;
}

/* Team-grid: 5 kolumner utan card-styling (matchar original) */
.team-grid .card {
  background: none;
  border: none;
  border-radius: 0;
  box-shadow: none;
  text-align: left;
}

.team-grid .card .card__body {
  padding: 8px 0;
}

.team-grid .card .card__title {
  text-align: left;
  font-size: 16px;
}

.team-grid .card p {
  font-size: 14px;
  margin-bottom: 0.3em;
}

/* ==========================================================================
   Service Cards (IT-lösningar page)
   ========================================================================== */
.service-card {
  background-color: var(--circom-white);
  border: 1px solid var(--circom-gray-border);
  border-radius: 12px;
  padding: 32px 28px;
  text-align: left;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.service-card:hover {
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
  transform: translateY(-4px);
}

.service-card__title {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 400;
  color: var(--circom-gray);
  margin-bottom: 12px;
  text-align: center;
}

.service-card__separator {
  display: none;  /* I2: original har ingen separator */
}

.service-card__text {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  color: var(--circom-gray);
  margin: 0;
}

/* ==========================================================================
   Video Carousel (Kundcase)
   ========================================================================== */
.video-carousel {
  position: relative;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 60px;
}

.video-carousel__viewport {
  overflow: hidden;
}

.video-carousel__track {
  display: flex;
  gap: 30px;
  transition: transform 0.5s ease;
}

.video-carousel__slide {
  /* --per sätts av main.js efter skärmbredd (3, 2 eller 1). */
  flex: 0 0 calc((100% - (var(--per, 3) - 1) * 30px) / var(--per, 3));
  min-width: calc((100% - (var(--per, 3) - 1) * 30px) / var(--per, 3));
  cursor: pointer;
}

.video-carousel__thumb {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
}

.video-carousel__thumb img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}

.video-carousel__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: rgba(255,255,255,0.85);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--circom-gray);
  transition: background 0.2s;
  padding-left: 4px;
}

.video-carousel__slide:hover .video-carousel__play {
  background: rgba(255,255,255,1);
}

.video-carousel__title {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 400;
  color: var(--circom-gray);
  margin-top: 12px;
  text-align: left;
}

/* ---------- Video library grid (kundcase – alla Digicase-filmer) ---------- */
.video-library {
  margin-top: 8px;
}

.video-library__item {
  text-align: center;
  margin-bottom: 16px;
}

.video-library__title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 400;
  color: #a8cb30;
  text-align: center;
  line-height: 1.3;
  margin: 0 0 12px;
}

.video-library__thumb {
  display: block;
  position: relative;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  font: inherit;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  aspect-ratio: 16 / 9;
}

.video-library__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.video-library__thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, 0.28));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.video-library__thumb:hover img { transform: scale(1.06); }
.video-library__thumb:hover::after { opacity: 1; }

.video-library__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #a8cb30;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease, background 0.2s ease;
  z-index: 1;
}

.video-library__play::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 56%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 11px 0 11px 19px;
  border-color: transparent transparent transparent #fff;
}

.video-library__thumb:hover .video-library__play {
  transform: translate(-50%, -50%) scale(1.12);
  background: #b6d840;
}

/* DIGICASE-slidern på kundcase: grön play för enhetlig look (påverkar ej startsidan) */
#videoCarousel2 .video-carousel__play { background: #a8cb30; color: #fff; }
#videoCarousel2 .video-carousel__slide:hover .video-carousel__play { background: #b6d840; }

/* ---------- Instagram-feed (self-hostad, bakad) ---------- */
.ig-feed {
  background: #f5f8f5; /* svag bakgrund så IG-blocket läses som egen sektion */
}
p.ig-feed__handle { /* p. krävs: annars nollar p:last-child bottenmarginalen */
  text-align: center;
  margin: -8px 0 28px;
  font-family: var(--font-body);
}
.ig-feed__handle a {
  color: #a8cb30;
  font-weight: 600;
  text-decoration: none;
}
.ig-feed__handle a:hover { text-decoration: underline; }

.ig-feed__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 8px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}

/* 4-kolumners variant (t.ex. /aktuellt/, matchar nyhets-gridden) */
.ig-feed__grid--4 {
  grid-template-columns: repeat(4, 1fr);
  max-width: 1200px;
  gap: 16px;
}
@media (max-width: 768px) {
  .ig-feed__grid--4 { grid-template-columns: repeat(2, 1fr); }
}

.ig-feed__item {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 6px;
}
.ig-feed__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.ig-feed__item:hover img { transform: scale(1.08); }

.ig-feed__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 30px;
  background: rgba(13, 110, 117, 0);
  opacity: 0;
  transition: opacity 0.25s ease, background 0.25s ease;
}
.ig-feed__item:hover .ig-feed__overlay {
  opacity: 1;
  background: rgba(13, 110, 117, 0.45);
}

.ig-feed__cta { text-align: center; margin-top: 24px; }

/* ============================================================
   KUNSKAP / artiklar (.kb-*) – mall för kunskapsbanken
   ============================================================ */
.kb { max-width: 820px; margin: 0 auto; padding: 130px 20px 40px; font-family: var(--font-body); color: #1f2a30; }
.kb__breadcrumb { font-size: 13px; color: #7a868f; margin-bottom: 14px; }
.kb__breadcrumb a { color: #0d6e75; text-decoration: none; }
.kb__breadcrumb a:hover { text-decoration: underline; }
.kb__title { font-size: clamp(28px, 4vw, 40px); line-height: 1.15; margin: 0 0 14px; }
.kb__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; font-size: 14px; color: #5b6770; margin-bottom: 24px; }
.kb__author { display: flex; align-items: center; gap: 10px; }
.kb__author img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.kb__author b { color: #1f2a30; }
.kb__hero { width: 100%; border-radius: 10px; margin: 0 0 28px; display: block; box-shadow: 0 6px 18px rgba(0,0,0,.12); }
.kb p { line-height: 1.7; margin: 0 0 16px; }
.kb h2 { font-size: 24px; margin: 36px 0 12px; }
.kb h3 { font-size: 19px; margin: 24px 0 8px; }

.kb-answer { background: #f5f8f5; border-left: 4px solid #a8cb30; border-radius: 0 8px 8px 0; padding: 18px 22px; margin: 0 0 26px; }
.kb-answer strong { display: block; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: #6b8b18; margin-bottom: 6px; }
.kb-answer p { margin: 0; font-size: 17px; }

.kb-key { background: #fff; border: 1px solid #e3e9e3; border-radius: 10px; padding: 18px 22px 18px 20px; margin: 0 0 30px; }
.kb-key h2 { margin: 0 0 10px; font-size: 16px; text-transform: uppercase; letter-spacing: .05em; color: #1f2a30; }
.kb-key ul { margin: 0; padding-left: 20px; }
.kb-key li { margin: 6px 0; line-height: 1.5; }

.kb-toc { background: #fafbfa; border: 1px solid #eef1ee; border-radius: 8px; padding: 16px 20px; margin: 0 0 30px; font-size: 15px; }
.kb-toc b { display: block; margin-bottom: 8px; }
.kb-toc ol { margin: 0; padding-left: 20px; }
.kb-toc a { color: #0d6e75; text-decoration: none; }
.kb-toc a:hover { text-decoration: underline; }

.kb-check { list-style: none; padding: 0; margin: 16px 0; }
.kb-check li { position: relative; padding: 0 0 0 32px; margin: 12px 0; line-height: 1.6; }
.kb-check li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 22px; height: 22px; background: #a8cb30; color: #fff; border-radius: 50%; text-align: center; line-height: 22px; font-size: 13px; font-weight: 700; }

.kb-callout { background: #0d6e75; color: #fff; border-radius: 10px; padding: 20px 24px; margin: 26px 0; }
.kb-callout p { margin: 0; }
.kb-callout .kb-stat { font-size: 30px; font-weight: 700; color: #cfe88a; display: block; line-height: 1.1; margin-bottom: 4px; }

.kb-case { display: flex; gap: 16px; align-items: center; background: #fff; border: 1px solid #e3e9e3; border-left: 4px solid #0d6e75; border-radius: 0 8px 8px 0; padding: 16px 18px; margin: 24px 0; text-decoration: none; color: inherit; transition: box-shadow .15s; }
.kb-case:hover { box-shadow: 0 6px 18px rgba(0,0,0,.1); }
.kb-case img { width: 96px; height: 64px; object-fit: cover; border-radius: 6px; flex-shrink: 0; }
.kb-case span { font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: #6b8b18; font-weight: 700; }
.kb-case b { display: block; margin: 2px 0; }
.kb-case em { font-style: normal; color: #5b6770; font-size: 14px; }

.kb-faq { margin: 24px 0; }
.kb-faq details { border-bottom: 1px solid #e3e9e3; }
.kb-faq summary { cursor: pointer; padding: 16px 0; font-weight: 600; font-size: 17px; list-style: none; position: relative; padding-right: 28px; }
.kb-faq summary::-webkit-details-marker { display: none; }
.kb-faq summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font-size: 22px; color: #a8cb30; }
.kb-faq details[open] summary::after { content: "–"; }
.kb-faq details p { padding: 0 0 16px; margin: 0; color: #41505a; }

.kb-authorbox { display: flex; gap: 18px; align-items: flex-start; background: #fafbfa; border: 1px solid #eef1ee; border-radius: 10px; padding: 20px 22px; margin: 36px 0; }
.kb-authorbox img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.kb-authorbox b { font-size: 16px; }
.kb-authorbox p { margin: 4px 0 0; font-size: 14px; color: #5b6770; line-height: 1.6; }

.kb-cta { background: linear-gradient(135deg, #0d6e75 0%, #0a5258 100%); color: #fff; border-radius: 12px; padding: 30px 28px; margin: 36px 0; text-align: center; }
.kb-cta h2 { color: #fff; margin: 0 0 8px; }
.kb-cta p { color: #d7e7e8; margin: 0 0 20px; }

.kb-related { margin: 40px 0 0; }
.kb-related h2 { font-size: 20px; }
.kb-related ul { list-style: none; padding: 0; margin: 0; }
.kb-related li { border-top: 1px solid #eef1ee; }
.kb-related a { display: block; padding: 14px 0; color: #0d6e75; text-decoration: none; font-weight: 600; }
.kb-related a:hover { text-decoration: underline; }

.kb-quote { border-left: 4px solid #a8cb30; padding: 6px 0 6px 20px; margin: 22px 0; font-style: italic; font-size: 18px; line-height: 1.6; color: #2c3b44; }
.kb-quote cite { display: block; font-style: normal; font-size: 14px; color: #7a868f; margin-top: 8px; }

.kb-tips { counter-reset: tip; list-style: none; padding: 0; margin: 18px 0; }
.kb-tips li { position: relative; padding: 3px 0 3px 46px; margin: 14px 0; line-height: 1.6; }
.kb-tips li::before { counter-increment: tip; content: counter(tip); position: absolute; left: 0; top: 0; width: 30px; height: 30px; background: #a8cb30; color: #fff; border-radius: 50%; text-align: center; line-height: 30px; font-size: 15px; font-weight: 700; }

.video-carousel__arrow {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 32px;
  color: var(--circom-blue);
  cursor: pointer;
  z-index: 2;
  padding: 8px;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.video-carousel__arrow:hover {
  opacity: 1;
}

.video-carousel__arrow--prev { left: 0; }
.video-carousel__arrow--next { right: 0; }

.video-carousel__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.video-carousel__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ccc;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s;
}

.video-carousel__dot.is-active {
  background: var(--circom-blue);
}

/* Video Modal */
.video-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.85);
  align-items: center;
  justify-content: center;
}

.video-modal.is-open {
  display: flex;
}

.video-modal__content {
  position: relative;
  width: 80vw;
  max-width: 960px;
  aspect-ratio: 16/9;
}

.video-modal__content iframe {
  width: 100%;
  height: 100%;
  border-radius: 8px;
}

.video-modal__close {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: none;
  color: white;
  font-size: 36px;
  cursor: pointer;
}

/* ==========================================================================
   Logo Carousel / Client Logos
   ========================================================================== */
.logo-carousel {
  position: relative;
  overflow: hidden;
  padding: 20px 0;
}

.logo-carousel__track {
  display: flex;
  align-items: center;
  gap: 60px;
  transition: transform 0.8s ease;
}

.logo-carousel__item {
  flex: 0 0 auto;
  width: 160px;
}

/* Fallback: om ingen JS, visa i rad */
.logo-carousel:not(.is-carousel) {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.logo-carousel:not(.is-carousel) .logo-carousel__item:nth-child(n+6) {
  display: none;
}

.logo-carousel__item img {
  max-height: 80px;
  width: auto;
  object-fit: contain;
  filter: grayscale(20%);
  opacity: 0.85;
  transition: opacity 0.2s ease, filter 0.2s ease;
}

.logo-carousel__item img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* ==========================================================================
   Forms (Contact form styling)
   ========================================================================== */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: 6px;
  font-size: 14px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--circom-gray-border);
  border-radius: 4px;
  font-size: 16px;
  color: var(--circom-gray);
  background-color: var(--circom-white);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--circom-green);
  box-shadow: 0 0 0 3px rgba(164, 201, 84, 0.15);
}

.form-group input.is-invalid,
.form-group textarea.is-invalid {
  border-color: #e74c3c;
  box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background-color: var(--circom-gray);
  color: var(--circom-white);
}

.footer-widgets {
  padding: 60px 0;
}

.footer-widgets .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  text-align: center;
}

.footer-widgets__title {
  font-family: var(--font-heading);  /* live kor Oxygen har */
  font-size: 48px;
  font-weight: 400;  /* <strong> ger fetstilen, som pa live */
  color: var(--circom-white);
  margin-bottom: 30px;
  width: 100%;
}

.footer-widgets__services {
  width: 75%;
  font-size: 14px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.5);
  font-family: 'Montserrat', 'Inter', sans-serif;
  margin-bottom: 30px;
}

.footer-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
  width: 100%;  /* G3: egen rad */
}

.footer-social__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background-color: rgba(60, 63, 73, 1);
  color: rgba(255, 255, 255, 0.5);
  border-radius: 50px;
  font-size: 18px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.footer-social__link:hover {
  background-color: var(--circom-orange);
  color: var(--circom-gray-border);
}

.footer-social__link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.footer-aaa {
  text-align: center;
  padding-bottom: 20px;
  width: 100%;  /* G3: egen rad under ikoner */
}

.footer-aaa img {
  max-width: 300px;
  margin: 0 auto;
}

.footer-copyright {
  background-color: var(--circom-gray);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
  text-align: center;
}

.footer-copyright p {
  font-size: 14px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.5);
  font-family: 'Montserrat', 'Inter', sans-serif;
  margin: 0;
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */
.text-center { text-align: center; }
.text-left   { text-align: left; }
.text-right  { text-align: right; }

.bg-white      { background-color: var(--circom-white); }
.bg-light      { background-color: var(--circom-light-gray); }
.bg-green-light { background-color: var(--circom-light-green); }
.bg-dark       { background-color: var(--circom-gray); color: var(--circom-white); }
.bg-blue       { background-color: var(--circom-blue); color: var(--circom-white); }

.text-green  { color: var(--circom-green); }
.text-blue   { color: var(--circom-blue); }
.text-orange { color: var(--circom-orange); }
.text-white  { color: var(--circom-white); }
.text-gray   { color: var(--circom-gray); }

.mt-0  { margin-top: 0; }
.mt-1  { margin-top: 8px; }
.mt-2  { margin-top: 16px; }
.mt-3  { margin-top: 24px; }
.mt-4  { margin-top: 32px; }
.mt-5  { margin-top: 48px; }

.mb-0  { margin-bottom: 0; }
.mb-1  { margin-bottom: 8px; }
.mb-2  { margin-bottom: 16px; }
.mb-3  { margin-bottom: 24px; }
.mb-4  { margin-bottom: 32px; }
.mb-5  { margin-bottom: 48px; }

.pt-0  { padding-top: 0; }
.pt-3  { padding-top: 24px; }
.pt-5  { padding-top: 48px; }

.pb-0  { padding-bottom: 0; }
.pb-3  { padding-bottom: 24px; }
.pb-5  { padding-bottom: 48px; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.img-responsive {
  width: 100%;
  height: auto;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

/* Tablet and below (mobile menu at 800px per Avada settings) */
@media screen and (max-width: 800px) {
  /* Mobile menu */
  .mobile-menu-toggle {
    display: flex;
  }

  .main-nav__list {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background-color: var(--circom-white);
    flex-direction: column;
    padding: 16px 0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    z-index: 999;
  }

  .main-nav__list.is-open {
    display: flex;
  }

  .is-scrolled .main-nav__list {
    top: var(--nav-height-scrolled);
  }

  .main-nav__link {
    padding: 12px 24px;
    font-size: 16px;
    border-radius: 0;
    border: none;
    text-align: center;
  }

  .main-nav__link.is-active,
  .main-nav__item.is-current .main-nav__link {
    background-color: var(--circom-light-gray);
    color: var(--circom-green);
  }

  .main-nav__dropdown {
    position: static;
    box-shadow: none;
    border-radius: 0;
    background-color: var(--circom-light-gray);
  }

  .main-nav__item:hover .main-nav__dropdown {
    display: block;
  }

  /* Header */
  .site-header .container {
    padding-left: 24px;
    padding-right: 24px;
  }

  /* Topbar */
  .topbar {
    display: none;
  }

  /* Hero */
  .hero {
    padding: 80px 40px 40px;
    min-height: 400px;
    background-attachment: scroll;
  }

  .hero__title {
    font-size: 32px;
  }

  .hero__subtitle {
    font-size: 18px;
  }

  .hero__buttons {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  /* Grid */
  .grid--4 > *,
  .grid--3 > * {
    flex: 1 1 100%;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }

  .team-grid > * {
    flex: 0 1 calc(50% - 15px);
    max-width: calc(50% - 15px);
  }

  /* Flip cards */
  .flip-card {
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }

  /* Section */
  .section {
    padding: 40px 0;
  }

  .section--full-width {
    padding-left: 40px;
    padding-right: 40px;
  }

  .section--cta {
    padding: 40px;
  }

  /* Footer */
  .footer-widgets__services {
    width: 100%;
  }

  .footer-widgets__title {
    font-size: 32px;
  }
}

/* Small mobile */
@media screen and (max-width: 480px) {
  .hero {
    padding: 60px 20px 40px;
  }

  .hero__title {
    font-size: 28px;
  }

  .section--full-width {
    padding-left: 20px;
    padding-right: 20px;
  }

  .btn--large {
    padding: 14px 28px;
    font-size: 16px;
  }

  .container {
    padding-left: 16px;
    padding-right: 16px;
  }
}

/* ==========================================================================
   About Page — Bento Grid
   ========================================================================== */
.about-bento {
  display: grid;
  gap: 0;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  padding: 0;
}



.about-bento__cell {
  padding: 30px;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow: hidden;
}

.about-bento__cell--image {
  padding: 0;
  position: relative;
}

.about-bento__cell--image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 0 40px 40px 40px;
}





.about-bento__cell--image {
  margin: 30px;
}

.about-bento__icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.about-bento__icon img {
  width: 80px;
  height: 80px;
}

.about-bento__title {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 400;
  line-height: 1.3;
  color: inherit;
  margin-bottom: 15px;
}

.about-bento__text {
  font-size: 16px;
  line-height: 1.72;
}

.about-bento__text p:last-child {
  margin-bottom: 0;
}

/* About intro text */
.about-intro {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 24px;
}

.about-intro__title {
  font-family: var(--font-heading);
  font-size: 30px;
  font-weight: 400;  /* Avada: alla rubriker 400 */
  line-height: 1.2;
  color: var(--circom-gray);
  margin-bottom: 20px;
}

.about-intro__text {
  font-size: 16px;
  line-height: 1.72;
}

/* About page — Video section */
.about-video {
  max-width: 1248px;
  margin: 0 auto;
  padding: 60px 24px 0;
  display: flex;
  gap: 4%;
  align-items: center;
}

.about-video__text {
  flex: 0 0 33.333%;
}

.about-video__text h2 {
  font-size: 30px;
  text-align: left;
}

.about-video__embed {
  flex: 0 0 66.666%;
}

.about-video__embed iframe {
  width: 100%;
  aspect-ratio: 720 / 608;
  border: none;
}

/* ==========================================================================
   About Page — Team Grid (5 columns, matching original)
   ========================================================================== */
.team-grid-5 {
  display: flex;
  flex-wrap: wrap;
  padding: 60px 125px 0;
  background-color: var(--circom-white);
}

.team-grid-5__title {
  width: 100%;
  text-align: center;
  font-family: var(--font-heading);
  font-size: 30px;
  font-weight: 400;  /* Avada: alla rubriker 400 */
  color: var(--circom-gray);
  margin-bottom: 20px;
}

.team-grid-5__member {
  flex: 0 0 20%;
  max-width: 20%;
  padding: 0;
  margin-bottom: 30px;
}

.team-grid-5__photo {
  width: calc(100% - 40px);
  margin: 0 20px;
  aspect-ratio: 5 / 7;
  object-fit: cover;
  object-position: top center;
  display: block;
  border-radius: 0;
}

.team-grid-5__name {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--circom-gray);
  margin: 10px 0 0 20px;
}

.team-grid-5__contact {
  list-style: none;
  padding: 0;
  margin: 0 0 0 20px;
}

.team-grid-5__contact li {
  /* 16px ar sajtens brodtextstorlek. Vid 18px blev de langsta adresserna
     (mathias.andersson@circom.se) bredare an kolumnen och bröts mitt i ordet.
     overflow-wrap ar kvar som skyddsnat om nagon far en annu langre adress. */
  overflow-wrap: anywhere;
  font-size: 16px;
  line-height: 1.5;
}

.team-grid-5__contact a {
  color: var(--circom-blue);
}

.team-grid-5__contact a:hover {
  color: var(--circom-orange);
}

/* Team grid responsive */
@media screen and (max-width: 1400px) {
  .team-grid-5 {
    padding: 60px 40px 0;
  }

  /* Fem kolumner kraver ca 1400 px for att rymma en e-postadress per kolumn.
     Under det blev kolumnen smalare an adressen, som da rann over i grannen.
     Trappan ar 5 -> 3 -> 2 -> 1. */
  .team-grid-5__member {
    flex: 0 0 33.333%;
    max-width: 33.333%;
  }
}

@media screen and (max-width: 800px) {
  .about-bento--row1,
  .about-bento--row2 {
    grid-template-columns: 1fr;
  }

  .about-bento__cell {
    min-height: auto;
  }

  .about-bento__cell--image {
    min-height: 300px;
  }

  .about-video {
    flex-direction: column;
  }

  .about-video__text,
  .about-video__embed {
    flex: 1 1 100%;
  }

  .team-grid-5 {
    padding: 40px 20px 0;
  }

  .team-grid-5__member {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

@media screen and (max-width: 480px) {
  .team-grid-5__member {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .about-bento__title {
    font-size: 24px;
  }
}

/* Large screens */
@media screen and (min-width: 1681px) {
  .hero__title {
    font-size: 56px;
  }
}

/* ===================================================================
   LOCATION-SIDOR (medvetet TVÅ olika upplägg, ingen mall-kloning)
   .vx-*  = Växjö  (sektions/kort-baserad landningssida)
   .ma-*  = Malmö  (redaktionell tvåkolumn med sticky kontaktsidofält)
=================================================================== */

/* ---- VÄXJÖ: full-bleed hero + trust + value-cards + services + band ---- */
.vx-hero { position: relative; min-height: 560px; display: flex; align-items: flex-end;
  background-size: cover; background-position: center; color: #fff; }
.vx-hero::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(13,106,134,.30) 0%, rgba(20,30,34,.82) 100%); }
.vx-hero__inner { position: relative; z-index: 1; max-width: 780px; padding: 150px 24px 56px; }
.vx-hero__eyebrow { display: inline-block; background: var(--circom-green-dark); color: #fff;
  font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 40px; margin-bottom: 18px; }
.vx-hero__title { font-size: clamp(32px, 5vw, 52px); line-height: 1.08; margin: 0 0 16px; font-weight: 800; }
.vx-hero__sub { font-size: clamp(17px, 2vw, 20px); line-height: 1.6; max-width: 620px; margin: 0 0 26px; opacity: .96; }
.vx-hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }
.vx-trust { background: #fff; border-bottom: 1px solid var(--circom-gray-border); }
.vx-trust__row { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 40px; padding: 22px 20px; }
.vx-trust__item { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; color: var(--circom-gray); }
.vx-trust__item svg { width: 22px; height: 22px; color: var(--circom-green-dark); flex: none; }
.vx-values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.vx-card { background: #fff; border: 1px solid var(--circom-gray-border); border-radius: 14px; padding: 28px 24px;
  box-shadow: 0 4px 14px rgba(0,0,0,.05); transition: transform .15s, box-shadow .15s; }
.vx-card:hover { transform: translateY(-4px); box-shadow: 0 10px 26px rgba(0,0,0,.10); }
.vx-card__ic { width: 52px; height: 52px; border-radius: 12px; background: var(--circom-light-green);
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.vx-card__ic svg { width: 26px; height: 26px; color: var(--circom-green-dark); }
.vx-card h3 { font-size: 19px; margin: 0 0 8px; color: var(--circom-gray); }
.vx-card p { font-size: 15px; line-height: 1.6; margin: 0; color: #5b6770; }
.vx-serv { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 28px; max-width: 820px; margin: 0 auto; list-style: none; padding: 0; }
.vx-serv li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--circom-gray-border);
  font-size: 16px; color: var(--circom-gray); }
.vx-serv li::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--circom-green); flex: none; }
.vx-band { background: linear-gradient(135deg, var(--circom-blue) 0%, #0a5258 100%); color: #fff; text-align: center; }
.vx-band__inner { padding: 56px 24px; }
.vx-band h2 { color: #fff; font-size: clamp(24px, 3vw, 34px); margin: 0 0 10px; }
.vx-band p { font-size: 18px; opacity: .95; margin: 0 0 24px; }

/* ---- MALMÖ: split-hero + tvåkolumn med sticky aside + tabell + steg ---- */
.ma-hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: 0; align-items: stretch;
  padding-top: 92px; background: var(--circom-light-green); }
.ma-hero__text { padding: 64px 5vw 64px max(24px, calc((100vw - 1200px)/2)); align-self: center; }
.ma-hero__kicker { font-size: 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--circom-blue); margin: 0 0 14px; }
.ma-hero__text h1 { font-size: clamp(30px, 3.6vw, 46px); line-height: 1.12; margin: 0 0 18px; color: #16242b; }
.ma-hero__text p { font-size: 18px; line-height: 1.65; color: #44535c; margin: 0 0 24px; max-width: 540px; }
.ma-hero__img { background-size: cover; background-position: center; min-height: 420px; }
.ma-wrap { display: grid; grid-template-columns: 1fr 340px; gap: 56px; align-items: start;
  max-width: 1160px; margin: 0 auto; padding: 64px 24px; }
.ma-main > h2 { font-size: 27px; margin: 38px 0 14px; color: #16242b; }
.ma-main > h2:first-child { margin-top: 0; }
.ma-main p { line-height: 1.75; color: #36444c; margin: 0 0 16px; }
.ma-pain { list-style: none; padding: 0; margin: 18px 0; }
.ma-pain li { position: relative; padding: 10px 0 10px 34px; border-bottom: 1px solid #eef1ee; color: #36444c; }
.ma-pain li::before { content: "\2715"; position: absolute; left: 0; top: 9px; color: #c0392b; font-weight: 700; }
.ma-aside { position: sticky; top: 110px; background: #fff; border: 1px solid #e3e9e3; border-top: 5px solid var(--circom-green-dark);
  border-radius: 12px; padding: 26px 24px; box-shadow: 0 8px 26px rgba(0,0,0,.08); }
.ma-aside h3 { margin: 0 0 6px; font-size: 20px; color: #16242b; }
.ma-aside > p { font-size: 14px; color: #5b6770; margin: 0 0 18px; line-height: 1.55; }
.ma-aside__nap { font-size: 15px; line-height: 1.9; margin: 0 0 18px; color: var(--circom-gray); }
.ma-aside__nap a { color: var(--circom-blue); text-decoration: none; font-weight: 600; }
.ma-steps { counter-reset: ma; list-style: none; padding: 0; margin: 18px 0; }
.ma-steps li { position: relative; padding: 4px 0 22px 60px; }
.ma-steps li::before { counter-increment: ma; content: counter(ma); position: absolute; left: 0; top: 0;
  width: 42px; height: 42px; border-radius: 50%; background: var(--circom-green-dark); color: #fff;
  font-weight: 800; font-size: 19px; display: flex; align-items: center; justify-content: center; }
.ma-steps li::after { content: ""; position: absolute; left: 20px; top: 46px; bottom: 0; width: 2px; background: #dde6cc; }
.ma-steps li:last-child::after { display: none; }
.ma-steps b { display: block; font-size: 17px; color: #16242b; margin-bottom: 4px; }
.ma-table { width: 100%; border-collapse: collapse; margin: 18px 0 8px; font-size: 15px; }
.ma-table th, .ma-table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid #e7ece7; }
.ma-table thead th { background: #16242b; color: #fff; font-weight: 600; }
.ma-table thead th:first-child { background: var(--circom-green-dark); }
.ma-table tbody tr:nth-child(even) { background: #fafbf7; }
.ma-table .yes { color: #2e7d32; font-weight: 700; }
.ma-table .no { color: #c0392b; font-weight: 700; }
.ma-quote { border-left: 4px solid var(--circom-green); background: #fafbf7; padding: 20px 24px; margin: 28px 0;
  border-radius: 0 10px 10px 0; }
.ma-quote p { font-style: italic; font-size: 18px; line-height: 1.6; margin: 0 0 8px; color: #2c3b44; }
.ma-quote cite { font-style: normal; font-weight: 700; color: var(--circom-gray); font-size: 14px; }
.ma-faq { margin: 8px 0 0; }
.ma-faq details { border-bottom: 1px solid #e7ece7; padding: 14px 0; }
.ma-faq summary { cursor: pointer; font-weight: 600; color: #16242b; list-style: none; }
.ma-faq summary::-webkit-details-marker { display: none; }
.ma-faq p { margin: 10px 0 0; color: #44535c; line-height: 1.7; }

@media (max-width: 900px) {
  .vx-values { grid-template-columns: 1fr; }
  .vx-serv { grid-template-columns: 1fr; }
  .ma-hero { grid-template-columns: 1fr; }
  .ma-hero__img { min-height: 240px; order: -1; }
  .ma-hero__text { padding: 40px 24px; }
  .ma-wrap { grid-template-columns: 1fr; gap: 36px; padding: 40px 24px; }
  .ma-aside { position: static; }
  .ma-table { display: block; overflow-x: auto; }
}

/* Footer: lokala orter (location-länkar) */
.footer-locations { text-align: center; margin-top: 12px; }
.footer-locations p { font-size: 14px; margin: 0; color: var(--circom-green-pale); }
.footer-locations a { color: var(--circom-green-mid); text-decoration: none; }
.footer-locations a:hover { text-decoration: underline; }

/* Hero: liten varumärkes-tagline (eyebrow) ovanför H1 */
.hero__eyebrow { font-family: var(--font-heading); font-size: 14px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--circom-green);
  margin: 0 0 12px; text-shadow: 0 1px 6px rgba(0,0,0,.35); }

/* ==========================================================================
   Startsidans hero: samma uppbyggnad som circom.se

   Pa livesajten ar "we make IT work" den stora vita raden (47 px) och
   rubriken darunder ar 24 px. Vi behaller "IT support for foretag" som
   synlig H1 enligt kundens onskemal, istallet for livesajtens dolda
   0x0-px-H1. Endast startsidan berors; ovriga 49 sidor kor .hero--small.
   ========================================================================== */
.hero--home .hero__eyebrow {
  font-size: clamp(30px, 3.4vw, 47px);
  font-weight: 700;
  letter-spacing: -0.015em;
  text-transform: none;
  color: var(--circom-white);
  margin: 0 0 14px;
  line-height: 1.2;
}

.hero--home .hero__title {
  font-size: 24px;
  font-weight: 400;
  color: var(--circom-white);
  margin-bottom: 34px;
}

/* Matt pa circom.se vid 1600 px: hero-blocket 638 px hogt och knapparna
   365 px isar. Vi speglar bada.

   Samma hojd galler ALLA sidor. Basregeln .hero anvander min-height: 60vh,
   vilket gjorde undersidornas hero fonsterberoende (504 px vid 1600x900,
   612 px vid 1920x1080, 425 px vid 1366x768) medan startsidan lag fast pa
   638. Darfor star .hero--home och .hero--small i samma regel: andrar du
   hojden pa den ena andras bada. */
.hero--home,
.hero--small {
  min-height: 638px;
  /* Basvarrdet har 130px upptill men 60 nedtill, vilket drar innehallet
     nedat vid centrering. Lika padding ger samma vertikala centrering
     som circom.se. 130 upptill behalls sa texten aldrig hamnar under
     den fasta headern. */
  padding-top: 130px;
  padding-bottom: 130px;
}

/* Ida 2026-09-15: knapparna narmare varandra (circom.se har ca 365 px). */
.hero--home .hero__buttons {
  gap: 32px;
}

@media (max-width: 768px) {
  .hero--home,
  .hero--small { min-height: 420px; }
  .hero--home .hero__eyebrow { font-size: 30px; }
  .hero--home .hero__title { font-size: 19px; margin-bottom: 26px; }
  .hero--home .hero__buttons { gap: 12px; }
}


/* ==========================================================================
   Vi ar Circom: bento-rutnat

   Matt pa circom.se vid 1600 px fonster:
     3 rader x 2 kolumner, varje cell 801 px (kant i kant, full bredd)
     kortets inre yta 741 px, bakgrund #F2F7E6, horn 40 px
     ikonen 100 px och CENTRERAD, rubrik och brodtext vansterstallda 45 px in
   Tidigare lag korten i 4 kolumner a 340 px, vilket pressade rubrikerna
   till 3-4 rader.
   ========================================================================== */
.about-bento--pair {
  grid-template-columns: 1fr 1fr;
}

.about-bento__cell--card {
  background-color: var(--circom-light-green);
  color: var(--circom-gray);
  margin: 30px;
  padding: 40px 45px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.about-bento__cell--card .about-bento__title {
  color: var(--circom-blue);
}

/* Hornen varierar per cell, precis som pa live. */
.about-bento__cell--r-tl { border-radius: 40px 40px 0 40px; }
.about-bento__cell--r-tr { border-radius: 0 40px 40px 40px; }
.about-bento__cell--r-bl { border-radius: 40px 0 40px 40px; }
.about-bento__cell--r-br { border-radius: 40px 40px 40px 0; }

.about-bento__cell--image img {
  border-radius: inherit;
}

/* Ikonen ar centrerad pa live, inte vansterstalld. */
.about-bento__icon {
  width: 100px;
  height: 100px;
  margin: 0 auto 22px;
}

.about-bento__icon img {
  width: 100px;
  height: 100px;
}

.about-bento__title {
  font-size: 30px;
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin-bottom: 18px;
}

@media (max-width: 900px) {
  .about-bento--pair { grid-template-columns: 1fr; }
  .about-bento__cell--card { margin: 16px; padding: 30px 26px; }
  .about-bento__cell--image { margin: 16px; min-height: 260px; }
  .about-bento__title { font-size: 24px; }
}

/* ==========================================================================
   Undersidornas hero: samma payoff som circom.se

   Pa circom.se har varje undersida (utom Tjanster) exakt samma hero som
   startsidan: "we make IT work" stort och "Optimala IT-losningar med
   personlig support" darunder. Vi speglar det med .hero--payoff.
   ========================================================================== */
.hero--payoff .hero__eyebrow {
  font-size: clamp(30px, 3.4vw, 47px);
  font-weight: 700;
  letter-spacing: -0.015em;
  text-transform: none;
  color: var(--circom-white);
  margin: 0 0 14px;
  line-height: 1.2;
}

.hero--payoff .hero__title {
  font-size: 24px;
  font-weight: 400;
  color: var(--circom-white);
  margin-bottom: 34px;
}

@media (max-width: 768px) {
  .hero--payoff .hero__eyebrow { font-size: 30px; }
  .hero--payoff .hero__title { font-size: 19px; margin-bottom: 26px; }
}

/* Nyhetskort utan utvald bild (circom.se visar dem likadant) */
.card--no-image .card__body { padding-top: 28px; }
.card--no-image { border-top: 4px solid var(--circom-green); }

/* ==========================================================================
   Kundenkat: "Ja! 100%"-cirkeln och betygsrubrikerna

   Cirkeln ar samma bild som circom.se anvander (ja-400x400-1.png). Den satt
   forst som en CSS-ritad cirkel har, men byttes mot originalbilden.
   ========================================================================== */
.kundenkat-cirkel {
  text-align: center;
  margin: 3.5rem 0 1rem;
}
.kundenkat-cirkel img {
  width: 240px;
  max-width: 60%;
  height: auto;
  margin: 0 auto;
}

/* Rubriken stod tidigare vansterstalld och tatt inpa textkolumnerna ovanfor. */
.kundenkat-betygsrubrik {
  text-align: center;
  margin-top: 3.5rem;
  margin-bottom: 0.5rem;
}

@media screen and (max-width: 800px) {
  .kundenkat-cirkel { margin-top: 2.5rem; }
  .kundenkat-cirkel img { width: 180px; }
  .kundenkat-betygsrubrik { margin-top: 2.5rem; }
}

/* Kontaktformulär (Kontakt, Support): skräpfälla, felmarkering och svar */
.contact-form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-form input.is-invalid { border-color: #c0392b !important; }
.contact-form__status { margin: 16px 0 0; text-align: center; font-family: 'Inter', sans-serif; font-size: 15px; min-height: 1.5em; }
.contact-form__status.is-ok { color: #4f7a12; font-weight: 600; }
.contact-form__status.is-error { color: #c0392b; }

/* ==========================================================================
   Driftstatus: sektionen #driftstatus på /support/. Innehållet skrivs av admin/cron-drift.php.
   ========================================================================== */
.drift { background: #f7f8f5; scroll-margin-top: 90px; }
.drift .drift-group, .drift .drift-event { background: #fff; }
.drift { --drift-ok: #7fb236; --drift-maint: #2b8fb3; --drift-degraded: #e0a100; --drift-partial: #e8742a; --drift-major: #d64545; --drift-stale: #9a9c98; }
.drift__container { max-width: 900px; }
.drift-intro { font-family: var(--font-body); font-size: 17px; margin: 0 0 28px; text-align: center; }
.drift-h2 { font-family: var(--font-heading); font-weight: 400; font-size: 24px; margin: 40px 0 14px; }

.drift-dot { flex: none; width: 12px; height: 12px; border-radius: 50%; background: var(--drift-ok); }
.drift-dot--maint { background: var(--drift-maint); }
.drift-dot--degraded { background: var(--drift-degraded); }
.drift-dot--partial { background: var(--drift-partial); }
.drift-dot--major { background: var(--drift-major); }
.drift-dot--stale { background: var(--drift-stale); }

.drift-overall { display: flex; align-items: center; gap: 18px; padding: 22px 26px; border-radius: 14px; background: var(--circom-light-green); border: 1px solid #dfe9c8; }
.drift-overall .drift-dot { width: 18px; height: 18px; box-shadow: 0 0 0 6px rgba(127, 178, 54, .18); }
.drift-overall--maint { background: #eaf4f8; border-color: #cfe5ee; }
.drift-overall--maint .drift-dot { background: var(--drift-maint); box-shadow: 0 0 0 6px rgba(43, 143, 179, .18); }
.drift-overall--degraded, .drift-overall--partial { background: #fdf5e6; border-color: #f3e0b8; }
.drift-overall--degraded .drift-dot { background: var(--drift-degraded); box-shadow: 0 0 0 6px rgba(224, 161, 0, .2); }
.drift-overall--partial .drift-dot { background: var(--drift-partial); box-shadow: 0 0 0 6px rgba(232, 116, 42, .2); }
.drift-overall--major { background: #fbeceb; border-color: #f1cdca; }
.drift-overall--major .drift-dot { background: var(--drift-major); box-shadow: 0 0 0 6px rgba(214, 69, 69, .2); }
.drift-overall--stale { background: #f3f4f2; border-color: #e2e4df; }
.drift-overall--stale .drift-dot { background: var(--drift-stale); box-shadow: none; }
.drift-overall__title { margin: 0; font-family: var(--font-heading); font-size: 24px; color: var(--circom-gray); }
.drift-overall__meta { margin: 4px 0 0; font-family: var(--font-body); font-size: 14px; color: #6b6d6a; }

.drift-groups { display: grid; gap: 10px; }
.drift-group { background: #fff; border: 1px solid #e6e8e3; border-radius: 12px; overflow: hidden; }
.drift-group > summary { display: flex; align-items: center; gap: 12px; padding: 16px 20px; cursor: pointer; list-style: none; font-family: var(--font-body); }
.drift-group > summary::-webkit-details-marker { display: none; }
.drift-group > summary::after { content: ""; width: 8px; height: 8px; margin-left: 4px; border-right: 2px solid #9a9c98; border-bottom: 2px solid #9a9c98; transform: rotate(45deg); transition: transform .2s ease; }
.drift-group[open] > summary::after { transform: rotate(-135deg); }
.drift-group__name { flex: 1; font-weight: 600; color: var(--circom-gray); }
.drift-group ul { list-style: none; margin: 0; padding: 4px 20px 12px 44px; border-top: 1px solid #f0f1ee; }
.drift-group li { display: flex; align-items: center; gap: 10px; padding: 9px 0; font-family: var(--font-body); font-size: 15px; border-bottom: 1px solid #f4f5f2; }
.drift-group li:last-child { border-bottom: 0; }
.drift-group li .drift-dot { width: 8px; height: 8px; }
.drift-item__name { flex: 1; }

.drift-badge { flex: none; padding: 3px 10px; border-radius: 999px; font-family: var(--font-body); font-size: 13px; font-weight: 600; background: #eef6e3; color: #4a7414; white-space: nowrap; }
.drift-badge--maint { background: #e3f1f7; color: #1d6784; }
.drift-badge--degraded { background: #fdf1d6; color: #7a5800; }
.drift-badge--partial { background: #fde6d7; color: #8a3f0c; }
.drift-badge--major { background: #fadcdb; color: #8f2020; }

.drift-event { margin: 0 0 8px; background: #fff; border: 1px solid #e6e8e3; border-radius: 10px; font-family: var(--font-body); }
.drift-event > summary { display: grid; grid-template-columns: 110px 1fr auto; gap: 12px; align-items: baseline; padding: 12px 16px; cursor: pointer; list-style: none; }
.drift-event > summary::-webkit-details-marker { display: none; }
.drift-event time { color: #6b6d6a; font-size: 14px; font-variant-numeric: tabular-nums; }
.drift-event__title { font-weight: 600; color: var(--circom-gray); }
.drift-event__meta { color: #6b6d6a; font-size: 13px; }
.drift-event__affected { margin: 0; padding: 0 16px 6px; font-size: 14px; color: #6b6d6a; }
.drift-event--plain { padding: 12px 16px; }
.drift-updates { margin: 0; padding: 4px 16px 14px 16px; list-style: none; border-top: 1px solid #f0f1ee; }
.drift-updates li { padding: 8px 0 0; font-size: 15px; line-height: 1.5; }
.drift-updates time { margin-right: 6px; }
.drift-empty { font-family: var(--font-body); color: #6b6d6a; }
.drift-help { margin-top: 36px; font-family: var(--font-body); }
.drift-back { margin-top: 12px; font-family: var(--font-body); }

@media (max-width: 640px) {
  .drift-overall { padding: 18px; }
  .drift-overall__title { font-size: 20px; }
  .drift-event > summary { grid-template-columns: 1fr; gap: 2px; }
  .drift-group ul { padding-left: 20px; }
  .drift-group > summary { flex-wrap: wrap; }
}

/* ==========================================================================
   Mobilhuvud (under 800 px). Topbaren är dold här, så huvudet ligger i
   överkant. Loggan får naturliga proportioner (195 x 50) och menyknappen
   ligger i högerkanten med 44 px tryckyta.
   ========================================================================== */
@media screen and (max-width: 800px) {
  .site-header { top: 0; }
  .hero { margin-top: 0; }
  /* Avståndsrutan under det fasta huvudet (Aktuellt) var beräknad för topbar + meny. */
  main > div[aria-hidden="true"][style="height: 130px;"] { height: 76px !important; }
  .site-logo { flex: none; }
  .site-logo img { height: 34px; width: auto; max-width: none; }
  .main-nav { flex: 1; justify-content: flex-end; }
  .main-nav__list,
  .is-scrolled .main-nav__list { top: 100%; }

  .mobile-menu-toggle {
    width: 44px;
    height: 44px;
    margin-right: -10px;
    padding: 10px;
    gap: 6px;
    align-items: flex-end;
    border-radius: 10px;
    transition: background-color 0.2s ease;
  }
  .mobile-menu-toggle:hover { background-color: rgba(164, 201, 84, 0.12); }
  .mobile-menu-toggle:focus-visible { outline: 2px solid var(--circom-orange); outline-offset: 2px; }
  .mobile-menu-toggle span {
    width: 26px;
    height: 3px;
    border-radius: 3px;
    transition: transform 0.3s ease, opacity 0.2s ease, width 0.3s ease;
  }
  .mobile-menu-toggle span:nth-child(2) { width: 18px; }
  .mobile-menu-toggle.is-active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
  .mobile-menu-toggle.is-active span:nth-child(2) { opacity: 0; width: 0; }
  .mobile-menu-toggle.is-active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
}

/* Tvåkolumnslayouter i inline-stil (Kontakt, Integritetspolicy, Kundenkät)
   blir en kolumn på mobil, annars blev sidorna bredare än skärmen.
   Formulärfälten staplas på smala skärmar. Långa länkar får radbrytas. */
@media screen and (max-width: 800px) {
  main [style*="grid-template-columns: 1.5fr 1fr"],
  main [style*="grid-template-columns: 2fr 1fr"],
  main [style*="grid-template-columns: 1fr 1fr"]:not(.contact-form > div) { grid-template-columns: minmax(0, 1fr) !important; gap: 40px !important; }
  main [style*="grid-template-columns"] > * { overflow-wrap: break-word; }
  main p a, main li a { overflow-wrap: anywhere; }
}
@media screen and (max-width: 520px) {
  .contact-form > div[style*="grid-template-columns"] { grid-template-columns: 1fr !important; gap: 16px !important; margin-bottom: 16px !important; }
}

/* Videokarusellen på mobil: en video i taget, pilarna närmare kanten. */
@media screen and (max-width: 599px) {
  .video-carousel { padding: 0 40px; }
  .video-carousel__arrow { font-size: 28px; padding: 6px; }
  .video-carousel__track { touch-action: pan-y; }
}


/* ==========================================================================
   Mobilmenyn (under 800 px): helskärmspanel med snabbval, driftstatus,
   kontor och sociala medier (byggs av main.js). Samma typsnitt som sajten.
   Aktuell sida markeras med ett 2 px streck som tonar ut mot kanterna.
   ========================================================================== */
@media screen and (max-width: 800px) {
  body.mobile-nav-open { overflow: hidden; }

  .main-nav__list.is-open {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    bottom: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 14px 0 calc(28px + env(safe-area-inset-bottom));
    background: linear-gradient(180deg, #fff 0%, #fff 60%, #f6f9ef 100%);
    box-shadow: none;
    border-top: 1px solid rgba(87, 88, 86, 0.08);
    animation: mnav-in 0.28s ease both;
  }
  @keyframes mnav-in {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: none; }
  }

  .main-nav__list .main-nav__item { width: 100%; text-align: center; }
  .main-nav__list.is-open .main-nav__item { animation: mnav-item 0.34s ease both; }
  .main-nav__list.is-open .main-nav__item:nth-child(2) { animation-delay: 0.02s; }
  .main-nav__list.is-open .main-nav__item:nth-child(3) { animation-delay: 0.04s; }
  .main-nav__list.is-open .main-nav__item:nth-child(4) { animation-delay: 0.06s; }
  .main-nav__list.is-open .main-nav__item:nth-child(5) { animation-delay: 0.08s; }
  .main-nav__list.is-open .main-nav__item:nth-child(6) { animation-delay: 0.10s; }
  .main-nav__list.is-open .main-nav__item:nth-child(7) { animation-delay: 0.12s; }
  .main-nav__list.is-open .main-nav__item:nth-child(8) { animation-delay: 0.14s; }
  .main-nav__list.is-open .main-nav__item:nth-child(9) { animation-delay: 0.16s; }
  @keyframes mnav-item {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: none; }
  }

  .main-nav__list .main-nav__link {
    position: relative;
    display: inline-block;
    padding: 10px 22px;
    font-size: 17px;
    background: none !important;
    border: 0 !important;
    color: var(--circom-gray);
  }
  .main-nav__list .main-nav__link.is-active,
  .main-nav__list .main-nav__item.is-current .main-nav__link {
    color: var(--circom-gray);
    font-weight: 600;
  }
  /* Tunnare, bredare och uttonande mot kanterna */
  .main-nav__list .main-nav__link.is-active::after,
  .main-nav__list .main-nav__item.is-current .main-nav__link::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 3px;
    width: calc(100% + 72px);
    height: 2px;
    border-radius: 2px;
    transform: translateX(-50%);
    background: linear-gradient(90deg, rgba(164, 201, 84, 0) 0%, var(--circom-green) 30%, var(--circom-green) 70%, rgba(164, 201, 84, 0) 100%);
  }

  /* ---------- Rikt innehåll under länkarna ---------- */
  .mnav-extra {
    width: 100%;
    margin-top: 16px;
    padding: 22px 20px 0;
    background: linear-gradient(90deg, rgba(87, 88, 86, 0) 0%, rgba(87, 88, 86, 0.14) 50%, rgba(87, 88, 86, 0) 100%) top / 100% 1px no-repeat;
    text-align: left;
    animation: mnav-item 0.4s 0.18s ease both;
  }
  .mnav-extra a { text-decoration: none; }

  .mnav-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .mnav-action {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    min-height: 44px;
    padding: 14px;
    border: 1px solid #e3e6df;
    border-radius: 14px;
    background: #fff;
    color: var(--circom-gray);
  }
  .mnav-action svg { margin-bottom: 6px; color: var(--circom-blue); }
  .mnav-action--primary { background: var(--circom-blue); border-color: var(--circom-blue); color: #fff; }
  .mnav-action--primary svg { color: #fff; }
  .mnav-action__text { font-size: 15px; font-weight: 600; line-height: 1.3; }
  .mnav-action__sub { font-size: 12.5px; line-height: 1.3; opacity: 0.82; overflow-wrap: anywhere; }
  .mnav-action:active { transform: scale(0.98); }

  .mnav-drift {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    padding: 12px 14px;
    border-radius: 12px;
    background: var(--circom-light-green);
    color: var(--circom-gray);
    font-size: 14px;
  }
  .mnav-drift[hidden] { display: none; }
  .mnav-drift__dot { flex: none; width: 9px; height: 9px; border-radius: 50%; background: #7fb236; box-shadow: 0 0 0 4px rgba(127, 178, 54, 0.18); }
  .mnav-drift--maint .mnav-drift__dot { background: #2b8fb3; box-shadow: 0 0 0 4px rgba(43, 143, 179, 0.18); }
  .mnav-drift--degraded .mnav-drift__dot { background: #e0a100; box-shadow: 0 0 0 4px rgba(224, 161, 0, 0.2); }
  .mnav-drift--partial .mnav-drift__dot { background: #e8742a; box-shadow: 0 0 0 4px rgba(232, 116, 42, 0.2); }
  .mnav-drift--major .mnav-drift__dot { background: #d64545; box-shadow: 0 0 0 4px rgba(214, 69, 69, 0.2); }
  .mnav-drift--degraded, .mnav-drift--partial { background: #fdf5e6; }
  .mnav-drift--major { background: #fbeceb; }
  .mnav-drift__text { flex: 1; font-weight: 500; }
  .mnav-drift__link { color: var(--circom-blue); font-weight: 600; white-space: nowrap; }
  .mnav-drift__link::after { content: " \2192"; }

  .mnav-offices { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
  .mnav-office { padding: 14px; border: 1px solid #eceee9; border-radius: 12px; background: #fff; }
  .mnav-office p { margin: 0; }
  .mnav-office__city { font-family: var(--font-heading); font-size: 17px; color: var(--circom-gray); }
  .mnav-office__addr { margin: 4px 0 8px !important; font-size: 13.5px; line-height: 1.45; color: #6b6d6a; white-space: pre-line; }
  .mnav-office__links { display: flex; flex-direction: column; gap: 4px; font-size: 13.5px; }
  .mnav-office__links a { color: var(--circom-blue); font-weight: 600; }

  .mnav-social { display: flex; justify-content: center; gap: 10px; margin-top: 20px; }
  .mnav-social a {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #f1f3ee;
    color: var(--circom-gray);
    transition: background-color 0.2s ease, color 0.2s ease;
  }
  .mnav-social a:hover, .mnav-social a:focus-visible { background: var(--circom-green); color: #fff; }
  .mnav-social svg { width: 18px; height: 18px; }
}

@media screen and (max-width: 359px) {
  .mnav-actions, .mnav-offices { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .main-nav__list.is-open, .main-nav__list.is-open .main-nav__item, .mnav-extra { animation: none !important; }
}

/* 2026-11-28 PageSpeed: klickyta 24x24 på karusellprickarna, pricken ser likadan ut (10px) */
.video-carousel__dots{gap:0}
.video-carousel__dot,.video-carousel__dot:hover,.video-carousel__dot.is-active{width:24px;height:24px;background:transparent;position:relative}
.video-carousel__dot::before{content:"";position:absolute;left:7px;top:7px;width:10px;height:10px;border-radius:50%;background:#ccc;transition:background .2s}
.video-carousel__dot.is-active::before{background:var(--circom-blue)}

/* 2026-11-28 Kontrast (WCAG AA): mörk text på orange knappar, sidfotstext 75 % vit */
.btn--secondary,.btn--secondary:hover,.btn--accent,.btn--accent:hover{color:#222}
.footer-widgets__services,.footer-copyright p{color:rgba(255,255,255,.75)}
