/* =============================================
   Partner Assuranse – site.css (2026 design)
   ============================================= */

/* --- Local fonts --------------------------------- */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/assets/fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/assets/fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191,
    U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

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

:root {
  --navy: #0b1e3d;
  --navy-light: #122549;
  --navy-mid: #1a3360;
  --blue: #4a7c59;
  --blue-hover: #3a6347;
  --accent: #f59e0b;
  --accent-hover: #d97706;
  --green: #10b981;
  --text: #1e293b;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --bg: #f8fafc;
  --bg-alt: #f1f5f9;
  --white: #ffffff;
  --border: #e2e8f0;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow: 0 4px 16px rgba(0,0,0,.08), 0 2px 6px rgba(0,0,0,.06);
  --shadow-lg: 0 20px 40px rgba(0,0,0,.12), 0 8px 16px rgba(0,0,0,.08);
  --radius: 14px;
  --radius-sm: 8px;
  --radius-full: 9999px;
  --transition: 200ms cubic-bezier(.4,0,.2,1);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', 'DM Sans', system-ui, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* --- Typography ---------------------------------- */
h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.5rem); font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; }
h3 { font-size: 1.25rem; font-weight: 700; line-height: 1.3; }
h4 { font-size: 1.05rem; font-weight: 600; line-height: 1.4; }
h5 { font-size: 0.875rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; }
p { line-height: 1.7; }

/* --- Layout ------------------------------------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 96px 0; }
.section-alt { background: var(--bg); }
.section-dark { background: var(--navy); }

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}
.section-header h2 { color: var(--text); margin-bottom: 16px; }
.section-header p { color: var(--text-muted); font-size: 1.05rem; }
.section-header.light h2 { color: var(--white); }
.section-header.light p { color: rgba(255,255,255,.7); }

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--blue);
  background: rgba(74,124,89,.1);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}
.section-dark .section-tag {
  color: var(--accent);
  background: rgba(245,158,11,.15);
}
.page-hero .section-tag {
  color: var(--accent);
  background: rgba(245,158,11,.2);
}

/* --- Buttons ------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-size: 0.9375rem;
  font-weight: 600;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-lg { padding: 15px 32px; font-size: 1rem; }
.btn-sm { padding: 8px 16px; font-size: 0.875rem; }

.btn-primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(74,124,89,.35);
}
.btn-primary:hover { background: var(--blue-hover); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(74,124,89,.4); }

.btn-outline {
  background: transparent;
  color: var(--blue);
  border: 2px solid var(--blue);
}
.btn-outline:hover { background: var(--blue); color: var(--white); transform: translateY(-1px); }

.btn-ghost {
  background: rgba(255,255,255,.12);
  color: var(--white);
  border: 2px solid rgba(255,255,255,.3);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: rgba(255,255,255,.2); border-color: rgba(255,255,255,.5); transform: translateY(-1px); }

/* --- Navbar ------------------------------------- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition), backdrop-filter var(--transition);
  padding: 20px 0;
}
.navbar.scrolled {
  background: rgba(11,30,61,.96);
  backdrop-filter: blur(20px);
  box-shadow: 0 2px 20px rgba(0,0,0,.2);
  padding: 12px 0;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.logo-icon {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  color: #ffffff;
  flex-shrink: 0;
}
.logo-text {
  font-size: 1rem;
  color: var(--white);
  font-weight: 400;
}
.logo-text strong { font-weight: 700; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.nav-links li a {
  color: rgba(255,255,255,.85);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.nav-links li a:hover,
.nav-links li a.active {
  color: var(--white);
  background: rgba(255,255,255,.1);
}
.nav-links li a.nav-cta {
  background: var(--blue);
  color: var(--white);
  padding: 8px 20px;
  border-radius: var(--radius-full);
  box-shadow: 0 2px 8px rgba(74,124,89,.4);
}
.nav-links li a.nav-cta:hover {
  background: var(--blue-hover);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}

/* --- Hero --------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 120px 0 80px;
}
.hero-bg {
  position: absolute; inset: 0;
  background: url('/bg.jpg') center/cover no-repeat;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(5,20,10,.72) 0%,
    rgba(8,30,15,.62) 40%,
    rgba(10,25,12,.78) 100%
  );
}
.hero-content {
  position: relative;
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
  padding: 0 24px;
}
.hero-badge {
  display: inline-block;
  background: rgba(245,158,11,.2);
  color: var(--accent);
  border: 1px solid rgba(245,158,11,.3);
  padding: 6px 18px;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
}
.hero h1 { color: var(--white); margin-bottom: 24px; }
.hero-accent {
  background: linear-gradient(135deg, #7db88a, var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-lead {
  color: rgba(255,255,255,.8);
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto 40px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 64px;
}
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  padding: 24px 32px;
  background: rgba(255,255,255,.07);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
}
.stat { text-align: center; }
.stat-num {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 4px;
}
.stat-check {
  display: block;
  font-size: 1.25rem;
  color: #7db88a;
  margin-bottom: 6px;
}
.stat-label { font-size: 0.8125rem; color: rgba(255,255,255,.65); font-weight: 500; }
.stat-divider { width: 1px; height: 40px; background: rgba(255,255,255,.2); }
.hero-scroll-indicator {
  position: absolute;
  bottom: 32px; left: 50%;
  transform: translateX(-50%);
}
.hero-scroll-indicator span {
  display: block;
  width: 2px; height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,.6), transparent);
  border-radius: 2px;
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: .8; transform: scaleY(1); }
  50% { opacity: .3; transform: scaleY(0.7); }
}

/* --- Cards grid ---------------------------------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 32px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: all 300ms cubic-bezier(.4,0,.2,1);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(74,124,89,.2);
}
.card-featured {
  background: var(--navy);
  border-color: var(--navy);
  box-shadow: var(--shadow-lg);
}
.card-featured:hover { border-color: #1a3360; }
.card-badge {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--navy);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.card-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: rgba(74,124,89,.1);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.card-icon svg { width: 24px; height: 24px; color: var(--blue); }
.card-featured .card-icon { background: rgba(255,255,255,.1); }
.card-featured .card-icon svg { color: #7db88a; }
.card-tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--blue);
}
.card-featured .card-tag { color: var(--accent); }
.card h3 { color: var(--text); }
.card-featured h3 { color: var(--white); }
.card p { color: var(--text-muted); font-size: 0.9375rem; }
.card-featured p { color: rgba(255,255,255,.7); }
.card-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.card-list li {
  font-size: 0.875rem;
  color: var(--text-muted);
  padding-left: 20px;
  position: relative;
}
.card-list li::before {
  content: '→';
  position: absolute; left: 0;
  color: var(--blue);
  font-size: 0.8125rem;
}
.card-featured .card-list li { color: rgba(255,255,255,.65); }
.card-featured .card-list li::before { color: var(--accent); }
.card .btn { align-self: flex-start; margin-top: 8px; }

/* --- Features grid ------------------------------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.feature { text-align: center; }
.feature-icon {
  width: 64px; height: 64px;
  border-radius: 18px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
}
.feature-icon svg { width: 28px; height: 28px; color: #a8d4b5; }
.feature h4 { color: var(--white); margin-bottom: 10px; }
.feature p { color: rgba(255,255,255,.65); font-size: 0.9rem; }

/* --- Testimonial --------------------------------- */
.section-testimonial { background: var(--bg); }
.testimonial-wrapper {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
  padding: 64px 48px;
  background: var(--white);
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  position: relative;
}
.quote-icon {
  margin: 0 auto 24px;
  color: var(--blue);
  opacity: .2;
}
.quote-icon svg { width: 48px; height: 48px; margin: 0 auto; }
blockquote {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--text);
  font-style: italic;
  margin-bottom: 32px;
}
.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}
.author-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), #6ba07b);
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
}
.author-info { text-align: left; }
.author-info strong { display: block; font-size: 0.9375rem; color: var(--text); }
.author-info span { font-size: 0.8125rem; color: var(--text-muted); }

/* --- CTA section --------------------------------- */
.section-cta { background: var(--navy); }
.cta-box {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}
.cta-box h2 { color: var(--white); margin-bottom: 16px; }
.cta-box p { color: rgba(255,255,255,.7); margin-bottom: 40px; font-size: 1.05rem; }
.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Footer ------------------------------------- */
.footer { background: #070f1f; padding: 64px 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand .nav-logo { margin-bottom: 20px; }
.footer-brand p { font-size: 0.875rem; color: rgba(255,255,255,.5); line-height: 1.7; max-width: 260px; }
.footer-col h5 { color: rgba(255,255,255,.4); margin-bottom: 20px; }
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col li a {
  font-size: 0.9rem;
  color: rgba(255,255,255,.65);
  transition: color var(--transition);
}
.footer-col li a:hover { color: var(--white); }
.footer-bottom {
  padding: 24px 0;
  font-size: 0.8125rem;
  color: rgba(255,255,255,.3);
  text-align: center;
}

/* --- Page hero ---------------------------------- */
.page-hero {
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: flex-end;
  padding: 120px 0 64px;
  background: var(--navy);
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(74,124,89,.25) 0%, transparent 60%);
}
.page-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(7,15,31,.95) 0%, rgba(11,30,61,.85) 100%);
}
.page-hero-privat::before { background: radial-gradient(ellipse at 70% 50%, rgba(16,185,129,.2) 0%, transparent 60%); }
.page-hero-bedrift::before { background: radial-gradient(ellipse at 70% 50%, rgba(74,124,89,.3) 0%, transparent 60%); }
.page-hero-landbruk::before { background: radial-gradient(ellipse at 70% 50%, rgba(245,158,11,.2) 0%, transparent 60%); }
.page-hero-kontakt::before { background: radial-gradient(ellipse at 70% 50%, rgba(99,102,241,.2) 0%, transparent 60%); }

.page-hero .container { position: relative; width: 100%; }
.page-hero-content { max-width: 680px; }
.page-hero-content h1 { color: var(--white); margin-bottom: 20px; }
.page-hero-content p { color: rgba(255,255,255,.75); font-size: 1.1rem; margin-bottom: 32px; max-width: 540px; }

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  color: rgba(255,255,255,.5);
  margin-bottom: 24px;
}
.breadcrumb a { color: rgba(255,255,255,.65); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span { color: rgba(255,255,255,.4); }

/* --- Intro block --------------------------------- */
.intro-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.intro-text h2 { margin-bottom: 20px; }
.intro-text p { color: var(--text-muted); margin-bottom: 16px; }
.intro-text .btn { margin-top: 8px; }
.intro-highlights {
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: var(--bg);
  padding: 40px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.highlight-item {
  display: flex;
  align-items: center;
  gap: 16px;
  font-weight: 500;
  color: var(--text);
}
.highlight-icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.875rem;
  font-weight: 700;
  flex-shrink: 0;
}
.highlight-icon.green { background: rgba(16,185,129,.15); color: var(--green); }

/* --- Product grid -------------------------------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.product-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: all 300ms ease;
}
.product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: rgba(74,124,89,.15);
}
.product-icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  background: rgba(74,124,89,.08);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.product-icon svg { width: 26px; height: 26px; color: var(--blue); }
.product-card h3 { margin-bottom: 10px; }
.product-card > p { color: var(--text-muted); font-size: 0.9375rem; margin-bottom: 20px; }
.product-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}
.product-list li {
  font-size: 0.9rem;
  color: var(--text-muted);
  padding-left: 0;
  border-left: 3px solid var(--border);
  padding-left: 12px;
  line-height: 1.5;
}
.product-list li strong { color: var(--text); }
.product-tip {
  font-size: 0.8125rem;
  color: var(--blue);
  background: rgba(74,124,89,.06);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--blue);
  margin-top: auto;
}
.product-card-cta {
  background: var(--navy);
  border-color: var(--navy);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}
.product-card-cta h3 { color: var(--white); }
.product-card-cta p { color: rgba(255,255,255,.7); }
.cta-contact-options { display: flex; gap: 12px; flex-wrap: wrap; }

/* --- Contact page -------------------------------- */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 64px;
}
.contact-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 28px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  cursor: pointer;
}
.contact-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.contact-card-phone:hover { border-color: rgba(74,124,89,.3); }
.contact-card-email:hover { border-color: rgba(16,185,129,.3); }
.contact-card-address:hover { border-color: rgba(245,158,11,.3); }

.contact-card-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-card-phone .contact-card-icon { background: rgba(74,124,89,.1); color: var(--blue); }
.contact-card-email .contact-card-icon { background: rgba(16,185,129,.1); color: var(--green); }
.contact-card-address .contact-card-icon { background: rgba(245,158,11,.1); color: var(--accent); }
.contact-card-icon svg { width: 24px; height: 24px; }

.contact-card-body { flex: 1; }
.contact-card-body h3 { font-size: 0.9375rem; font-weight: 600; margin-bottom: 4px; }
.contact-value { font-size: 1.1rem; font-weight: 700; color: var(--text); }
.contact-note { font-size: 0.8125rem; color: var(--text-muted); }
.contact-card-arrow { font-size: 1.25rem; color: var(--text-light); }

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.contact-info-block {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 40px;
  margin-bottom: 24px;
  border: 1px solid var(--border);
}
.contact-info-block h2 { margin-bottom: 16px; }
.contact-info-block p { color: var(--text-muted); margin-bottom: 12px; }
.contact-detail-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.detail-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: rgba(74,124,89,.1);
  color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.detail-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 2px;
}
.detail-value {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  transition: color var(--transition);
}
a.detail-value:hover { color: var(--blue); }

.contact-why {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid var(--border);
}
.contact-why h4 { margin-bottom: 24px; color: var(--text); }
.contact-steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
  list-style: none;
  counter-reset: none;
}
.contact-steps li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.step-num {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), #6ba07b);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.875rem;
  font-weight: 700;
  flex-shrink: 0;
}
.contact-steps li strong { display: block; font-size: 0.9375rem; margin-bottom: 4px; color: var(--text); }
.contact-steps li p { font-size: 0.875rem; color: var(--text-muted); }

.contact-map-col { position: sticky; top: 100px; }
.map-wrapper {
  border-radius: var(--radius);
  overflow: hidden;
  height: 420px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.map-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--blue);
  transition: color var(--transition);
}
.map-link:hover { color: var(--blue-hover); }

/* --- FAQ grid ----------------------------------- */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 32px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.faq-item h4 { margin-bottom: 10px; color: var(--text); }
.faq-item p { font-size: 0.9rem; color: var(--text-muted); }

/* --- Responsive --------------------------------- */
@media (max-width: 1024px) {
  .cards-grid { grid-template-columns: 1fr 1fr; }
  .features-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .product-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .cards-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr; }
  .contact-cards { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .contact-map-col { position: static; }
  .faq-grid { grid-template-columns: 1fr; }
  .intro-block { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 20px; }
  .stat-divider { display: none; }

  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: 280px;
    background: var(--navy);
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 24px 40px;
    gap: 4px;
    box-shadow: -8px 0 32px rgba(0,0,0,.3);
    transform: translateX(100%);
    transition: transform 300ms ease;
    z-index: 999;
  }
  .nav-links.open {
    display: flex;
    transform: translateX(0);
  }
  .nav-links li { width: 100%; }
  .nav-links li a { display: block; width: 100%; padding: 12px 16px; font-size: 1rem; }
  .nav-links li a.nav-cta { margin-top: 12px; text-align: center; }

  .testimonial-wrapper { padding: 40px 24px; }
  .hero-actions { flex-direction: column; align-items: center; }
  .cta-actions { flex-direction: column; align-items: center; }
  .cta-contact-options { flex-direction: column; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .product-card { padding: 28px 24px; }
  .intro-highlights { padding: 28px 24px; }
}

/* --- Prose / personvern layout ------------------ */
.prose-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 64px;
  align-items: start;
  max-width: 960px;
  margin: 0 auto;
}
.prose-nav {
  position: sticky;
  top: 100px;
  background: var(--bg);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--border);
}
.prose-nav h5 { color: var(--text-muted); margin-bottom: 16px; }
.prose-nav ul { display: flex; flex-direction: column; gap: 8px; }
.prose-nav li a {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color var(--transition);
  line-height: 1.4;
  display: block;
}
.prose-nav li a:hover { color: var(--blue); }
.prose-body { min-width: 0; }
.prose-meta {
  display: flex;
  gap: 24px;
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.prose-ingress {
  font-size: 1.05rem;
  color: var(--text);
  margin-bottom: 40px;
  padding: 20px 24px;
  background: rgba(74,124,89,.06);
  border-left: 4px solid var(--blue);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.prose-body h2 {
  font-size: 1.35rem;
  margin-top: 48px;
  margin-bottom: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  color: var(--text);
}
.prose-body h2:first-of-type { border-top: none; margin-top: 0; padding-top: 0; }
.prose-body h3 { font-size: 1rem; margin-top: 24px; margin-bottom: 10px; color: var(--text); }
.prose-body p { color: var(--text-muted); margin-bottom: 14px; font-size: 0.9375rem; }
.prose-body a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.prose-body a:hover { color: var(--blue-hover); }
.prose-list {
  list-style: none;
  margin: 0 0 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.prose-list li {
  font-size: 0.9375rem;
  color: var(--text-muted);
  padding-left: 20px;
  position: relative;
  line-height: 1.6;
}
.prose-list li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: var(--blue);
}
.prose-infobox {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  font-size: 0.9375rem;
  line-height: 1.8;
  color: var(--text);
  margin: 16px 0 24px;
}
.prose-table-wrapper { overflow-x: auto; margin: 16px 0 24px; border-radius: var(--radius-sm); border: 1px solid var(--border); }
.prose-table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
.prose-table th {
  background: var(--bg);
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}
.prose-table td {
  padding: 12px 16px;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.prose-table tr:last-child td { border-bottom: none; }
.prose-table tr:nth-child(even) td { background: var(--bg); }

@media (max-width: 768px) {
  .prose-layout { grid-template-columns: 1fr; }
  .prose-nav { position: static; }
}

/* --- Cookie banner ------------------------------ */
#cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  width: calc(100% - 48px);
  max-width: 760px;
  background: var(--navy);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  box-shadow: 0 8px 40px rgba(0,0,0,.4);
  backdrop-filter: blur(12px);
  animation: slideUp 0.4s ease both;
}
@keyframes slideUp {
  from { opacity: 0; transform: translateX(-50%) translateY(20px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}
.cookie-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 20px 24px;
}
.cookie-text { flex: 1; min-width: 0; }
.cookie-text strong { display: block; color: var(--white); font-size: 0.9375rem; margin-bottom: 4px; }
.cookie-text p { color: rgba(255,255,255,.65); font-size: 0.8125rem; line-height: 1.5; margin: 0; }
.cookie-text a { color: #7db88a; text-decoration: underline; text-underline-offset: 3px; }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }
.btn-cookie-reject {
  padding: 9px 18px;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  background: transparent;
  color: rgba(255,255,255,.7);
  border: 1.5px solid rgba(255,255,255,.25);
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-cookie-reject:hover { border-color: rgba(255,255,255,.5); color: var(--white); }
.btn-cookie-accept {
  padding: 9px 18px;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  background: var(--blue);
  color: var(--white);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  box-shadow: 0 2px 10px rgba(74,124,89,.4);
}
.btn-cookie-accept:hover { background: var(--blue-hover); transform: translateY(-1px); }

@media (max-width: 600px) {
  #cookie-banner { bottom: 0; left: 0; right: 0; width: 100%; transform: none; border-radius: var(--radius) var(--radius) 0 0; }
  #cookie-banner.show { animation: slideUpMobile 0.4s ease both; }
  @keyframes slideUpMobile {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  .cookie-inner { flex-direction: column; align-items: stretch; gap: 16px; }
  .cookie-actions { justify-content: stretch; }
  .btn-cookie-reject, .btn-cookie-accept { flex: 1; text-align: center; }
}

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

/* --- Animations --------------------------------- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp 0.6s ease both; }
