/* ==================== RESET & BASE ==================== */
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, 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, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #FFFFFF;
  color: #234168;
  font-family: 'Open Sans', Arial, sans-serif;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
  padding: 0;
}
ul, ol {
  list-style: none;
  padding-left: 1.5em;
}
h1, h2, h3, h4 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #234168;
}

/* Font weights and headings */
h1 {
  font-size: 2.3rem;
  margin-bottom: 20px;
  line-height: 1.18;
}
h2 {
  font-size: 1.8rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}
.subheadline {
  color: #687a24;
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 22px;
}

p, li, label, span {
  font-size: 1rem;
  color: #234168;
}

/* ==================== CONTAINERS & SECTIONS ==================== */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 2px 12px 0 rgba(35,65,104, 0.03);
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

/* ==================== HEADER ==================== */
header {
  width: 100%;
  background: #FFFFFF;
  border-bottom: 1px solid #EDF2F7;
  position:sticky; top:0; left:0; z-index:50;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  gap: 32px;
}
.logo img {
  height: 38px;
  width: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.main-nav a {
  padding: 0 8px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.05rem;
  line-height: 1.3;
  color: #234168;
  border-radius: 8px;
  transition: background 0.15s, color 0.15s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #EDF2F7;
  color: #87972F;
}
.main-nav .cta {
  background: #234168;
  color: #fff;
  padding: 12px 24px;
  border-radius: 20px;
  font-weight: 600;
  margin-left: 12px;
  box-shadow: 0 2px 8px 0 rgba(35,65,104, 0.06);
  transition: background 0.2s, box-shadow 0.2s, color 0.18s;
}
.main-nav .cta:hover, .main-nav .cta:focus {
  background: #687a24;
  color: #fff;
  box-shadow: 0 4px 16px 0 rgba(104,122,36,0.14);
}

.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  background: none;
  color: #234168;
  border-radius: 8px;
  padding: 7px 15px;
  margin-left: 15px;
  cursor: pointer;
  border: none;
  transition: background 0.14s;
  z-index:52;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #EDF2F7;
}

/* ==================== MOBILE MENU ==================== */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(35,65,104,0.98);
  z-index: 999;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(.23,1.18,.68,.93);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-end;
  padding: 0;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}

.mobile-menu-close {
  background: none;
  color: #fff;
  font-size: 2.2rem;
  border: none;
  position: absolute;
  top: 24px;
  right: 32px;
  z-index: 1000;
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.16s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: #87972F;
  color: #fff;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 26px;
  margin-top: 90px;
  width: 100%;
  padding-right: 38px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.35rem;
  color: #fff;
  padding: 12px 0;
  border-radius: 9px;
  transition: color 0.16s, background 0.16s;
  width: max-content;
  min-width: 175px;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  background: #687a24;
  color: #fff;
}

/* ==================== HERO & CTAs ==================== */
.cta {
  display: inline-block;
  background: #234168;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.09rem;
  padding: 14px 30px;
  border-radius: 22px;
  margin-top: 14px;
  text-align: center;
  box-shadow: 0 2px 12px 0 rgba(35,65,104, 0.07);
  transition: background 0.2s, color 0.19s, box-shadow 0.2s, transform 0.17s;
}
.cta:hover, .cta:focus {
  background: #687a24;
  color: #fff;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 4px 24px 0 rgba(104,122,36,0.21);
}

/* ==================== FLEXBOX PATTERNS ==================== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 2px 10px 0 rgba(35,65,104, 0.025);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.16s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 4px 22px 0 rgba(35,65,104, 0.11);
}
.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;
  background: #EDF2F7;
  border-radius: 19px;
  padding: 20px 28px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px 0 rgba(35,65,104,.07);
}
.testimonial-card p { 
  color: #234168;
  font-size: 1.06rem;
  font-style: italic;
  margin-bottom: 0;
}
.testimonial-card .client-name {
  font-size: 0.99rem;
  color: #687a24;
  font-weight: 500;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  min-width: 220px;
}

/* Service and Feature Grids */
.feature-grid,
.values-grid,
.benefits-grid,
.consulting-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-bottom: 10px;
}
.feature-grid > div, .values-grid > div, .benefits-grid > div, .consulting-benefits > div {
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 2px 8px 0 rgba(35,65,104,0.06);
  padding: 24px 18px 22px 18px;
  min-width: 220px;
  flex: 1 1 210px;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
  margin-bottom: 12px;
}
.feature-grid img, .values-grid img {
  width: 42px;
  height: 42px;
}

.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.service-card {
  background: #fff;
  border-radius: 17px;
  box-shadow: 0 2px 10px 0 rgba(35,65,104,0.03);
  padding: 26px 21px 20px 21px;
  flex: 1 1 230px;
  display: flex;
  flex-direction: column;
  gap: 13px;
  transition: box-shadow 0.15s;
  margin-bottom: 20px;
  min-width: 220px;
}
.service-card:hover, .service-card:focus-within {
  box-shadow: 0 4px 18px 0 rgba(135,151,47,0.13);
}
.service-card img {
  width: 40px;
  height: 40px;
  margin-bottom: 4px;
}
.service-price {
  margin-top: 8px;
  font-size: 1.03rem;
  color: #687a24;
  font-weight: 700;
}

.faq-accordion > div {
  background: #EDF2F7;
  border-radius: 12px;
  margin-bottom: 16px;
  padding: 19px 20px;
  box-shadow: 0 1px 6px rgba(35,65,104,0.05);
  transition: box-shadow 0.14s;
}
.faq-accordion h3 {
  color: #234168;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.12rem;
}
.faq-accordion p {
  color: #234168;
  margin-top: 4px;
}

.blog-overview {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 25px;
}
.blog-overview article {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 1.5px 8px 0 rgba(35,65,104,0.05);
  flex: 1 1 260px;
  padding: 22px 16px 20px 16px;
  min-width: 200px;
  transition: box-shadow 0.14s;
  margin-bottom: 20px;
}
.blog-overview h2 {
  font-size: 1.15rem;
  margin-bottom: 9px;
  color: #234168;
}
.blog-category {
  display: inline-block;
  font-size: 0.92rem;
  color: #87972F;
  background: #EDF2F7;
  padding: 4px 12px;
  border-radius: 13px;
  margin-top: 7px;
  font-weight: 600;
}

.newsletter-signup {
  background: #EDF2F7;
  border-radius: 15px;
  padding: 28px 14px;
  box-shadow: 0 1px 7px rgba(35,65,104,0.06);
  margin-bottom: 12px;
}

.contact-details {
  margin-bottom: 15px;
}
.map {
  margin-top: 18px;
  border-radius: 11px;
  overflow: hidden;
  max-width: 470px;
  box-shadow: 0 2px 6px 0 rgba(35,65,104,0.08);
}

/* ==================== FOOTER ==================== */
footer {
  margin-top: 60px;
  background: #EDF2F7;
  padding: 54px 0 18px 0;
  color: #234168;
  font-size: 1rem;
}
.footer-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  align-items: flex-start;
  justify-content: space-between;
  width: 100%;
}
.footer-wrapper > div, .footer-wrapper nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-wrapper nav a {
  color: #234168;
  opacity: 0.92;
  padding: 3px 0;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  transition: color 0.14s, opacity 0.14s;
}
.footer-wrapper nav a:hover, .footer-wrapper nav a:focus {
  color: #87972F;
  opacity: 1;
}
.brand-disclaimer {
  margin-top: 22px;
  color: #87972F;
  font-size: 0.98rem;
}
footer img {
  width: 120px;
}


/* ==================== COOKIES BANNER ==================== */
#cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  width: 100vw;
  background: #234168;
  color: #fff;
  font-size: 1rem;
  box-shadow: 0 -2px 24px 0 rgba(35,65,104,0.09);
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 22px;
  gap: 25px;
  flex-wrap: wrap;
  transition: transform 0.35s cubic-bezier(.25,1.1,.43,1);
}
#cookie-banner.hide {
  transform: translateY(110%);
  pointer-events: none;
  opacity: 0.75;
}
#cookie-banner .cookie-text {
  flex: 2 1 310px;
  font-size: 1.05rem;
}
#cookie-banner .cookie-actions {
  display: flex;
  gap: 12px;
  flex: 1 1 220px;
  align-items: center;
}
.cookie-btn {
  background: #87972F;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  border: none;
  border-radius: 18px;
  padding: 10px 22px;
  font-size: 1rem;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.18s, color 0.18s;
}
.cookie-btn.secondary {
  background: #EDF2F7;
  color: #234168;
}
.cookie-btn:focus, .cookie-btn:hover {
  background: #687a24;
  color: #fff;
}
.cookie-btn.secondary:focus, .cookie-btn.secondary:hover {
  background: #87972F;
  color: #fff;
}

/* Cookie Modal */
#cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%) scale(1);
  z-index: 1200;
  background: #fff;
  color: #234168;
  min-width: 310px;
  max-width: 370px;
  padding: 36px 30px 28px 30px;
  border-radius: 18px;
  box-shadow: 0 10px 44px 0 rgba(35,65,104,0.18);
  display: none;
  flex-direction: column;
  gap: 20px;
  animation: fadein 0.34s;
}
#cookie-modal.open {
  display: flex;
}
#cookie-modal h3 {
  font-size: 1.15rem;
  margin-bottom: 6px;
}
#cookie-modal ul {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
#cookie-modal li {
  font-size: 0.98rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
#cookie-modal .category-toggle {
  appearance: none;
  background: #EDF2F7;
  border-radius: 12px;
  width: 38px;
  height: 21px;
  position: relative;
  outline: none;
  border: none;
  transition: background 0.14s;
}
#cookie-modal .category-toggle:checked {
  background: #87972F;
}
#cookie-modal .category-toggle:before {
  content: '';
  position: absolute;
  left: 3px;
  top: 3px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #fff;
  transition: left 0.2s;
}
#cookie-modal .category-toggle:checked:before {
  left: 20px;
}
#cookie-modal .category-toggle[disabled] {
  background: #ddd;
}
#cookie-modal .modal-actions {
  display: flex;
  gap: 14px;
  margin-top: 14px;
  flex-wrap: wrap;
}
#cookie-modal .modal-close {
  margin-left: auto;
  background: none;
  color: #87972F;
  font-size: 1.1rem;
  padding: 9px 10px;
  border-radius: 12px;
  cursor: pointer;
  border: none;
}
#cookie-modal .modal-close:hover, #cookie-modal .modal-close:focus {
  background: #EDF2F7;
}
@keyframes fadein {
  0% { opacity: 0; transform: translate(-50%,-54%) scale(0.95); }
  100% { opacity: 1; transform: translate(-50%,-50%) scale(1); }
}

/* ==================== GENERAL SPACING & EFFECTS ==================== */
section:not(:last-of-type) {
  margin-bottom: 60px;
}
section {
  border-radius: 21px;
}
.text-section {
  margin-bottom: 11px;
}
ul li, ol li {
  margin-bottom: 8px;
  list-style-type: disc;
  color: #234168;
  padding-left: 6px;
}
ol li {
  list-style-type: decimal;
}
/* Card margin for blocks */
.card, .testimonial-card, .service-card, .faq-accordion > div, .blog-overview article {
  margin-bottom: 20px;
}

/* ==================== MEDIA QUERIES / RESPONSIVE ==================== */
@media (max-width: 1100px) {
  .container {
    max-width: 98vw;
    padding: 0 3vw;
  }
  .footer-wrapper {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}
@media (max-width: 900px) {
  .feature-grid, .values-grid, .service-list, .consulting-benefits, .benefits-grid, .blog-overview {
    gap: 15px;
  }
}
@media (max-width: 768px) {
  header .container {
    gap: 10px;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
  .feature-grid, .values-grid, .service-list, .benefits-grid, .consulting-benefits, .blog-overview {
    flex-direction: column;
    gap: 20px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .footer-wrapper {
    flex-direction: column;
    gap: 22px;
    align-items: flex-start;
  }
  .section {
    padding: 23px 8px;
    margin-bottom: 34px;
  }
  h1 {
    font-size: 1.45rem;
  }
  h2 {
    font-size: 1.17rem;
  }
  .cta {
    padding: 13px 18px;
    font-size: 1rem;
  }
  #cookie-banner {
    flex-direction: column;
    padding: 19px 9px;
    gap: 16px;
  }
}
@media (max-width: 480px) {
  .container {
    padding: 0 3vw;
  }
  .section {
    padding: 12px 2px;
    margin-bottom: 20px;
  }
  h1 { font-size: 1.18rem; }
  h2 { font-size: 1.03rem; }
  .footer-wrapper img {
    width: 92px;
  }
}

/* ==================== ACCESSIBILITY & FOCUS STATES ==================== */
*:focus {
  outline: 2px solid #87972F;
  outline-offset: 2px;
}
a:active {
  color: #87972F;
}

/* ==================== SCROLLBAR ==================== */
body::-webkit-scrollbar {
  width: 11px;
  background: #EDF2F7;
}
body::-webkit-scrollbar-thumb {
  background: #d7dee6;
  border-radius: 10px;
}

/* ==================== TRANSITIONS & MICRO-INTERACTIONS ==================== */
.card, .testimonial-card,.service-card, .feature-grid > div, .values-grid > div, .benefits-grid > div, .consulting-benefits > div, .blog-overview article, .newsletter-signup {
  transition: box-shadow 0.18s, transform 0.16s;
}
.card:hover, .testimonial-card:hover, .service-card:hover, .feature-grid > div:hover, .values-grid > div:hover, .benefits-grid > div:hover, .consulting-benefits > div:hover, .blog-overview article:hover, .newsletter-signup:hover {
  box-shadow: 0 6px 27px 0 rgba(135,151,47,0.18);
  transform: translateY(-2px) scale(1.01);
}

/* ==================== SCANDINAVIAN CLEAN VISUALS ==================== */
section {
  background: #fff;
  box-shadow: 0 2px 18px 0 rgba(35,65,104, 0.03);
}
.feature-grid > div, .values-grid > div, .service-card, .benefits-grid > div, .consulting-benefits > div {
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 1.5px 8px 0 rgba(35,65,104,0.05);
}

/* Natural border accents - subtle line for Scandinavian style */
h2, h3 {
  position: relative;
  padding-bottom: 5px;
}
h2:after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 36px;
  height: 3px;
  border-radius: 2px;
  background: #87972F;
  opacity: 0.25;
}
h3:after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 21px;
  height: 2px;
  border-radius: 2px;
  background: #87972F;
  opacity: 0.20;
}

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

/* ==================== ACCESSIBLE HIDE (for JS/Cookies/modal etc) ==================== */
[hidden], .is-hidden {
  display: none !important;
}
