/* 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;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html { font-size: 16px; } 
body {
  background: #F7FAFB;
  color: #1B334D;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}
input, button, textarea, select {
  font-family: inherit;
  font-size: 1rem;
  color: #1B334D;
}
a {
  color: #1B334D;
  text-decoration: none;
  transition: color 0.16s;
}
a:hover, a:focus {
  color: #69995D;
}
ul, ol {
  margin-left: 1.25em;
  margin-bottom: 1.5em;
}
li {
  margin-bottom: 0.5em;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #1B334D;
  margin-bottom: 0.6em;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.25rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.125rem; }
h5, h6 { font-size: 1rem; }

.container {
  width: 100%;
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
}
.content-wrapper {
  width: 100%;
}
p {
  margin-bottom: 1em;
  color: #253748;
  font-size: 1rem;
}
section {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 8px rgba(40,52,76,0.05);
  margin-bottom: 60px;
  padding: 40px 20px;
}
section.cta-banner {
  background: #F1F5F9;
  box-shadow: none;
  border-radius: 14px;
  margin-bottom: 0;
  text-align: center;
}

/* HEADER (NAVIGATION) --------------------------------------------- */
header {
  padding: 18px 0 18px 0;
  background: #fff;
  box-shadow: 0 4px 16px rgba(27, 51, 77, 0.06);
  z-index: 30;
  position: relative;
}
header .container, header .content-wrapper { width: 100%; }
header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 24px;
}
header > a img {
  height: 46px;
  margin-right: 16px;
}

header nav {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: auto;
  font-family: 'Montserrat', Arial, sans-serif;
}
header nav a {
  font-size: 1rem;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: 8px;
  transition: background 0.15s, color 0.16s;
}
header nav a.cta {
  background: #69995D;
  color: #fff;
  font-weight: 700;
  margin-left: 24px;
  padding: 9px 20px;
  border-radius: 24px;
  box-shadow: 0 2px 8px rgba(105,153,93,0.08);
}
header nav a.cta:hover, header nav a.cta:focus {
  background: #1B334D;
  color: #fff;
}
header nav a:hover, header nav a:focus {
  background: #F1F5F9;
}

/* MOBILE NAVIGATION --------------------------------------------- */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #1B334D;
  margin-left: 24px;
  cursor: pointer;
  z-index: 60;
  transition: background 0.2s;
  padding: 6px 10px;
  border-radius: 8px;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #F1F5F9;
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  box-shadow: 0 2px 16px rgba(40,52,76,0.22);
  z-index: 1100;
  transform: translateX(-100vw);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.4s cubic-bezier(.77,0,.18,1), opacity 0.16s;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
}
.mobile-menu-close {
  font-size: 2rem;
  color: #1B334D;
  background: none;
  border: none;
  margin: 24px 0 24px 24px;
  align-self: flex-start;
  cursor: pointer;
  padding: 4px 10px;
  border-radius: 8px;
  transition: background 0.15s;
}
.mobile-menu-close:focus,.mobile-menu-close:hover {
  background: #F1F5F9;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 32px 36px 32px 36px;
  width: 100%;
}
.mobile-nav a {
  font-size: 1.15rem;
  color: #1B334D;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  border-radius: 8px;
  padding: 11px 0;
  transition: background 0.15s, color 0.16s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F1F5F9;
  color: #69995D;
}
/* Responsive header: Hide nav, show mobile menu toggle on mobile */
@media (max-width: 1024px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 1025px) {
  .mobile-menu { display: none !important; }
}

/* MAIN STRUCTURE ------------------------------------------------- */
main {
  width: 100%;
  min-height: 600px;
  padding-top: 18px;
  padding-bottom: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* LAYOUT FLEX ALL THE THINGS ------------------------------------- */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(27,51,77,0.06);
  padding: 26px 22px;
  position: relative;
  flex: 1 1 220px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  align-items: stretch;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
/* Custom featured grid for / principles */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  align-items: stretch;
}
.feature-grid > div {
  flex: 1 1 220px;
  background: #F7FAFB;
  border-radius: 14px;
  padding: 26px 18px;
  box-shadow: 0 2px 6px rgba(105,153,93,0.06);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  text-align: left;
  transition: box-shadow 0.18s;
}
.feature-grid > div:hover {
  box-shadow: 0 6px 20px rgba(27,51,77,0.10);
}
.feature-grid img {
  width: 44px;
  height: 44px;
  margin-bottom: 10px;
}

.testimonials-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #F1F5F9;
  border-radius: 14px;
  box-shadow: 0 1px 6px rgba(27,51,77,0.06);
  min-width: 220px;
  flex: 1 1 320px;
  margin-bottom: 20px;
  font-size: 1.04rem;
  position: relative;
}
.testimonial-card p {
  color: #1B334D;
  font-size: 1.13rem;
}
.testimonial-card span {
  font-size: 0.92rem;
  color: #69995D;
  font-weight: 500;
  margin-left: auto;
  font-family: 'Montserrat', Arial, sans-serif;
}

.case-study {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 7px rgba(105,153,93,0.07);
  padding: 18px 18px 14px 18px;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.benefit-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.benefit-grid > div {
  background: #F1F5F9;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(105,153,93,0.05);
  flex: 1 1 220px;
  min-width: 220px;
  padding: 18px 16px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* BLOG PAGE ----------------------------------------------------- */
.search-bar {
  display: flex;
  width: 100%;
  max-width: 400px;
  margin: 0 auto 24px auto;
  background: #F1F5F9;
  border-radius: 10px;
  box-shadow: 0 1.5px 4px rgba(27, 51,77,0.05);
  padding: 5px 8px;
  gap: 6px;
}
.search-bar input {
  background: none;
  border: none;
  outline: none;
  flex: 1 1 0;
  font-size: 1rem;
  padding: 8px 5px 8px 10px;
  color: #283E52;
}
.search-bar button {
  background: #1B334D;
  border: none;
  border-radius: 8px;
  padding: 7px 11px;
  cursor: pointer;
  transition: background 0.15s;
  display: flex;
  align-items: center;
}
.search-bar button:hover, .search-bar button:focus { background: #69995D; }
.search-bar img {
  width: 21px;
  height: 21px;
}
.blog-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 20px;
  justify-content: flex-start;
}
.blog-categories a {
  background: #F1F5F9;
  color: #1B334D;
  padding: 8px 18px;
  border-radius: 18px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  transition: background 0.16s;
}
.blog-categories a:hover, .blog-categories a:focus {
  background: #69995D;
  color: #fff;
}
.blog-listing {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.blog-listing article {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 7px rgba(27,51,77,0.04);
  padding: 22px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.blog-listing article h2 {
  font-size: 1.28rem;
  margin-bottom: 2px;
  color: #1B334D;
}
.blog-listing article a {
  align-self: flex-start;
  color: #69995D;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  border-bottom: 1.5px solid #69995D;
  margin-top: 5px;
  padding-bottom: 2px;
  transition: color 0.15s, border 0.15s;
}
.blog-listing article a:hover {
  color: #1B334D;
  border-color: #1B334D;
}

/* CONTACT---------------------------- */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-details p {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 1.08rem;
}
.contact-details img {
  width: 22px;
  height: 22px;
}
.google-maps-embed {
  margin-top: 24px;
  font-size: 1.04rem;
  background: #F1F5F9;
  border-radius: 0.7em;
  padding: 18px 11px 16px 11px;
}

/* BUTTONS/CTAs ---------------------------- */
.cta, .cta-btn {
  display: inline-block;
  background: #69995D;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  border: none;
  border-radius: 28px;
  padding: 12px 32px;
  font-size: 1.12rem;
  box-shadow: 0 2px 10px rgba(27,51,77,0.11);
  margin-top: 12px;
  margin-bottom: 4px;
  transition: background 0.19s, box-shadow 0.16s, color 0.19s;
  cursor: pointer;
  position: relative;
  outline: none;
}
.cta:hover, .cta:focus, .cta-btn:hover, .cta-btn:focus {
  background: #1B334D;
  color: #fff;
  box-shadow: 0 4px 18px rgba(27,51,77,0.08);
}

/* FOOTER -------------------------------------- */
footer {
  background: #f7fafd;
  color: #1B334D;
  border-top: 1.5px solid #F1F5F9;
  margin-top: 28px;
  padding: 40px 0 32px 0;
  font-size: 1.03rem;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-bottom: 16px;
  font-family: 'Montserrat', Arial, sans-serif;
}
footer nav a {
  color: #1B334D;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 500;
  transition: background 0.14s, color 0.14s;
}
footer nav a:hover, footer nav a:focus {
  color: #69995D;
  background: #F1F5F9;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 0.6em;
}
.footer-contact a {
  color: #69995D;
  transition: color 0.12s;
}
.footer-contact a:hover, .footer-contact a:focus {
  color: #1B334D;
}
footer p {
  color: #253748;
}

/* COOKIE CONSENT BANNER ------------------------------- */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #fff;
  border-top: 2px solid #F1F5F9;
  padding: 24px 16px 20px 16px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  box-shadow: 0 -4px 28px 0 rgba(27,51,77,0.09);
  z-index: 1200;
  font-size: 1.08rem;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.23s, transform 0.32s;
}
.cookie-banner.hide {
  opacity: 0;
  transform: translateY(100%);
  pointer-events: none;
}
.cookie-banner-message {
  flex: 1 1 220px;
  color: #253748;
}
.cookie-banner-actions {
  display: flex;
  gap: 15px;
}
.cookie-banner .cookie-btn, .cookie-banner .cookie-settings-btn {
  display: inline-block;
  background: #69995D;
  color: #fff;
  border: none;
  padding: 10px 18px;
  border-radius: 22px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  margin-right: 0;
  cursor: pointer;
  transition: background 0.17s, color 0.11s;
}
.cookie-banner .cookie-btn:hover, .cookie-banner .cookie-btn:focus, .cookie-banner .cookie-settings-btn:hover, .cookie-banner .cookie-settings-btn:focus {
  background: #1B334D;
  color: #fff;
}
.cookie-banner .cookie-reject {
  background: #fff;
  color: #1B334D;
  border: 1.5px solid #69995D;
  transition: background 0.13s, color 0.13s, border 0.11s;
}
.cookie-banner .cookie-reject:hover, .cookie-banner .cookie-reject:focus {
  background: #F1F5F9;
  color: #69995D;
  border: 1.5px solid #1B334D;
}

/* Cookie settings modal */
.cookie-modal {
  position: fixed;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  z-index: 1300;
  background: rgba(27,51,77, 0.26);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  pointer-events: auto;
  opacity: 1;
  transition: opacity 0.18s;
}
.cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal-content {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 10px 40px rgba(27, 51, 77, 0.15);
  margin-top: 8vh;
  padding: 36px 32px 26px 32px;
  min-width: 310px;
  max-width: 94vw;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  position: relative;
}
.cookie-modal-close {
  position: absolute;
  right: 18px;
  top: 18px;
  background: none;
  border: none;
  font-size: 1.7rem;
  color: #1B334D;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 7px;
  transition: background 0.16s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #F1F5F9;
}
.cookie-modal h2 {
  margin-top: 0;
  font-size: 1.4rem;
  margin-bottom: 0.6em;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}
.cookie-category input[type="checkbox"] {
  accent-color: #69995D;
  width: 18px;
  height: 18px;
}
.cookie-category label {
  font-size: 1.06rem;
  font-weight: 500;
  color: #253748;
}
.cookie-category .locked {
  color: #949da7;
  margin-left: 8px;
  font-size: 0.91em;
}
.cookie-modal-actions {
  display: flex;
  gap: 14px;
  margin-top: 16px;
}
.cookie-modal .cookie-btn {
  background: #69995D;
  color: #fff;
  border: none;
  border-radius: 22px;
  padding: 10px 18px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
}

/* SPECIAL UTILITY -------------------------------------- */
.nowrap { white-space: nowrap; }
.rounded {
  border-radius: 22px;
}
.shadow {
  box-shadow: 0 1.5px 8px rgba(27,51,77,0.03); 
}

/* MEDIA QUERIES ----------------------------------------- */
@media (max-width: 1024px) {
  .container { max-width: 94vw; }
}
@media (max-width: 900px) {
  .feature-grid,
  .benefit-grid,
  .testimonials-preview {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
  .feature-grid > div,
  .benefit-grid > div,
  .testimonial-card {
    min-width: 0;
    flex: 1 1 160px;
  }
}
@media (max-width: 768px) {
  section, .section {
    padding: 28px 8px;
    margin-bottom: 42px;
  }
  .content-grid, .benefit-grid, .feature-grid, .testimonials-preview {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }
  .testimonial-card { padding: 16px; }
  .text-image-section {
    flex-direction: column;
    gap: 16px;
  }
  h1 { font-size: 1.4rem; }
  h2 { font-size: 1.12rem; }
  .cta, .cta-btn {
    font-size: 1rem;
    padding: 11px 14vw;
  }
}
@media (max-width: 500px) {
  .container { padding-left: 6px; padding-right: 6px; }
  h1 { font-size: 1.09rem; }
  h2 { font-size: 1rem; }
  .cta, .cta-btn { padding: 9px 3vw; font-size: 0.97rem; }
  .feature-grid > div, .benefit-grid > div, .testimonial-card, .card { padding: 13px 5px; }
  section.cta-banner { padding: 20px 4px; }
  .cookie-modal-content {
    padding: 18px 7px;
  }
}

/* MICRO-INTERACTIONS, TRANSITIONS, FOCUS ------------------------ */
input, select, button {
  outline: none;
}
:focus-visible {
  outline: 2px solid #69995D;
  outline-offset: 2px;
}
button {
  transition: background 0.16s, color 0.13s;
}
.card, .feature-grid > div, .benefit-grid > div, .blog-listing article, .case-study, .testimonial-card {
  transition: box-shadow 0.17s, transform 0.13s;
}
.card:hover, .feature-grid>div:hover, .benefit-grid>div:hover, .blog-listing article:hover, .case-study:hover, .testimonial-card:hover {
  box-shadow: 0 6px 24px rgba(40,52,76,0.09);
  transform: translateY(-2px) scale(1.02);
}

/* FORM FIELDS ------------------- */
input[type=text], input[type=email], input[type=tel], textarea, select {
  border: 1.5px solid #F1F5F9;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 1rem;
  background: #F7FAFB;
  color: #1B334D;
  margin-bottom: 14px;
  transition: border 0.14s;
}
input:focus, textarea:focus, select:focus {
  border: 1.5px solid #69995D;
  background: #fff;
}

/* MISC & SPECIAL CASES ------------------------------------- */
table {
  border-collapse: collapse;
}
th, td {
  padding: 8px 7px;
  border: 1px solid #F1F5F9;
}
blockquote {
  padding: 18px 20px;
  background: #F1F5F9;
  border-left: 4px solid #69995D;
  border-radius: 8px;
  margin-bottom: 18px;
}
::-webkit-scrollbar {
  width: 8px;
  background: #F7FAFB;
}
::-webkit-scrollbar-thumb {
  background: #F1F5F9;
  border-radius: 8px;
}

/* Typography scaling for Scandinavian minimalism -------------- */
@media (min-width: 769px) {
  h1 { font-size: 2.25rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.23rem; }
  p, li { font-size: 1.08rem; }
}

/* Utility: visually hidden for accessibility ------------------- */
.visually-hidden {
  position: absolute!important;
  width: 1px!important; height: 1px!important;
  padding: 0!important; margin: -1px!important; overflow: hidden!important; clip: rect(0,0,0,0)!important; border: 0!important;
}

/* END OF CSS -------------------------------------------------- */
