/* ─────────────────────────────────────────────
   Albia IT Partner — Design system
   ───────────────────────────────────────────── */

:root {
  /* Purple scale — anchored on brand mark #402259 */
  --ink-950: #0E0820;
  --ink-900: #1A0E2E;
  --ink-800: #402259;   /* OFFICIAL BRAND PURPLE */
  --ink-700: #5A3577;
  --ink-600: #74508F;
  --ink-500: #9078A9;

  --lav-50:  #F8F4FE;
  --lav-100: #EFE7FA;   /* soft accent */
  --lav-200: #DCC9F4;
  --lav-300: #C2A6EA;

  /* Orange accent — slightly lighter than logo for UI use */
  --orange-500: #D86340;  /* lighter than logo #CA542D */
  --orange-400: #E47D5C;
  --orange-100: #FBEADF;
  --orange-50:  #FDF5EE;

  /* Warm neutrals */
  --cream-50:  #FAF7F2;
  --cream-100: #F2EEE7;
  --cream-200: #E7E1D6;
  --paper:     #FFFFFF;

  /* Ink (text) */
  --ink: #1A1622;
  --ink-muted: #3D3548;
  --ink-faint: #6E6680;
  --rule: rgba(26, 22, 34, 0.10);
  --rule-strong: rgba(26, 22, 34, 0.18);

  /* Type */
  --font-sans: "Manrope", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* Radius */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-pill: 999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(21, 16, 43, 0.05);
  --shadow-md: 0 10px 30px -12px rgba(21, 16, 43, 0.20), 0 4px 8px -4px rgba(21, 16, 43, 0.10);
  --shadow-lg: 0 30px 80px -20px rgba(21, 16, 43, 0.30);

  /* Layout */
  --container: 1240px;
  --gutter: clamp(20px, 4vw, 56px);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-sans);
  background: var(--cream-50);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
button { font-family: inherit; }
a { color: inherit; text-decoration: none; }

/* ───── Container ───── */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* ───── Type ───── */
.eyebrow {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.005em;
  text-transform: none;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: transparent;
  padding: 0;
  border: 0;
  border-radius: 0;
  white-space: nowrap;
}
.eyebrow .dot {
  width: 32px; height: 3px;
  background: var(--orange-500);
  border-radius: 2px;
  box-shadow: none;
  display: inline-block;
  flex: 0 0 32px;
}
.eyebrow.on-dark {
  color: rgba(255,255,255,0.88);
  background: transparent;
  border: 0;
}
.eyebrow.on-dark .dot {
  background: var(--lav-200);
  box-shadow: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0;
  color: var(--ink);
  text-wrap: balance;
}
h1 { font-size: clamp(40px, 5.4vw, 76px); letter-spacing: -0.03em; }
h2 { font-size: clamp(32px, 3.8vw, 52px); letter-spacing: -0.025em; }
h3 { font-size: clamp(22px, 1.9vw, 28px); letter-spacing: -0.02em; line-height: 1.15; }
h4 { font-size: 18px; line-height: 1.25; }

.lead {
  font-size: clamp(17px, 1.3vw, 19px);
  line-height: 1.55;
  color: var(--ink-muted);
  max-width: 56ch;
  text-wrap: pretty;
}
.muted { color: var(--ink-muted); }

/* ───── Buttons (pill — matches existing identity but refined) ───── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: var(--r-pill);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 120ms ease, background 160ms ease, color 160ms ease, border-color 160ms ease, box-shadow 200ms ease;
  white-space: nowrap;
  text-decoration: none;
}
.btn:active { transform: translateY(1px); }
.btn .ic { width: 16px; height: 16px; transition: transform 200ms ease; }
.btn:hover .ic { transform: translateX(3px); }

.btn-primary {
  background: var(--lav-100);
  color: var(--ink-900);
  border-color: var(--lav-100);
}
.btn-primary:hover { background: var(--lav-200); border-color: var(--lav-200); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--rule-strong);
}
.btn-ghost:hover { background: var(--ink); color: var(--cream-50); border-color: var(--ink); }

.btn-ghost-light {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.35);
}
.btn-ghost-light:hover { background: rgba(255,255,255,0.10); border-color: rgba(255,255,255,0.55); }

.btn-dark {
  background: var(--ink-900);
  color: #fff;
}
.btn-dark:hover { background: var(--ink-800); }

.btn-sm { padding: 9px 16px; font-size: 13px; }

/* ───── Nav ───── */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  background: rgba(250, 247, 242, 0.78);
  border-bottom: 1px solid var(--rule);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.brand {
  display: flex; align-items: center; gap: 0;
  cursor: pointer;
}
.brand img {
  height: 38px;
  width: auto;
  display: block;
}
.footer .brand img { filter: brightness(0) invert(1); opacity: 0.95; }
.nav-links {
  display: flex; gap: 4px; align-items: center;
}
.nav-link {
  position: relative;
  padding: 8px 14px;
  border-radius: var(--r-pill);
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  transition: background 150ms ease, color 150ms ease;
  border: 0;
  background: transparent;
}
.nav-link:hover { background: rgba(26,22,34,0.05); }
.nav-link.active { color: var(--ink-900); }
.nav-link.active::after {
  content: ""; position: absolute;
  left: 50%; bottom: -1px;
  transform: translateX(-50%);
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--orange-500);
}

/* ───── Mobile nav ───── */
.nav-burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
  position: relative;
  z-index: 60;
}
.nav-burger span {
  display: block;
  position: absolute;
  left: 11px;
  right: 11px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 240ms cubic-bezier(.2,.7,.2,1), opacity 180ms ease, top 240ms ease;
}
.nav-burger span:nth-child(1) { top: 14px; }
.nav-burger span:nth-child(2) { top: 21px; }
.nav-burger span:nth-child(3) { top: 28px; }
.nav-burger.is-open span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-burger.is-open span:nth-child(2) { opacity: 0; }
.nav-burger.is-open span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

.nav-mobile {
  position: fixed;
  inset: 0;
  background: var(--cream-50);
  z-index: 49;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 28px;
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 360ms cubic-bezier(.2,.7,.2,1), opacity 240ms ease;
}
.nav-mobile.is-open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.nav-mobile-inner {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-width: 420px;
  width: 100%;
  margin: 0 auto;
}
.nav-mobile-link {
  font-family: var(--font-sans);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  background: transparent;
  border: 0;
  padding: 14px 0;
  text-align: left;
  cursor: pointer;
  border-bottom: 1px solid var(--rule);
  transition: padding-left 220ms ease;
}
.nav-mobile-link:hover { padding-left: 8px; }
.nav-mobile-link.active { color: var(--ink-800); }
.nav-mobile-link.active::after {
  content: "";
  display: inline-block;
  margin-left: 10px;
  width: 6px; height: 6px;
  background: var(--orange-500);
  border-radius: 50%;
  vertical-align: middle;
}
.nav-mobile-cta {
  margin-top: 26px;
  align-self: flex-start;
  font-size: 15px;
  padding: 14px 22px;
}

@media (max-width: 760px) {
  .nav-links--desktop { display: none; }
  .nav-burger { display: block; }
  .nav-inner { padding-top: 12px; padding-bottom: 12px; }
}

/* ───── Common responsive grids ───── */
.page-hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 64px;
  align-items: end;
  margin-top: 18px;
}
@media (max-width: 800px) {
  .page-hero-grid { grid-template-columns: 1fr; gap: 20px; }
}
.contact-page-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 56px;
  align-items: start;
}
@media (max-width: 900px) {
  .contact-page-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ───── Hero ───── */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--ink-900);
  color: #fff;
  isolation: isolate;
}
.hero .bg {
  position: absolute; inset: 0;
  z-index: 0;
}
.hero .bg image-slot {
  width: 100%; height: 100%;
}
.hero .bg::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(64, 34, 89, 0.62) 0%, rgba(48, 24, 70, 0.78) 60%, rgba(26, 14, 46, 0.86) 100%),
    radial-gradient(80% 60% at 30% 20%, rgba(64, 34, 89, 0.55) 0%, transparent 70%);
  pointer-events: none;
}
.hero .grain {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 3px 3px;
  pointer-events: none;
  mix-blend-mode: overlay;
  z-index: 1;
}
.hero-inner {
  position: relative; z-index: 2;
  padding-top: clamp(80px, 11vw, 150px);
  padding-bottom: clamp(70px, 9vw, 120px);
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}
.hero-meta {
  display: flex; align-items: center; gap: 14px;
  color: var(--lav-100);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hero-meta .divider { width: 26px; height: 1px; background: rgba(239,231,250,0.4); }
.hero h1 {
  color: #fff;
  max-width: 16ch;
}
.hero h1 .highlight,
.detail-hero h1 .highlight {
  background: linear-gradient(180deg, transparent 65%, rgba(220, 201, 244, 0.42) 65%);
  padding: 0 2px;
}
.hero-sub {
  font-size: clamp(17px, 1.35vw, 20px);
  color: rgba(255,255,255,0.78);
  max-width: 58ch;
  line-height: 1.55;
  text-wrap: pretty;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-strip {
  position: relative; z-index: 2;
  border-top: 1px solid rgba(255,255,255,0.10);
  padding: 22px 0;
}
.strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.strip-item .k {
  font-family: var(--font-sans);
  font-size: 26px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}
.strip-item .l {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(239,231,250,0.65);
  margin-top: 4px;
}

/* ───── Section scaffolding ───── */
.section { padding: clamp(80px, 10vw, 140px) 0; }
.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 6vw, 80px);
  align-items: end;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.section-head .title { display: flex; flex-direction: column; gap: 18px; }
.section-head .copy { padding-bottom: 6px; }

@media (max-width: 800px) {
  .section-head { grid-template-columns: 1fr; align-items: start; }
}

/* ───── Service cards (refined) ───── */
.areas {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
@media (max-width: 980px) { .areas { grid-template-columns: 1fr; } }

.area-card {
  position: relative;
  background: var(--ink-800);
  color: #fff;
  border-radius: var(--r-lg);
  padding: 36px 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-height: 440px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 280ms cubic-bezier(.2,.7,.2,1), box-shadow 280ms ease, background 280ms ease;
  border: 1px solid rgba(255,255,255,0.06);
}
.area-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  background: var(--ink-700);
}
.area-card .area-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255,255,255,0.10);
}
.area-card .area-num {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--lav-200);
  opacity: 0.7;
  padding-top: 12px;
}
.area-card .area-mark {
  color: var(--lav-200);
  opacity: 0.95;
  flex-shrink: 0;
  transition: transform 280ms cubic-bezier(.2,.7,.2,1), color 220ms ease;
}
.area-card:hover .area-mark {
  color: #fff;
  transform: rotate(-6deg) scale(1.05);
}
.area-card h3 {
  color: #fff;
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 0.95;
}
.area-card .area-services {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 1;
}
.area-card .area-services li {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 18px 0;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: rgba(255,255,255,0.92);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  cursor: pointer;
  transition: color 160ms ease, padding-left 220ms ease;
}
.area-card .area-services li:last-child {
  border-bottom: 0;
}
.area-card .area-services li:hover {
  color: #fff;
  padding-left: 6px;
}
.area-card .area-services .num {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--lav-200);
  opacity: 0.55;
  flex-shrink: 0;
  min-width: 22px;
  transition: opacity 160ms ease, color 160ms ease;
}
.area-card .area-services li:hover .num {
  opacity: 1;
  color: #fff;
}
.area-card .area-services .label {
  flex: 1;
}
.area-card .area-services .chev {
  width: 22px; height: 22px;
  display: grid; place-items: center;
  color: var(--lav-200);
  opacity: 0;
  flex-shrink: 0;
  transform: translateX(-6px);
  transition: transform 220ms cubic-bezier(.2,.7,.2,1), opacity 200ms ease, color 160ms ease;
}
.area-card .area-services li:hover .chev {
  transform: translateX(0);
  opacity: 1;
  color: #fff;
}
.area-card .area-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lav-200);
  margin-top: 4px;
  transition: color 160ms ease, gap 200ms ease;
}
.area-card:hover .area-cta {
  color: #fff;
  gap: 12px;
}

/* Variation accent for first card to break visual repetition */
.area-card.feature {
  background: linear-gradient(160deg, var(--ink-800), var(--ink-700) 60%, #6b3f8e 100%);
}
.area-card.feature .area-num { color: var(--lav-100); opacity: 0.85; }

/* Discreet extras row beneath the two main area cards */
.area-extras {
  margin-top: 22px;
  padding: 18px 26px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  background: rgba(255,255,255,0.02);
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
.area-extras-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  white-space: nowrap;
}
.area-extras-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 22px;
  flex: 1;
}
.area-extras-list li {
  position: relative;
  color: rgba(255,255,255,0.72);
  font-size: 14.5px;
  cursor: pointer;
  transition: color 160ms ease;
  padding: 2px 0;
}
.area-extras-list li:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -12px;
  top: 50%;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255,255,255,0.22);
  transform: translateY(-50%);
}
.area-extras-list li:hover {
  color: #fff;
}
@media (max-width: 720px) {
  .area-extras { padding: 16px 18px; gap: 14px; }
  .area-extras-list { gap: 4px 18px; }
  .area-extras-list li:not(:last-child)::after { right: -10px; }
}

/* Rotating word animation in hero */
@keyframes rotIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ───── Service marquee ───── */
.marquee {
  overflow: hidden;
  padding: 32px 0;
  background: var(--cream-50);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  position: relative;
  -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: inline-flex;
  align-items: center;
  gap: 38px;
  animation: marquee 42s linear infinite;
  white-space: nowrap;
  padding-left: 38px;
  will-change: transform;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  font-family: var(--font-sans);
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--ink);
  line-height: 1;
}
.marquee-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--orange-500);
  display: inline-block;
  flex-shrink: 0;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

/* ───── Testimonials (editorial: quote + photo with lavender backdrop) ───── */
.testimonials-section { padding-top: clamp(60px, 8vw, 120px); padding-bottom: clamp(60px, 8vw, 120px); }
.testimonials-section .section-head { margin-bottom: 56px; }

.testi-stage {
  position: relative;
}
.testi-window {
  position: relative;
  display: grid;
  min-height: 520px;
}
.testi-slide {
  grid-area: 1 / 1;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 700ms ease, transform 700ms cubic-bezier(.2,.7,.2,1);
}
.testi-slide.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Left — text column */
.testi-text {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding-top: 8px;
}
.testi-quotemark {
  font-family: var(--font-sans);
  font-size: clamp(80px, 9vw, 140px);
  line-height: 0.4;
  font-weight: 700;
  color: var(--lav-200);
  pointer-events: none;
  user-select: none;
  margin-bottom: 8px;
  display: block;
}
.testi-quote {
  font-size: clamp(22px, 2.2vw, 32px);
  line-height: 1.32;
  letter-spacing: -0.02em;
  font-weight: 500;
  color: var(--ink);
  margin: 0;
  text-wrap: pretty;
  max-width: 32ch;
}
.testi-author {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 8px;
}
.testi-rule {
  display: block;
  width: 40px;
  height: 1px;
  background: var(--ink);
  flex-shrink: 0;
}
.testi-meta { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.testi-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.testi-role {
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink-muted);
}

/* Right — photo with gradient decor frame (matches .photo-decor-frame) */
.testi-figure {
  position: relative;
  width: 100%;
  max-width: 520px;
  aspect-ratio: 4 / 3;
  justify-self: end;
  isolation: isolate;
}
.testi-figure::before {
  content: "";
  position: absolute;
  inset: 22px -14px -14px 14px;
  background:
    linear-gradient(135deg,
      #E47D5C 0%,
      #F0B59A 15%,
      #EFE7FA 35%,
      #DCC9F4 55%,
      #C2A6EA 75%,
      #74508F 90%,
      #402259 100%);
  border-radius: var(--r-xl);
  z-index: -1;
  transition: inset 380ms cubic-bezier(.2, .7, .2, 1);
}
.testi-figure:hover::before {
  inset: 34px -32px -32px 28px;
}
.testi-figure-frame {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--cream-100);
  box-shadow: var(--shadow-md);
  z-index: 1;
}
.testi-figure-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.testi-figure-frame image-slot {
  display: block;
  width: 100%;
  height: 100%;
}

/* Nav arrows */
.testi-nav {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid var(--rule-strong);
  color: var(--ink-muted);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease, transform 160ms ease;
}
.testi-nav:hover {
  background: var(--ink-800);
  color: #fff;
  border-color: var(--ink-800);
}
.testi-nav:active { transform: scale(0.96); }

/* Dots */
.testi-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 56px;
}
.testi-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--rule-strong);
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: width 220ms ease, background 200ms ease;
}
.testi-dot.active {
  width: 24px;
  border-radius: 999px;
  background: var(--ink-800);
}

@media (max-width: 860px) {
  .testi-stage { grid-template-columns: 1fr; }
  .testi-nav { display: none; }
  .testi-window { min-height: 0; }
  .testi-slide { grid-template-columns: 1fr; gap: 40px; }
  .testi-figure { max-width: 100%; justify-self: stretch; aspect-ratio: 5/4; }
  .testi-figure::before { inset: 14px -8px -8px 8px; }
  .testi-figure:hover::before { inset: 22px -16px -16px 16px; }
  .testi-quote { font-size: 20px; max-width: none; }
  .testi-quotemark { font-size: 96px; }
}

/* ───── Process / how we work ───── */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  position: relative;
}
@media (max-width: 900px) { .process { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .process { grid-template-columns: 1fr; } }
.process-step {
  padding: 28px 26px 32px;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.process-step:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--rule-strong);
}
.process-step .node {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1.5px solid var(--orange-500);
  color: var(--orange-500);
  display: grid; place-items: center;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  background: var(--paper);
  flex-shrink: 0;
}
.process-step .num {
  display: none; /* legacy class, hidden in favor of .node */
}
.process-step h4 { font-size: 19px; }
.process-step p {
  font-size: 14.5px;
  color: var(--ink-muted);
  line-height: 1.55;
  margin: 0;
}
.process-step .arrow-next {
  position: absolute;
  top: 49px;
  right: -22px;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--cream-50);
  display: grid; place-items: center;
  color: var(--orange-500);
  z-index: 2;
  pointer-events: none;
  transition: transform .35s cubic-bezier(.2,.7,.2,1);
}
.process-step:hover .arrow-next { transform: translateX(4px); }
.process-step:last-child .arrow-next { display: none; }
@media (max-width: 900px) {
  .process-step:nth-child(2n) .arrow-next { display: none; }
}
@media (max-width: 540px) {
  .process-step .arrow-next { display: none; }
}
.process-step .check {
  position: absolute;
  top: 28px;
  right: 22px;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--orange-500);
  color: #fff;
  display: grid; place-items: center;
}

/* ───── Local / Jönköping ───── */
.local {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(40px, 7vw, 110px);
  align-items: center;
}
@media (max-width: 900px) { .local { grid-template-columns: 1fr; } }
.local-photo {
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 5 / 4;
  background: var(--cream-100);
  position: relative;
}
.local-photo::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(165deg, rgba(64, 34, 89, 0.10) 0%, rgba(90, 53, 119, 0.06) 50%, rgba(64, 34, 89, 0.16) 100%);
  pointer-events: none;
  mix-blend-mode: multiply;
}

/* Decorative offset gradient frame behind a photo */
.photo-decor-frame {
  position: relative;
  isolation: isolate;
}
.photo-decor-frame::before {
  content: "";
  position: absolute;
  inset: 22px -14px -14px 14px;
  background:
    linear-gradient(135deg,
      #E47D5C 0%,
      #F0B59A 15%,
      #EFE7FA 35%,
      #DCC9F4 55%,
      #C2A6EA 75%,
      #74508F 90%,
      #402259 100%);
  border-radius: var(--r-xl);
  z-index: -1;
  transition: inset 380ms cubic-bezier(.2, .7, .2, 1);
}
.photo-decor-frame:hover::before {
  inset: 34px -32px -32px 28px;
}
.photo-decor-frame .local-photo {
  position: relative;
  z-index: 1;
}

/* Palette variants — lila / ljuslila / orange */
.photo-decor-frame--warm::before {
  background: linear-gradient(135deg,
    #E47D5C 0%, #F0B59A 18%, #EFE7FA 40%, #DCC9F4 60%, #C2A6EA 80%, #74508F 100%);
}
.photo-decor-frame--cool::before {
  background: linear-gradient(135deg,
    #EFE7FA 0%, #DCC9F4 22%, #C2A6EA 45%, #74508F 75%, #402259 100%);
}
.photo-decor-frame--bold::before {
  background: linear-gradient(135deg,
    #402259 0%, #5A3577 18%, #74508F 35%, #C2A6EA 55%, #EFE7FA 72%, #F0B59A 88%, #E47D5C 100%);
}

@media (max-width: 800px) {
  .photo-decor-frame::before { inset: 14px -8px -8px 8px; }
  .photo-decor-frame:hover::before { inset: 22px -16px -16px 16px; }
}
.local-card {
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  padding: 22px;
  background: var(--paper);
  display: flex; align-items: center; gap: 14px;
  margin-top: 28px;
  max-width: 380px;
}
.avatar-stack { display: flex; }
.avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 2px solid var(--paper);
  background: var(--lav-200);
  margin-left: -10px;
  background-image: radial-gradient(circle at 30% 30%, var(--lav-100), var(--ink-600));
}
.avatar:first-child { margin-left: 0; }

/* ───── Cases ───── */
.cases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 980px) { .cases { grid-template-columns: 1fr; } }
.case-card {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform 280ms ease, box-shadow 280ms ease, border-color 280ms ease;
}
.case-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--rule-strong);
}
.case-thumb {
  aspect-ratio: 4 / 3;
  background: var(--cream-100);
  border-bottom: 1px solid var(--rule);
  position: relative;
  overflow: hidden;
}
.case-thumb .tag {
  position: absolute; top: 14px; left: 14px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(255,255,255,0.92);
  border: 1px solid var(--rule);
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--ink);
}
.case-body {
  padding: 22px 22px 24px;
  display: flex; flex-direction: column; gap: 8px;
  flex: 1;
}
.case-body .meta {
  display: flex; gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-faint);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.case-body h4 { font-size: 20px; line-height: 1.2; }
.case-body p { font-size: 14.5px; color: var(--ink-muted); margin: 0; }

/* ───── Contact band (form + kontaktperson) ───── */
.contact-band {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--r-xl);
  padding: clamp(36px, 4.5vw, 56px);
  display: grid;
  grid-template-columns: 0.85fr 1.4fr;
  gap: clamp(40px, 5vw, 72px);
  align-items: center;
  box-shadow: var(--shadow-sm);
}
@media (max-width: 900px) { .contact-band { grid-template-columns: 1fr; } }

.contact-person {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.contact-portrait {
  width: 100%;
  max-width: 220px;
  aspect-ratio: 4 / 5;
  align-self: flex-start;
}
.contact-photo {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--cream-100);
  z-index: 1;
}
.contact-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 35% center;
}
.contact-meta {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.contact-name {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0;
}
.contact-rows {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}
.contact-row {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--ink-muted);
  text-decoration: none;
  padding: 0;
  background: transparent;
  transition: color 160ms ease;
}
.contact-row svg { color: var(--orange-500); flex-shrink: 0; }
.contact-row:hover { color: var(--ink); }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-form-title {
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 4px 0 8px;
  color: var(--ink);
}
.contact-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 4px;
}
.contact-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.contact-field--full { grid-column: 1 / -1; }
.contact-field > span {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink-muted);
  letter-spacing: 0.005em;
}
.contact-field input,
.contact-field textarea {
  font-family: var(--font-sans);
  font-size: 14.5px;
  color: var(--ink);
  background: var(--cream-50);
  border: 1px solid var(--rule);
  border-radius: var(--r-sm, 8px);
  padding: 12px 14px;
  outline: none;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
  resize: vertical;
}
.contact-field input::placeholder,
.contact-field textarea::placeholder {
  color: var(--ink-faint);
  opacity: 0.7;
}
.contact-field input:focus,
.contact-field textarea:focus {
  border-color: var(--ink-800);
  background: var(--paper);
  box-shadow: 0 0 0 3px rgba(64, 34, 89, 0.10);
}
.contact-submit {
  align-self: flex-start;
  margin-top: 6px;
}
.contact-submit[disabled] {
  opacity: 0.65;
  cursor: not-allowed;
}

/* Error state */
.contact-error {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border-radius: var(--r-sm, 8px);
  background: rgba(216, 99, 64, 0.08);
  border: 1px solid rgba(216, 99, 64, 0.28);
  color: #8a3a1f;
  font-size: 14px;
  line-height: 1.45;
}

/* Topic chips (Kontakt page) */
.topic-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}
.topic-chip {
  padding: 9px 16px;
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--rule-strong);
  font-size: 13.5px;
  font-weight: 500;
  font-family: var(--font-sans);
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}
.topic-chip:hover { border-color: var(--ink); }
.topic-chip.active {
  background: var(--ink-900);
  color: #fff;
  border-color: var(--ink-900);
}

/* Success state */
.contact-success {
  display: flex;
  flex-direction: column;
  gap: 14px;
  animation: contact-success-in 360ms cubic-bezier(.2,.7,.2,1);
}
.contact-success-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--lav-100);
  color: var(--ink-800);
  display: grid;
  place-items: center;
  margin-bottom: 4px;
}
.contact-success-body {
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--ink-muted);
  margin: 0;
  max-width: 46ch;
}
@keyframes contact-success-in {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 900px) {
  .contact-person { flex-direction: row; align-items: center; gap: 20px; }
  .contact-portrait { max-width: 160px; aspect-ratio: 1 / 1; }
  .contact-name { font-size: 22px; }
}
@media (max-width: 540px) {
  .contact-person { flex-direction: column; align-items: flex-start; }
  .contact-portrait { max-width: 200px; }
  .contact-fields { grid-template-columns: 1fr; }
}

/* ───── Legal prose (Integritet / Cookies / GDPR) ───── */
.legal-prose {
  max-width: 68ch;
  color: var(--ink);
}
.legal-section {
  padding: 28px 0;
  border-bottom: 1px solid var(--rule);
}
.legal-section:first-of-type { padding-top: 0; }
.legal-section:last-of-type { border-bottom: 0; }
.legal-section h2 {
  font-size: clamp(22px, 1.8vw, 26px);
  font-weight: 600;
  letter-spacing: -0.018em;
  margin: 0 0 16px;
  color: var(--ink);
}
.legal-section p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-muted);
  margin: 0 0 14px;
}
.legal-section p:last-child { margin-bottom: 0; }
.legal-section ul {
  margin: 0 0 14px;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.legal-section ul li {
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-muted);
}
.legal-section ul li::marker { color: var(--orange-500); }
.legal-updated {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
  font-family: var(--font-sans);
  font-size: 13.5px;
  color: var(--ink-faint);
}

/* ───── Footer ───── */
.footer {
  background: var(--ink-800);
  color: rgba(255,255,255,0.82);
  padding: clamp(60px, 7vw, 90px) 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.14);
}
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-col h5 {
  font-family: var(--font-sans);
  font-size: 15px;
  letter-spacing: -0.005em;
  text-transform: none;
  color: #fff;
  margin: 0 0 16px;
  font-weight: 700;
}
.footer-col a {
  display: block;
  padding: 4px 0;
  font-size: 14.5px;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
}
.footer-col a:hover { color: #fff; }
.footer-static {
  padding: 4px 0;
  font-size: 14.5px;
  color: rgba(255,255,255,0.85);
  line-height: 1.5;
}
.footer-spacer { height: 14px; }
.footer-brand-col {
  max-width: 38ch;
  display: flex;
  flex-direction: column;
}
.footer .brand img {
  filter: brightness(0) invert(1);
  opacity: 0.98;
  height: 28px;
  width: auto;
  display: block;
}
.footer-desc {
  color: rgba(255,255,255,0.82);
  font-size: 14.5px;
  line-height: 1.6;
  margin: 0;
}
.footer-copyright {
  margin-top: 24px;
  color: rgba(255,255,255,0.78);
  font-size: 14px;
}
.footer-socials {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}
.footer-socials a {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fff;
  color: var(--ink-800);
  padding: 0;
  transition: transform 160ms ease, background 160ms ease;
}
.footer-socials a:hover {
  background: var(--lav-200);
  transform: translateY(-1px);
}
.footer-socials svg { display: block; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 22px;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 13px;
  color: rgba(255,255,255,0.65);
}
.footer-legal {
  display: flex;
  gap: 22px;
}
.footer-legal a {
  display: inline;
  padding: 0;
  color: rgba(255,255,255,0.78);
  font-size: 13px;
  cursor: pointer;
}
.footer-legal a:hover { color: #fff; }
.footer-meta {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
}

/* ───── Service detail page ───── */
.detail-hero {
  background: var(--ink-900);
  color: #fff;
  padding: clamp(70px, 9vw, 130px) 0 clamp(80px, 8vw, 120px);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.detail-hero::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(60% 80% at 80% 0%, rgba(123,101,176,0.35) 0%, transparent 60%);
  pointer-events: none;
  z-index: 1;
}
.detail-hero .bg {
  position: absolute; inset: 0;
  z-index: 0;
}
.detail-hero--photo .bg::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(64, 34, 89, 0.62) 0%, rgba(48, 24, 70, 0.78) 60%, rgba(26, 14, 46, 0.86) 100%),
    radial-gradient(80% 60% at 30% 20%, rgba(64, 34, 89, 0.55) 0%, transparent 70%);
  pointer-events: none;
}
.detail-hero .container { position: relative; z-index: 2; }
.crumbs {
  display: flex; gap: 8px; align-items: center;
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: -0.005em;
  text-transform: none;
  color: var(--lav-200);
  margin-bottom: 24px;
}
.crumbs .sep { opacity: 0.5; }
.crumbs button {
  appearance: none; border: 0; background: transparent;
  color: inherit; font: inherit; padding: 0; cursor: pointer;
  letter-spacing: inherit; text-transform: inherit;
}
.crumbs button:hover { color: #fff; }
.detail-hero h1 { color: #fff; max-width: 18ch; }
.detail-hero .lead { color: rgba(255,255,255,0.78); }

/* Service pills under hero */
.service-pills {
  position: relative; z-index: 1;
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 44px;
}
.service-pill {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 7px 14px;
  border-radius: 999px;
}

/* Contact-quick rows under support section */
.contact-quick {
  display: flex; flex-direction: column; gap: 14px;
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
}
.cq-item { display: flex; align-items: center; gap: 14px; }
.cq-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--lav-50);
  color: var(--ink-800);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.cq-primary { font-weight: 600; font-size: 15.5px; color: var(--ink); }
.cq-sub { font-size: 13px; color: var(--ink-muted); }

/* Partners */
.partners {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.partners--logos {
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
@media (max-width: 800px) {
  .partners { grid-template-columns: repeat(2, 1fr); }
  .partners--logos { grid-template-columns: 1fr; }
}
.partner-tile {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  padding: 36px 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 160px;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}
.partner-tile:hover {
  transform: translateY(-2px);
  border-color: var(--rule-strong);
  box-shadow: var(--shadow-sm);
}
.partner-tile img {
  max-height: 72px;
  max-width: 80%;
  width: auto;
  height: auto;
  object-fit: contain;
}

@media (max-width: 800px) {
  .detail-hero-grid { grid-template-columns: 1fr !important; gap: 24px !important; }
}

/* Plans / pricing boxes (Microsoft 365) */
.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: stretch;
}
@media (max-width: 900px) { .plan-grid { grid-template-columns: 1fr; } }
.plan-card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  padding: 32px 30px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 240ms ease, border-color 240ms ease, box-shadow 240ms ease;
}
.plan-card:hover {
  transform: translateY(-3px);
  border-color: var(--rule-strong);
  box-shadow: var(--shadow-md);
}
.plan-card--featured {
  background: var(--ink-800);
  color: #fff;
  border-color: transparent;
  box-shadow: var(--shadow-md);
}
.plan-card--featured:hover { box-shadow: var(--shadow-lg); }
.plan-badge {
  position: absolute;
  top: 16px; right: 16px;
  font-family: var(--font-sans);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--orange-500);
  background: rgba(216, 99, 64, 0.14);
  border: 1px solid rgba(216, 99, 64, 0.32);
  padding: 5px 11px;
  border-radius: 999px;
}
.plan-tag {
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--orange-500);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.plan-tag::before {
  content: "";
  width: 24px; height: 3px;
  background: var(--orange-500);
  border-radius: 2px;
}
.plan-card--featured .plan-tag { color: var(--lav-200); }
.plan-card--featured .plan-tag::before { background: var(--lav-200); }
.plan-card h3 {
  font-size: 26px;
  letter-spacing: -0.025em;
  line-height: 1.05;
}
.plan-card--featured .plan-badge {
  color: var(--lav-100);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
}
.plan-lead {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-muted);
  margin: 0;
  max-width: 32ch;
}
.plan-card--featured h3 { color: #fff; }
.plan-price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px 8px;
  margin-top: 10px;
  padding-top: 18px;
  border-top: 1px solid var(--rule);
}
.plan-card--featured .plan-price { border-top-color: rgba(255,255,255,0.12); }
.plan-currency {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ink-faint);
  padding-bottom: 6px;
}
.plan-card--featured .plan-currency { color: var(--lav-200); }
.plan-amount {
  font-family: var(--font-sans);
  font-size: 52px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--ink-900);
}
.plan-card--featured .plan-amount { color: #fff; }
.plan-unit {
  font-size: 13px;
  color: var(--ink-muted);
  padding-bottom: 6px;
}
.plan-card--featured .plan-unit { color: rgba(255,255,255,0.7); }
.plan-billing {
  font-size: 12.5px;
  color: var(--ink-faint);
  margin-top: -6px;
}
.plan-card--featured .plan-billing { color: rgba(255,255,255,0.55); }
.plan-features {
  list-style: none;
  padding: 0;
  margin: 8px 0 4px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  flex: 1;
}
.plan-features li {
  display: flex;
  gap: 11px;
  font-size: 14.5px;
  line-height: 1.45;
  color: var(--ink);
}
.plan-card--featured .plan-lead { color: rgba(255,255,255,0.78); }
.plan-check {
  flex-shrink: 0;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--lav-50);
  color: var(--ink-800);
  display: grid; place-items: center;
  margin-top: 2px;
}
.plan-card--featured .plan-features li { color: rgba(255,255,255,0.88); }
.plan-card--featured .plan-check {
  background: rgba(255,255,255,0.10);
  color: var(--lav-100);
}
  width: 100%;
  justify-content: center;
  margin-top: 8px;
}
.plan-foot {
  margin-top: 22px;
  font-size: 13px;
  color: var(--ink-faint);
  text-align: center;
}

/* Copilot add-on card */
.addon-card {
  background: linear-gradient(135deg, var(--ink-900) 0%, var(--ink-800) 60%, #5A3577 100%);
  color: #fff;
  border-radius: var(--r-xl);
  padding: clamp(36px, 4vw, 56px);
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  position: relative;
  overflow: hidden;
}
.addon-card::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(50% 80% at 90% 0%, rgba(220, 201, 244, 0.28) 0%, transparent 60%);
  pointer-events: none;
}
.addon-card > * { position: relative; }
.addon-right {
  display: flex; flex-direction: column; gap: 8px; align-items: flex-start;
}
@media (max-width: 800px) {
  .addon-card { grid-template-columns: 1fr; }
}

/* Feature highlights grid (Datorutrustning etc) */
.feat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 980px) { .feat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .feat-grid { grid-template-columns: 1fr; } }
.feat-card {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  padding: 26px 24px 30px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 220ms ease, border-color 220ms ease;
}
.feat-card:hover {
  transform: translateY(-3px);
  border-color: var(--rule-strong);
}
.feat-num {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--orange-500);
}
.feat-card h4 {
  font-size: 18px;
  line-height: 1.25;
  letter-spacing: -0.015em;
}
.feat-card p {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-muted);
  margin: 0;
}

/* Duo of two service cards (Mötesrum: as tjänst / AV-teknik) */
.duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
@media (max-width: 800px) { .duo { grid-template-columns: 1fr; } }
.duo-card {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  padding: 36px 32px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.duo-tag {
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--orange-500);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.duo-tag::before {
  content: "";
  width: 24px; height: 3px;
  background: var(--orange-500);
  border-radius: 2px;
}
.duo-card h3 {
  font-size: 30px;
  letter-spacing: -0.025em;
}
.duo-card > p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-muted);
  margin: 0;
}

/* Related services on detail pages */
.related {
  display: flex;
  gap: 16px;
  overflow-x: hidden;
  scroll-snap-type: x mandatory;
  scroll-padding-left: var(--gutter);
  scroll-padding-right: var(--gutter);
  padding: 4px 0 24px;
  margin: 0 calc(-1 * var(--gutter));
  padding-left: var(--gutter);
  padding-right: var(--gutter);
  pointer-events: none;
}
.related-card { pointer-events: auto; }
.related-card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  padding: 28px 26px 30px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  cursor: pointer;
  transition: transform 240ms ease, border-color 240ms ease, box-shadow 240ms ease;
  flex: 0 0 320px;
  scroll-snap-align: start;
}
.related-card:hover {
  transform: translateY(-3px);
  border-color: var(--rule-strong);
  box-shadow: var(--shadow-md);
}
.related-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.related-card h4 {
  font-size: 22px;
  margin-top: 4px;
}
.related-card p {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-muted);
  margin: 0;
}
.related-arrow {
  position: absolute;
  top: 24px; right: 24px;
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1px solid var(--rule-strong);
  display: grid; place-items: center;
  color: var(--ink);
  transition: transform 220ms ease, background 220ms ease, color 220ms ease, border-color 220ms ease;
}
.related-card:hover .related-arrow {
  background: var(--ink-900);
  color: #fff;
  border-color: var(--ink-900);
  transform: translate(2px, -2px);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
@media (max-width: 800px) { .feature-grid { grid-template-columns: 1fr; } }
.feature-tile {
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  padding: 26px 24px;
  background: var(--paper);
  display: flex;
  gap: 16px;
}
.feature-tile .ic {
  flex: 0 0 40px;
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--lav-50);
  color: var(--ink-800);
  display: grid; place-items: center;
}
.feature-tile h4 { font-size: 17px; margin-bottom: 6px; }
.feature-tile p { font-size: 14.5px; color: var(--ink-muted); margin: 0; line-height: 1.5; }

/* Two-col with sticky aside */
.detail-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
@media (max-width: 900px) { .detail-layout { grid-template-columns: 1fr; } }
.aside-card {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  padding: 24px;
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.aside-card h4 { font-size: 18px; }
.aside-card .price {
  font-family: var(--font-sans);
  font-size: 28px;
  font-weight: 700;
  color: var(--ink-900);
  letter-spacing: -0.02em;
}
.aside-card .price small {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-faint);
  display: block;
  margin-top: 2px;
}
.aside-card hr { border: 0; border-top: 1px solid var(--rule); margin: 4px 0; width: 100%; }

/* Bullet list */
.bullets { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.bullets li {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 15px;
  color: var(--ink);
  line-height: 1.55;
}
.bullets li::before {
  content: "";
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--orange-500);
  margin-top: 8px;
  flex: 0 0 8px;
}
.bullets.on-dark li { color: rgba(255,255,255,0.85); }
.bullets.on-dark li::before { background: var(--lav-200); }

/* ───── About page ───── */
.about-hero {
  padding: clamp(80px, 9vw, 130px) 0 clamp(40px, 5vw, 72px);
}
.about-hero h1 { max-width: 18ch; }
.team {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
@media (max-width: 900px) { .team { grid-template-columns: repeat(2, 1fr); } }
.team-card {
  display: flex; flex-direction: column; gap: 12px;
}
.team-photo {
  aspect-ratio: 4 / 5;
  background: var(--cream-100);
  border-radius: var(--r-md);
  position: relative;
  overflow: hidden;
}
.team-name { font-weight: 600; font-size: 16px; }
.team-role { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-muted); }

.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 800px) { .values { grid-template-columns: 1fr; } }
.value-card {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  padding: 28px 26px;
}
.value-card .n {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--orange-500);
}
.value-card h4 { margin-top: 14px; font-size: 22px; }
.value-card p { margin: 10px 0 0; color: var(--ink-muted); font-size: 15px; line-height: 1.55; }

/* Cases page */
.cases-full {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
@media (max-width: 800px) { .cases-full { grid-template-columns: 1fr; } }
.case-card.lg { min-height: 360px; }
.case-card.lg .case-thumb { aspect-ratio: 16 / 10; }

/* Placeholder image styling (striped) */
.ph-stripe {
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(
      45deg,
      var(--cream-100) 0,
      var(--cream-100) 14px,
      var(--cream-200) 14px,
      var(--cream-200) 28px
    );
  display: grid; place-items: center;
}
.ph-stripe.dark {
  background-image:
    repeating-linear-gradient(
      45deg,
      rgba(255,255,255,0.04) 0,
      rgba(255,255,255,0.04) 14px,
      rgba(255,255,255,0.07) 14px,
      rgba(255,255,255,0.07) 28px
    );
}
.ph-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
  background: rgba(255,255,255,0.9);
  border: 1px solid var(--rule);
  padding: 6px 12px;
  border-radius: 999px;
}
.ph-stripe.dark .ph-label {
  background: rgba(21,16,43,0.6);
  color: rgba(255,255,255,0.7);
  border-color: rgba(255,255,255,0.18);
}

/* Subtle fade-in on view change */
.view-fade { animation: viewFade .35s ease both; }
@keyframes viewFade {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Density variants (via tweaks) */
body[data-density="cozy"] .section { padding: clamp(60px, 7vw, 100px) 0; }
body[data-density="cozy"] .section-head { margin-bottom: 32px; }
body[data-density="cozy"] .area-card { min-height: 380px; padding: 28px 26px; }
body[data-density="spacious"] .section { padding: clamp(100px, 12vw, 170px) 0; }

/* Hero layout variants */
body[data-hero="centered"] .hero-inner { text-align: center; justify-items: center; }
body[data-hero="centered"] .hero h1 { max-width: 20ch; }
body[data-hero="centered"] .hero-sub { margin: 0 auto; }
body[data-hero="centered"] .hero-actions { justify-content: center; }
body[data-hero="centered"] .hero-meta { justify-content: center; }

/* ───── Nyheter list ───── */
.nyheter-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--rule);
}
.nyhet-row {
  display: grid;
  grid-template-columns: 130px 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 28px 8px;
  border-bottom: 1px solid var(--rule);
  cursor: pointer;
  transition: background 160ms ease, padding-left 220ms ease;
}
.nyhet-row:hover {
  background: rgba(64, 34, 89, 0.03);
  padding-left: 16px;
}
.nyhet-date {
  font-family: var(--font-sans);
  font-size: 13.5px;
  color: var(--ink-faint);
  letter-spacing: 0;
}
.nyhet-tag {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 12.5px;
  letter-spacing: 0;
  text-transform: none;
  padding: 4px 12px;
  border: 1px solid var(--rule-strong);
  border-radius: 999px;
  color: var(--ink);
  background: transparent;
  width: fit-content;
}
.nyhet-body h4 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.018em;
  margin: 0 0 6px;
  color: var(--ink);
}
.nyhet-body p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-muted);
  margin: 0;
  max-width: 70ch;
}
.nyhet-arrow {
  color: var(--ink-faint);
  transition: transform 220ms ease, color 160ms ease;
}
.nyhet-row:hover .nyhet-arrow {
  transform: translateX(4px);
  color: var(--ink);
}
@media (max-width: 720px) {
  .nyhet-row { grid-template-columns: 1fr auto; gap: 14px; }
  .nyhet-date { grid-column: 1; }
  .nyhet-tag { grid-column: 2; justify-self: end; }
  .nyhet-body { grid-column: 1 / -1; }
  .nyhet-arrow { display: none; }
}

/* Detail page meta row */
.nyhet-meta-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
  flex-wrap: wrap;
}

/* ───── Article prose (nyhet detail) ───── */
.article-prose {
  max-width: 68ch;
  color: var(--ink);
}
.article-prose h2 {
  font-size: clamp(22px, 1.8vw, 28px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 40px 0 14px;
  color: var(--ink);
}
.article-prose h2:first-child { margin-top: 0; }
.article-prose p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-muted);
  margin: 0 0 16px;
}
.article-prose ul {
  margin: 0 0 18px;
  padding-left: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.article-prose ul li {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-muted);
}
.article-prose ul li strong {
  color: var(--ink);
  font-weight: 600;
}
.article-prose ul li::marker { color: var(--orange-500); }
.article-back {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--rule);
}

/* ───── Case cards (modern) ───── */
.cases-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 720px) {
  .cases-grid { grid-template-columns: repeat(auto-fit, minmax(380px, 1fr)); gap: 28px; }
}
.case-card-modern {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  transition: transform 220ms cubic-bezier(.2,.7,.2,1), border-color 200ms ease, box-shadow 220ms ease;
}
.case-card-modern:hover {
  transform: translateY(-4px);
  border-color: var(--rule-strong);
  box-shadow: var(--shadow-md);
}
.case-card-modern__thumb {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--cream-100);
}
.case-card-modern__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms cubic-bezier(.2,.7,.2,1);
}
.case-card-modern:hover .case-card-modern__thumb img { transform: scale(1.04); }
.case-card-modern__body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}
.case-card-modern__body h3 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--ink);
  line-height: 1.25;
}
.case-card-modern__body p {
  color: var(--ink-muted);
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
  flex: 1;
}
.case-card-modern__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-800);
  transition: gap 200ms ease, color 160ms ease;
}
.case-card-modern:hover .case-card-modern__cta { gap: 14px; color: var(--ink); }
.case-card-modern__cta svg, .case-card-modern__cta .ic { width: 14px; height: 14px; transition: transform 200ms ease; }
.case-card-modern:hover .case-card-modern__cta svg, .case-card-modern:hover .case-card-modern__cta .ic { transform: translateX(3px); }

/* Map link under embed */
.map-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-muted);
  text-decoration: none;
  transition: color 160ms ease, gap 200ms ease;
}
.map-link:hover { color: var(--ink); gap: 12px; }
.map-link .ic { width: 14px; height: 14px; }

/* Case detail hero */
.case-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 5vw, 64px);
  align-items: end;
  margin-top: 18px;
}
@media (max-width: 860px) { .case-hero-grid { grid-template-columns: 1fr; } }

.case-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 18px 28px;
  margin: 32px 0 0;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
}
.case-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.case-stat dt {
  font-size: 12.5px;
  color: var(--ink-faint);
  letter-spacing: 0;
}
.case-stat dd {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}

/* Case quote (in article prose) */
.case-quote {
  margin: 36px 0;
  padding: 28px 30px;
  background: var(--lav-100);
  border-left: 3px solid var(--orange-500);
  border-radius: var(--r-md);
}
.case-quote p {
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink);
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 0 0 14px;
}
.case-quote footer {
  font-size: 14px;
  color: var(--ink-muted);
}
.case-quote footer strong {
  color: var(--ink);
  font-weight: 600;
}
