/* --------------------------------------------------
   CSS RESET & NORMALIZE (Basic)
---------------------------------------------------*/
html {
  box-sizing: border-box;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
html, body {
  height: 100%;
  min-height: 100%;
}
body {
  background: #F6F6F6;
  color: #183153;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg {
  max-width: 100%;
  height: auto;
  display: block;
  vertical-align: middle;
  border: 0;
}
a {
  color: #183153;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #D19034;
  outline: none;
}
ul, ol {
  margin-left: 1.25em;
}
li {
  margin-bottom: 0.5em;
}
section {
  width: 100%;
}
:focus {
  outline: 2px solid #D19034;
  outline-offset: 2px;
}

/* --------------------------------------
   BRAND COLOR VARIABLES (if supported)
--------------------------------------- */
:root {
  --primary: #183153;
  --secondary: #F6F6F6;
  --accent: #D19034;
  --neutral: #ffffff;
  --shadow: rgba(24,49,83,0.07);
}

/* --------------------------------------
   CONTAINER & LAYOUT
--------------------------------------- */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}

/* --------------------------------------
   SECTION SPACING & ALIGNMENT PATTERNS
--------------------------------------- */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--neutral);
  border-radius: 16px;
  box-shadow: 0 2px 12px var(--shadow);
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--neutral);
  border-radius: 16px;
  box-shadow: 0 2px 8px var(--shadow);
  padding: 24px 20px;
  min-width: 260px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 24px;
  background: #fff;
  margin-bottom: 20px;
  border-radius: 14px;
  box-shadow: 0 3px 12px var(--shadow);
  max-width: 560px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Ensure all content cards/sections minimum 20px margin between */
.section:not(:last-child) {
  margin-bottom: 60px;
}
.card-container > * {
  margin-bottom: 0;
}

/* --------------------------------------
   TYPOGRAPHY
--------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 16px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 12px;
}
h3 {
  font-size: 1.25rem;
  color: var(--primary);
  margin-bottom: 8px;
}
h4, h5, h6 {
  font-size: 1.125rem;
}
p {
  font-size: 1rem;
  color: #183153;
  margin-bottom: 0.5em;
}
strong {
  font-weight: 700;
}
em {
  font-style: italic;
}
address {
  font-style: normal;
  color: #183153;
  margin-top: 12px;
  font-size: 1rem;
  line-height: 1.5;
}
.policy {
  font-size: 0.95rem;
  color: #555a6d;
  margin-top: 8px;
  font-style: italic;
}


/* --------------------------------------
   NAVIGATION BAR STYLES
--------------------------------------- */
header {
  background: #fff;
  box-shadow: 0 1px 6px var(--shadow);
  z-index: 98;
  position: relative;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 14px 0 14px 0;
}
.main-nav ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  list-style: none;
}
.main-nav ul li {
  margin-bottom: 0;
}
.main-nav ul li a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: var(--primary);
  padding: 6px 10px;
  border-radius: 8px;
  transition: background 0.15s, color 0.15s;
}
.main-nav ul li a:hover,
.main-nav ul li a:focus,
.main-nav ul li a[aria-current="page"] {
  background: var(--secondary);
  color: var(--accent);
}
.cta-btn {
  background: var(--accent);
  color: #fff;
  border-radius: 8px;
  padding: 8px 26px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 8px var(--shadow);
  transition: background 0.2s, color 0.2s, box-shadow 0.25s;
  margin-left: 12px;
  position: relative;
}
.cta-btn:hover, .cta-btn:focus {
  background: #B87422;
  color: #fff;
  box-shadow: 0 2px 16px var(--shadow);
}

/* --------------------------------------
   MOBILE MENU
--------------------------------------- */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 24px;
  top: 14px;
  background: #fff;
  border: none;
  font-size: 2rem;
  z-index: 120;
  color: var(--primary);
  cursor: pointer;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  transition: background 0.2s;
  outline: none;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--secondary);
  color: var(--accent);
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  z-index: 300;
  transition: transform 0.35s cubic-bezier(.4,.06,.47,1), opacity 0.22s;
  transform: translateX(-100%);
  display: flex;
  flex-direction: column;
  padding: 0 0 0 0;
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--primary);
  align-self: flex-end;
  margin: 24px 28px 0 0;
  cursor: pointer;
  transition: color 0.16s;
  z-index: 350;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  margin-top: 38px;
  gap: 18px;
  align-items: flex-start;
  padding-left: 36px;
}
.mobile-nav a {
  color: var(--primary);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 12px 0;
  border-radius: 2px;
  width: 100%;
  transition: background .12s, color .18s;
  display: block;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--secondary);
  color: var(--accent);
}

/* Hide desktop nav on mobile; show mobile burger */
@media (max-width: 1000px) {
  .main-nav ul, .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .main-nav {
    gap: 10px;
  }
}
@media (max-width: 768px) {
  .main-nav {
    padding: 10px 0 10px 0;
  }
}

/* --------------------------------------
   HERO/BANNERS/CTA
--------------------------------------- */
section {
  margin-bottom: 60px;
  padding: 40px 0 40px 0;
  background: none;
  border-radius: 0;
  box-shadow: none;
}
section .container {
  padding: 0 12px;
}
@media (max-width: 600px) {
  section {
    margin-bottom: 38px;
    padding: 26px 0;
  }
}


/* --------------------------------------
   FEATURES GRID
--------------------------------------- */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  list-style: none;
  padding: 0;
}
.feature-grid li {
  background: var(--neutral);
  border-radius: 12px;
  box-shadow: 0 2px 8px var(--shadow);
  padding: 20px 20px 16px 20px;
  min-width: 220px;
  max-width: 270px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  font-size: 1rem;
}
.feature-grid img {
  width: 36px;
  height: 36px;
  margin-bottom: 3px;
}
@media (max-width: 900px) {
  .feature-grid {
    flex-direction: column;
    gap: 14px;
  }
  .feature-grid li {
    max-width: 100%;
    min-width: 0;
  }
}

/* --------------------------------------
   TESTIMONIALS & CARDS
--------------------------------------- */
.testimonial-card {
  background: #fff;
  color: #183153;
  border-left: 4px solid var(--accent);
  box-shadow: 0 2px 12px var(--shadow);
  border-radius: 14px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  padding: 20px 32px;
  gap: 20px;
  max-width: 500px;
  transition: box-shadow 0.2s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 24px var(--shadow);
}
.testimonial-card p {
  color: #183153;
  font-size: 1.09rem;
  font-style: italic;
}
.testimonial-card span {
  font-size: 1rem;
  color: var(--primary);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  margin-top: -8px;
}

/* --------------------------------------
   FOOTER STYLES
--------------------------------------- */
footer {
  width: 100%;
  background: #F6F6F6;
  margin-top: 70px;
  border-top: 1px solid #e0e4eb;
  padding: 32px 0 18px 0;
  font-size: 1rem;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-bottom: 18px;
  justify-content: center;
}
.footer-nav a {
  color: #183153;
  opacity: 0.82;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  transition: color 0.14s, opacity 0.18s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #D19034;
  opacity: 1;
  text-decoration: underline;
}
.footer-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.footer-info img {
  height: 46px;
  margin-bottom: 9px;
}
.footer-info address {
  color: #183153;
  opacity: 0.86;
  margin-bottom: 2px;
}
.footer-info p {
  font-size: 0.98rem;
  opacity: 0.75;
}

/* --------------------------------------
   BUTTONS & INTERACTIVES
--------------------------------------- */
button, input[type="submit"] {
  font-family: inherit;
  appearance: none;
  outline: none;
  border: none;
  background: var(--accent);
  color: #fff;
  border-radius: 10px;
  padding: 8px 24px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 2px 8px var(--shadow);
  transition: background 0.2s, box-shadow 0.2s, color 0.18s;
}
button:hover, button:focus, input[type="submit"]:hover, input[type="submit"]:focus {
  background: #B87422;
  box-shadow: 0 4px 14px var(--shadow);
  color: #fff;
}

/* --------------------------------------
   FORM ELEMENTS & POLICY (where needed)
--------------------------------------- */
input, textarea, select {
  font-family: inherit;
  outline: none;
  border: 1px solid #d6dbe3;
  border-radius: 6px;
  padding: 8px 14px;
  font-size: 1rem;
  color: var(--primary);
  background: #fff;
  margin-bottom: 16px;
  transition: border-color 0.16s;
  width: 100%;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--accent);
}

/* --------------------------------------
   COOKIE CONSENT BANNER
--------------------------------------- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #fff;
  box-shadow: 0 -2px 18px var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 20px;
  gap: 24px;
  z-index: 5200;
  font-size: 0.98rem;
  border-top: 1px solid #e0e2e8;
  animation: slideInBanner 0.4s cubic-bezier(.56,.1,.48,1.18);
}
@keyframes slideInBanner {
  from { transform: translateY(120px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner__text {
  color: #183153;
  max-width: 600px;
}
.cookie-banner__actions {
  display: flex;
  gap: 10px;
}
.cookie-btn {
  display: inline-block;
  border-radius: 7px;
  border: none;
  padding: 7px 18px;
  font-size: 1rem;
  font-weight: 700;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  background: var(--accent);
  color: #fff;
  box-shadow: 0 2px 8px var(--shadow);
  margin: 0 2px;
  transition: background 0.15s, box-shadow 0.16s;
}
.cookie-btn.cookie-reject {
  background: #CED4E0;
  color: var(--primary);
}
.cookie-btn.cookie-settings {
  background: var(--secondary);
  color: var(--primary);
  border: 1px solid #d6dbe3;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #B87422;
  color: #fff;
  box-shadow: 0 2px 12px var(--shadow);
}
.cookie-btn.cookie-reject:hover, .cookie-btn.cookie-reject:focus {
  background: #b3b8c4;
}
.cookie-btn.cookie-settings:hover, .cookie-btn.cookie-settings:focus { background: #ECECEC; }

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-60%);
  z-index: 5300;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 48px var(--shadow);
  width: 100%;
  max-width: 420px;
  padding: 34px 26px 28px 26px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.26s, transform 0.26s;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%,-50%);
}
.cookie-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}
.cookie-modal__header h3 {
  font-size: 1.15rem;
  color: var(--primary);
}
.cookie-modal__close {
  background: none;
  border: none;
  color: var(--primary);
  font-size: 1.7rem;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  transition: color 0.12s;
}
.cookie-modal__close:hover, .cookie-modal__close:focus {
  color: var(--accent);
}
.cookie-modal__body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 10px;
  font-size: 1rem;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.cookie-category input[type="checkbox"], .cookie-category input[type="radio"] {
  accent-color: var(--accent);
  width: 18px;
  height: 18px;
}
.cookie-category .cookie-essential {
  opacity: 0.72;
  font-style: italic;
  color: #6C7291;
  font-size: 0.97rem;
}
.cookie-modal__actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 18px;
}

@media (max-width: 480px) {
  .cookie-banner {
    flex-direction: column;
    gap: 14px;
    padding: 15px 10px;
    font-size: 0.94rem;
  }
  .cookie-modal {
    padding: 24px 7px 20px 7px;
    max-width: 95vw;
  }
}

/* --------------------------------------
   RESPONSIVE: MOBILE LAYOUTS
--------------------------------------- */
@media (max-width: 1000px) {
  .container {
    max-width: 98vw;
    padding: 0 10px;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.45rem; }
  .content-wrapper {
    padding: 0;
    gap: 16px;
  }
  .footer-nav {
    gap: 13px;
    font-size: 0.97rem;
  }
  .card {
    min-width: 0;
    padding: 18px 9px;
  }
  .feature-grid {
    flex-direction: column;
    gap: 14px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .testimonial-card {
    padding: 18px 12px;
    max-width: 100%;
  }
}
@media (max-width: 490px) {
  h1 {
    font-size: 1.45rem;
  }
  h2 {
    font-size: 1.11rem;
  }
  .feature-grid li {
    font-size: 0.97rem;
    padding: 13px 8px 13px 13px;
  }
}

/* --------------------------------------
   MICRO-ANIMATIONS & TRANSITIONS
--------------------------------------- */
.card, .feature-grid li, .testimonial-card {
  transition: box-shadow 0.22s, transform 0.19s;
}
.card:hover, .feature-grid li:hover, .testimonial-card:hover {
  box-shadow: 0 6px 20px var(--shadow);
  transform: translateY(-2px) scale(1.01);
}
.cta-btn, .cookie-btn, button {
  transition: background 0.22s, color 0.18s, box-shadow 0.19s, transform 0.14s;
}

/* --------------------------------------
   HELPERS/MISC
--------------------------------------- */
.max-width {
  max-width: 960px;
}
.gap-16 {
  gap: 16px;
}
.gap-24 {
  gap: 24px;
}
.text-center {
  text-align: center;
}

/* ----------- END SCANDINAVIAN CLEAN -------- */
