/* VHA Redovisning – Shared stylesheet */
/* Design system: warm off-white + Midnight Navy + Cormorant Garamond/Open Sans */

/* ─── Google Fonts ─────────────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;500;600;700;800&family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&display=swap');

/* ─── Design tokens ────────────────────────────────────────────────────────── */
:root {
  --bg:          #F0F0ED;
  --fg:          #3D3D3D;
  --muted:       #67615B;
  --card:        #FFFFFF;
  --border:      #D5CFC9;
  --secondary:   #ECECEC;
  --accent:      #223459;
  --accent-hover:#172A4D;
  --primary:     #3D3D3D;
  --accent-fg:   #FFFFFF;
  --rose:        #BFAEAA;
  --radius:      0.75rem;
  --shadow-soft: 0 1px 3px rgba(25,38,77,.06), 0 4px 16px -8px rgba(25,38,77,.10);
  --shadow-elegant: 0 8px 32px -12px rgba(25,38,77,.22);
  --shadow-cta:  0 8px 24px -8px rgba(25,38,77,.35);
  --gradient-hero: linear-gradient(180deg, hsl(220 45% 22%) 0%, hsl(220 50% 14%) 100%);
  --gradient-cta:  linear-gradient(135deg, hsl(220 45% 26%) 0%, hsl(220 50% 16%) 100%);
}

/* ─── Reset & base ─────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: "Open Sans", system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  font-feature-settings: "ss01","cv11";
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 4px; }
p { margin: 0 0 1rem; max-width: 65ch; }

/* ─── Headings ─────────────────────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--fg);
}
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); line-height: 1.05; }
h2 { font-size: clamp(1.875rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.375rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.25rem; }

/* ─── Layout ───────────────────────────────────────────────────────────────── */
.container {
  max-width: 72rem;
  margin-inline: auto;
  padding-inline: 1.5rem;
}
@media (min-width: 768px) { .container { padding-inline: 2rem; } }

section { padding: 5rem 0; }
@media (min-width: 768px) { section { padding: 7rem 0; } }

/* ─── Utility classes ──────────────────────────────────────────────────────── */
.eyebrow {
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .22em;
  color: var(--accent);
  display: block;
  margin-bottom: .75rem;
}
.highlight { color: var(--accent); font-weight: 700; }
.text-muted { color: var(--muted); }
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ─── Buttons ──────────────────────────────────────────────────────────────── */
.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 1.75rem;
  border-radius: .5rem;
  font-family: "Open Sans", sans-serif;
  font-size: .9375rem;
  font-weight: 500;
  color: var(--accent-fg);
  background: var(--primary);
  transition: transform .3s cubic-bezier(.4,0,.2,1), box-shadow .3s;
  text-decoration: none;
  border: none;
  cursor: pointer;
}
.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-elegant);
  text-decoration: none;
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.75rem;
  border-radius: 9999px;
  font-family: "Open Sans", sans-serif;
  font-size: .9375rem;
  font-weight: 500;
  color: #F5F4F0;
  background: var(--primary);
  text-decoration: none;
  transition: background .25s;
  border: none;
  cursor: pointer;
  border-radius: .5rem;
}
.btn-secondary:hover { background: #262220; text-decoration: none; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .8rem 1.5rem;
  border-radius: .5rem;
  font-family: "Open Sans", sans-serif;
  font-size: .9375rem;
  font-weight: 500;
  color: var(--accent);
  background: transparent;
  border: 1.5px solid var(--accent);
  text-decoration: none;
  transition: background .25s, color .25s;
}
.btn-outline:hover { background: var(--accent); color: #fff; text-decoration: none; }

/* ─── Cards ────────────────────────────────────────────────────────────────── */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: var(--shadow-soft);
}
.card-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .card-grid { grid-template-columns: repeat(3, 1fr); } }

/* ─── Link underline animation ─────────────────────────────────────────────── */
.link-underline { position: relative; display: inline-block; }
.link-underline::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .5s cubic-bezier(.4,0,.2,1);
}
.link-underline:hover::after { transform: scaleX(1); transform-origin: left; }

/* ─── Header ───────────────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: transparent;
  transition: background .3s, box-shadow .3s;
  padding: 1.25rem 0;
}
.site-header.scrolled {
  background: rgba(240,240,237,.95);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-soft);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.site-logo {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.375rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--fg);
  text-decoration: none;
  flex-shrink: 0;
}
.site-logo:hover { text-decoration: none; }

/* Nav */
.site-nav { display: none; }
@media (min-width: 1024px) {
  .site-nav {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    flex: 1;
    justify-content: center;
  }
}
.nav-link {
  font-size: .875rem;
  font-weight: 500;
  color: var(--fg);
  padding: .5rem .75rem;
  border-radius: .5rem;
  transition: background .2s, color .2s;
  text-decoration: none;
}
.nav-link:hover { background: var(--secondary); text-decoration: none; }

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: .25rem;
  font-size: .875rem;
  font-weight: 500;
  color: var(--fg);
  padding: .5rem .75rem;
  border-radius: .5rem;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: background .2s;
}
.nav-dropdown-toggle:hover { background: var(--secondary); }
.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + .5rem);
  left: 0;
  min-width: 220px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-elegant);
  padding: .5rem;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu { display: block; }
.nav-dropdown-menu a {
  display: block;
  padding: .5rem .75rem;
  font-size: .875rem;
  color: var(--fg);
  border-radius: .375rem;
  transition: background .15s;
  text-decoration: none;
}
.nav-dropdown-menu a:hover { background: var(--secondary); text-decoration: none; }

.header-cta { display: none; }
@media (min-width: 1024px) { .header-cta { display: inline-flex; } }

/* Mobile menu toggle */
.mobile-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem; height: 2.5rem;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: .5rem;
  cursor: pointer;
}
@media (min-width: 1024px) { .mobile-menu-btn { display: none; } }
.mobile-menu-btn svg { width: 1.25rem; height: 1.25rem; stroke: var(--fg); }

/* Mobile nav drawer */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(61,61,61,.5);
}
.mobile-nav.open { display: block; }
.mobile-nav-inner {
  position: absolute;
  top: 0; right: 0;
  width: min(360px, 90vw);
  height: 100%;
  background: var(--bg);
  padding: 1.5rem;
  overflow-y: auto;
}
.mobile-nav-close {
  display: flex; align-items: center; justify-content: flex-end;
  margin-bottom: 1.5rem;
}
.mobile-nav-close button {
  background: transparent; border: none; cursor: pointer; padding: .5rem;
}
.mobile-nav-links a {
  display: block;
  padding: .75rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 1rem;
  font-weight: 500;
  color: var(--fg);
  text-decoration: none;
}
.mobile-nav-links a:hover { color: var(--accent); }

/* ─── Hero ─────────────────────────────────────────────────────────────────── */
.hero {
  background: var(--gradient-hero);
  color: #fff;
  padding: 6rem 0 5rem;
  text-align: center;
}
@media (min-width: 768px) { .hero { padding: 8rem 0 6rem; } }
.hero h1 { color: #fff; max-width: 820px; margin-inline: auto; margin-bottom: 1.25rem; }
.hero p { color: rgba(255,255,255,.8); font-size: 1.125rem; max-width: 600px; margin-inline: auto; margin-bottom: 2rem; }
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 3rem;
}
.hero-badge {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 9999px;
  padding: .4rem 1rem;
  font-size: .8125rem;
  font-weight: 500;
  color: rgba(255,255,255,.9);
}
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hero .btn-outline-light {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.75rem;
  border-radius: 9999px;
  font-weight: 500;
  color: rgba(255,255,255,.9);
  border: 1.5px solid rgba(255,255,255,.4);
  text-decoration: none;
  transition: background .25s;
}
.hero .btn-outline-light:hover { background: rgba(255,255,255,.1); text-decoration: none; }

/* Light hero variant */
.hero-light {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 4rem 0 3rem;
}
.hero-light h1 { color: var(--fg); max-width: 720px; }
.hero-light p { color: var(--muted); }
.hero-light .eyebrow { justify-content: flex-start; }

/* ─── Feature grid ─────────────────────────────────────────────────────────── */
.feature-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
.feature-item { display: flex; gap: 1rem; align-items: flex-start; }
.feature-number {
  flex-shrink: 0;
  width: 2rem; height: 2rem;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
  font-weight: 700;
}
.feature-item h4 { margin-bottom: .25rem; font-size: 1rem; }
.feature-item p { color: var(--muted); font-size: .9375rem; margin: 0; }

/* ─── Service cards ────────────────────────────────────────────────────────── */
.service-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  padding: 2rem;
  box-shadow: var(--shadow-soft);
  transition: transform .25s, box-shadow .25s;
  display: flex;
  flex-direction: column;
}
.service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-elegant); }
.service-card-num {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--muted);
  margin-bottom: .75rem;
}
.service-card h3 { font-size: 1.375rem; margin-bottom: .75rem; }
.service-card p { color: var(--muted); font-size: .9375rem; flex: 1; }
.service-tags { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0; }
.service-tag {
  font-size: .75rem;
  padding: .25rem .625rem;
  background: var(--secondary);
  border-radius: 9999px;
  color: var(--muted);
}
.service-card-link {
  margin-top: 1.25rem;
  font-size: .875rem;
  font-weight: 600;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: .25rem;
}

/* ─── Steps / Process ──────────────────────────────────────────────────────── */
.steps { display: flex; flex-direction: column; gap: 2rem; }
@media (min-width: 768px) {
  .steps { flex-direction: row; gap: 3rem; }
}
.step { flex: 1; display: flex; gap: 1.25rem; align-items: flex-start; }
.step-number {
  flex-shrink: 0;
  width: 3rem; height: 3rem;
  border-radius: 50%;
  border: 2px solid var(--accent);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.125rem;
  font-weight: 600;
}
.step-content h4 { margin-bottom: .375rem; font-size: 1.0625rem; }
.step-content p { color: var(--muted); font-size: .9375rem; margin: 0; max-width: none; }

/* ─── Testimonials ─────────────────────────────────────────────────────────── */
.testimonials-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .testimonials-grid { grid-template-columns: repeat(3, 1fr); } }
.testimonial {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.75rem;
  box-shadow: var(--shadow-soft);
}
.testimonial blockquote {
  font-style: italic;
  color: var(--fg);
  font-size: .9375rem;
  line-height: 1.7;
  margin: 0 0 1.25rem;
}
.testimonial cite { font-style: normal; }
.testimonial-name { font-weight: 600; font-size: .9375rem; display: block; }
.testimonial-title { font-size: .8125rem; color: var(--muted); }

/* ─── Deliverables checklist ───────────────────────────────────────────────── */
.checklist { display: grid; gap: .625rem; }
@media (min-width: 640px) { .checklist { grid-template-columns: repeat(2, 1fr); } }
.checklist li {
  display: flex;
  align-items: center;
  gap: .625rem;
  font-size: .9375rem;
  color: var(--fg);
}
.checklist li::before {
  content: "✓";
  flex-shrink: 0;
  width: 1.375rem; height: 1.375rem;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .6875rem;
  font-weight: 700;
}

/* ─── Pricing ──────────────────────────────────────────────────────────────── */
.pricing-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .pricing-grid { grid-template-columns: repeat(3, 1fr); } }
.pricing-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  padding: 2rem;
  box-shadow: var(--shadow-soft);
  position: relative;
}
.pricing-card.featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), var(--shadow-elegant);
}
.pricing-badge {
  position: absolute;
  top: -1px; right: 1.5rem;
  background: var(--accent);
  color: #fff;
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: .25rem .75rem;
  border-radius: 0 0 .5rem .5rem;
}
.pricing-tier { font-size: .8125rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: .5rem; }
.pricing-name { font-size: 1.375rem; font-family: "Cormorant Garamond", serif; font-weight: 500; margin-bottom: .25rem; }
.pricing-price { font-size: 2.25rem; font-family: "Cormorant Garamond", serif; font-weight: 600; color: var(--fg); line-height: 1.1; }
.pricing-price span { font-size: 1rem; font-family: "Open Sans", sans-serif; font-weight: 400; color: var(--muted); }
.pricing-features { margin: 1.5rem 0; display: flex; flex-direction: column; gap: .5rem; }
.pricing-features li { display: flex; align-items: center; gap: .625rem; font-size: .9375rem; }
.pricing-features li::before {
  content: "✓";
  color: var(--accent);
  font-weight: 700;
  font-size: .8125rem;
}

/* ─── FAQ accordion ────────────────────────────────────────────────────────── */
.faq { display: flex; flex-direction: column; gap: .75rem; }
details {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
}
summary {
  padding: 1.125rem 1.25rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .9375rem;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 1.25rem; color: var(--accent); }
details[open] summary::after { content: "−"; }
details .faq-body { padding: 0 1.25rem 1.25rem; color: var(--muted); font-size: .9375rem; }

/* ─── Form ─────────────────────────────────────────────────────────────────── */
.form-group { margin-bottom: 1rem; }
label { display: block; font-size: .875rem; font-weight: 600; margin-bottom: .375rem; color: var(--fg); }
input, textarea, select {
  width: 100%;
  padding: .75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  color: var(--fg);
  font-family: "Open Sans", sans-serif;
  font-size: .9375rem;
  transition: border-color .2s, box-shadow .2s;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(34,56,106,.12);
}
textarea { resize: vertical; min-height: 100px; }

/* ─── Contact section ──────────────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  gap: 3rem;
  grid-template-columns: 1fr;
}
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1fr 1fr; align-items: start; } }
.contact-info { display: flex; flex-direction: column; gap: 1.25rem; }
.contact-item { display: flex; gap: 1rem; align-items: flex-start; }
.contact-icon {
  flex-shrink: 0;
  width: 2.5rem; height: 2.5rem;
  border-radius: 50%;
  background: rgba(34,56,106,.08);
  display: flex; align-items: center; justify-content: center;
}
.contact-icon svg { width: 1.125rem; height: 1.125rem; stroke: var(--accent); }
.contact-item h4 { margin: 0 0 .25rem; font-size: .9375rem; }
.contact-item p, .contact-item a { color: var(--muted); font-size: .9375rem; margin: 0; }
.contact-item a:hover { color: var(--accent); }

/* ─── Team cards ───────────────────────────────────────────────────────────── */
.team-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }
.team-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.75rem;
  text-align: center;
  box-shadow: var(--shadow-soft);
}
.team-avatar {
  width: 4rem; height: 4rem;
  border-radius: 50%;
  background: var(--secondary);
  margin: 0 auto 1rem;
  display: flex; align-items: center; justify-content: center;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--accent);
}
.team-name { font-size: 1.0625rem; font-weight: 600; margin-bottom: .25rem; }
.team-role { font-size: .875rem; color: var(--muted); margin-bottom: .75rem; }
.team-contact { display: flex; flex-direction: column; gap: .25rem; }
.team-contact a { font-size: .8125rem; color: var(--accent); }

/* ─── Services mega-footer ─────────────────────────────────────────────────── */
.explore-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 768px) { .explore-grid { grid-template-columns: repeat(5, 1fr); } }
.explore-col h5 {
  font-size: .8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
  margin-bottom: .875rem;
}
.explore-col ul { display: flex; flex-direction: column; gap: .375rem; }
.explore-col li a { font-size: .875rem; color: var(--fg); transition: color .2s; }
.explore-col li a:hover { color: var(--accent); text-decoration: none; }

/* ─── Breadcrumb ───────────────────────────────────────────────────────────── */
.breadcrumb { display: flex; align-items: center; gap: .5rem; font-size: .8125rem; margin-bottom: 1.25rem; flex-wrap: wrap; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb-sep { color: var(--border); }
.breadcrumb-current { color: var(--fg); font-weight: 500; }

/* ─── Article prose ────────────────────────────────────────────────────────── */
.prose h2 { margin-top: 3rem; margin-bottom: .5rem; }
.prose h3 { margin-top: 2rem; margin-bottom: .375rem; }
.prose p { font-size: 1.0625rem; line-height: 1.75; color: rgba(61,61,61,.85); max-width: none; }
.prose ul, .prose ol { padding-left: 1.5rem; list-style: disc; margin-bottom: 1rem; }
.prose ul li, .prose ol li { margin-bottom: .375rem; font-size: 1.0625rem; line-height: 1.7; color: rgba(61,61,61,.85); }
.prose ol { list-style: decimal; }
.prose a { color: var(--accent); text-underline-offset: 4px; text-decoration: underline; }
.prose blockquote {
  border-left: 4px solid rgba(34,56,106,.5);
  padding-left: 1.25rem;
  font-style: italic;
  margin: 1.5rem 0;
  color: var(--muted);
}
.prose table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; }
.prose th { background: var(--secondary); font-weight: 600; text-align: left; }
.prose th, .prose td { border: 1px solid var(--border); padding: .625rem .875rem; font-size: .9375rem; }

/* ─── CTA band ─────────────────────────────────────────────────────────────── */
.cta-band {
  background: var(--gradient-hero);
  color: #fff;
  padding: 4rem 0;
  text-align: center;
}
.cta-band h2 { color: #fff; margin-bottom: .75rem; }
.cta-band p { color: rgba(255,255,255,.75); max-width: 540px; margin-inline: auto; margin-bottom: 2rem; }

/* ─── Footer ───────────────────────────────────────────────────────────────── */
.site-footer {
  background: #19264D;
  color: rgba(255,255,255,.8);
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.footer-brand .site-logo { color: #fff; font-size: 1.25rem; }
.footer-brand p { margin-top: .75rem; font-size: .9375rem; color: rgba(255,255,255,.6); }
.footer-col h5 {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(255,255,255,.45);
  margin-bottom: .875rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: .375rem; }
.footer-col li a { font-size: .875rem; color: rgba(255,255,255,.7); transition: color .2s; text-decoration: none; }
.footer-col li a:hover { color: #fff; }
.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
}
.footer-bottom p, .footer-bottom a {
  font-size: .8125rem;
  color: rgba(255,255,255,.45);
}
.footer-bottom a:hover { color: rgba(255,255,255,.75); }
.footer-bottom-links { display: flex; gap: 1.25rem; }

/* ─── Animations ───────────────────────────────────────────────────────────── */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.animate-fade-up {
  animation: fade-up .8s cubic-bezier(.4,0,.2,1) forwards;
}
.animate-fade-in {
  animation: fade-in 1s ease-out forwards;
}
@media (prefers-reduced-motion: reduce) {
  .animate-fade-up, .animate-fade-in { animation: none; opacity: 1; }
}

/* ─── Section headers ──────────────────────────────────────────────────────── */
.section-header { margin-bottom: 3rem; max-width: 660px; }
.section-header h2 { margin-bottom: .75rem; }
.section-header p { color: var(--muted); font-size: 1.0625rem; max-width: none; }

/* ─── USP badges ───────────────────────────────────────────────────────────── */
.usp-list { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.25rem; }
.usp-item {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .875rem;
  font-weight: 500;
  color: var(--fg);
}
.usp-item::before {
  content: "✓";
  width: 1.25rem; height: 1.25rem;
  border-radius: 50%;
  background: rgba(34,56,106,.1);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-size: .6875rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* ─── Two-column layout ────────────────────────────────────────────────────── */
.two-col {
  display: grid;
  gap: 3rem;
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 1024px) { .two-col { grid-template-columns: 1fr 1fr; } }

/* ─── Dividers ─────────────────────────────────────────────────────────────── */
.divider { height: 1px; background: var(--border); margin: 0; }

/* ─── Responsive utilities ─────────────────────────────────────────────────── */
@media (max-width: 767px) { .hide-mobile { display: none !important; } }
@media (min-width: 768px) { .hide-desktop { display: none !important; } }

/* ─── Focus styles (accessibility) ────────────────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--accent);
  color: #fff;
  padding: .5rem 1rem;
  border-radius: .375rem;
  font-weight: 600;
  text-decoration: none;
  z-index: 9999;
}
.skip-link:focus { top: 1rem; }

/* ════════════════════════════════════════════════════════════════════════════
   Markup-compatibility layer
   The page templates use a set of class names (.logo, .main-nav, .has-dropdown,
   .dropdown, .hamburger, .footer-inner, .testimonial-grid, .feature-list,
   .tool-grid …) that the original design tokens above did not target. The rules
   below style those classes so header, navigation, footer and section widgets
   render correctly across every page.
   ════════════════════════════════════════════════════════════════════════════ */

/* ─── Logo ─────────────────────────────────────────────────────────────────── */
.logo {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.375rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--fg);
  text-decoration: none;
  flex-shrink: 0;
}
.logo:hover { text-decoration: none; }
.logo strong { color: var(--accent); font-weight: 700; }

/* ─── Desktop navigation ───────────────────────────────────────────────────── */
.main-nav { display: none; }
@media (min-width: 1024px) {
  .main-nav { display: block; flex: 1; }
  .main-nav > ul {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .25rem;
  }
}
.main-nav a {
  display: inline-block;
  font-size: .875rem;
  font-weight: 500;
  color: var(--fg);
  padding: .5rem .75rem;
  border-radius: .5rem;
  transition: background .2s, color .2s;
  text-decoration: none;
}
.main-nav a:hover { background: var(--secondary); text-decoration: none; }
.main-nav .has-dropdown { position: relative; }
.main-nav .dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 230px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-elegant);
  padding: .5rem;
  z-index: 120;
}
.main-nav .has-dropdown:hover .dropdown,
.main-nav .has-dropdown:focus-within .dropdown { display: block; }
.main-nav .dropdown li { display: block; }
.main-nav .dropdown a {
  display: block;
  padding: .5rem .75rem;
  font-size: .875rem;
  border-radius: .375rem;
}

/* Small CTA button used in the header */
.btn-sm { padding: .5rem 1.1rem; font-size: .8125rem; }

/* ─── Hamburger (mobile menu toggle) ───────────────────────────────────────── */
.hamburger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0 .65rem;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: .5rem;
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--fg);
  border-radius: 2px;
}
@media (min-width: 1024px) { .hamburger { display: none; } }

/* ─── Mobile nav panel (toggled via the [hidden] attribute) ────────────────── */
/* Override the earlier overlay-style .mobile-nav rules so the in-flow panel
   markup (a <nav class="mobile-nav" hidden> with a plain <ul>) works. */
.mobile-nav {
  position: static;
  inset: auto;
  display: block;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}
.mobile-nav[hidden] { display: none; }
.mobile-nav ul { padding: .5rem 1.5rem 1.25rem; }
.mobile-nav li a {
  display: block;
  padding: .65rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 1rem;
  font-weight: 500;
  color: var(--fg);
  text-decoration: none;
}
.mobile-nav li a:hover { color: var(--accent); }
.mobile-nav li a.btn-cta { border-bottom: none; color: var(--accent-fg); margin-top: .75rem; }
@media (min-width: 1024px) { .mobile-nav { display: none !important; } }

/* ─── Hero lead paragraph ──────────────────────────────────────────────────── */
.hero-lead { font-size: 1.125rem; }
.hero-light .hero-lead { font-size: 1.0625rem; max-width: 640px; }

/* ─── Footer (template markup) — light, matches live site ──────────────────── */
.site-footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  color: var(--muted);
  padding: 4rem 0 2rem;
}
.footer-inner {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .footer-inner { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-inner { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.footer-logo {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.375rem;
  color: var(--fg);
  margin: 0 0 .5rem;
}
.footer-logo strong { color: var(--accent); }
.footer-brand p { font-size: .9375rem; color: var(--muted); }
.footer-brand a { color: var(--accent); }
.footer-col h3 {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--muted);
  margin-bottom: .875rem;
  font-family: "Open Sans", sans-serif;
}
.footer-col li a { color: var(--fg); font-size: .875rem; }
.footer-col li a:hover { color: var(--accent); }
.footer-bottom { border-top-color: var(--border); }
.footer-bottom p, .footer-bottom a { color: var(--muted); }
.footer-bottom a:hover { color: var(--accent); }

/* ─── Testimonials (template markup) ───────────────────────────────────────── */
.testimonial-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .testimonial-grid { grid-template-columns: repeat(3, 1fr); } }
.testimonial p {
  font-style: italic;
  color: var(--fg);
  font-size: .9375rem;
  line-height: 1.7;
  margin: 0 0 1.25rem;
}
.testimonial footer strong {
  display: block;
  font-weight: 600;
  font-size: .9375rem;
  color: var(--fg);
}
.testimonial footer span { font-size: .8125rem; color: var(--muted); }

/* ─── Feature list (template markup) ───────────────────────────────────────── */
.feature-list { display: grid; gap: 1.25rem; }
.feature-list .feature-item {
  display: block;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-soft);
}
.feature-list .feature-item h3 { font-size: 1.125rem; margin-bottom: .25rem; }
.feature-list .feature-item p { color: var(--muted); font-size: .9375rem; margin: 0; }

/* ─── Tool cards (verktyg index) ───────────────────────────────────────────── */
.tool-grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .tool-grid { grid-template-columns: repeat(2, 1fr); } }
.tool-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .5rem;
  color: inherit;
  text-decoration: none;
  transition: transform .25s, box-shadow .25s;
}
.tool-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-elegant); text-decoration: none; }
.tool-card h2 { font-size: 1.375rem; margin: 0; }
.tool-card p { color: var(--muted); font-size: .9375rem; flex: 1; }
.tool-card .btn-outline { margin-top: .5rem; }

/* ─── Service links row (homepage) ─────────────────────────────────────────── */
.service-links {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 2rem;
}
.service-links a {
  font-size: .875rem;
  font-weight: 600;
  color: var(--accent);
  padding: .5rem .9rem;
  border: 1px solid var(--border);
  border-radius: 9999px;
  background: var(--card);
  transition: border-color .2s, background .2s;
}
.service-links a:hover { border-color: var(--accent); background: var(--secondary); text-decoration: none; }

/* ─── Trust band + logo marquee (homepage) ─────────────────────────────────── */
.trust-band { border-bottom: 1px solid var(--border); background: var(--bg); padding: 2.5rem 0; }
.trust-band .eyebrow { text-align: center; }
.marquee {
  position: relative;
  overflow: hidden;
  margin-top: 1.5rem;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: marquee 35s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track li { flex: 0 0 auto; margin-right: 4rem; display: flex; align-items: center; }
@media (min-width: 768px) { .marquee-track li { margin-right: 6rem; } }
.marquee-track img {
  height: 2.5rem;
  width: auto;
  max-width: none;
  object-fit: contain;
  opacity: .7;
  filter: grayscale(1);
  transition: opacity .3s, filter .3s;
}
@media (min-width: 768px) { .marquee-track img { height: 3rem; } }
.marquee-track li:hover img { opacity: 1; filter: grayscale(0); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; flex-wrap: wrap; justify-content: center; width: 100%; }
  .marquee-track li { margin: .75rem 2rem; }
}
.trust-band .trust-title {
  text-align: center;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  color: var(--fg);
  margin: 0;
}

/* ─── Homepage split hero (light, with photo) ──────────────────────────────── */
.hero-split {
  position: relative;
  overflow: hidden;
  background: var(--bg);
  padding: 3rem 0 5rem;
}
@media (min-width: 768px) { .hero-split { padding: 5rem 0 7rem; } }
.hero-split .hero-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .55;
  z-index: 0;
}
.hero-split .hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(240,240,237,.4) 0%, rgba(240,240,237,.75) 55%, var(--bg) 100%);
}
.hero-split > .container { position: relative; z-index: 2; }
.hero-grid { display: grid; gap: 3rem; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: 7fr 5fr; } }
.hero-copy h1 { margin: 1.25rem 0 0; color: var(--fg); }
.hero-copy .highlight { color: var(--accent); font-weight: 700; }
.hero-copy .hero-lead { margin-top: 1.5rem; color: var(--muted); font-size: 1.125rem; max-width: 34rem; }
.hero-copy .hero-actions { justify-content: flex-start; margin-top: 2rem; align-items: center; }
.hero-copy .link-underline { font-weight: 600; font-size: .9375rem; color: var(--fg); padding: .5rem .25rem; }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
  max-width: 30rem;
}
.hero-stats dt {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  color: var(--fg);
  line-height: 1;
}
.hero-stats dd { margin: .4rem 0 0; font-size: .7rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.hero-media { position: relative; }
.hero-img {
  border-radius: .85rem;
  overflow: hidden;
  box-shadow: var(--shadow-elegant);
  aspect-ratio: 4 / 5;
}
.hero-img img { width: 100%; height: 100%; object-fit: cover; }
.hero-float {
  position: absolute;
  bottom: -1.25rem; left: -1.25rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: .6rem;
  box-shadow: var(--shadow-soft);
  padding: 1.1rem 1.25rem;
  max-width: 230px;
}
.hero-float .eyebrow { margin-bottom: .4rem; }
.hero-float p { font-family: "Cormorant Garamond", Georgia, serif; font-size: 1.25rem; margin: 0; color: var(--fg); }
@media (max-width: 767px) { .hero-float { display: none; } }

/* ─── Section with media (process / about / contact) ───────────────────────── */
.media-grid { display: grid; gap: 3rem; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 1024px) { .media-grid { grid-template-columns: 1fr 1fr; } }
.media-figure {
  border-radius: .85rem;
  overflow: hidden;
  box-shadow: var(--shadow-elegant);
  aspect-ratio: 4 / 3;
}
.media-figure img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 1024px) { .media-grid.media-right .media-figure { order: 2; } }

/* ─── Testimonial avatar + equal-height cards ──────────────────────────────── */
.testimonial { display: flex; flex-direction: column; }
.testimonial > p { flex: 1; }
.testimonial footer { display: flex; align-items: center; gap: .85rem; margin-top: 1.25rem; }
.testimonial footer div { min-width: 0; }
.testimonial .t-avatar { width: 3rem; height: 3rem; border-radius: 50%; object-fit: cover; flex: 0 0 auto; }

/* ════════════════════════════════════════════════════════════════════════════
   Markup-compatibility layer — part 2
   Styles the remaining template class names used by location, service, article,
   articles-index, tool/calculator, pricing and contact pages so every grid and
   widget lays out correctly (instead of collapsing to a single column).
   ════════════════════════════════════════════════════════════════════════════ */

/* ─── Location pages: services + steps ─────────────────────────────────────── */
.service-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
  margin-top: 2.5rem;
}
@media (min-width: 640px) { .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .service-grid { grid-template-columns: repeat(4, 1fr); } }
.service-num {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--muted);
  display: block;
  margin-bottom: .5rem;
}
.service-tags li {
  font-size: .75rem;
  padding: .25rem .625rem;
  background: var(--secondary);
  border-radius: 9999px;
  color: var(--muted);
}
.service-link {
  margin-top: 1.25rem;
  font-size: .875rem;
  font-weight: 600;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: .25rem;
}
.steps-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
  margin: 2.5rem 0;
}
@media (min-width: 768px) { .steps-grid { grid-template-columns: repeat(3, 1fr); } }
.steps-grid .step {
  display: block;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-soft);
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem; height: 3rem;
  border-radius: 50%;
  border: 2px solid var(--accent);
  color: var(--accent);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.steps-grid .step h3 { font-size: 1.125rem; margin-bottom: .4rem; }
.steps-grid .step p { color: var(--muted); font-size: .9375rem; margin: 0; }

/* ─── Article pages: main + sidebar layout ─────────────────────────────────── */
.article-layout {
  display: grid;
  gap: 3rem;
  grid-template-columns: 1fr;
  align-items: start;
  padding-top: 3.5rem;
  padding-bottom: 5rem;
}
@media (min-width: 1024px) { .article-layout { grid-template-columns: minmax(0, 1fr) 320px; } }
.article-body { min-width: 0; }
.article-sidebar { display: flex; flex-direction: column; gap: 1.5rem; }
@media (min-width: 1024px) { .article-sidebar { position: sticky; top: 6rem; } }
.article-sidebar .card h3 { font-size: 1.125rem; margin-bottom: .5rem; }
.article-sidebar .card p { font-size: .9375rem; color: var(--muted); margin-bottom: 1rem; }
.article-sidebar .card ul { display: flex; flex-direction: column; gap: .45rem; }
.article-sidebar .card ul li a { font-size: .9375rem; }
.article-sidebar .btn-outline { margin: .35rem .35rem 0 0; }
.sidebar-cta { background: var(--secondary); }

/* ─── Articles index: card grid ────────────────────────────────────────────── */
.article-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .article-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .article-grid { grid-template-columns: repeat(3, 1fr); } }
.article-card {
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
  transition: transform .25s, box-shadow .25s;
}
.article-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-elegant); text-decoration: none; }
.article-card h2 { font-size: 1.25rem; margin: .5rem 0; }
.article-card p { color: var(--muted); font-size: .9375rem; flex: 1; }
.article-date { margin-top: 1rem; font-size: .8125rem; color: var(--muted); }

/* ─── Tool / calculator pages ──────────────────────────────────────────────── */
.tool-layout {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
  align-items: start;
}
@media (min-width: 1024px) { .tool-layout { grid-template-columns: 5fr 7fr; } }
.tool-inputs h2, .tool-result h2 { font-size: 1.375rem; margin-bottom: 1.25rem; }
.tool-inputs small { display: block; margin-top: .35rem; font-size: .8125rem; color: var(--muted); font-weight: 400; }
.tool-inputs .btn-cta { margin-top: .5rem; }
.result-table { width: 100%; border-collapse: collapse; }
.result-table td { padding: .55rem .25rem; border-bottom: 1px solid var(--border); font-size: .9375rem; }
.result-table td:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.result-total td { border-top: 2px solid var(--accent); border-bottom: none; font-size: 1.0625rem; padding-top: .85rem; }
.tool-cta { margin-top: 1.5rem; background: var(--secondary); }
.tool-cta h3 { font-size: 1.125rem; margin-bottom: .4rem; }
.tool-cta p { font-size: .9375rem; color: var(--muted); }
.disclaimer { margin-top: 1.25rem; font-size: .8125rem; color: var(--muted); line-height: 1.6; }
.radio-group { margin-bottom: 1rem; }
.radio-group label { display: flex; align-items: center; gap: .5rem; font-weight: 400; margin-bottom: .5rem; }
input[type="radio"], input[type="checkbox"] { width: auto; display: inline-block; }
.compare-grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .compare-grid { grid-template-columns: 1fr 1fr; } }
.compare-diff {
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  background: rgba(34, 52, 89, .08);
  border-radius: var(--radius);
  text-align: center;
  color: var(--fg);
}

/* ─── Service pages: deliverables / faq / related / offert ──────────────────── */
.deliverables { margin-top: 2.5rem; }
.deliverables h3 { margin-bottom: 1rem; }
.faq-inner { max-width: 820px; margin-inline: auto; }
.faq-list { display: flex; flex-direction: column; gap: .75rem; margin-top: 2rem; }
.faq-item > p { padding: 0 1.25rem 1.25rem; margin: 0; color: var(--muted); font-size: .9375rem; }
.related-links { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.offert-inner {
  display: grid;
  gap: 3rem;
  grid-template-columns: 1fr;
  align-items: start;
}
@media (min-width: 1024px) { .offert-inner { grid-template-columns: 1fr 1fr; } }

/* ─── Pricing extras ───────────────────────────────────────────────────────── */
.pricing-header { margin-bottom: 1.5rem; }
.pricing-header h2 { margin-bottom: .25rem; font-size: 1.5rem; }
.pricing-header p { color: var(--muted); font-size: .9375rem; margin: 0; }
.pricing-card--featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), var(--shadow-elegant);
}
.pricing-note { margin-top: 1.5rem; font-size: .875rem; color: var(--muted); }
.pricing-table { width: 100%; border-collapse: collapse; margin-top: 1.5rem; }
.pricing-table td { padding: .65rem .25rem; border-bottom: 1px solid var(--border); font-size: .9375rem; }
.pricing-table td:last-child { text-align: right; font-weight: 600; }

/* ─── Contact variants ─────────────────────────────────────────────────────── */
.contact-info-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .contact-info-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .contact-info-grid { grid-template-columns: repeat(3, 1fr); } }
.contact-info-grid .card h2 { font-size: 1.25rem; margin-bottom: .5rem; }
.contact-info-grid .card p { font-size: .9375rem; color: var(--muted); }
.contact-info-grid .card ul { display: flex; flex-direction: column; gap: .35rem; font-size: .9375rem; color: var(--muted); }
.contact-info-grid .card .btn-cta { margin-top: .5rem; }
.contact-item { flex-direction: column; gap: .25rem; }
.contact-item strong { font-size: .9375rem; color: var(--fg); }
.contact-item span { color: var(--muted); font-size: .9375rem; }
.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.contact-form .form-group { margin-bottom: 0; }
.contact-form label { font-weight: 600; }
.contact-form label input, .contact-form label textarea { margin-top: .35rem; }

/* Honeypot field (hidden from humans, catches bots) */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Inline form status message */
.form-status { margin: .25rem 0 0; font-size: .9375rem; line-height: 1.5; }
.form-status.is-success { color: #1c7a3a; font-weight: 600; }
.form-status.is-error { color: #b3261e; font-weight: 600; }

/* ─── Section helpers used by templates ────────────────────────────────────── */
.section { padding: 5rem 0; }
@media (min-width: 768px) { .section { padding: 7rem 0; } }
.section-center { text-align: center; }
.section-center .eyebrow,
.section-center .section-header { margin-inline: auto; }

/* ─── Article meta (date · reading time · author) ──────────────────────────── */
.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
  color: var(--muted);
  font-size: .875rem;
  margin: .25rem 0 1.25rem;
}
.article-meta time { color: var(--muted); }

/* ─── Breadcrumb (ol/li template markup) ───────────────────────────────────── */
.breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.breadcrumb li { display: flex; align-items: center; gap: .5rem; }
.breadcrumb li + li::before { content: "/"; color: var(--border); }
.breadcrumb li[aria-current] { color: var(--fg); font-weight: 500; }

/* ─── Mer luft / typografisk rytm ──────────────────────────────────────────── */
@media (min-width: 768px) {
  section, .section { padding-top: 7.5rem; padding-bottom: 7.5rem; }
}
.section-header { margin-bottom: 3.5rem; }
.hero-light { padding: 4.5rem 0 3.5rem; }
.hero-light h1 { margin-bottom: 1.25rem; }
.prose h2 { margin-top: 3.5rem; }
.prose h3 { margin-top: 2.25rem; }
.prose p { margin-bottom: 1.15rem; }
.two-col, .media-grid { gap: 3.5rem; }
@media (min-width: 1024px) { .container { padding-inline: 2.5rem; } }

/* ─── Polish & UX refinements ──────────────────────────────────────────────── */
/* Keep in-page anchor targets (#kontakt, FAQ, headings) clear of the sticky header. */
:where(h1, h2, h3, h4, [id]) { scroll-margin-top: 6rem; }
/* Friendlier FAQ affordance. */
details summary:hover { color: var(--accent); }
details summary { transition: color .15s; }
/* Slightly smoother card interactions. */
.service-card, .tool-card, .article-card { will-change: transform; }

/* ─── Scroll-reveal (pure CSS, always ends visible — safe without JS) ───────── */
.fade-up {
  opacity: 0;
  animation: fade-up .7s cubic-bezier(.4,0,.2,1) forwards;
}
.fade-up.visible { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .fade-up { opacity: 1; animation: none; }
}
