/* --- CSS RESET & BASE --- */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
  border: 0;
}
body {
  font-family: 'Open Sans', Arial, sans-serif;
  background: #F1F3F9;
  color: #254372;
  font-size: 1rem;
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: #254372;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus {
  outline: 2px solid #254372;
  outline-offset: 2px;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #254372;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 18px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  font-weight: 600;
}

/* --- CONTAINERS + LAYOUT --- */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 16px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}
.text-section {
  max-width: 760px;
}

/* --- SPACING AND SECTIONS --- */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 18px rgba(37, 67, 114, 0.05);
  transition: box-shadow 0.2s;
}
main > section:not(:last-child) {
  margin-bottom: 60px;
}

/* --- FLEXBOX UTILITIES (MANDATORY CLASSES) --- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(37,67,114,0.06);
  padding: 24px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 8px 24px rgba(37,67,114,0.11);
  transform: translateY(-3px) scale(1.01);
}
.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;
  background: #F1F3F9;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(37,67,114,0.08);
  margin-bottom: 20px;
  color: #254372;
  transition: box-shadow 0.2s, transform 0.15s;
  min-width: 0;
}
.testimonial-card:hover {
  box-shadow: 0 6px 20px rgba(37,67,114,0.14);
  transform: translateY(-2px) scale(1.01);
}
.testimonial-card blockquote, .testimonial-card p {
  font-size: 1.175rem;
  font-style: italic;
  margin: 0 0 6px 0;
  color: #254372;
}
.testimonial-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  font-weight: 500;
  color: #254372;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 8px rgba(37,67,114, 0.04);
  padding: 20px 18px 18px 18px;
  min-width: 220px;
  flex: 1 1 260px;
  min-height: 190px;
  margin-bottom: 20px;
  transition: box-shadow 0.17s;
}
.feature-item:hover {
  box-shadow: 0 8px 24px rgba(166,206,57,0.13);
}
.feature-item img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  margin-bottom: 4px;
}
.feature-item .btn-primary {
  margin-top: auto;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

/* --- BUTTONS --- */
.btn-primary {
  appearance: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.12rem;
  font-weight: 700;
  background: #A6CE39;
  color: #254372;
  border: none;
  border-radius: 36px;
  padding: 15px 36px;
  margin-top: 10px;
  letter-spacing: 1px;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(166,206,57,0.10);
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform 0.15s;
  outline: none;
}
.btn-primary:hover, .btn-primary:focus {
  background: #254372;
  color: #fff;
  box-shadow: 0 8px 24px rgba(37,67,114,0.16);
  transform: translateY(-1px) scale(1.03);
}
.btn-secondary {
  appearance: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  background: #F1F3F9;
  color: #254372;
  border: 2px solid #254372;
  border-radius: 32px;
  padding: 11px 30px;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, border 0.18s;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #254372;
  color: #fff;
  border-color: #A6CE39;
}

/* --- HEADER & NAVIGATION --- */
header {
  background: #fff;
  box-shadow: 0 1px 12px rgba(37,67,114,0.08);
  position: relative;
  z-index: 100;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  height: 80px;
}
nav {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1.01rem;
  color: #254372;
  padding: 7px 8px;
  border-radius: 6px;
  position: relative;
  transition: background 0.16s, color 0.14s;
}
header nav a:hover, header nav a:focus {
  background: #A6CE39;
  color: #254372;
}
header a img {
  height: 41px;
  width: auto;
}

/* --- MOBILE NAVIGATION --- */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 18px;
  right: 16px;
  z-index: 3001;
  background: #A6CE39;
  border: none;
  border-radius: 8px;
  width: 44px;
  height: 44px;
  font-size: 2rem;
  color: #254372;
  cursor: pointer;
  box-shadow: 0 2px 14px rgba(166,206,57,0.17);
  align-items: center;
  justify-content: center;
  transition: background 0.17s, color 0.18s;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #254372;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  box-shadow: 0 2px 40px rgba(37,67,114,0.17);
  z-index: 3000;
  transform: translateX(-100vw);
  transition: transform 0.4s cubic-bezier(.86,0,.07,1);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #254372;
  font-size: 2.2rem;
  position: absolute;
  top: 16px;
  right: 18px;
  cursor: pointer;
  z-index: 3100;
  width: 44px;
  height: 44px;
  border-radius: 44px;
  transition: background 0.13s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: #A6CE39;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 68px 32px 32px 32px;
  height: 100%;
  align-items: flex-start;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  padding: 13px 5px;
  border-bottom: 1px solid #F1F3F9;
  width: 100%;
  color: #254372;
  border-radius: 6px;
  font-weight: 600;
  transition: background 0.15s, color 0.14s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #A6CE39;
  color: #fff;
}

/* --- FOOTER --- */
footer {
  background: #fff;
  border-top: 1px solid #e9ecef;
  padding: 24px 0 10px 0;
  font-size: 0.98rem;
  color: #254372;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: flex-start;
  justify-content: space-between;
}
footer nav {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
footer nav a {
  color: #254372;
  font-size: 0.97rem;
  padding: 2px 7px;
  border-radius: 4px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  transition: background 0.15s, color 0.13s;
}
footer nav a:hover, footer nav a:focus {
  background: #A6CE39;
  color: #254372;
}
footer address {
  font-style: normal;
  color: #254372;
  line-height: 1.5;
  font-size: 0.94rem;
  margin-top: 10px;
  opacity: 0.98;
}
footer address img {
  width: 19px;
  height: 19px;
  vertical-align: middle;
  margin-right: 4px;
}
footer a img {
  height: 38px;
  margin-bottom: 8px;
}

/* --- CARDS & TAGS --- */
.tag {
  display: inline-block;
  background: #A6CE39;
  color: #254372;
  font-size: 0.91rem;
  font-weight: 600;
  padding: 4px 11px;
  border-radius: 6px;
  margin-top: 5px;
  margin-bottom: 0;
}

/* --- MISC PARAGRAPH & LISTS --- */
p, ul, address, li {
  margin-bottom: 10px;
  color: #254372;
  font-size: 1.03rem;
}
ul {
  padding-left: 22px;
}
li {
  margin-bottom: 7px;
}
strong {
  font-weight: 700;
  color: #254372;
}

/* --- ADDRESS, BLOCKQUOTE, ETC --- */
address, blockquote {
  background: none;
  color: #254372;
}
blockquote {
  margin: 0;
  font-size: 1.18rem;
  font-style: italic;
  color: #254372;
  border-left: 4px solid #A6CE39;
  padding-left: 16px;
}

/* --- RESPONSIVE DESIGN (MOBILE FIRST) --- */
@media (max-width: 968px) {
  h1 {font-size: 2rem;}
  h2 {font-size: 1.55rem;}
  .container {max-width: 95vw;}
  .section {padding: 26px 8px;}
}
@media (max-width: 768px) {
  header .container {
    flex-direction: row;
    gap: 9px;
    height: 63px;
  }
  nav {display: none;}
  .btn-primary {
    font-size: 1.07rem;
    padding: 11px 23px;
    margin-top: 6px;
  }
  .mobile-menu-toggle {display: flex;}
  .feature-grid, .content-grid, .card-container {
    flex-direction: column;
    gap: 15px;
    align-items: stretch;
  }
  .feature-item {
    min-width: 0;
    width: 100%;
    padding: 18px 11px;
  }
  .section {
    margin-bottom: 36px;
    padding: 18px 4vw;
  }
  .testimonial-card {flex-direction: column; gap: 13px; min-width: 0;}
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
}
@media (max-width: 530px) {
  .container {padding: 0 7px;}
  h1 {font-size: 1.34rem;}
  h2 {font-size: 1.07rem;}
  .btn-primary {font-size: 1rem; padding: 9px 12px;}
  .section {padding: 12px 2vw;}
}

/* --- COOKIE CONSENT BANNER & MODAL --- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  background: #254372;
  color: #fff;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: space-between;
  padding: 24px 18px;
  z-index: 4000;
  box-shadow: 0 -2px 16px rgba(37,67,114,0.12);
  animation: cookie-slide-in 0.6s cubic-bezier(.7,0,.17,1);
}
@keyframes cookie-slide-in {
  from {transform: translateY(55px);opacity:0;}
  to {transform: translateY(0); opacity:1;}
}
.cookie-banner p {
  color: #fff;
  font-size: 1.01rem;
  flex: 1 1 170px;
  margin-bottom: 0;
}
.cookie-banner-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.cookie-banner .btn-primary {
  background: #A6CE39;
  color: #254372;
  font-size: 1.02rem;
  box-shadow: none;
}
.cookie-banner .btn-primary:hover, .cookie-banner .btn-primary:focus {
  background: #fff;
  color: #254372;
}
.cookie-banner .btn-secondary {
  background: #fff;
  color: #254372;
  border: 2px solid #A6CE39 !important;
}
.cookie-banner .btn-secondary:hover, .cookie-banner .btn-secondary:focus {
  background: #A6CE39;
  color: #254372;
}

/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(30,42,60,.28);
  z-index: 4010;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.2s;
}
@keyframes fadeIn {
  from {opacity: 0;}
  to   {opacity: 1;}
}
.cookie-modal {
  background: #fff;
  color: #254372;
  border-radius: 16px;
  max-width: 420px;
  width: 88vw;
  padding: 32px 28px 20px 28px;
  box-shadow: 0 8px 34px rgba(37,67,114,0.24);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: modal-pop-in 0.35s cubic-bezier(.68,-0.2,.27,1.37);
}
@keyframes modal-pop-in {
  from {transform: scale(0.95) translateY(24px); opacity:0;}
  to   {transform: scale(1) translateY(0); opacity:1;}
}
.cookie-modal h3 {
  font-size: 1.14rem;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 8px;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.04rem;
  margin: 7px 0 7px 0;
}
.cookie-modal input[type="checkbox"] {
  accent-color: #A6CE39;
  width: 18px;
  height: 18px;
}
.cookie-modal-close {
  background: none;
  border: none;
  color: #254372;
  font-size: 1.4rem;
  position: absolute;
  top: 16px;
  right: 14px;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 22px;
  transition: background 0.14s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #A6CE39;
}
.cookie-modal-buttons {
  display: flex;
  gap: 13px;
  margin-top: 16px;
  justify-content: flex-end;
}
.cookie-modal .btn-primary, .cookie-modal .btn-secondary {
  font-size: 1.01rem;
}

/* --- SCANDINAVIAN CLEAN EXTRAS --- */
bg-wood, bg-cotton, bg-stone { display:none; }
.card, .feature-item, .testimonial-card { box-shadow: 0 1.5px 7px rgba(50,70,100,0.07); }
.section, .card, .feature-item, .testimonial-card { border-radius: 14px; }
.card, .section, .feature-item, .testimonial-card {
  background: #fff;
}

/* --- MICRO-INTERACTIONS --- */
.feature-item:active, .card:active {
  transform: scale(0.98);
}
.btn-primary:active {transform: scale(0.97);}
.btn-secondary:active {transform: scale(0.96);}
input[type="button"], input[type="submit"] {
  cursor: pointer;
}

/* --- OVERRIDES FOR FORMS & MISC --- */
input, textarea, select {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  padding: 10px 13px;
  border-radius: 7px;
  border: 1px solid #e0e5eb;
  background: #F1F3F9;
  color: #254372;
  margin-bottom: 15px;
  transition: border 0.15s;
}
input:focus, textarea:focus {
  outline: 2px solid #A6CE39;
  border-color: #A6CE39;
}

/* Remove grid/columns as forbidden: all layouts are flex only */

/* --- END OF STYLE --- */