/* ============================================
   VIBRE — Design System
============================================ */

:root {
  /* Oliven — primary identity color: structure, active states, links, icons */
  --primary: #3E5038;
  --primary-dark: #2F3D2B;
  --primary-darker: #232E20;
  --primary-light: #E6EADF;
  --primary-lighter: #EFEAD9;
  --panel: #E8E3D8;

  /* Terrakotta — the single action color: CTA buttons + featured plan only */
  --terracotta: #B85C38;
  --terracotta-dark: #9E4D2E;

  --bg-page: #F5F2EA;

  --ink: #1E1A17;
  --text: #2A241F;
  --text-muted: #6E6558;
  --text-faint: #9C9284;

  --white: #FFFFFF;
  --border: #D6D0C4;
  --border-soft: #E8E3D8;

  --footer-bg: #1E1A17;
  --footer-text: #B7AFA0;
  --footer-border: #34302A;

  /* Neutral, warm accent set — one warm tone per icon slot,
     with the green slot doubling as the site's oliven accent. */
  --accent-pink: #ECE8DF;
  --accent-pink-ink: #5A5347;
  --accent-orange: #EAE4D6;
  --accent-orange-ink: #524B3E;
  --accent-green: #E6EADF;
  --accent-green-ink: #3E5038;
  --accent-purple: #EAE6DA;
  --accent-purple-ink: #6E6558;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-pill: 999px;

  --shadow-sm: 0 2px 8px rgba(30, 26, 23, 0.06);
  --shadow-md: 0 12px 30px rgba(30, 26, 23, 0.09);
  --shadow-lg: 0 24px 60px rgba(30, 26, 23, 0.14);
  --shadow-btn: 0 10px 24px rgba(184, 92, 56, 0.28);

  --container: 1200px;
  --font-head: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', sans-serif;
}

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

.icon { width: 1em; height: 1em; fill: currentColor; display: inline-block; vertical-align: -0.125em; overflow: visible; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg-page);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }
input, textarea { font-family: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.2;
  margin: 0;
  font-weight: 600;
}

p { margin: 0; }

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary-dark);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--primary-light);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
}

.section {
  padding: 100px 0;
}

.section-tight { padding: 70px 0; }

#synlighet, #konvertering, #design, #nyhetsbrev, #om-meg, #kontakt {
  scroll-margin-top: 100px;
}

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

.section-head h2 {
  font-size: 36px;
  margin-bottom: 14px;
}

.section-head p {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.7;
}

.about-portrait {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 20px;
  box-shadow: var(--shadow-md);
  border: 3px solid var(--white);
}

.text-primary { color: var(--primary); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.02em;
  padding: 15px 28px;
  border-radius: var(--radius-pill);
  border: 1.5px solid transparent;
  transition: all 0.22s ease;
  white-space: nowrap;
}

.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  font-size: 11px;
}

.btn-primary {
  background: var(--terracotta);
  color: var(--white);
  box-shadow: var(--shadow-btn);
}
.btn-primary:hover {
  background: var(--terracotta-dark);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(184, 92, 56, 0.36);
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--border);
}
.btn-outline .btn-icon { background: var(--primary-light); color: var(--primary); }
.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--white);
  color: var(--terracotta);
}
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }

.btn-block { width: 100%; }
.btn-sm { padding: 10px 20px; font-size: 13px; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--primary);
  font-size: 14px;
}
.link-arrow .icon { transition: transform 0.2s ease; font-size: 12px; }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(233, 234, 239, 0.78);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 20px;
  color: var(--ink);
}

.logo img { height: 26px; width: auto; display: block; }
.footer-brand .logo img { height: 24px; filter: brightness(0) invert(1); }

.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--primary-darker));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 16px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-links a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text);
  position: relative;
  padding: 6px 0;
  transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--primary); }
.nav-links a.active { color: var(--primary); font-weight: 600; }
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

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

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 22px;
  color: var(--ink);
}

/* ---------- Hero ---------- */
.hero-shell {
  background: linear-gradient(180deg, var(--panel) 0%, var(--primary-lighter) 100%);
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
  padding-top: 52px;
  padding-bottom: 52px;
  overflow: hidden;
}

/* ---------- Positioning statement (ads vs. conversion) ---------- */
.positioning-block {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  background: linear-gradient(180deg, var(--primary-light) 0%, var(--primary-lighter) 100%);
  border-radius: var(--radius-xl);
  padding: 60px 56px;
}
.positioning-block h2 { font-size: 38px; margin-bottom: 24px; }
.positioning-block p { color: var(--text-muted); font-size: 16.5px; line-height: 1.75; margin-bottom: 18px; }
.positioning-block .positioning-tagline {
  font-weight: 700;
  color: var(--ink);
  margin-top: 10px;
  margin-bottom: 30px;
}

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

.hero-copy h1 {
  font-size: 52px;
  line-height: 1.14;
  letter-spacing: -0.01em;
  margin-bottom: 22px;
}

.hero-copy p {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 460px;
  margin-bottom: 34px;
}

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

.hero-media { position: relative; }

.hero-media .media-frame {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 1 / 1.02;
  box-shadow: var(--shadow-lg);
}

.hero-media .media-frame img {
  width: 100%; height: 100%; object-fit: cover;
}

.floating-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  padding: 10px 18px 10px 10px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-md);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}

.floating-badge .icon-dot {
  width: 30px; height: 30px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px;
}

.badge-top-left { top: 54%; left: -6%; }
.badge-top-left .icon-dot { background: var(--accent-pink); color: var(--accent-pink-ink); }

.badge-top-right { top: 70%; right: -8%; }
.badge-top-right .icon-dot { background: var(--accent-green); color: var(--accent-green-ink); }

.float-anim { animation: floaty 4.5s ease-in-out infinite; }
.float-anim.delay { animation-delay: 1.2s; }

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

/* ---------- Category Grid ---------- */
.category-grid {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

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

.category-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px 22px;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
  border: 1px solid var(--border-soft);
}

.category-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.category-card .cat-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  margin-bottom: 20px;
  background: var(--primary-light);
  color: var(--primary);
}

.category-card h2 { font-size: 16px; margin-bottom: 6px; }
.category-card p { font-size: 13px; color: var(--text-muted); }

.category-card.is-active {
  background: linear-gradient(160deg, var(--primary), var(--primary-darker));
  box-shadow: var(--shadow-btn);
}
.category-card.is-active .cat-icon { background: rgba(255,255,255,0.18); color: var(--white); }
.category-card.is-active h2, .category-card.is-active p { color: var(--white); }
.category-card.is-active p { opacity: 0.8; }

/* ---------- Feature split (tools section) ---------- */
.split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 80px;
  align-items: center;
}

.split.reverse { grid-template-columns: 1.05fr 0.95fr; }
.split.reverse .split-media { order: -1; }

.split-copy h2 { font-size: 34px; margin-bottom: 18px; }
.split-copy > p { color: var(--text-muted); font-size: 16px; line-height: 1.75; margin-bottom: 36px; }

.feature-list { display: flex; flex-direction: column; gap: 28px; }

.feature-item { display: flex; gap: 18px; align-items: flex-start; }

.feature-item .f-icon {
  flex-shrink: 0;
  width: 46px; height: 46px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
}
.feature-item:nth-child(1) .f-icon { background: var(--accent-orange); color: var(--accent-orange-ink); }
.feature-item:nth-child(2) .f-icon { background: var(--accent-purple); color: var(--accent-purple-ink); }
.feature-item:nth-child(3) .f-icon { background: var(--accent-green); color: var(--accent-green-ink); }

.feature-item h3 { font-size: 16.5px; margin-bottom: 6px; }
.feature-item p { font-size: 14.5px; color: var(--text-muted); line-height: 1.65; }

.collage {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.collage img {
  border-radius: var(--radius-lg);
  width: 100%;
  object-fit: cover;
  box-shadow: var(--shadow-md);
}

.collage .c1 { grid-row: span 2; height: 100%; aspect-ratio: unset; }
.collage .c2 { aspect-ratio: 1.5/1; }
.collage .c3 { aspect-ratio: 1.5/1; }

/* ---------- Photo stack (section imagery: main + offset accent) ---------- */
.photo-stack {
  position: relative;
  max-width: 420px;
  margin: 0 40px;
}
.photo-stack .main-img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.photo-stack .accent-img {
  position: absolute;
  width: 56%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 6px solid var(--white);
}
.photo-stack .accent-img.pos-br { bottom: -34px; right: -44px; }
.photo-stack .accent-img.pos-bl { bottom: -34px; left: -44px; }

/* ---------- Single, uncropped section image (no accent overlay) ---------- */
.media-frame-single {
  max-width: 460px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.media-frame-single img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---------- Case study grid (image + result card) ---------- */
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 40px;
}
.case-card { display: flex; flex-direction: column; }
.case-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  margin-bottom: 18px;
}
.case-card h3 { font-size: 17px; margin-bottom: 8px; }
.case-card p { font-size: 14.5px; color: var(--text-muted); line-height: 1.65; margin-bottom: 10px; }
.case-card .case-result { font-size: 14px; font-weight: 600; color: var(--ink); display: flex; align-items: center; gap: 8px; }

/* ---------- Video / Steps section ---------- */
.section-muted { background: var(--primary-lighter); }

.video-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16/11;
}
.video-card img { width: 100%; height: 100%; object-fit: cover; }

.play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.play-btn .circle {
  width: 74px; height: 74px;
  border-radius: 50%;
  background: rgba(255,255,255,0.94);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
  font-size: 22px;
  box-shadow: var(--shadow-lg);
  transition: transform 0.2s ease;
}
.video-card:hover .circle { transform: scale(1.08); }

.video-dots {
  position: absolute;
  bottom: 22px; left: 26px;
  display: flex; gap: 8px;
}
.video-dots span { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.55); }
.video-dots span.on { background: var(--white); width: 22px; border-radius: 5px; }

.steps-row {
  margin-top: 72px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.step {
  position: relative;
  padding-left: 2px;
}

.step .step-num {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 22px;
  box-shadow: var(--shadow-btn);
}

.step h4 { font-size: 17px; margin-bottom: 10px; }
.step p { font-size: 14.5px; color: var(--text-muted); line-height: 1.7; }

/* ---------- Talent network / map ---------- */
.map-wrap {
  position: relative;
  max-width: 940px;
  margin: 0 auto;
  padding: 60px 20px 20px;
}

.map-svg { width: 100%; display: block; opacity: 0.55; }

.map-pin {
  position: absolute;
  width: 56px; height: 56px;
  border-radius: 50%;
  border: 3px solid var(--white);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.map-pin img { width: 100%; height: 100%; object-fit: cover; }

.pin-1 { top: 8%; left: 6%; }
.pin-2 { top: 4%; right: 10%; }
.pin-3 { bottom: 14%; left: 14%; }
.pin-4 { bottom: 6%; right: 20%; }
.pin-5 { top: 42%; left: 50%; transform: translateX(-50%); }

.map-center-badge {
  position: absolute;
  top: 38%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--white);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-lg);
  padding: 10px 22px 10px 10px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 2;
}

.avatar-stack { display: flex; }
.avatar-stack img {
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 2px solid var(--white);
  margin-left: -10px;
  object-fit: cover;
}
.avatar-stack img:first-child { margin-left: 0; }

.map-center-badge .label { font-size: 13px; }
.map-center-badge .label strong { display: block; font-size: 13.5px; }
.map-center-badge .label span { color: var(--text-muted); font-size: 12px; }

.network-cta { text-align: center; margin-top: 24px; }

/* ---------- Logos ---------- */
.logo-strip { background: var(--primary-lighter); }

.logo-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}

.logo-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 74px;
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  box-shadow: var(--shadow-sm);
}
.logo-pill img { height: 28px; width: auto; max-width: 100%; object-fit: contain; }

.logo-strip .section-head h2 { color: var(--ink); }
.logo-strip .section-head p { color: var(--text-muted); }

/* ---------- CTA banner ---------- */
.cta-banner {
  position: relative;
  background: linear-gradient(120deg, var(--primary) 0%, var(--primary-darker) 100%);
  border-radius: var(--radius-xl);
  padding: 64px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  overflow: hidden;
  flex-wrap: wrap;
}

.cta-banner::before, .cta-banner::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
}
.cta-banner::before { width: 260px; height: 260px; top: -120px; right: 8%; }
.cta-banner::after { width: 160px; height: 160px; bottom: -80px; right: 22%; }

.cta-banner h2 { color: var(--white); font-size: 30px; margin-bottom: 10px; }
.cta-banner p { color: rgba(255,255,255,0.82); font-size: 15px; }
.cta-copy { position: relative; z-index: 1; }
.cta-banner .btn { position: relative; z-index: 1; }

/* ---------- Footer ---------- */
.site-footer { background: var(--footer-bg); color: var(--footer-text); padding-top: 80px; }

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 40px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--footer-border);
}

.footer-brand .logo { color: var(--white); margin-bottom: 16px; }
.footer-brand p { font-size: 14px; line-height: 1.7; color: var(--footer-text); max-width: 260px; margin-bottom: 22px; }

.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  transition: all 0.2s ease;
}
.footer-social a:hover { background: var(--primary); color: var(--white); }

.footer-col .col-heading { color: var(--white); font-size: 14.5px; font-weight: 600; margin-bottom: 22px; }
.footer-col ul { display: flex; flex-direction: column; gap: 13px; }
.footer-col a { font-size: 14px; color: var(--footer-text); transition: color 0.2s ease; }
.footer-col a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 26px 0;
  font-size: 13px;
  color: var(--text-faint);
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- Page hero (blog/services inner pages) ---------- */
.page-hero {
  background: linear-gradient(180deg, var(--panel) 0%, var(--primary-lighter) 100%);
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
  padding: 70px 0 64px;
  text-align: center;
}

.page-hero .eyebrow { margin-bottom: 18px; }
.page-hero h1 { font-size: 44px; margin-bottom: 16px; }
.page-hero p { max-width: 560px; margin: 0 auto; color: var(--text-muted); font-size: 16px; line-height: 1.7; }

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--text-muted);
  margin-top: 20px;
}
.breadcrumb a { color: var(--primary); font-weight: 600; }

/* ---------- Filter bar ---------- */
.filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: -30px auto 56px;
  position: relative;
  z-index: 2;
}

.filter-chip {
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  background: var(--white);
  border: 1px solid var(--border);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}
.filter-chip:hover { border-color: var(--primary); color: var(--primary); }
.filter-chip.is-active { background: var(--primary); border-color: var(--primary); color: var(--white); }

/* ---------- Blog grid ---------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.post-card {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
}
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }

.post-thumb { display: block; position: relative; aspect-ratio: 16/10.5; overflow: hidden; }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.post-card:hover .post-thumb img { transform: scale(1.06); }

.post-tag {
  position: absolute;
  top: 16px; left: 16px;
  background: rgba(255,255,255,0.95);
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
}

.post-body { padding: 26px 24px 28px; display: flex; flex-direction: column; flex: 1; }

.post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  font-size: 12.5px;
  color: var(--text-faint);
  margin-bottom: 14px;
}
.post-meta span { display: flex; align-items: center; gap: 6px; }

.post-card h2 { font-size: 18px; line-height: 1.4; margin-bottom: 12px; }
.post-card p.excerpt { font-size: 14px; color: var(--text-muted); line-height: 1.65; margin-bottom: 20px; flex: 1; }

.post-author {
  display: flex; align-items: center; gap: 10px;
  padding-top: 18px;
  border-top: 1px solid var(--border-soft);
}
.post-author img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }
.post-author .who { font-size: 13px; font-weight: 600; color: var(--ink); }
.post-author .role { font-size: 11.5px; color: var(--text-faint); }

.post-card.featured {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.post-card.featured .post-thumb { aspect-ratio: unset; height: 100%; }
.post-card.featured .post-body { justify-content: center; }
.post-card.featured h2 { font-size: 24px; }

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 60px;
}
.page-btn {
  width: 42px; height: 42px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
  border: 1px solid var(--border);
  transition: all 0.2s ease;
}
.page-btn.is-active { background: var(--primary); border-color: var(--primary); color: var(--white); }
.page-btn:hover:not(.is-active) { border-color: var(--primary); color: var(--primary); }
.page-btn.nav { width: auto; padding: 0 18px; border-radius: var(--radius-pill); gap: 8px; }

/* ---------- Newsletter ---------- */
.newsletter {
  background: var(--ink);
  border-radius: var(--radius-xl);
  padding: 56px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.newsletter h2 { color: var(--white); font-size: 24px; margin-bottom: 8px; }
.newsletter p { color: rgba(255,255,255,0.65); font-size: 14.5px; }
.newsletter-form { display: flex; gap: 10px; flex: 1; max-width: 420px; min-width: 280px; }
.newsletter-form input {
  flex: 1;
  padding: 14px 20px;
  border-radius: var(--radius-pill);
  border: none;
  font-size: 14px;
  outline: none;
}
.newsletter-form .btn { flex-shrink: 0; }
.newsletter .newsletter-status { width: 100%; text-align: right; }

/* ---------- Services grid ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  transition: all 0.25s ease;
  position: relative;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }

.service-card .cat-icon { width: 54px; height: 54px; font-size: 22px; margin-bottom: 24px; }
.service-card h2 { font-size: 19px; margin-bottom: 10px; }
.service-card p { font-size: 14.5px; color: var(--text-muted); line-height: 1.7; margin-bottom: 22px; }

.service-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  border-top: 1px solid var(--border-soft);
}
.service-meta .count { font-size: 12.5px; color: var(--text-faint); font-weight: 600; }

.service-card.is-active {
  background: linear-gradient(160deg, var(--primary), var(--primary-darker));
  border-color: transparent;
  box-shadow: var(--shadow-btn);
}
.service-card.is-active .cat-icon { background: rgba(255,255,255,0.18); color: var(--white); }
.service-card.is-active h2, .service-card.is-active p, .service-card.is-active .count { color: var(--white); }
.service-card.is-active p { opacity: 0.85; }
.service-card.is-active .service-meta { border-color: rgba(255,255,255,0.2); }
.service-card.is-active .link-arrow { color: var(--white); }

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 80px;
  text-align: center;
}
.stats-row.cols-3 {
  grid-template-columns: repeat(3, 1fr);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
.stat h3 { font-size: 36px; color: var(--primary); margin-bottom: 6px; }
.stat p { font-size: 14px; color: var(--text-muted); }

/* ---------- Process (services page) ---------- */
.process-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.process-card { text-align: center; padding: 0 10px; }
.process-card .step-num {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--primary);
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  margin: 0 auto 20px;
}
.process-card h3 { font-size: 16px; margin-bottom: 10px; }
.process-card p { font-size: 13.5px; color: var(--text-muted); line-height: 1.65; }

/* ---------- Article / Blog post ---------- */
.post-hero-head { padding: 48px 0 0; }
.post-hero-head .breadcrumb { justify-content: flex-start; margin: 0 0 22px; }
.post-hero-head .post-tag { position: static; display: inline-block; margin-bottom: 18px; }
.post-hero-head h1 { font-size: 40px; max-width: 800px; margin-bottom: 20px; }
.post-hero-head .post-meta { font-size: 13.5px; color: var(--text-muted); margin-bottom: 0; }
.post-hero-head .post-meta span { display: inline-flex; align-items: center; gap: 6px; margin-right: 20px; }

.post-hero-image {
  margin: 36px 0 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16/8;
}
.post-hero-image img { width: 100%; height: 100%; object-fit: cover; }

.image-credit {
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 10px;
}
.image-credit a { color: var(--text-muted); text-decoration: underline; }

.article-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 60px;
  align-items: start;
}

.toc {
  position: sticky;
  top: 108px;
  background: var(--primary-lighter);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 22px 20px;
}
.toc .toc-heading { font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 700; color: var(--text-muted); margin: 0 0 14px; }
.toc ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; counter-reset: toc; }
.toc a { font-size: 13.5px; color: var(--text); line-height: 1.5; display: block; }
.toc a:hover { color: var(--primary); }

.article-body { max-width: 720px; }
.article-body > p { font-size: 16.5px; line-height: 1.85; color: var(--text); margin-bottom: 22px; }
.article-body h2 { font-size: 27px; margin: 52px 0 18px; scroll-margin-top: 100px; }
.article-body h3 { font-size: 19px; margin: 30px 0 14px; scroll-margin-top: 100px; }
.article-body ul, .article-body ol { margin: 0 0 24px; padding-left: 22px; }
.article-body ul { list-style: none; padding-left: 0; }
.article-body ul li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
}
.article-body ul li::before {
  content: "\2713";
  font-weight: 700;
  position: absolute;
  left: 0; top: 3px;
  color: var(--primary);
  font-size: 12px;
}
.article-body ol li { font-size: 16px; line-height: 1.75; margin-bottom: 10px; color: var(--text); }
.article-body strong { color: var(--ink); }
.article-body a.inline-link { color: var(--primary); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

.article-body figure { margin: 36px 0; }
.article-body figure img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.article-body figure.section-banner {
  margin: 56px 0 18px;
}
.article-body figure.section-banner img { aspect-ratio: 16/7; object-fit: cover; }
.article-body figure.section-banner + h2 { margin-top: 0; }

.article-body figure.section-banner.portrait img {
  aspect-ratio: 3/4;
  max-width: 420px;
  margin: 0 auto;
  display: block;
}

.lead-box {
  background: var(--primary-lighter);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 26px 28px;
  margin-bottom: 36px;
}
.lead-box h4 { font-size: 14px; color: var(--primary); margin-bottom: 14px; text-transform: uppercase; letter-spacing: 0.05em; }
.lead-box ul li::before { color: var(--primary); }

.pull-quote {
  border-left: 3px solid var(--primary);
  padding: 4px 0 4px 24px;
  margin: 36px 0;
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.55;
}

.cluster-table-wrap { overflow-x: auto; margin: 28px 0 36px; border-radius: var(--radius-md); border: 1px solid var(--border-soft); }
.cluster-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.cluster-table th {
  background: var(--primary-lighter);
  text-align: left;
  padding: 14px 18px;
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  white-space: nowrap;
}
.cluster-table td { padding: 14px 18px; border-top: 1px solid var(--border-soft); color: var(--text); vertical-align: top; }
.cluster-table td.kw { font-weight: 600; color: var(--ink); }
.cluster-table tr:hover td { background: var(--primary-lighter); }

.tag-chip {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  background: var(--primary-light);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
}

.faq-item {
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  margin-bottom: 14px;
}
.faq-item h3 { margin: 0 0 10px; font-size: 16px; display: flex; gap: 10px; align-items: flex-start; }
.faq-item h3 .icon { color: var(--primary); margin-top: 3px; font-size: 14px; }
.faq-item p { font-size: 14.5px; color: var(--text-muted); line-height: 1.7; margin: 0; padding-left: 24px; }

.author-box {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 56px;
  padding: 24px;
  background: var(--primary-lighter);
  border-radius: var(--radius-md);
}
.author-box img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.author-box .who { font-weight: 700; color: var(--ink); font-size: 15px; margin-bottom: 3px; }
.author-box .role { font-size: 13px; color: var(--text-muted); }

.share-row { display: flex; align-items: center; gap: 12px; margin-top: 40px; }
.share-row span { font-size: 13px; font-weight: 600; color: var(--text-muted); }
.share-row a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--primary-lighter);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
  font-size: 13px;
  transition: all 0.2s ease;
}
.share-row a:hover { background: var(--primary); color: var(--white); }

@media (max-width: 960px) {
  .article-layout { grid-template-columns: 1fr; }
  .toc { position: static; }
  .post-hero-head h1 { font-size: 30px; }
}

/* ---------- Pricing ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.price-card {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
  position: relative;
}
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }

.price-card h2 { font-size: 22px; margin-bottom: 4px; }
.price-card .price-tagline { font-size: 13px; color: var(--text-muted); margin-bottom: 18px; }

.price-card .price-amount { font-family: var(--font-head); font-size: 32px; font-weight: 700; color: var(--ink); }
.price-card .price-amount span { font-size: 13.5px; font-weight: 500; color: var(--text-muted); margin-left: 4px; }

.price-card .price-desc { font-size: 14px; color: var(--text-muted); line-height: 1.65; margin: 16px 0 22px; }

.price-card ul { display: flex; flex-direction: column; gap: 11px; margin-bottom: 28px; flex: 1; }
.price-card ul li { font-size: 13.5px; color: var(--text); display: flex; gap: 10px; align-items: flex-start; line-height: 1.5; }
.price-card ul li .icon { color: var(--primary); font-size: 12px; margin-top: 4px; flex-shrink: 0; }

.price-card .btn { width: 100%; }

.price-card.is-featured { border-color: var(--terracotta); box-shadow: var(--shadow-btn); }
.price-card .price-badge {
  position: absolute;
  top: -13px; left: 30px;
  background: var(--terracotta);
  color: var(--white);
  font-size: 11.5px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.price-card .price-note { font-size: 12px; color: var(--text-faint); margin-top: 12px; text-align: center; }

/* ---------- Footer newsletter signup ---------- */
.footer-signup p { font-size: 13px; color: var(--footer-text); line-height: 1.65; margin-bottom: 16px; }
.footer-signup form { display: flex; flex-direction: column; gap: 10px; }
.footer-signup input[type="email"] {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--footer-border);
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
  font-size: 13.5px;
  outline: none;
  transition: border-color 0.2s ease;
}
.footer-signup input[type="email"]::placeholder { color: var(--footer-text); }
.footer-signup input[type="email"]:focus { border-color: var(--primary); }
.footer-signup .btn { width: 100%; }
.footer-signup .footer-signup-note { font-size: 11px; color: var(--text-faint); margin-top: 2px; line-height: 1.5; }

.newsletter-status { font-size: 12.5px; margin-top: 4px; display: none; }
.newsletter-status.is-visible { display: block; }
.newsletter-status.is-success { color: #4ADE80; }
.newsletter-status.is-error { color: #F87171; }

/* ---------- Accessibility utilities ---------- */
.skip-link {
  position: absolute;
  top: -48px;
  left: 12px;
  z-index: 1000;
  background: var(--primary);
  color: var(--white);
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 14px;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 12px;
}

a:focus-visible, button:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-btn);
  font-size: 15px;
  transition: transform 0.2s ease, background 0.2s ease;
}
.back-to-top:hover { background: var(--primary-dark); transform: translateY(-3px); }

/* ---------- Scroll reveal (progressive enhancement — see js/main.js) ---------- */
/* Classes are applied by JS only, so content stays visible with JS disabled. */
.reveal-pending {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.21, 0.47, 0.32, 0.98), transform 0.7s cubic-bezier(0.21, 0.47, 0.32, 0.98);
}
.reveal-pending.reveal-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .reveal-pending { transform: none; transition: opacity 0.3s ease; }
}

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0 !important; }

/* ============================================
   Responsive
============================================ */
@media (max-width: 1080px) {
  .hero-copy h1 { font-size: 42px; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 50px; }
  .split.reverse .split-media { order: 0; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .post-card.featured { grid-column: span 2; grid-template-columns: 1fr; }
  .post-card.featured .post-thumb { height: 260px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .case-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .process-row { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .category-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .logo-grid { grid-template-columns: repeat(3, 1fr); }
  .stats-row.cols-3 { grid-template-columns: repeat(3, 1fr); }
  .photo-stack { margin: 0 auto; }
}

@media (max-width: 860px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 84px; left: 0; right: 0;
    background: var(--panel);
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 16px 24px 24px;
    border-bottom: 1px solid var(--border-soft);
    box-shadow: var(--shadow-md);
  }
  .nav-links.is-open { display: flex; }
  .nav-links a { width: 100%; padding: 12px 0; }
  .nav-toggle { display: block; }
  .hero { grid-template-columns: 1fr; }
  .hero-media { order: -1; max-width: 420px; margin: 0 auto; }
  .steps-row { grid-template-columns: 1fr; gap: 36px; }
  .logo-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-banner { padding: 46px 30px; justify-content: center; text-align: center; }
  .newsletter { justify-content: center; text-align: center; }
  .newsletter-form { max-width: 100%; }
  .category-grid.cols-3 { grid-template-columns: 1fr; }
  .photo-stack { max-width: 320px; }
  .photo-stack .accent-img.pos-br { bottom: -22px; right: -20px; width: 60%; }
  .photo-stack .accent-img.pos-bl { bottom: -22px; left: -20px; width: 60%; }
}

@media (max-width: 640px) {
  .header-actions { gap: 10px; }
  .header-actions .btn-primary { padding: 10px 14px; font-size: 12.5px; gap: 6px; }
  .header-actions .btn-primary .btn-icon { display: none; }
  .section { padding: 64px 0; }
  .hero-copy h1 { font-size: 32px; }
  .category-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .category-card { padding: 20px 16px; }
  .blog-grid { grid-template-columns: 1fr; }
  .post-card.featured { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .case-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .stats-row.cols-3 { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .process-row { grid-template-columns: 1fr; }
  .section-head h2, .hero-copy h1 { letter-spacing: -0.01em; }
  .page-hero h1 { font-size: 30px; }
  .map-pin { width: 40px; height: 40px; }
  .positioning-block { padding: 40px 22px; }

  /* Footer: logo, Tjenester and Selskap in one row; Nyhetsbrev full-width below */
  .footer-top {
    grid-template-columns: repeat(3, 1fr);
    gap: 22px 12px;
    padding-bottom: 40px;
  }
  .footer-brand p, .footer-social { display: none; }
  .footer-brand .logo { margin-bottom: 0; }
  .footer-col .col-heading { font-size: 12px; margin-bottom: 14px; }
  .footer-col ul { gap: 10px; }
  .footer-col a { font-size: 11.5px; line-height: 1.4; display: block; }
  .footer-signup { grid-column: 1 / -1; margin-top: 4px; }
}

/* ============================================
   SEO-sjekk
============================================ */

.seo-tool-announce {
  background: var(--primary-lighter);
  border-bottom: 1px solid var(--border-soft);
  text-align: center;
  padding: 10px 0;
}
.seo-tool-announce a {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary-dark);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.seo-tool-announce a .icon:last-child { font-size: 11px; transition: transform 0.2s ease; }
.seo-tool-announce a:hover .icon:last-child { transform: translateX(3px); }

.status-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.status-dot.is-red { background: #F87171; }
.status-dot.is-orange { background: #FBBF24; }
.status-dot.is-green { background: #4ADE80; }
.status-dot.is-unknown { background: var(--border); }

.seo-tool-card {
  max-width: 620px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 40px;
}

.seo-tool-step label {
  display: block;
  font-weight: 600;
  font-size: 13.5px;
  color: var(--ink);
  margin-bottom: 8px;
}

.seo-tool-step input[type="url"],
.seo-tool-step input[type="email"] {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s ease;
}
.seo-tool-step input[type="url"]:focus,
.seo-tool-step input[type="email"]:focus { border-color: var(--primary); }

.seo-tool-hint {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 10px;
  line-height: 1.6;
}
.seo-tool-hint.is-warning { color: #B45309; }

.seo-tool-step-actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}
.seo-tool-step-actions .btn { flex: 1; }

.seo-tool-precondition {
  background: var(--primary-lighter);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-size: 13.5px;
  color: var(--text);
  line-height: 1.6;
  margin-bottom: 20px;
}

.seo-tool-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 16px 0;
  cursor: pointer;
}
.seo-tool-consent input[type="checkbox"] {
  margin-top: 3px;
  width: 17px;
  height: 17px;
  accent-color: var(--primary);
  flex-shrink: 0;
}
.seo-tool-consent span {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}
.seo-tool-consent a { color: var(--primary); font-weight: 600; }

.seo-tool-explain {
  font-size: 12px;
  color: var(--text-faint);
  line-height: 1.6;
  margin-top: 4px;
}

.seo-tool-error {
  margin-top: 20px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: #FEF2F2;
  color: #B91C1C;
  font-size: 13.5px;
  line-height: 1.6;
}

/* ---------- Progress ---------- */
.seo-tool-progress { text-align: center; padding: 20px 0 4px; }
.seo-progress-bar {
  width: 100%;
  height: 8px;
  border-radius: var(--radius-pill);
  background: var(--primary-lighter);
  overflow: hidden;
  position: relative;
}
.seo-progress-fill {
  height: 100%;
  width: 4%;
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, var(--primary-dark), var(--primary));
  transition: width 0.4s ease;
  position: relative;
  overflow: hidden;
}
.seo-progress-fill::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.45), transparent);
  animation: seo-progress-shimmer 1.3s ease-in-out infinite;
}
@keyframes seo-progress-shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}
.seo-progress-label {
  margin-top: 16px;
  font-size: 13.5px;
  color: var(--text-muted);
  font-weight: 600;
}

/* ---------- Results ---------- */
.seo-results-container { max-width: 900px; }

.seo-results-header {
  display: flex;
  align-items: center;
  gap: 32px;
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 36px 40px;
  margin-bottom: 28px;
}

.seo-score-ring-wrap {
  position: relative;
  width: 140px;
  height: 140px;
  flex-shrink: 0;
}
.seo-score-ring { transform: rotate(-90deg); }
.seo-score-ring-track {
  fill: none;
  stroke: var(--primary-lighter);
  stroke-width: 10;
}
.seo-score-ring-fill {
  fill: none;
  stroke: var(--primary);
  stroke-width: 10;
  stroke-linecap: round;
  transition: stroke-dashoffset 1s ease, stroke 0.4s ease;
}
.seo-score-ring-fill.is-red { stroke: #F87171; }
.seo-score-ring-fill.is-orange { stroke: #FBBF24; }
.seo-score-ring-fill.is-green { stroke: #4ADE80; }
.seo-score-ring-fill.is-unknown { stroke: var(--border); }
.seo-score-ring-value {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
  font-family: var(--font-head);
  font-size: 34px;
  font-weight: 600;
  color: var(--ink);
}
.seo-score-ring-value small { font-size: 14px; color: var(--text-faint); font-family: var(--font-body); }

.seo-results-summary { flex: 1; }
.seo-results-summary .status-dot { margin-right: 8px; vertical-align: middle; margin-bottom: 3px; }
.seo-results-summary h2 { font-size: 24px; display: inline; }
.seo-results-summary p { margin-top: 8px; color: var(--text-muted); font-size: 14px; word-break: break-all; }
.seo-score-formula { font-size: 12.5px !important; color: var(--text-faint) !important; margin-top: 10px !important; }

.seo-category-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 28px;
}
.seo-category-card {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 24px;
}
.seo-category-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.seo-category-head h3 { font-size: 15px; flex: 1; }
.seo-category-score { font-weight: 700; color: var(--ink); font-size: 14px; }
.seo-category-description { font-size: 13px; color: var(--text-muted); margin: -6px 0 12px; }
.seo-category-bar {
  height: 6px;
  border-radius: var(--radius-pill);
  background: var(--primary-lighter);
  overflow: hidden;
  margin-bottom: 14px;
}
.seo-category-bar-fill {
  height: 100%;
  border-radius: var(--radius-pill);
  background: var(--primary);
  transition: width 0.8s ease;
}
.seo-category-bar-fill.is-red { background: #F87171; }
.seo-category-bar-fill.is-orange { background: #FBBF24; }
.seo-category-bar-fill.is-green { background: #4ADE80; }
.seo-category-bar-fill.is-unknown { background: var(--border); }
.seo-category-findings { display: flex; flex-direction: column; gap: 8px; }
.seo-category-findings li {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  padding-left: 16px;
  position: relative;
}
.seo-category-findings li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--text-faint);
}
.seo-category-findings .is-ok { color: #16A34A; }

.seo-field-data-note {
  font-size: 13px;
  color: var(--text-faint);
  background: var(--primary-lighter);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  margin-bottom: 28px;
  line-height: 1.6;
}

.seo-honest-note {
  background: var(--panel);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  margin-bottom: 28px;
}
.seo-honest-note p { font-size: 14.5px; line-height: 1.7; color: var(--text); }
.seo-honest-note .seo-honest-cta-line { margin-top: 10px; font-weight: 600; color: var(--ink); }

.seo-results-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 20px;
}

.seo-share-block {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.seo-share-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 15px;
  transition: all 0.2s ease;
}
.seo-share-icon-btn:hover { border-color: var(--primary); background: var(--primary-light); }
.seo-share-hint { font-size: 12.5px; color: var(--text-faint); }
.seo-share-form {
  display: flex;
  gap: 10px;
  width: 100%;
  margin-top: 4px;
}
.seo-share-form input[type="email"] {
  flex: 1;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  font-size: 14px;
  outline: none;
}
.seo-share-form input[type="email"]:focus { border-color: var(--primary); }
.seo-share-status { width: 100%; font-size: 12.5px; margin-top: 6px; color: var(--text-muted); }
.seo-share-status.is-success { color: #16A34A; }
.seo-share-status.is-error { color: #B91C1C; }

@media (max-width: 640px) {
  .seo-tool-card { padding: 26px 20px; }
  .seo-results-header { flex-direction: column; text-align: center; padding: 28px 22px; }
  .seo-results-summary p { word-break: break-word; }
  .seo-category-grid { grid-template-columns: 1fr; }
  .seo-tool-step-actions { flex-direction: column; }
  .seo-results-actions .btn { width: 100%; }
}
