/* CSS Reset & Normalize (minimal for Scandinavian clean) */
html {
  box-sizing: border-box;
  font-size: 16px;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  color: #2B3A42;
  background: #F7F6F3;
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a {
  color: #2B3A42;
  text-decoration: underline;
  transition: color 0.2s;
}
a:focus,
a:hover {
  color: #7B9A6D;
  text-decoration: none;
  outline: none;
}
ul, ol {
  padding-left: 1.2em;
  margin-bottom: 1.5em;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  margin-bottom: 0.6em;
  line-height: 1.15;
  font-weight: 700;
  color: #2B3A42;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.25rem; margin-bottom: 1em; }
h2 { font-size: 1.5rem; margin-top: 2em; margin-bottom: 1em; }
h3 { font-size: 1.125rem; margin-bottom: 0.7em; }
h4, h5, h6 { font-size: 1rem; margin-bottom: 0.5em; }

p, li {
  font-size: 1rem;
  margin-bottom: 1em;
  color: #2B3A42;
}
strong { font-weight: 700; }
em, i { color: #7B9A6D; }

/* Container & Layout System */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  width: 100%;
}
/* Section Spacing */
.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* Flex layout rules per requirements */
.card-container, .feature-grid, .service-list, .footer-nav, .footer-contact-row, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
}
.card {
  margin-bottom: 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 10px 0 rgba(43,58,66,0.07);
  padding: 30px 24px;
  position: relative;
  transition: box-shadow 0.23s;
}
.card:hover {
  box-shadow: 0 6px 32px 0 rgba(43,58,66,0.13);
}
.content-grid { 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;
  background: #fff;
  box-shadow: 0 2px 8px 0 rgba(43,58,66,0.06);
  border-radius: 14px;
  padding: 20px;
  margin-bottom: 20px;
  min-width: 0;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Hero Styles */
.content-wrapper > h1,
.content-wrapper > h2 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}

/* Feature Grid Styles */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  list-style: none;
  margin-bottom: 30px;
  padding: 0;
}
.feature-grid li {
  flex: 1 1 200px;
  min-width: 230px;
  max-width: 320px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 8px 0 rgba(43,58,66,0.08);
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.feature-grid li:hover {
  box-shadow: 0 4px 20px 0 rgba(43,58,66,0.13);
  transform: translateY(-2px) scale(1.02);
}
.feature-grid img {
  width: 36px;
  height: 36px;
  margin-bottom: 8px;
  filter: grayscale(0.4) brightness(0.9);
}

/* Service List */
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  list-style: none;
  margin-bottom: 24px;
  padding: 0;
}
.service-list li {
  flex: 1 1 210px;
  min-width: 200px;
  background: #fff;
  border-radius: 10px;
  padding: 22px 18px;
  box-shadow: 0 1px 6px 0 rgba(43,58,66,0.07);
  transition: box-shadow 0.18s;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.service-list li:hover {
  box-shadow: 0 4px 20px 0 rgba(43,58,66,0.11);
}

/* Testimonial Styles */
.testimonial-card {
  background: #F7F6F3;
  box-shadow: 0 1px 6px 0 rgba(43,58,66,0.10);
  border-left: 6px solid #7B9A6D;
  color: #2B3A42;
  margin-bottom: 22px;
}
.testimonial-content p {
  font-style: italic;
  color: #2B3A42;
  margin-bottom: 10px;
  font-size: 1.05em;
}
.testimonial-meta {
  color: #2B3A42;
  font-size: 0.98em;
  display: flex;
  gap: 8px;
  align-items: center;
}
.testimonial-meta strong {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
}
.testimonial-meta span {
  font-size: 1.05em;
  color: #E6B800;
}

/* Map placeholder styling */
.map-placeholder {
  background: #F3EBDD;
  border-radius: 12px;
  color: #7B9A6D;
  font-size: 1em;
  padding: 22px 16px;
  margin: 22px 0;
  text-align: center;
  font-style: italic;
}

/* Buttons */
.btn-primary {
  background: #2B3A42;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  padding: 13px 32px;
  border: none;
  border-radius: 30px;
  font-size: 1.09em;
  font-weight: 600;
  display: inline-block;
  cursor: pointer;
  transition: background 0.18s, transform 0.17s, box-shadow 0.16s;
  box-shadow: 0 1px 5px rgba(43,58,66,0.07);
  margin-top: 16px;
  text-decoration: none;
}
.btn-primary:hover, .btn-primary:focus {
  background: #7B9A6D;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 4px 16px rgba(43,58,66,0.11);
  outline: none;
  color: #fff;
}

.btn-secondary {
  background: #fff;
  color: #2B3A42;
  border: 2px solid #7B9A6D;
  font-family: 'Montserrat', sans-serif;
  padding: 13px 32px;
  border-radius: 30px;
  font-size: 1.05em;
  font-weight: 600;
  display: inline-block;
  cursor: pointer;
  transition: border 0.18s, color 0.17s, background 0.18s, transform 0.13s;
  margin-top: 12px;
  text-decoration: none;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #7B9A6D;
  color: #fff;
  border-color: #7B9A6D;
  transform: translateY(-1px) scale(1.02);
  outline: none;
}

.contact-cta {
  text-align: center;
  margin-top: 18px;
}

/* Lists */
ul {
  list-style-type: disc;
}
li {
  margin-bottom: 0.75em;
}

.faq-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
}
.faq-list li {
  margin-bottom: 32px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1px 8px 0 rgba(43,58,66,0.08);
  padding: 24px 20px 20px 24px;
}
.faq-list h2 {
  font-size: 1.19rem;
  margin-top: 0;
  margin-bottom: 8px;
}

/***** Header & Navigation *****/
header {
  background: #fff;
  border-bottom: 1px solid #ECEBE7;
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: 68px;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.header-logo {
  height: 48px;
  display: flex;
  align-items: center;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  margin-left: 36px;
}
.main-nav a {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: #2B3A42;
  text-decoration: none;
  border-radius: 18px;
  padding: 8px 18px;
  transition: background 0.16s, color 0.16s;
}
.main-nav a:hover, .main-nav a:focus,
.footer-nav a:hover, .footer-nav a:focus {
  background: #EEDCC7;
  color: #7B9A6D;
  outline: none;
}

/* Hide mobile-menu-related elements on desktop by default */
.mobile-menu-toggle {
  display: none;
}

/**** Mobile Menu ****/
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 88vw;
  max-width: 400px;
  background: #fff;
  box-shadow: -12px 0 24px rgba(43,58,66,0.08);
  z-index: 2200;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(.67, .03, .29, .99);
  display: flex;
  flex-direction: column;
  padding: 36px 28px 28px 28px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2rem;
  background: none;
  border: none;
  color: #2B3A42;
  cursor: pointer;
  align-self: flex-end;
  margin-bottom: 24px;
  transition: color 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #7B9A6D;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.mobile-nav a {
  font-size: 1.19rem;
  font-family: 'Montserrat', sans-serif;
  color: #2B3A42;
  padding: 12px 10px;
  border-radius: 12px;
  transition: background 0.14s, color 0.14s;
  text-decoration: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #EEDCC7;
  color: #7B9A6D;
}

/* Overlay behind mobile menu */
body.menu-open {
  overflow: hidden;
}
.mobile-menu-bg {
  display: block;
  content: '';
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(43, 58, 66, 0.30);
  z-index: 2150;
  transition: opacity 0.25s;
  opacity: 1;
}

/**** Footer ****/
footer {
  background: #fff;
  border-top: 1px solid #ECEBE7;
  padding: 38px 0 12px 0;
  margin-top: 40px;
  font-size: 0.97em;
  color: #2B3A42;
}
.footer-nav {
  display: flex;
  gap: 28px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.footer-nav a {
  color: #2B3A42;
  font-family: 'Montserrat', sans-serif;
  text-decoration: none;
  font-size: 1em;
  border-radius: 14px;
  padding: 6px 12px;
  transition: background 0.14s, color 0.14s;
}
.footer-contact {
  margin-bottom: 18px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-contact img {
  height: 40px;
  margin-right: 10px;
}
footer .container:last-child {
  border-top: 1px solid #ECEBE7;
  margin-top: 14px;
  padding-top: 8px;
  text-align: center;
  color: #A7A6A2;
  font-size: 0.98em;
}

/* Generic text sections */
.text-section {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 1px 8px 0 rgba(43,58,66,0.10);
  padding: 40px 24px;
  margin-bottom: 32px;
}
.text-section ul {
  margin-left: 1.1em;
}
.text-section li {
  margin-bottom: 0.65em;
}

/* Alignment Helpers */
.align-center {
  text-align: center;
}
.flex-row {
  display: flex;
  flex-direction: row;
}
.flex-col {
  display: flex;
  flex-direction: column;
}
.align-start {
  align-items: flex-start;
}
.align-center-v {
  align-items: center;
}

/****** Cookie Consent Banner & Modal ******/
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0;
  width: 100%;
  background: #fff;
  color: #2B3A42;
  box-shadow: 0 -2px 12px 0 rgba(43,58,66,0.12);
  z-index: 4000;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
  align-items: center;
  justify-content: center;
  padding: 24px 18px 18px 18px;
  font-size: 0.99em;
  animation: cookie-fade-in 0.7s;
}
@keyframes cookie-fade-in {
  from {transform: translateY(80px); opacity: 0;}
  to {transform: translateY(0); opacity: 1;}
}
.cookie-banner p {
  flex: 1 1 320px;
  margin-bottom: 0;
}
.cookie-banner .cookie-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.cookie-btn {
  background: #fff;
  color: #7B9A6D;
  border: 2px solid #7B9A6D;
  font-family: 'Montserrat', sans-serif;
  border-radius: 18px;
  font-weight: 500;
  font-size: 1em;
  padding: 10px 26px;
  cursor: pointer;
  transition: background 0.17s, color 0.17s;
}
.cookie-btn.accept {
  background: #7B9A6D;
  color: #fff;
  border-color: #7B9A6D;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #2B3A42;
  color: #fff;
  border-color: #2B3A42;
}
.cookie-btn.reject {
  background: #ECEBE7;
  color: #2B3A42;
  border-color: #ECEBE7;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #7B9A6D;
  color: #fff;
}
.cookie-btn.settings {
  background: #EEDCC7;
  color: #2B3A42;
  border-color: #EEDCC7;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #7B9A6D;
  color: #fff;
}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(42, 58, 66, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 4100;
  animation: cookie-modal-fade-in 0.35s;
}
@keyframes cookie-modal-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal-content {
  background: #fff;
  border-radius: 18px;
  padding: 36px 30px 22px 30px;
  min-width: 300px;
  max-width: 98vw;
  min-height: 220px;
  box-shadow: 0 6px 34px 0 rgba(43,58,66,0.17);
  font-size: 1.04em;
  position: relative;
}
.cookie-modal h2 {
  font-size: 1.19rem;
  margin-bottom: 0.45em;
  font-weight: 600;
}
.cookie-modal .cookie-categories {
  margin-bottom: 22px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 16px;
  font-size: 1em;
  font-family: 'Roboto', sans-serif;
}
.cookie-modal .cookie-switch {
  width: 36px;
  height: 22px;
  border-radius: 11px;
  background: #ECEBE7;
  position: relative;
  cursor: pointer;
}
.cookie-modal .cookie-switch input {
  display: none;
}
.cookie-modal .cookie-switch-slider {
  position: absolute;
  left: 2px; top: 2px;
  width: 18px; height: 18px;
  background: #7B9A6D;
  border-radius: 50%;
  transition: left 0.17s, background 0.14s;
}
.cookie-modal .cookie-switch input:checked + .cookie-switch-slider {
  left: 16px;
  background: #2B3A42;
}
.cookie-modal .category-desc {
  color: #868685;
  font-size: 0.95em;
  margin-left: 8px;
}
.cookie-modal .modal-btn-row {
  display: flex;
  gap: 14px;
  margin-top: 10px;
  flex-wrap: wrap;
  align-items: center;
}
.cookie-modal .modal-close {
  position: absolute;
  top: 18px; right: 20px;
  background: none; border: none;
  color: #2B3A42;
  font-size: 1.91rem;
  cursor: pointer;
  transition: color 0.17s;
}
.cookie-modal .modal-close:hover {
  color: #7B9A6D;
}

/****** Utility / Responsive ******/
@media (max-width: 1200px) {
  .container { max-width: 980px; }
  .feature-grid li, .service-list li { max-width: 260px; }
}
@media (max-width: 980px) {
  .container { max-width: 740px; }
}
@media (max-width: 820px) {
  .main-nav { gap: 15px; }
  .footer-nav { gap: 16px; }
  .feature-grid li, .service-list li { min-width:150px; }
}
@media (max-width: 768px) {
  h1 { font-size: 1.45rem; }
  h2 { font-size: 1.15rem; }
  .container {
    padding-left: 10px;
    padding-right: 10px;
    max-width: 99vw;
  }
  .section, section { padding: 28px 10px; margin-bottom: 38px; }
  .footer-contact { flex-direction: column; align-items: flex-start; gap: 4px; }
  .feature-grid,
  .service-list,
  .footer-nav {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .feature-grid li, .service-list li {
    min-width: unset;
    max-width: unset;
    width: 100%;
    margin: 0 auto;
  }
  .text-section, .card {
    padding: 22px 8px;
    margin-bottom: 20px;
  }
  .map-placeholder { padding: 11px 4px; }
  .main-nav { display: none; }
  .btn-primary, .btn-secondary {
    padding: 13px 16px;
    font-size: 1em;
    width: 100%;
    margin-top: 12px;
  }
  .mobile-menu-toggle {
    display: inline-block;
    background: none;
    border: none;
    font-size: 2rem;
    color: #2B3A42;
    margin-left: 18px;
    cursor: pointer;
    transition: color 0.2s;
    z-index: 2201;
  }
  .mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
    color: #7B9A6D;
  }
  header .container {
    flex-wrap: wrap;
    padding-top: 9px;
    padding-bottom: 9px;
  }
  .text-image-section { flex-direction: column; gap: 24px; }
}
@media (max-width: 540px) {
  .footer-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .container {padding-left: 2vw; padding-right:2vw;}
}

/* Accessibility focus visible */
a:focus, button:focus, .btn-primary:focus, .btn-secondary:focus, .cookie-btn:focus, .mobile-menu-toggle:focus {
  outline: 2px dotted #7B9A6D;
  outline-offset: 2px;
}


/* Miscellaneous */
hr {border: none; border-top: 1px solid #ECEBE7; margin: 30px 0;}

/* Remove style from action links in contact info */
.footer-contact a, .text-section a, .footer-contact p a {
  text-decoration: underline;
  color: #7B9A6D;
  transition: color 0.15s;
}
.footer-contact a:hover, .footer-contact a:focus {
  color: #2B3A42;
}

/* FAQ Teaser, map, and special cards */
.faq-teaser, .contact-cta, .cookie-teaser {
  background: #EEDCC7;
  border-radius: 10px;
  padding: 15px 14px;
  margin: 18px 0 5px 0;
  font-size: 1em;
  color: #2B3A42;
}

/* Timeline section and numbered lists */
.timeline {
  border-left: 3px solid #7B9A6D;
  background: #F4F6F2;
  color: #595956;
  border-radius: 6px;
  padding: 16px 16px 16px 24px;
  margin: 24px 0;
}
ol {
  counter-reset: step;
  list-style: none;
  margin-bottom: 1.4em;
}
ol li {
  counter-increment: step;
  position: relative;
  padding-left: 36px;
  margin-bottom: 0.95em;
}
ol li::before {
  content: counter(step);
  background: #7B9A6D;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 1em;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  text-align: center;
  line-height: 24px;
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 2px;
}

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