/* ===================================
   CSS RESET & BASELINE NORMALIZATION
====================================== */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, menu, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
main, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }
body { line-height: 1.5; background: #F5F5F5; color: #1B2326; }
a { color: inherit; text-decoration: none; transition: color 0.2s; }
ul, ol { list-style: none; }
img { display: block; max-width: 100%; height: auto; }
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  outline: none;
  box-shadow: none;
}
button { cursor: pointer; transition: background 0.2s, color 0.2s; }

/* ===============================
   SCANDINAVIAN CLEAN BRAND STYLES
================================== */
:root {
  --color-primary: #22577A;
  --color-primary-rgb: 34,87,122;
  --color-secondary: #85C2CE;
  --color-accent: #F5F5F5;
  --color-bg: #FBFBFA;
  --color-card: #FFFFFF;
  --color-border: #E6E8EA;
  --color-shadow: rgba(34,87,122,0.06);
  --color-text: #23323A;
  --color-text-muted: #5F7281;
  --color-success: #76b947;
  --color-danger: #F85050;
  --radius: 14px;
  --shadow-s: 0 1.5px 10px var(--color-shadow), 0 0.5px 2px var(--color-border);
  --shadow-l: 0 7px 28px 0 rgba(34,87,122,0.07);
}

body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  letter-spacing: 0.01em;
  font-weight: 400;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Merriweather', Georgia, serif;
  color: var(--color-primary);
  margin-bottom: 16px;
  font-weight: 700;
}
h1 { font-size: 2rem; line-height: 1.16; }
h2 { font-size: 1.5rem; line-height: 1.20; }
h3 { font-size: 1.2rem; line-height: 1.22; }
h4 { font-size: 1rem; margin-bottom: 10px; }
p, li, ul, em, strong { font-family: 'Roboto', Arial, sans-serif; }
p { margin-bottom: 18px; font-size: 1rem; color: var(--color-text); }
ul, ol { margin-bottom: 16px; }
strong { font-weight: 700; }
em { font-style: italic; color: var(--color-text-muted); }

@media (min-width: 540px) {
  h1 { font-size: 2.4rem; }
  h2 { font-size: 1.7rem; }
  h3 { font-size: 1.25rem; }
}
@media (min-width: 900px) {
  h1 { font-size: 2.8rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.3rem; }
}

/* ============================
   LAYOUT & SPACING UTILITIES
============================= */
.container {
  width: 100%;
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
@media (min-width: 800px) {
  .section {
    padding: 60px 0px;
  }
  .container {
    padding: 0 32px;
  }
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-s);
  margin-bottom: 20px;
  padding: 28px 26px;
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 260px;
  flex: 1 1 260px;
  transition: transform 0.13s, box-shadow 0.16s;
}
.card:hover {
  box-shadow: var(--shadow-l);
  transform: translateY(-3px) scale(1.015);
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.testimonial-card {
  background: var(--color-card);
  box-shadow: var(--shadow-s);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  color: #2B3A40;
  min-width: 220px;
  flex: 1 1 260px;
  position: relative;
  transition: box-shadow 0.16s, transform 0.13s;
}
.testimonial-card:hover {
  box-shadow: var(--shadow-l);
  transform: translateY(-2px) scale(1.012);
}
.author {
  display: block;
  font-size: 0.98em;
  color: var(--color-primary);
  font-weight: 500;
  margin-top: 12px;
  font-style: italic;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--color-card);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-s);
}

/* =============================
   NAVIGATION & HEADER STYLES
============================== */
header {
  background: var(--color-card);
  box-shadow: 0 0.5px 6px rgba(34,87,122,0.04);
  border-bottom: 1.5px solid var(--color-border);
  z-index: 40;
  position: relative;
}
header .container {
  flex-direction: row;
  align-items: center;
  gap: 32px;
  justify-content: space-between;
  min-height: 70px;
}
header img {
  height: 44px;
  width: auto;
  display: block;
}
.main-nav {
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: center;
}
.main-nav a {
  font-family: 'Roboto', Arial, sans-serif;
  color: var(--color-primary);
  font-weight: 500;
  font-size: 1rem;
  opacity: 0.91;
  padding: 10px 5px;
  border-radius: 6px;
  transition: background 0.15s, color 0.18s;
}
.main-nav a:hover, .main-nav a.active {
  background: var(--color-secondary);
  color: var(--color-card);
  opacity: 1;
}
.cta-btn {
  padding: 11px 26px;
  background: var(--color-primary);
  color: #fff;
  border-radius: 26px;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.01em;
  box-shadow: 0 3px 14px rgba(34,87,122,0.08);
  border: none;
  margin-left: 10px;
  outline: none;
  transition: background 0.15s, color 0.15s, transform 0.1s;
  display: inline-block;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
  transform: translateY(-1px) scale(1.03);
}

/* ===============
    FOOTER
================= */
footer {
  background: var(--color-card);
  border-top: 1.5px solid var(--color-border);
  box-shadow: 0 -1.5px 9px rgba(34,87,122,0.025);
  padding: 24px 0 0 0;
}
footer .container {
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin-bottom: 10px;
}
.footer-nav a {
  color: var(--color-primary);
  font-size: 15px;
  opacity: 0.85;
  transition: color 0.14s, opacity 0.17s;
}
.footer-nav a:hover {
  color: var(--color-secondary);
  text-decoration: underline;
  opacity: 1;
}
.text-section {
  color: var(--color-text-muted);
  font-size: 0.98rem;
}
.text-section a {
  color: var(--color-primary);
  text-decoration: underline;
}

/* =================
   CARD & FEATURE GRID
==================== */
.features-grid, .team-grid, .steps-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 20px;
}
.features-grid .feature, .steps-grid .step {
  background: var(--color-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-s);
  padding: 24px 20px 18px 20px;
  flex: 1 1 230px;
  min-width: 230px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.17s, transform 0.13s;
}
.features-grid .feature:hover, .steps-grid .step:hover {
  box-shadow: var(--shadow-l);
  transform: translateY(-3px) scale(1.02);
}
.features-grid .feature img, .steps-grid .step img {
  width: 44px;
  height: 44px;
  margin-bottom: 10px;
  filter: grayscale(0.04) brightness(97%);
}
.features-grid .feature h3, .steps-grid .step h3 {
  color: var(--color-primary);
  font-size: 1.11rem;
  margin-top: 6px;
  margin-bottom: 11px;
}
.features-grid .feature p, .steps-grid .step p {
  color: var(--color-text-muted);
  font-size: 0.98rem;
}

.team-grid .text-section ul, .features-grid ul, .steps-grid ul {
  margin-left: 15px;
}

/* FAQ LIST */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 15px;
}
.faq-item {
  background: var(--color-card);
  border-radius: var(--radius);
  padding: 22px 20px 18px 20px;
  box-shadow: var(--shadow-s);
  color: var(--color-text);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow 0.16s, transform 0.13s;
}
.faq-item h3 {
  font-size: 1rem;
  margin-bottom: 6px;
  color: var(--color-primary);
}
.faq-item:hover {
  box-shadow: var(--shadow-l);
  transform: translateY(-2px) scale(1.013);
}

/* ===================
   TABLES (Pricing etc)
====================== */
table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 1rem;
  margin-bottom: 24px;
  background: var(--color-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-s);
  overflow: hidden;
}
thead {
  background: var(--color-secondary);
  color: #fff;
}
th, td {
  padding: 14px 16px;
  text-align: left;
}
th {
  font-family: 'Merriweather', serif;
  font-size: 1.04rem;
  font-weight: 700;
}
tbody tr {
  border-top: 1px solid var(--color-border);
}
tbody tr:nth-child(even) {
  background: #f4f8fa;
}

/* =========================
   BUTTON & INTERACTIVES
=========================== */
button, .cta-btn {
  font-size: 1rem;
  border: none;
  cursor: pointer;
  border-radius: 26px;
  transition: background 0.15s, color 0.15s, transform 0.10s;
}

/* Link & Focus States */
a:focus, button:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* ===============
    MOBILE MENU
================= */
.mobile-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  background: none;
  border: none;
  color: var(--color-primary);
  margin-left: 8px;
  padding: 7px 15px;
  border-radius: 7px;
  z-index: 102;
  transition: background 0.13s, color 0.18s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--color-secondary);
  color: #fff;
}

.mobile-menu {
  display: none;
  background: rgba(245,245,245,0.97);
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 2000;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 0 0 0 0;
  transform: translateX(100%);
  transition: transform 0.33s cubic-bezier(.65,0,.35,1);
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0%);
}
.mobile-menu-close {
  font-size: 2rem;
  background: none;
  border: none;
  margin: 27px 0 20px 26px;
  color: var(--color-primary);
  border-radius: 7px;
  padding: 7px 15px;
  align-self: flex-start;
  transition: background 0.13s, color 0.16s;
  z-index: 2010;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--color-secondary);
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100vw;
  margin-top: 8px;
  align-items: flex-start;
  padding: 0 40px;
  font-size: 1.15rem;
}
.mobile-nav a {
  color: var(--color-primary);
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 500;
  padding: 12px 6px;
  border-radius: 8px;
  width: 100%;
  display: block;
  opacity: 0.93;
  transition: background 0.17s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-secondary);
  color: #fff;
  opacity: 1;
}

@media (min-width: 991px) {
  .mobile-menu-toggle {
    display: none;
  }
  .mobile-menu {
    display: none !important;
  }
}

/* Hide desktop nav on mobile */
@media (max-width: 990px) {
  .main-nav {
    display: none;
  }
  .cta-btn {
    display: none;
  }
  header .container {
    justify-content: flex-start;
    gap: 16px;
  }
}

@media (max-width: 600px) {
  header img {
    height: 32px;
  }
}

/* =======================
   COOKIE CONSENT BANNER
======================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: var(--color-card);
  border-top: 1.5px solid var(--color-border);
  box-shadow: 0 -1.5px 9px rgba(34,87,122,.04);
  z-index: 4000;
  padding: 26px 14px 22px 14px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
  transition: transform 0.26s cubic-bezier(.82,0,.25,1);
}
.cookie-banner.hide {
  transform: translateY(120%);
}
.cookie-banner__text {
  font-size: 1.02rem;
  color: var(--color-text-muted);
  text-align: center;
  margin-bottom: 4px;
}
.cookie-banner__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 17px;
  margin-top: 6px;
  justify-content: center;
}
.cookie-btn, .cookie-settings-btn {
  padding: 8px 26px;
  border-radius: 24px;
  font-size: 1rem;
  border: none;
  font-weight: 600;
  font-family: 'Roboto', Arial, sans-serif;
  border: 1.5px solid var(--color-border);
  transition: background 0.16s, color 0.16s, border 0.13s, transform 0.12s;
  margin: 0;
}
.cookie-btn.accept {
  background: var(--color-primary);
  color: #fff;
  border: none;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: var(--color-success);
  color: #fff;
}
.cookie-btn.reject {
  background: #fff;
  color: var(--color-danger);
  border: 1.5px solid var(--color-danger);
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: var(--color-danger);
  color: #fff;
}
.cookie-settings-btn {
  background: none;
  color: var(--color-primary);
}
.cookie-settings-btn:hover, .cookie-settings-btn:focus {
  color: var(--color-secondary);
  background: #ecf2f5;
}

/* COOKIE MODAL */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 4050;
  transform: translate(-50%, -50%) scale(1);
  min-width: 270px;
  width: 95vw;
  max-width: 430px;
  background: var(--color-card);
  border-radius: var(--radius);
  box-shadow: 0 4px 30px rgba(34,87,122,0.11);
  padding: 34px 24px 36px 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  opacity: 1;
  transition: opacity 0.25s, transform 0.25s;
}
.cookie-modal.hide {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.9);
  pointer-events: none;
}
.cookie-modal__header {
  font-size: 1.17rem;
  font-family: 'Merriweather', serif;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 5px;
}
.cookie-modal__close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--color-primary);
  border-radius: 8px;
  padding: 6px 10px;
  z-index: 4060;
  transition: background 0.15s, color 0.15s;
}
.cookie-modal__close:hover, .cookie-modal__close:focus {
  background: var(--color-secondary);
  color: #fff;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}
.cookie-switch {
  width: 44px; height: 24px;
  background: #dedede;
  border-radius: 12px;
  position: relative;
  transition: background 0.23s;
  margin-right: 6px;
}
.cookie-switch input {
  opacity: 0; width: 0; height: 0;
}
.cookie-switch__slider {
  position: absolute;
  left: 2px; top: 2px;
  width: 20px; height: 20px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 .5px 2px #b4cad2;
  transition: left 0.21s, background 0.17s;
}
.cookie-switch input:checked + .cookie-switch__slider {
  background: var(--color-success);
  left: 22px;
}
.cookie-category[aria-disabled="true"] {
  opacity: 0.45;
  pointer-events: none;
}
.cookie-modal__footer {
  display: flex;
  gap: 17px;
  justify-content: flex-end;
}

/* =========================
   RESPONSIVE DESIGN
========================== */
@media (max-width: 1100px) {
  .container {
    max-width: 970px;
  }
}
@media (max-width: 900px) {
  .container {
    max-width: 810px;
    padding: 0 10px;
  }
}
@media (max-width: 768px) {
  .container {
    max-width: 700px;
    padding: 0 6px;
  }
  .section {
    padding: 33px 8px;
    margin-bottom: 36px;
  }
  .content-wrapper {
    gap: 14px;
  }
  .features-grid, .steps-grid, .team-grid, .card-container {
    flex-direction: column;
    gap: 20px;
  }
  .testimonial-card, .card, .feature-item {
    min-width: 0;
    width: 100%;
    padding: 16px 14px;
  }
  .feature, .step {
    width: 100%;
    padding: 18px 11px;
    min-width: 0;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 19px;
  }
  table, th, td {
    font-size: 0.97rem;
  }
}
@media (max-width: 530px) {
  html {
    font-size: 15px;
  }
  h1 { font-size: 1.35rem; }
  h2 { font-size: 1.08rem; }
  h3 { font-size: 1rem; }
  header img {
    height: 26px;
  }
  .container {
    padding: 0 2px;
  }
  .footer-nav {
    font-size: 12.8px;
    gap: 10px;
  }
  .cookie-modal {
    padding: 18px 6px 22px 14px;
    min-width: 0;
    max-width: 99vw;
  }
}

/* ===================================
   MISC UTILITIES & MICRO-INTERACTIONS
====================================== */
::-webkit-scrollbar { width: 9px; background: #eee; }
::-webkit-scrollbar-thumb { background: #C9E6E7; border-radius: 7px; }

section ul li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
  color: var(--color-text);
  font-size: 1rem;
}
section ul li:before {
  content: '';
  display: inline-block;
  position: absolute;
  left: 5px; top: 8px;
  width: 7px; height: 7px;
  background: var(--color-primary);
  border-radius: 50%;
}

hr {
  border: none;
  height: 1px;
  background: var(--color-border);
  margin: 32px 0;
}

.text-section h2, .text-section h3, .text-section h4 {
  margin-top: 24px;
}
.text-section ul li {
  font-size: 0.98rem;
}

/* FORM ELEMENTS (for contact or opt-in) */
input[type="text"], input[type="email"], textarea {
  width: 100%;
  border-radius: 8px;
  border: 1.5px solid var(--color-border);
  background: #fff;
  padding: 10px 14px;
  font-size: 1rem;
  margin-bottom: 13px;
  color: var(--color-text);
  box-shadow: 0 0.5px 2px rgba(34,87,122,.05);
  transition: border 0.15s, box-shadow 0.11s;
}
input[type="text"]:focus, input[type="email"]:focus, textarea:focus {
  border-color: var(--color-secondary);
  box-shadow: 0 0 0 2px #BCE6F7;
}
label {
  font-size: 0.97rem;
  font-weight: 500;
  color: var(--color-primary);
}

/* ===============
   VISUAL HIERARCHY
================= */
.section > .container > .content-wrapper > h2,
.section > .container > .content-wrapper > h1 {
  margin-bottom: 8px;
}

/* ===============
   PRINT STYLING
================= */
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal { display: none !important; }
  body { background: #fff; color: #111; }
  .section, .container { box-shadow: none !important; background: none !important; }
}

/* ===============================================
   NO GRID, NO ABSOLUTE ON CARDS - FLEX ONLY USED
================================================== */
/* Special flex for testimonial and features */
.testimonials {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .testimonials {
    flex-direction: column;
    gap: 20px;
  }
}

/* ===============
  ACCESSIBILITY
================ */
.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  z-index: 10000;
}
.skip-link:focus {
  left: 10px;
  width: auto;
  height: auto;
  background: var(--color-secondary);
  color: #fff;
  padding: 12px 20px;
  border-radius: 7px;
}
