/* -------------------------------------------------------------
   CSS RESET & BASE NORMALIZATION
------------------------------------------------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  background: #fff;
  color: #24345C;
  font-family: 'Roboto', Arial, sans-serif;
  line-height: 1.6;
  min-height: 100vh;
  font-size: 1rem;
  -webkit-tap-highlight-color: transparent;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: #28A878;
  text-decoration: none;
  transition: color 0.2s;
  cursor: pointer;
}
a:hover, a:focus {
  color: #24345C;
  text-decoration: underline;
  outline: none;
}
ul, ol {
  margin-left: 1.5em;
}
strong { font-weight: 700; }
button { font-family: inherit; }

/* -------------------------------------------------------------
   BRAND FONTS
------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6, .cta-button {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #24345C;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.75rem;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.15;
}
h2 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 14px;
  line-height: 1.2;
}
h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.2;
}
p, li {
  font-size: 1rem;
  color: #24345C;
}
@media (max-width: 600px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.1rem; }
  body { font-size: 0.97rem; }
}

/* -------------------------------------------------------------
   SCANDINAVIAN-CLEAN: COLORS
------------------------------------------------------------- */
:root {
  --primary: #24345C;
  --secondary: #28A878;
  --accent: #F2E9DB;
  --neutral-light: #FAFAFA;
  --neutral-gray: #E5E7EB;
  --border: #E0DED6;
  --shadow: rgba(36,52,92,0.07);
}

/* -------------------------------------------------------------
   LAYOUT HELPERS
------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 16px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--neutral-light);
  border-radius: 18px;
  box-shadow: 0 4px 20px var(--shadow);
  position: relative;
}
@media (max-width: 600px) {
  .section {
    padding: 24px 8px;
    margin-bottom: 32px;
    border-radius: 12px;
  }
}

/* -------------------------------------------------------------
   FLEX-ONLY LAYOUTS (NO GRID, NO COLUMNS)
------------------------------------------------------------- */
.card-container, .card-grid, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  align-items: flex-start;
}
.card {
  background: #fff;
  border-radius: 14px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px var(--shadow);
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  position: relative;
  min-width: 260px;
  transition: box-shadow 0.18s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 6px 24px rgba(36,52,92,0.12);
  z-index: 2;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 16px;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
  .card-container, .card-grid, .content-grid {
    flex-direction: column;
    gap: 20px;
  }
}

/* -------------------------------------------------------------
   HEADER & NAVIGATION
------------------------------------------------------------- */
header {
  background: #fff;
  border-bottom: 1px solid var(--neutral-gray);
  box-shadow: 0 2px 8px var(--shadow);
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 16px 20px 16px;
}
header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.07rem;
  color: #24345C;
  padding: 8px 2px;
  border-radius: 4px;
  transition: background 0.17s;
}
header nav a:hover,
header nav a:focus {
  background: var(--accent);
}
.cta-button {
  background: var(--secondary);
  color: #fff;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 27px;
  border: none;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 2px 8px var(--shadow);
  transition: background 0.21s, box-shadow 0.17s;
  margin-left: 16px;
  display: inline-block;
  letter-spacing: 0.02em;
}
.cta-button:hover, .cta-button:focus {
  background: #206154;
  box-shadow: 0 4px 18px rgba(40, 168, 120, 0.18);
  color: #fff;
}

/* -------------------------------------------------------------
   MOBILE MENU
------------------------------------------------------------- */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 26px;
  right: 20px;
  font-size: 2rem;
  z-index: 102;
  background: var(--secondary);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  justify-content: center;
  align-items: center;
  box-shadow: 0 2px 8px var(--shadow);
  cursor: pointer;
  transition: background 0.16s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #206154;
}
@media (max-width: 1020px) {
  header nav, .cta-button {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(36,52,92,0.93);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.68,-0.55,.27,1.55);
  z-index: 200;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 0 0;
  overflow-y: auto;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.1rem;
  padding: 14px 22px 8px 0;
  margin-top: 10px;
  cursor: pointer;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  margin-top: 38px;
  gap: 22px;
  width: 100vw;
  align-items: flex-start;
  padding-left: 38px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.25rem;
  font-weight: 500;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
  width: 85vw;
  max-width: 380px;
  border-radius: 4px;
  transition: background 0.17s, color 0.17s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--accent);
  color: var(--secondary);
}
/* Prevent scrolling underneath */
body.mobile-menu-open {
  overflow: hidden;
}

/* -------------------------------------------------------------
   FOOTER
------------------------------------------------------------- */
footer {
  background: var(--accent);
  box-shadow: 0 -2px 12px var(--shadow);
  padding: 0;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
  padding: 0 18px;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: flex-start;
  justify-content: space-between;
  padding: 32px 0 18px 0;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
footer nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #24345C;
  font-size: 1rem;
  transition: color 0.16s;
}
footer nav a:hover, footer nav a:focus {
  color: var(--secondary);
}
.footer-contact {
  font-size: 0.96rem;
  color: #24345C;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-contact img {
  width: 18px;
  margin-right: 8px;
  vertical-align: middle;
  display: inline;
}
@media (max-width: 850px) {
  footer .content-wrapper {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}

/* -------------------------------------------------------------
   BUTTONS & MICROS
------------------------------------------------------------- */
button, .cta-button {
  outline: none;
  border: none;
}
button:focus-visible, .cta-button:focus-visible {
  outline: 2px solid var(--secondary);
  outline-offset: 2px;
}
.category-filter {
  font-size: 0.95rem;
  color: var(--secondary);
  font-weight: 600;
  margin-top: 5px;
  padding-left: 4px;
}

/* -------------------------------------------------------------
   TESTIMONIAL CARDS
------------------------------------------------------------- */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px var(--shadow);
  margin-bottom: 20px;
  transition: box-shadow 0.17s, background 0.14s;
  color: #24345C;
  min-width: 220px;
  border-left: 5px solid var(--secondary);
}
.testimonial-card span {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--primary);
  margin-left: 12px;
}
.testimonial-card p {
  margin: 0;
  color: #24345C;
  font-size: 1.06rem;
}
.testimonial-card img {
  width: 32px;
  height: 32px;
}
.testimonial-card:hover {
  background: var(--accent);
  box-shadow: 0 4px 20px rgba(72, 132, 105, .10);
  border-left: 5px solid #206154;
}
@media (max-width: 600px) {
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 11px;
  }
}

/* -------------------------------------------------------------
   UL/LIST ITEM STYLE (with SVG ICONS)
------------------------------------------------------------- */
ul li {
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 14px;
}
ul li img {
  width: 30px;
  height: 30px;
  min-width: 30px;
}

/* -------------------------------------------------------------
   SPECIAL: SECTION SPACING & ALIGNMENT (MANDATORY)
------------------------------------------------------------- */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.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;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* -------------------------------------------------------------
   RESPONSIVE / FLEX ONLY ADJUSTMENTS
------------------------------------------------------------- */
@media (max-width: 820px) {
  .container {
    padding: 0 8px;
  }
}
@media (max-width: 600px) {
  .container {
    padding: 0 3vw;
  }
  h1, h2, h3 { margin-bottom: 9px; }
  .feature-item { margin-bottom: 0; }
}

/* -------------------------------------------------------------
   FORMS AND INPUTS (Newsletter, Contact etc.)
------------------------------------------------------------- */
input, textarea {
  font-family: inherit;
  font-size: 1rem;
  border-radius: 7px;
  border: 1px solid var(--border);
  padding: 10px 13px;
  margin-bottom: 18px;
  background: #fff;
  color: #24345C;
  transition: border-color 0.15s;
}
input:focus, textarea:focus {
  border-color: var(--secondary);
  outline: none;
}

/* -------------------------------------------------------------
   COOKIE CONSENT BANNER & MODAL
------------------------------------------------------------- */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 50%;
  transform: translateX(-50%) translateY(0);
  z-index: 1010;
  background: #fff;
  border-radius: 22px 22px 0 0;
  box-shadow: 0 -2px 32px var(--shadow);
  padding: 24px 20px 20px 20px;
  width: 96vw;
  max-width: 520px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
  border: 1px solid var(--border);
  animation: cookie-banner-slide-in 0.58s cubic-bezier(.46,.14,.5,.99);
}
@keyframes cookie-banner-slide-in {
  from { transform: translateX(-50%) translateY(120px); opacity: 0; }
  to { transform: translateX(-50%) translateY(0); opacity: 1; }
}
.cookie-banner p {
  color: #24345C;
  font-size: 1.03rem;
}
.cookie-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  margin-top: 6px;
}
.cookie-btns button {
  padding: 10px 23px;
  border-radius: 24px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  background: #F2E9DB;
  color: #24345C;
  transition: background 0.18s, color 0.18s;
}
.cookie-btns .accept {
  background: var(--secondary);
  color: #fff;
}
.cookie-btns .accept:hover,
.cookie-btns .accept:focus {
  background: #206154;
}
.cookie-btns .reject {
  background: none;
  color: var(--secondary);
  border: 1.5px solid var(--secondary);
}
.cookie-btns .reject:hover, .cookie-btns .reject:focus {
  background: #fff6ee;
}
.cookie-btns .settings {
  background: #fff;
  color: var(--primary);
  border: 1.5px solid var(--border);
}
.cookie-btns .settings:hover, .cookie-btns .settings:focus {
  background: #F2E9DB;
}

/* Cookie modal (settings) */
.cookie-modal-overlay {
  position: fixed;
  z-index: 1022;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(36, 52, 92, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cookie-fadein 0.2s;
}
@keyframes cookie-fadein {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 18px;
  padding: 36px 28px 28px 28px;
  width: 98vw;
  max-width: 470px;
  box-shadow: 0 3px 32px rgba(36,52,92, 0.14);
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  animation: settings-slidein 0.32s cubic-bezier(0.7,0.12,0.65,0.82);
}
@keyframes settings-slidein {
  from { transform: translateY(40px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.45rem;
  color: var(--primary);
}
.cookie-category {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #F4F5F7;
  border-radius: 11px;
  padding: 11px 13px;
  margin-bottom: 12px;
  font-size: 1.04rem;
  color: #24345C;
}
.cookie-category .toggle {
  width: 48px;
  height: 27px;
  border-radius: 14px;
  border: 1.5px solid var(--border);
  background: #fff;
  position: relative;
  cursor: pointer;
  appearance: none;
  outline: none;
  transition: background 0.13s, border-color 0.13s;
}
.cookie-category .toggle:checked {
  background: var(--secondary);
  border-color: var(--secondary);
}
.cookie-category .toggle::before {
  content: '';
  position: absolute;
  left: 2px; top: 2px;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  transition: left 0.19s;
}
.cookie-category .toggle:checked::before {
  left: 23px;
}
.cookie-category.essential .toggle {
  opacity: 0.5;
  pointer-events: none;
}
.cookie-modal .cookie-btns {
  margin-top: 18px;
  justify-content: flex-end;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 16px; right: 16px;
  background: none;
  border: none;
  font-size: 1.65rem;
  color: #B1B8CC;
  cursor: pointer;
  transition: color 0.17s;
}
.cookie-modal .close-modal:hover {
  color: #24345C;
}

/* -------------------------------------------------------------
   UTILITIES: SHADOWS, ROUNDING, SPACING
------------------------------------------------------------- */
.rounded {
  border-radius: 14px;
}
.shadow {
  box-shadow: 0 2px 12px var(--shadow);
}
.spaced {
  margin-top: 24px !important;
}
.mb-20 { margin-bottom: 20px !important; }
.mb-32 { margin-bottom: 32px !important; }
.gap-8 { gap: 8px !important; }
.gap-16 { gap: 16px !important; }
.gap-24 { gap: 24px !important; }
.gap-32 { gap: 32px !important; }
.pb-32 { padding-bottom: 32px !important; }

/* -------------------------------------------------------------
   HIDE/SHOW CLASSES (FOR JS INTERACTION)
------------------------------------------------------------- */
.hide { display: none !important; }

/* -------------------------------------------------------------
   ACCESSIBILITY FOCUS FOR TAB USERS
------------------------------------------------------------- */
:focus-visible {
  outline: 2px solid var(--secondary);
  outline-offset: 2px;
}

/* -------------------------------------------------------------
   ANIMATIONS ON BUTTONS/INTERACTIONS
------------------------------------------------------------- */
.card, .cta-button, .feature-item, .testimonial-card, input, textarea {
  transition: box-shadow 0.16s, background 0.16s, border-color 0.13s, color 0.13s;
}

/* -------------------------------------------------------------
   SCANDINAVIAN CLEAN VISUAL TOUCHES
------------------------------------------------------------- */
.section, .card, .testimonial-card, .cookie-banner, .cookie-modal {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 18px var(--shadow);
}
.card, .testimonial-card {
  border: 1px solid var(--border);
}
@media (max-width: 560px) {
  .section, .card, .testimonial-card, .cookie-banner, .cookie-modal {
    border-radius: 8px;
    padding: 16px 8px !important;
  }
}

/* -------------------------------------------------------------
   PRINT
------------------------------------------------------------- */
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal {
    display: none !important;
  }
}
