/* ===================================================================
   GDA — Grundinställningar & designtokens
   =================================================================== */

:root {
  /* Ljusa, turkos-blåa bas-toner */
  --bg: #FBFDFD;
  --bg-alt: #EFF8F8;
  --bg-alt-2: #E4F3F3;

  /* Turkos/blå-skala */
  --teal-900: #0B4A52;
  --teal-800: #0E5B62;
  --teal-700: #0E7C86;
  --teal-600: #128C97;
  --teal-500: #1CA9C9;
  --teal-400: #4FC3D1;
  --teal-200: #B7E6E9;
  --teal-100: #D9F1F2;

  /* Diskret guld-accent (används sparsamt, ej som linjer) */
  --gold: #C9A25D;
  --gold-light: #E4CFA0;

  /* Lila accent — enda avvikande färgen i hero-hexagonklustret, ska sticka ut */
  --purple: #7C5CA6;
  --purple-light: #B79FD1;

  /* Diskret röd markering för funktioner som saknas i ett lägre paket */
  --red-unavailable: #C24F4F;

  /* Text */
  --text: #10262B;
  --text-muted: #4A6367;
  --text-soft: #7C9599;
  --white: #FFFFFF;

  /* Ytor & skuggor */
  --shadow-sm: 0 2px 10px -4px rgba(11, 74, 82, 0.12);
  --shadow-md: 0 16px 40px -18px rgba(11, 74, 82, 0.28);
  --shadow-lg: 0 30px 70px -24px rgba(11, 74, 82, 0.32);
  --shadow-glow: 0 0 0 1px rgba(28, 169, 201, 0.12), 0 20px 60px -20px rgba(28, 169, 201, 0.35);

  /* Typografi */
  --font-display: "Playfair Display", "Georgia", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Skala */
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --container: 1180px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

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

html, body {
  overflow-x: hidden;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--teal-900);
  font-weight: 600;
  line-height: 1.15;
  margin: 0;
}

p { margin: 0; color: var(--text-muted); }

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

ul { list-style: none; margin: 0; padding: 0; }

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

button { font-family: inherit; cursor: pointer; }

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--teal-900);
  color: var(--white);
  padding: 12px 20px;
  border-radius: 0 0 8px 0;
  z-index: 200;
}
.skip-link:focus {
  left: 0;
}

/* ===================================================================
   Eyebrow-etikett (ersätter dekorativa linjer under rubriker)
   =================================================================== */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-600);
  margin-bottom: 18px;
}

.eyebrow-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  background: linear-gradient(135deg, var(--teal-400), var(--gold));
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

/* ===================================================================
   Knappar
   =================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--teal-500), var(--teal-800));
  color: var(--white);
  box-shadow: var(--shadow-glow);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 50px -18px rgba(14, 124, 134, 0.45);
}

.btn-ghost {
  background: var(--white);
  color: var(--teal-800);
  border-color: var(--teal-200);
}
.btn-ghost:hover {
  border-color: var(--teal-500);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.btn-sm { padding: 10px 20px; font-size: 14px; }

.btn-block { width: 100%; }

/* ===================================================================
   Header
   =================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 253, 253, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: box-shadow 0.3s ease, background 0.3s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 1px 0 rgba(11, 74, 82, 0.08), 0 12px 30px -20px rgba(11, 74, 82, 0.25);
  background: rgba(251, 253, 253, 0.92);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 18px;
  padding-bottom: 18px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.logo-mark {
  color: var(--teal-400);
  flex-shrink: 0;
}

.logo-text {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 600;
  color: var(--teal-900);
  letter-spacing: 0.01em;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 34px;
}

.main-nav a {
  display: inline-flex;
  align-items: center;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  padding: 6px 2px;
  transition: color 0.2s ease;
}
.main-nav a:hover { color: var(--teal-600); }

.main-nav a.is-active { color: var(--teal-700); font-weight: 600; }

/* Dropdown-meny under "Tjänster" */

.nav-item { position: relative; }

.nav-item-row {
  display: flex;
  align-items: center;
  gap: 5px;
}

.dropdown-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  padding: 0;
  background: none;
  border: none;
  border-radius: 5px;
  color: var(--teal-600);
  transition: transform 0.25s ease, background 0.2s ease;
}
.dropdown-toggle:hover { background: var(--teal-100); }
.has-dropdown:hover .dropdown-toggle,
.has-dropdown.is-open .dropdown-toggle {
  transform: rotate(180deg);
}

.dropdown {
  position: absolute;
  top: calc(100% + 20px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 660px;
  background: var(--white);
  border: 1px solid var(--teal-100);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 22px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 60;
}

.has-dropdown:hover .dropdown,
.has-dropdown.is-open .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-group {
  display: flex;
  flex-direction: column;
}

/* Smal variant för menyer med en enda kolumn, t.ex. Kontakt. Den breda
   trekolumnaren ser tom ut när den bara rymmer tre länkar. */
.dropdown-narrow {
  min-width: 232px;
  grid-template-columns: 1fr;
  padding: 12px;
}

/* Skiljelinje mellan dropdown-kolumnerna, centrerad i gapet oavsett antal kolumner */
.dropdown-group + .dropdown-group {
  border-left: 1px solid var(--teal-100);
  margin-left: -11px;
  padding-left: 11px;
}

.dropdown-group-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-900);
  padding: 6px 10px;
  margin-bottom: 6px;
  transition: color 0.2s ease;
}
.dropdown-group-title:hover { color: var(--teal-700); }

.dropdown-link {
  display: block;
  padding: 9px 10px;
  border-radius: var(--radius-sm);
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text);
  transition: background 0.2s ease, color 0.2s ease;
}
.dropdown-link:hover { background: var(--bg-alt); color: var(--teal-700); }

.dropdown-link-stars {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 7px;
}

.dropdown-star-group {
  display: inline-flex;
  gap: 1px;
  color: var(--gold);
  flex-shrink: 0;
}

/* Blurra sidans innehåll bakom menyn medan Tjänster-dropdownen är öppen */

#main, .site-footer {
  transition: filter 0.3s ease;
}

body:has(.has-dropdown:hover) #main,
body:has(.has-dropdown:hover) .site-footer,
body:has(.has-dropdown.is-open) #main,
body:has(.has-dropdown.is-open) .site-footer {
  filter: blur(6px);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  background: transparent;
  border: none;
  border-radius: 8px;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--teal-900);
  margin: 0 auto;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===================================================================
   Sektioner — gemensamt
   =================================================================== */

section { padding: 120px 0; }

.section-head {
  max-width: 640px;
  margin: 0 auto 64px;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(30px, 3.4vw, 40px);
  margin-bottom: 18px;
}

.section-lead {
  font-size: 17px;
  color: var(--text-muted);
}

/* ===================================================================
   Page-hero — kompakt hero-variant för undersidor
   =================================================================== */

.page-hero {
  padding: 72px 0 88px;
  background:
    radial-gradient(circle at 88% 0%, rgba(79, 195, 209, 0.18), transparent 55%),
    linear-gradient(180deg, var(--bg-alt) 0%, var(--bg) 65%);
}

.page-hero-inner {
  max-width: 720px;
}

.page-hero h1 {
  font-size: clamp(32px, 4vw, 46px);
  margin-bottom: 20px;
}

.page-hero-lead {
  font-size: 18px;
  max-width: 600px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: var(--text-soft);
  margin-bottom: 22px;
}
.breadcrumb a { color: var(--teal-600); font-weight: 500; }
.breadcrumb a:hover { color: var(--teal-800); }
.breadcrumb span[aria-hidden] { color: var(--teal-200); }

/* ===================================================================
   Process-steg
   =================================================================== */

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.process-step {
  background: var(--white);
  border: 1px solid var(--teal-100);
  border-radius: var(--radius-md);
  padding: 30px 24px;
}

.process-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  background: linear-gradient(135deg, var(--teal-500), var(--teal-800));
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 18px;
}

.process-step h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.process-step p {
  font-size: 14.5px;
}

/* ===================================================================
   CTA-band
   =================================================================== */

.cta-band {
  background: linear-gradient(150deg, var(--teal-900), var(--teal-700));
}

.cta-band-inner {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.cta-band h2 {
  color: var(--white);
  font-size: clamp(28px, 3.2vw, 38px);
  margin-bottom: 16px;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 17px;
  margin-bottom: 34px;
}

.cta-band .btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}
.cta-band .btn-ghost:hover { border-color: var(--white); }

.cta-band-actions { justify-content: center; }

/* ===================================================================
   Hero
   =================================================================== */

.hero {
  padding-top: 96px;
  padding-bottom: 100px;
  background:
    radial-gradient(circle at 82% 12%, rgba(79, 195, 209, 0.20), transparent 55%),
    linear-gradient(180deg, var(--bg-alt) 0%, var(--bg) 60%);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 40px;
}

.hero-content h1 {
  font-size: clamp(38px, 4.6vw, 58px);
  margin-bottom: 24px;
}

.hero-lead {
  font-size: 18px;
  max-width: 520px;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
  height: 420px;
}

.hex-glow {
  position: absolute;
  inset: 8% 4%;
  background: radial-gradient(circle, rgba(28, 169, 201, 0.32), transparent 70%);
  filter: blur(10px);
}

.hex {
  position: absolute;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  border: 1px solid rgba(11, 74, 82, 0.14);
  background: linear-gradient(135deg, rgba(255,255,255,0.75), rgba(217, 241, 242, 0.55));
  backdrop-filter: blur(6px);
  box-shadow: var(--shadow-md);
  animation: floatHex 7s ease-in-out infinite;
  /* Långsam återgång (3s) när hexagonerna tonas upp igen efter att musen stannat */
  transition: opacity 3s ease;
}

.hex-1 { width: 230px; height: 230px; top: 6%; left: 22%; background: linear-gradient(135deg, var(--teal-500), var(--teal-800)); border: none; opacity: 0.95; animation-delay: 0s; }
.hex-2 { width: 150px; height: 150px; top: 46%; left: 0%; animation-delay: 1.1s; }
.hex-3 { width: 120px; height: 120px; top: 8%; left: 62%; background: linear-gradient(135deg, var(--gold-light), var(--gold)); border: none; opacity: 0.85; animation-delay: 2s; }
.hex-4 { width: 190px; height: 190px; top: 52%; left: 52%; animation-delay: 0.6s; }
.hex-5 { width: 120px; height: 120px; top: 64%; left: 18%; background: linear-gradient(135deg, #FFFFFF, #F2FAFA); border: none; opacity: 0.92; animation-delay: 1.6s; }
.hex-6 { width: 85px; height: 85px; top: 4%; left: 76%; background: linear-gradient(135deg, var(--purple-light), var(--purple)); border: none; opacity: 0.9; animation-delay: 0.3s; }
.hex-7 { width: 150px; height: 150px; top: 58%; left: 34%; background: linear-gradient(135deg, var(--gold-light), var(--gold)); border: none; opacity: 0.85; animation-delay: 2.6s; }

/* Hexagonerna tonas ner medan musen rör sig, men förblir svagt synliga så klustret anas */
.hero-visual.is-tracking .hex {
  opacity: 0.22;
  transition: opacity 0.4s ease;
}

@keyframes floatHex {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-16px); }
}

/* Stor bakgrundslogga med öga — samma hexagonmärke som i headern, förstorat */
.logo-eye-bg {
  position: absolute;
  top: 4%;
  left: 50%;
  transform: translateX(-50%);
  width: 680px;
  height: auto;
  color: var(--teal-700);
  opacity: 0.4;
  pointer-events: none;
}

@media (max-width: 980px) {
  .logo-eye-bg { width: 440px; }
}

/* ===================================================================
   Integrationer (marquee)
   =================================================================== */

.integrations-strip {
  margin-top: 60px;
}

.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;
}

.marquee {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 14px;
  width: max-content;
  animation: marqueeLeft 34s linear infinite;
}

@keyframes marqueeLeft {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.integration-chip {
  display: flex;
  align-items: center;
  gap: 9px;
  flex: none;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--teal-100);
  box-shadow: var(--shadow-sm);
  color: var(--teal-800);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.integration-chip svg { color: var(--teal-500); flex: none; }

/* ===================================================================
   Tjänster
   =================================================================== */

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--teal-100);
  border-radius: var(--radius-md);
  padding: 34px 26px;
  scroll-margin-top: 110px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--teal-200);
}

.icon-hex {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal-700);
  background: var(--teal-100);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  margin-bottom: 22px;
}

.service-card h3 {
  font-size: 19px;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 15px;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-weight: 600;
  font-size: 14.5px;
  color: var(--teal-700);
  transition: gap 0.2s ease, color 0.2s ease;
}
.card-link:hover { gap: 10px; color: var(--teal-900); }

/* Två-pelar-varianten av tjänstekort (startsidan) */

/* Två pelare sedan automatiseringarna flyttade in i hemsidepaketet: hemsida
   och Kontrollcentral. Max-bredden hindrar korten från att bli oläsligt breda
   på stora skärmar. */
.pillar-grid {
  grid-template-columns: repeat(2, 1fr);
  max-width: 900px;
  margin-inline: auto;
}

.card-grid-3 { grid-template-columns: repeat(3, 1fr); }

.pillar-card { padding: 40px 34px; }

.pillar-sublist {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin: 18px 0 4px;
}
.pillar-sublist a {
  position: relative;
  display: inline-block;
  padding-left: 17px;
  font-size: 14px;
  color: var(--text-muted);
  transition: color 0.2s ease;
}
.pillar-sublist a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 6px;
  background: var(--teal-400);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}
.pillar-sublist a:hover { color: var(--teal-700); }

.hub-diagram {
  display: block;
  max-width: 280px;
  margin: 18px auto 4px;
  transition: transform 0.3s ease;
}
.hub-diagram:hover { transform: scale(1.03); }
.hub-diagram svg { display: block; width: 100%; height: auto; }

.dropdown-group .hub-diagram { max-width: 148px; margin: 8px 0 0; }
.hub-diagram-hex { filter: drop-shadow(0 14px 24px rgba(11, 74, 82, 0.22)); }
.hub-diagram-line {
  fill: none;
  stroke: var(--teal-800);
  stroke-opacity: 0.35;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.hub-diagram-icon { fill: none; stroke: #fff; stroke-width: 1.7; }
.hub-diagram-icon-dot { fill: #fff; stroke: none; }
.hub-diagram-core { fill: #fff; stroke: #fff; }

.section-cta {
  text-align: center;
  margin-top: 52px;
}

/* ===================================================================
   Ljusa innehållskort (återanvänds för "Varför"-sektioner m.m.)
   =================================================================== */

.work {
  background: var(--bg-alt);
}

.work-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.work-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.work-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.work-card p {
  font-size: 14.5px;
}

/* ===================================================================
   Priser
   =================================================================== */

.price-summary { padding-bottom: 24px; }

.price-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  background: var(--white);
  border: 1px solid var(--teal-100);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
}

.price-summary-item { text-align: center; }

.price-summary-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-600);
  margin-bottom: 8px;
}

.price-summary-value {
  display: block;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--teal-800);
}

.price-summary-sub {
  display: block;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-soft);
  margin-top: 4px;
}

@media (max-width: 720px) {
  .price-summary-grid { grid-template-columns: 1fr; }
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.pricing-grid-solo {
  grid-template-columns: minmax(0, 420px);
  justify-content: center;
}

.pricing-grid-duo {
  grid-template-columns: repeat(2, minmax(0, 420px));
  justify-content: center;
}

.price-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--teal-100);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  scroll-margin-top: 110px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.price-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.price-card h3 {
  font-size: 21px;
  margin-bottom: 10px;
}

.price-desc {
  font-size: 14.5px;
  margin-bottom: 22px;
  min-height: 44px;
}

.price-start {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.price-start-label {
  font-weight: 500;
  color: var(--text-soft);
  margin-left: 2px;
}

.price-tag {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 600;
  color: var(--teal-800);
  margin-bottom: 26px;
}

.price-period {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  color: var(--text-soft);
  margin-left: 2px;
}

.price-features {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-bottom: 32px;
  flex-grow: 1;
}

.price-features li {
  position: relative;
  padding-left: 26px;
  font-size: 14.5px;
  color: var(--text-muted);
}

.price-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 8px;
  height: 8px;
  background: var(--teal-500);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

/* Funktion som saknas i det här paketet — röd hexagon + genomskinlig överstrykning */

.price-features li.is-unavailable {
  color: var(--text-soft);
  text-decoration: line-through;
  text-decoration-color: rgba(16, 38, 43, 0.35);
  text-decoration-thickness: 1.5px;
}

.price-features li.is-unavailable::before {
  background: var(--red-unavailable);
}

/* Tilläggsnotis för uppsättningshjälp (t.ex. "vi bygger upp allt åt er") */

.price-addon {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: var(--bg-alt-2);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin-bottom: 24px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--text-muted);
}

.price-addon strong {
  color: var(--teal-800);
}

.price-addon-icon {
  flex-shrink: 0;
  color: var(--gold);
  margin-top: 1px;
}

/* Premiumkort (t.ex. Kontrollcentral Premium) — guldkant istället för standardkant */

.price-card-premium {
  border: 1px solid var(--gold);
  box-shadow: 0 0 0 1px var(--gold-light) inset;
}

/* Märke för skräddarsydd/individuell prissättning (t.ex. automation) */

.price-custom-tag {
  display: flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--teal-900);
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  padding: 7px 14px;
  border-radius: 999px;
  margin: 16px 0 4px;
}

/* ===================================================================
   Om oss
   =================================================================== */

.about {
  background: var(--bg-alt);
}

.about-inner {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 60px;
  align-items: center;
}

.about-visual {
  position: relative;
  height: 320px;
}

/* Loggan i Om oss-sektionen. Samma höjd som hexagonen den ersatte, så
   layouten runtomkring är oförändrad. */
.about-logo {
  position: absolute;
  inset: 6%;
  width: auto;
  height: 88%;
  margin: 0 auto;
  display: block;
  color: var(--teal-700);
}

.about-content p {
  font-size: 16px;
  margin-bottom: 18px;
}
.about-content p:last-child { margin-bottom: 0; }

/* ===================================================================
   Kontakt
   =================================================================== */

.contact-inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
}

.contact-info p {
  font-size: 16px;
  margin-bottom: 30px;
  max-width: 420px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-600);
  margin-bottom: 4px;
}

.contact-details a,
.contact-details .contact-value {
  font-size: 17px;
  font-weight: 600;
  color: var(--teal-900);
  transition: color 0.2s ease;
}
.contact-details a:hover { color: var(--teal-600); }

.contact-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--teal-100);
}

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

.form-row label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--teal-800);
  margin-bottom: 8px;
}

.form-row label .valfritt {
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 10.5px;
  color: var(--text-soft);
  margin-left: 5px;
}

.form-row input,
.form-row textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--teal-100);
  background: var(--bg-alt);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  resize: vertical;
}
.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--teal-500);
  box-shadow: 0 0 0 3px rgba(28, 169, 201, 0.16);
}

.form-status {
  margin-top: 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--teal-700);
  min-height: 20px;
}

.form-row input[readonly] {
  background: var(--bg-alt-2);
  color: var(--text-soft);
  cursor: not-allowed;
}

/* <select> ärver inte input-stilen automatiskt — utan det här står de kvar
   med webbläsarens standardutseende bredvid fält som är genomarbetade. */
.form-row select {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--teal-100);
  background: var(--bg-alt);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%230B4A52' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 42px;
}
.form-row select:focus {
  outline: none;
  border-color: var(--teal-500);
  box-shadow: 0 0 0 3px rgba(28, 169, 201, 0.16);
}

/* ===================================================================
   Kontakt — de tre vägarna in
   =================================================================== */

.kontakt-val {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.kontakt-kort {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--teal-100);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-md);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.kontakt-kort:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--teal-500);
}
.kontakt-kort:focus-visible {
  outline: 2px solid var(--teal-600);
  outline-offset: 3px;
}

.kontakt-kort h2 {
  font-size: 23px;
  margin: 10px 0 12px;
  color: var(--teal-900);
}

.kontakt-kort p {
  font-size: 15.5px;
  color: var(--text-soft);
  margin-bottom: 22px;
  flex: 1;
}

.kontakt-kort-lank {
  font-size: 15px;
  font-weight: 600;
  color: var(--teal-700);
}
.kontakt-kort-lank::after {
  content: " →";
  transition: margin-left 0.2s ease;
}
.kontakt-kort:hover .kontakt-kort-lank::after { margin-left: 4px; }

/* ===================================================================
   Feedback
   =================================================================== */

.feedback-intro {
  font-size: 16px;
  margin-bottom: 18px;
  max-width: 420px;
}

.feedback-valfritt {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal-600);
  margin: 28px 0 14px;
}

/* Fältet ska vara osynligt för människor men ifyllbart för robotar. display:none
   hoppas över av en del robotar — det här gör det inte. */
.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@media (max-width: 900px) {
  .kontakt-val { grid-template-columns: 1fr; }
}

/* ===================================================================
   Demo hemsida
   =================================================================== */

.demo-card { position: relative; }

.example-badge {
  position: absolute;
  top: 26px;
  right: 26px;
  z-index: 2;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--teal-700);
  background: var(--teal-100);
  padding: 6px 12px;
  border-radius: 999px;
}

/* Klickbart kort med en levande, förminskad förhandsvisning av en färdig demo */

.demo-card-live {
  display: block;
  width: 100%;
  text-align: left;
  appearance: none;
  -webkit-appearance: none;
  background: var(--white);
  font-family: inherit;
}

.example-badge-live {
  display: flex;
  align-items: center;
  color: var(--white);
  background: var(--teal-700);
  box-shadow: var(--shadow-sm);
}
.example-badge-live::before {
  content: "";
  width: 6px;
  height: 6px;
  margin-right: 6px;
  border-radius: 999px;
  background: #4FE3B0;
  display: inline-block;
}

.demo-preview-frame {
  position: relative;
  height: 168px;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: var(--bg-alt);
  border: 1px solid var(--teal-100);
  margin-bottom: 22px;
}
.demo-preview-frame iframe {
  display: block;
  width: 100%;
  height: 480px;
  border: 0;
  pointer-events: none;
}

.demo-preview-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 12px;
  background: linear-gradient(180deg, rgba(11, 74, 82, 0) 55%, rgba(11, 74, 82, 0.6) 100%);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.demo-card-live:hover .demo-preview-overlay,
.demo-card-live:focus-visible .demo-preview-overlay { opacity: 1; }

.demo-preview-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
}

/* Modal — visar mer av demon utan att besökaren lämnar hexagon-sidan */

.demo-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(11, 38, 43, 0.6);
  backdrop-filter: blur(4px);
}
.demo-modal.is-open { display: flex; }

.demo-modal-window {
  width: 100%;
  max-width: 1040px;
  height: min(760px, 86vh);
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.demo-modal-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--teal-100);
}

.demo-modal-dots { display: flex; gap: 6px; }
.demo-modal-dots span { width: 10px; height: 10px; border-radius: 999px; background: var(--teal-200); }

.demo-modal-address {
  flex: 1;
  font-size: 13px;
  color: var(--text-soft);
  background: var(--white);
  border: 1px solid var(--teal-100);
  border-radius: 999px;
  padding: 7px 16px;
  text-align: center;
}

.demo-modal-close {
  flex: none;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal-800);
  background: var(--white);
  border: 1px solid var(--teal-100);
  border-radius: 999px;
  transition: background 0.2s ease;
}
.demo-modal-close:hover { background: var(--teal-100); }

.demo-modal-body { flex: 1; position: relative; background: var(--bg-alt); }
.demo-modal-body iframe { width: 100%; height: 100%; border: 0; }

.demo-modal-note {
  padding: 10px 18px;
  font-size: 12.5px;
  color: var(--text-soft);
  text-align: center;
  background: var(--bg-alt);
  border-top: 1px solid var(--teal-100);
}

@media (max-width: 640px) {
  .demo-modal-window { height: 88vh; }
}

/* ===================================================================
   Bokningsruta & bokningspopup (kontakt.html)
   =================================================================== */

.booking-panel {
  background: var(--white);
  border: 1px solid var(--teal-100);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-bottom: 32px;
}

.booking-panel h2 { font-size: 22px; margin-bottom: 8px; }

.booking-panel-lead {
  font-size: 14.5px;
  color: var(--text-muted);
  margin-bottom: 22px;
}

.booking-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.booking-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(11, 38, 43, 0.6);
  backdrop-filter: blur(4px);
}
.booking-modal.is-open { display: flex; }

.booking-modal-window {
  position: relative;
  width: 100%;
  max-width: 460px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 40px 32px 32px;
  text-align: center;
}

.booking-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal-800);
  background: var(--white);
  border: 1px solid var(--teal-100);
  border-radius: 999px;
  transition: background 0.2s ease;
}
.booking-modal-close:hover { background: var(--teal-100); }

.booking-modal-state { display: none; }
.booking-modal-state.is-active { display: block; }

.booking-spinner {
  width: 40px;
  height: 40px;
  margin: 0 auto 20px;
  border: 3px solid var(--teal-100);
  border-top-color: var(--teal-600);
  border-radius: 50%;
  animation: booking-spin 0.8s linear infinite;
}
@keyframes booking-spin { to { transform: rotate(360deg); } }

.booking-check {
  width: 52px;
  height: 52px;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--teal-600);
  color: var(--white);
}

.booking-modal-state h3 { font-size: 20px; margin-bottom: 8px; }
.booking-modal-state p { font-size: 14.5px; color: var(--text-muted); margin-bottom: 20px; }

.booking-reminder-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.booking-alt-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.booking-modal-note {
  font-size: 13.5px;
  color: var(--text-soft);
  margin-bottom: 8px;
}

.booking-alt-btn {
  width: 100%;
  text-align: left;
}

.booking-form-status {
  font-size: 13.5px;
  color: var(--text-soft);
  margin-top: 10px;
}

.slot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(68px, 1fr));
  gap: 8px;
  max-height: 216px;
  overflow-y: auto;
  padding: 10px;
  margin-bottom: 12px;
  border: 1px solid var(--teal-100);
  border-radius: 12px;
  background: var(--bg-alt);
}

.slot-grid-hint {
  grid-column: 1 / -1;
  font-size: 13.5px;
  color: var(--text-soft);
  margin: 4px;
}

.slot-btn {
  padding: 9px 4px;
  font-size: 13.5px;
  font-weight: 600;
  font-family: var(--font-body);
  color: var(--teal-800);
  background: var(--white);
  border: 1px solid var(--teal-100);
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.slot-btn:hover { border-color: var(--teal-600); }
.slot-btn.is-selected {
  background: var(--teal-600);
  border-color: var(--teal-600);
  color: var(--white);
}

@media (max-width: 560px) {
  .booking-row { grid-template-columns: 1fr; }
}

/* ===================================================================
   Footer
   =================================================================== */

.site-footer {
  background: var(--teal-900);
  color: rgba(255, 255, 255, 0.72);
  padding: 44px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-logo .logo-text { color: var(--white); }

.footer-nav {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
}
.footer-nav a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.72);
  transition: color 0.2s ease;
}
.footer-nav a:hover { color: var(--teal-400); }

.footer-copy {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.footer-legal {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.footer-legal a {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.2s ease;
}
.footer-legal a:hover { color: var(--teal-400); }

@media (max-width: 640px) {
  .footer-bottom { align-items: flex-start; }
}

/* ===================================================================
   Juridiska sidor (Integritetspolicy, Cookiepolicy)
   =================================================================== */

.legal-inner {
  max-width: 720px;
  margin: 0 auto;
}

.legal-inner h2 {
  font-size: 23px;
  margin: 48px 0 16px;
}
.legal-inner h2:first-child { margin-top: 0; }

.legal-inner h3 {
  font-size: 17px;
  margin: 28px 0 12px;
}

.legal-inner p {
  font-size: 16px;
  margin-bottom: 16px;
}

.legal-inner ul {
  margin: 0 0 20px;
}
.legal-inner li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
  color: var(--text-muted);
  font-size: 16px;
}
.legal-inner li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 7px;
  height: 7px;
  background: linear-gradient(135deg, var(--teal-400), var(--gold));
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.legal-updated {
  font-size: 13.5px;
  color: var(--text-soft);
  margin-top: 40px;
}

/* ===================================================================
   Scroll-reveal
   =================================================================== */

/* Utan JS (.js-klassen saknas på <html>) visas allt innehåll direkt */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===================================================================
   Responsivt
   =================================================================== */

@media (max-width: 980px) {
  section { padding: 90px 0; }

  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { height: 440px; order: -1; }

  .about-inner,
  .contact-inner { grid-template-columns: 1fr; }
  .about-visual { height: 220px; order: -1; }

  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .pricing-grid-duo { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }

  .dropdown { min-width: 600px; }
}

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

  .header-actions .btn-sm { display: none; }

  .main-nav.is-open {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow-md);
    padding: 20px 28px 28px;
  }
  .main-nav.is-open ul {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }

  .nav-item-row { justify-content: space-between; }

  .dropdown {
    position: static;
    transform: none;
    min-width: 0;
    width: 100%;
    grid-template-columns: 1fr;
    gap: 14px;
    background: var(--bg-alt);
    border: none;
    box-shadow: none;
    padding: 0 4px;
    margin-top: 0;
    opacity: 1;
    visibility: visible;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, margin-top 0.3s ease, padding 0.3s ease;
  }
  .dropdown-group + .dropdown-group { border-left: none; margin-left: 0; padding-left: 0; }
  .has-dropdown.is-open .dropdown,
  .has-dropdown:hover .dropdown {
    transform: none;
    max-height: 700px;
    margin-top: 14px;
    padding: 14px 4px;
  }

  .card-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }

  .contact-form { padding: 28px; }
}

@media (max-width: 480px) {
  .container { padding: 0 20px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }

  .integrations-strip { margin-top: 44px; }
  .integration-chip { padding: 10px 16px; font-size: 13px; gap: 7px; }
}

/* ===================================================================
   App-popup — erbjudandet att lägga Kontrollcentralen på hemskärmen
   =================================================================== */

.app-promo {
  position: fixed;
  right: 20px;
  bottom: 20px;
  left: 20px;
  z-index: 900;
  max-width: 360px;
  margin-left: auto;
  padding: 22px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  /* Startläge: osynlig och nedskjuten. Klassen is-open animerar in den. */
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.28s ease, transform 0.28s ease;
  pointer-events: none;
}

.app-promo.is-open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.app-promo-top {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding-right: 26px;
}

.app-promo-icon {
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 11px;
}

.app-promo-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  color: var(--teal-900);
}

.app-promo-text {
  margin: 6px 0 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-muted);
}

.app-promo-actions {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.app-promo-actions .btn { flex: 1; }

.app-promo-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  padding: 0;
  background: none;
  border: 0;
  border-radius: 8px;
  color: var(--text-soft);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.app-promo-close:hover {
  background: var(--bg-alt);
  color: var(--text);
}

.app-promo-later {
  padding: 10px 16px;
  background: none;
  border: 0;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.2s ease;
}

.app-promo-later:hover { background: var(--bg-alt); }

@media (prefers-reduced-motion: reduce) {
  .app-promo { transition: none; transform: none; }
}

/* Liten förklarande rad i menyns undermeny — talar om att automatiseringarna
   hör till hemsidan och inte är en egen produkt att köpa separat. */
.dropdown-note {
  display: block;
  margin: -2px 0 8px;
  font-size: 11.5px;
  line-height: 1.45;
  color: var(--text-soft);
}

/* Raden som förklarar att automatiseringarna ingår i hemsidepaketen. Ska läsas
   som ett förtydligande, inte som ännu ett säljargument — därav mindre grad. */
.pillar-included {
  margin-top: 14px;
  padding: 12px 14px;
  background: var(--bg-alt);
  border-radius: var(--radius-sm);
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-muted);
}

/* Förtydligandet högst upp på automationssidorna. Den som kommer direkt från
   Google ska inte tro att automatiseringarna säljs separat. */
.hero-included {
  display: inline-block;
  margin-top: 18px;
  padding: 10px 16px;
  background: var(--teal-100);
  border-radius: 999px;
  font-size: 14px;
  color: var(--teal-800);
}

.hero-included a {
  color: var(--teal-800);
  font-weight: 600;
}

/* Med bara två pelare av olika höjd hamnade "Läs mer"-länkarna på olika rader
   och korten såg halvfärdiga ut. Flex + auto-marginal trycker ner länken till
   kortets botten oavsett hur mycket text som står ovanför. */
.pillar-card {
  display: flex;
  flex-direction: column;
}

.pillar-card .card-link {
  margin-top: auto;
  padding-top: 16px;
}

/* Markering för tjänster som är annonserade men inte släppta än. Ska synas
   tydligt — en kund får aldrig tro att något fungerar innan det gör det. */
.hero-included-soon {
  background: var(--gold-light);
  color: var(--teal-900);
}

.dropdown-soon,
.soon-tag {
  margin-left: 6px;
  padding: 1px 6px;
  border-radius: 999px;
  background: var(--gold-light);
  color: var(--teal-900);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  vertical-align: 1px;
}

.price-custom-tag-soon {
  background: var(--gold-light);
  color: var(--teal-900);
}

/* ===================================================================
   Recensioner — startsidan
   Innehållet hämtas av assets/js/reviews.js, sektionen är dold tills
   det finns minst en godkänd recension att visa.
   =================================================================== */

.reviews {
  padding: clamp(64px, 9vw, 110px) 0;
  background: var(--bg-alt);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 24px;
  margin-top: 44px;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
}

.testimonial-card-stars {
  color: var(--gold);
  letter-spacing: 3px;
  font-size: 1rem;
  margin-bottom: 14px;
}

.testimonial-card-body {
  color: var(--text-muted);
  margin: 0 0 20px;
  /* Radbrytningar kunden skrev ska överleva, men taggar renderas aldrig —
     texten sätts med textContent i reviews.js. */
  white-space: pre-wrap;
}

/* Namnet sist, som en signatur — marginalen ovanför trycker ner det till
   kortets botten så att korten i raden får samma höjd. */
.testimonial-card-author {
  margin-top: auto;
  font-weight: 600;
  color: var(--text);
  font-size: 0.95rem;
}

.testimonial-card-company {
  display: block;
  font-weight: 400;
  color: var(--text-soft);
  font-size: 0.88rem;
}
