/* RESET & NORMALIZE (mobile first approach, Scandinavian clean) */
html {
  box-sizing: border-box;
  font-size: 16px;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  color: #173A25;
  background: #F7FBF9;
  line-height: 1.6;
  min-height: 100vh;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #217A38;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #173A25;
}
button {
  font-family: inherit;
  background: none;
  border: none;
  cursor: pointer;
}
ul, ol {
  margin-left: 1.5em;
  padding-left: 0.2em;
}
li + li {
  margin-top: 8px;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #173A25;
  margin-bottom: 16px;
}
h1 {font-size: 2.5rem; margin-bottom: 24px;}
h2 {font-size: 2rem;  margin-bottom: 20px;}
h3 {font-size: 1.5rem; margin-bottom: 16px;}
h4 {font-size: 1.25rem; margin-bottom: 12px;}
p, ul, ol {
  margin-bottom: 1.5em;
}
strong, b {
  font-weight: 700;
}

/* BRAND COLORS + SCANDINAVIAN PALETTE */
:root {
  --primary: #217A38;
  --secondary: #173A25;
  --accent: #F0F8F3;
  --neutral-bg: #F7FBF9;
  --surface: #FFFFFF;
  --border: #E0E6E2;
  --text-main: #173A25;
  --text-secondary: #417964;
  --shadow: 0 2px 16px rgba(30, 74, 53, 0.08);
  --radius: 14px;
}

/****************** LAYOUT ******************/
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}
.text-section {
  background: var(--accent);
  border-radius: var(--radius);
  padding: 32px 24px;
  margin-bottom: 24px;
}
.card-container, .card-grid, .service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card, .service-item {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 260px;
  min-width: 260px;
  transition: box-shadow 0.2s, transform 0.2s;  
}
.card:hover, .service-item:hover {
  box-shadow: 0 4px 24px rgba(30,74,53,0.13);
  transform: translateY(-4px) 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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/****************** HEADER & NAV ******************/
header {
  background: var(--surface);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 30;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 20px 24px 20px;
}
header a img {
  height: 48px;
  margin-right: 16px;
}
nav {
  display: flex;
  gap: 16px;
  align-items: center;
}
nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  padding: 8px 12px;
  border-radius: 7px;
  transition: background 0.15s, color 0.2s;
}
nav a:hover, nav a:focus {
  background: var(--accent);
  color: var(--primary);
}
header .cta.primary {
  margin-left: 16px;
}
/* Hide burger for desktop */
.mobile-menu-toggle {
  display: none;
}
.mobile-menu {
  display: none;
}

/****** MOBILE NAVIGATION (ONLY MOBILE FIRST) ******/
@media (max-width: 1100px) {
  nav {
    gap: 8px;
  }
}
@media (max-width: 900px) {
  header .container nav, header .cta.primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    font-size: 2rem;
    background: var(--primary);
    color: #fff;
    border-radius: 8px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 101;
    border: none;
    position: relative;
    transition: background 0.2s;
  }
  .mobile-menu-toggle:focus,
  .mobile-menu-toggle:hover {
    background: var(--secondary);
    outline: none;
  }
  .mobile-menu {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0; left: 0;
    width: 100vw;
    height: 100vh;
    background: var(--surface);
    z-index: 200;
    transform: translateX(-100vw);
    transition: transform 0.35s cubic-bezier(.51,.05,.38,.99);
    box-shadow: 0 4px 32px rgba(24,53,38,0.13);
    padding-top: 32px;
  }
  .mobile-menu.open {
    transform: translateX(0);
  }
  .mobile-menu-close {
    position: absolute;
    top: 22px;
    right: 30px;
    font-size: 2.2rem;
    background: none;
    color: var(--primary);
    z-index: 201;
    border-radius: 8px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    transition: background 0.2s;
  }
  .mobile-menu-close:focus,
  .mobile-menu-close:hover {
    background: var(--accent);
    color: var(--secondary);
    outline: none;
  }
  .mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 38px;
    align-items: flex-start;
    padding-left: 40px;
  }
  .mobile-nav a {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 1.25rem;
    color: var(--text-main);
    padding: 14px 0;
    border-radius: 5px;
    font-weight: 500;
    width: 210px;
    transition: background 0.18s;
    margin-bottom: 0;
  }
  .mobile-nav a:focus,
  .mobile-nav a:hover {
    background: var(--accent);
    color: var(--primary);
  }
}

/******************* HERO & MAIN CONTENT ********************/
main {
  width: 100%;
  padding-top: 16px;
  padding-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 0px;
}
@media (max-width: 700px) {
  .section, section {
    padding: 26px 4px;
    margin-bottom: 40px;
    border-radius: 8px;
  }
}

.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}

@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .container {
    padding: 0 8px;
  }
}

/******************* LISTS WITH ICONS ********************/
ul li img {
  width: 32px;
  height: 32px;
  margin-right: 14px;
  vertical-align: middle;
  display: inline-block;
}
ul li {
  display: flex;
  align-items: center;
  padding-left: 0px;
  gap: 12px;
  color: var(--text-secondary);
  font-size: 1.06rem;
}
section ul {
  margin-bottom: 12px;
}
@media (max-width: 600px) {
  ul li img {
    width: 26px;
    height: 26px;
  }
}

/******************* SERVICE ITEMS ********************/
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 8px;
}
.service-item {
  background: var(--accent);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
  margin-bottom: 20px;
  flex: 1 1 260px;
  min-width: 260px;
  transition: box-shadow 0.2s, border 0.16s, transform 0.18s;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}
.service-item h3 {
  color: var(--primary);
  font-size: 1.2rem;
}
.service-item strong, .service-item span {
  color: var(--secondary);
  font-weight: 600;
  font-size: 1.1rem;
  margin-top: 12px;
}
.service-item:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 24px rgba(33,122,56,0.13);
  transform: translateY(-4px) scale(1.015);
}

/******************* TESTIMONIALS ********************/
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 1px 8px rgba(33,122,56,0.07);
  border-left: 4px solid var(--primary);
  margin-bottom: 24px;
  max-width: 550px;
}
.testimonial-card p {
  color: var(--secondary);
  font-size: 1.07rem;
  font-style: italic;
}
.testimonial-card div {
  color: #FFD700;
  font-size: 1.25rem;
}
.testimonial-card span {
  color: var(--text-main);
  font-size: 1rem;
  font-weight: 600;
}
@media (max-width: 600px) {
  .testimonial-card {max-width: 100%;}
}

/******************* CALLOUTS & CTA BUTTONS ********************/
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.13rem;
  font-weight: 600;
  border-radius: 8px;
  padding: 14px 34px;
  background: var(--primary);
  color: #fff;
  box-shadow: 0 2px 14px rgba(33,122,56,0.09);
  border: none;
  transition: background 0.18s, transform 0.15s, box-shadow 0.18s;
  margin-top: 18px;
  cursor: pointer;
  text-align: center;
}
.cta.primary:hover, .cta.primary:focus {
  background: var(--secondary);
  color: #fff;
  box-shadow: 0 4px 24px rgba(23,58,37,0.18);
  transform: translateY(-2px);
  outline: none;
}
.cta.secondary {
  background: var(--accent);
  color: var(--primary);
  border: 1px solid var(--primary);
}
.cta.secondary:hover, .cta.secondary:focus {
  background: var(--primary);
  color: #fff;
}

/******************* FOOTER ********************/
footer {
  background: var(--surface);
  box-shadow: 0 -2px 12px rgba(23,58,37,0.03);
  padding: 36px 0 8px 0;
  border-top: 1.5px solid var(--border);
}
footer .container {
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-brand img {
  height: 38px;
  margin-bottom: 20px;
}
.footer-links {
  display: flex;
  flex-direction: row;
  gap: 34px;
}
.footer-links nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  color: var(--text-main);
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  margin-bottom: 0;
  border-radius: 6px;
  padding: 5px 8px;
  transition: background 0.13s, color 0.15s;
}
.footer-links a:hover, .footer-links a:focus {
  background: var(--accent);
  color: var(--primary);
}
.footer-contact {
  color: var(--text-secondary);
  font-size: 0.98rem;
}
.footer-contact a {
  color: var(--primary);
  text-decoration: underline;
  word-break: break-word;
}
@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
    padding: 0 8px 0 8px;
  }
  .footer-links {
    flex-direction: column;
    gap: 8px;
  }
}

/******************* COOKIE CONSENT BANNER ********************/
#cookie-consent-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  background: var(--surface);
  box-shadow: 0 -2px 24px rgba(33,122,56,0.13);
  border-top: 1.5px solid var(--border);
  z-index: 1004;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 30px;
  font-size: 1rem;
  border-radius: 18px 18px 0 0;
  animation: fadeInBanner 0.7s cubic-bezier(.42,.04,.87,.68);
}
@keyframes fadeInBanner {
  from { opacity: 0; transform: translateY(64px); }
  to { opacity: 1; transform: translateY(0); }
}
#cookie-consent-banner p {
  color: var(--text-main);
}
#cookie-consent-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 10px;
}
#cookie-consent-banner .cookie-btn {
  padding: 9px 24px;
  font-size: 1rem;
  border-radius: 8px;
  font-family: 'Montserrat', Arial, sans-serif;
  border: 1.5px solid var(--primary);
  background: var(--surface);
  color: var(--primary);
  cursor: pointer;
  margin-right: 0px;
  transition: background 0.15s, color 0.16s, transform 0.13s;
}
#cookie-consent-banner .cookie-btn.accept {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
#cookie-consent-banner .cookie-btn.accept:hover,
#cookie-consent-banner .cookie-btn.accept:focus {
  background: var(--secondary);
  box-shadow: 0 2px 14px rgba(23,58,37,0.18);
  color: #fff;
}
#cookie-consent-banner .cookie-btn.reject {
  background: var(--surface);
  color: var(--primary);
  border-color: var(--primary);
}
#cookie-consent-banner .cookie-btn.reject:hover,
#cookie-consent-banner .cookie-btn.reject:focus {
  background: var(--accent);
  color: var(--secondary);
}
#cookie-consent-banner .cookie-btn.settings {
  background: var(--accent);
  color: var(--primary);
  border-color: var(--secondary);
}
#cookie-consent-banner .cookie-btn.settings:hover,
#cookie-consent-banner .cookie-btn.settings:focus {
  background: var(--primary);
  color: #fff;
}
@media (max-width: 700px) {
  #cookie-consent-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 19px 10px;
    border-radius: 13px 13px 0 0;
    font-size: 0.96rem;
  }
  #cookie-consent-banner p {
    margin-bottom: 7px;
  }
  #cookie-consent-banner .cookie-actions {
    flex-direction: row;
    gap: 7px;
  }
}

/************* COOKIE MODAL ***********/
#cookie-settings-modal {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(30,74,53,0.27);
  z-index: 1005;
  justify-content: center;
  align-items: center;
  animation: fadeInModalBg 0.3s;
}
@keyframes fadeInModalBg { from { opacity:0; } to{opacity:1;}}
#cookie-settings-modal.open {
  display: flex;
}
.cookie-modal-content {
  background: var(--surface);
  border-radius: 16px;
  box-shadow: 0 8px 48px rgba(23,58,37,0.15);
  padding: 36px 32px 24px 32px;
  min-width: 320px;
  max-width: 95vw;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: modalPopup 0.4s cubic-bezier(.43,.11,.33,.9);
  position: relative;
}
@keyframes modalPopup {
  from {opacity: 0; transform: scale(0.96) translateY(60px);}
  to {opacity: 1; transform: scale(1) translateY(0);}
}
.cookie-modal-content h2 {
  font-size: 1.35rem;
  color: var(--primary);
  margin-bottom: 9px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 12px;
}
.cookie-category label {
  font-size: 1.01rem;
  color: var(--text-main);
}
.cookie-category input[type="checkbox"] {
  width: 20px; height: 20px;
  accent-color: var(--primary);
  border-radius: 5px;
}
.cookie-category input[disabled], .cookie-category label[for="cookie-essential"] {
  opacity: 0.65;
  cursor: not-allowed;
}
.cookie-modal-actions {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
  margin-top: 8px;
}
.cookie-modal-content .close-modal {
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: 1.7rem;
  background: var(--accent);
  border-radius: 8px;
  color: var(--primary);
  border: none;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s;
}
.cookie-modal-content .close-modal:hover,
.cookie-modal-content .close-modal:focus {
  background: var(--primary);
  color: #fff;
}

/******************* TYPOGRAPHY SCALE ********************/
@media (max-width: 1100px) {
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.55rem; }
  h3 { font-size: 1.22rem; }
}
@media (max-width: 700px) {
  h1 {font-size: 1.57rem;}
  h2 {font-size: 1.21rem;}
  h3 {font-size: 1.09rem;}
}

/******************* FORM ELEMENTS ********************/
input, textarea, select {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  border: 1.3px solid var(--border);
  border-radius: 7px;
  padding: 11px 13px;
  outline: none;
  background: var(--surface);
  color: var(--text-main);
  transition: border 0.16s;
  margin-bottom: 14px;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--primary);
}
label {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  color: var(--secondary);
  margin-bottom: 5px;
  display: block;
}

/******************* SPACING, FLEX & UTILITIES ********************/
.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 0;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/******************* UTILITIES ********************/
.hide {display: none;}
.flex {display: flex;}
.no-margin {margin: 0 !important;}
.mb-24 {margin-bottom: 24px;}
.mt-24 {margin-top: 24px;}

/******************* SCANDINAVIAN ACCENTS ********************/
hr {
  border: none;
  border-bottom: 2px solid var(--border);
  margin: 30px 0 30px 0;
  width: 100%;
}

/******************* MISC. ACCESSIBILITY & INTERACTIONS ********************/
:focus {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}
::-webkit-input-placeholder { color: #A3BCA2; }
::-moz-placeholder { color: #A3BCA2; }
:-ms-input-placeholder { color: #A3BCA2; }
::placeholder { color: #A3BCA2; }

/************************* END *************************/