/* ---- CSS RESET & NORMALIZATION ---- */
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-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  line-height: 1.5;
  background: #F9F9F6;
  color: #253624;
  font-family: 'Roboto', Arial, sans-serif;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #2C5333;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #4C8252;
  outline: none;
}
ul, ol {
  list-style: none;
  margin: 0;
  padding: 0;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: 1rem;
  color: inherit;
  border: none;
  border-radius: 0;
  background: none;
  outline: none;
}
button {
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

/* ---- BRAND & SCANDINAVIAN STYLE ---- */
:root {
  --ecoc-primary: #2C5333;
  --ecoc-secondary: #9BC6B0;
  --ecoc-accent: #F3EDD9;
  --ecoc-bg: #F9F9F6;
  --ecoc-text: #253624;
  --ecoc-midgray: #E7EBE6;
  --header-height: 72px;
  --radius: 12px;
  --shadow-sm: 0 2px 6px rgba(44,83,51,0.05);
  --shadow-md: 0 4px 16px rgba(44,83,51,0.09);
  --shadow-card: 0 1.5px 12px rgba(44, 83,51, 0.10);
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  background: var(--ecoc-bg);
  color: var(--ecoc-text);
  font-size: 1rem;
  letter-spacing: 0.01em;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 18px;
  color: var(--ecoc-primary);
  font-weight: bold;
  letter-spacing: 0.01em;
  line-height: 1.15;
}
h1 {
  font-size: 2.25rem;
  margin-top: 0;
}
h2 {
  font-size: 1.7rem;
  margin-top: 0;
}
h3 {
  font-size: 1.15rem;
  color: #345941;
}
p, ul, ol, small {
  font-size: 1rem;
  color: var(--ecoc-text);
  margin-bottom: 18px;
  line-height: 1.6;
}
b, strong {
  font-weight: bold;
  color: #234023;
}
small {
  font-size: 0.9em;
  color: #607e6f;
}

/* ---- LAYOUT CONTAINERS ---- */
.container {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.section,
main > section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.content-wrapper {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.content-wrapper.text-section {
  background: none!important;
  box-shadow: none!important;
  padding: 0;
}

/* ---- MAIN BUTTONS (CTA) ---- */
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ecoc-primary);
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.08rem;
  font-weight: 600;
  padding: 13px 28px;
  border-radius: 25px;
  letter-spacing: 0.03em;
  transition: background 0.15s, box-shadow 0.2s, transform 0.12s;
  margin-top: 16px;
  box-shadow: var(--shadow-sm);
  border: none;
  text-align: center;
  text-decoration: none;
  outline: none;
}
.cta:hover, .cta:focus {
  background: #476c49;
  box-shadow: 0 4px 12px rgba(44,83,51,0.16);
  transform: translateY(-2px) scale(1.03);
  color: #fff;
}

/* ---- FLEXBOX PATTERNS ---- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 24px 22px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.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;
  width: 100%;
  margin-bottom: 20px;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #F3EDD9;
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
  color: #2C5333;
  flex: 1 1 0px;
  font-size: 1rem;
  max-width: 700px;
}
.testimonial-card p {
  color: #234023;
  margin-bottom: 0;
  font-size: 1.07rem;
  font-style: italic;
  flex: 1;
}
.testimonial-card span {
  color: #497556;
  font-size: 0.96rem;
  font-weight: 500;
  margin-left: 10px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ---- HEADER & NAVIGATION ---- */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 1px 8px rgba(44,83,51,0.05);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 9;
  min-height: var(--header-height);
  display: flex;
  flex-direction: row;
  align-items: center;
}
header > a img {
  height: 38px;
  margin: 14px 0 14px 16px;
}
header nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-left: auto;
  gap: 20px;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.04rem;
  color: var(--ecoc-primary);
  padding: 8px 13px;
  border-radius: 19px;
  letter-spacing: 0.012em;
  font-weight: 500;
  transition: background 0.18s, color 0.18s;
}
header nav a.cta {
  background: var(--ecoc-secondary);
  color: var(--ecoc-primary);
  padding: 10px 22px;
  margin-left: 10px;
  font-weight: 700;
  transition: background 0.25s, color 0.22s;
}
header nav a.cta:hover, header nav a.cta:focus {
  background: #2C5333;
  color: #fff;
}
header nav a:hover, header nav a:focus {
  background: #f3edd9cc;
}
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  color: var(--ecoc-primary);
  padding: 8px 12px;
  margin: 0 18px 0 8px;
  border-radius: 7px;
  cursor: pointer;
  transition: background 0.14s, color 0.14s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #f9f3e1;
  color: #295128;
}

/* ---- MOBILE NAV MENU ---- */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  z-index: 22;
  display: none;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  transform: translateX(-100vw);
  transition: transform 0.36s cubic-bezier(0.5,0.1,0.17,1.0);
  box-shadow: 0 0 16px rgba(44,83,51,0.07);
}
.mobile-menu.active {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  margin: 18px 0 15px 15px;
  font-size: 2rem;
  background: none;
  border: none;
  color: var(--ecoc-primary);
  align-self: flex-start;
  padding: 2px 10px;
  border-radius: 4px;
  transition: background 0.18s, color 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #f1f1e5;
  color: #295128;
}
.mobile-nav {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-left: 22px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.15rem;
  color: #2C5333;
  padding: 17px 0 17px 0px;
  width: 88vw;
  border-radius: 10px;
  margin-bottom: 2px;
  background: none;
  transition: background 0.18s, color 0.16s;
}
.mobile-nav a:active, .mobile-nav a:focus, .mobile-nav a:hover {
  background: #F3EDD9;
  color: #253624;
}

/* ---- HERO & GENERAL SPACING ---- */
main {
  padding-top: 18px;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
@media (max-width: 768px) {
  section, .section {
    padding: 28px 6px;
    margin-bottom: 34px;
    border-radius: 8px;
  }
  .container {
    padding: 0 6px;
  }
}
.content-wrapper > ul, .content-wrapper > ol {
  margin-left: 18px;
  margin-bottom: 12px;
}
.content-wrapper > ul li, .content-wrapper > ol li {
  margin-bottom: 11px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding-left: 0;
}
.content-wrapper > ul li img, .content-wrapper > ol li img {
  margin-right: 10px;
  width: 24px;
  height: 24px;
}

/* ---- FOOTER ---- */
footer {
  background: #F3EDD9;
  padding: 38px 0 18px 0;
  border-top: 2px solid #eae3c5;
}
footer .container {
  gap: 23px;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  font-size: 0.96rem;
  color: #2C5333;
  margin-bottom: 9px;
  margin-top: 4px;
  justify-content: center;
}
.footer-nav a {
  color: #345941;
  padding: 3px 6px;
  border-radius: 8px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  font-size: 1.05rem;
  color: #25402A;
  margin-bottom: 9px;
}
.footer-brand img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
  color: #497556;
  font-size: 0.96rem;
  margin-bottom: 7px;
}
.footer-social {
  display: flex;
  flex-direction: row;
  gap: 17px;
  align-items: center;
  justify-content: center;
  margin-top: 7px;
}
.footer-social a img {
  width: 22px;
  height: 22px;
  opacity: 0.8;
  transition: opacity 0.22s, transform 0.12s;
}
.footer-social a:hover img, .footer-social a:focus img {
  opacity: 1;
  transform: scale(1.08);
}

/* ---- COOKIE CONSENT BANNER ---- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  background: #fff;
  border-top: 1.5px solid #eae3c5;
  box-shadow: 0 -1.5px 16px rgba(44,83,51,0.08);
  z-index: 99;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 22px 16px 16px 16px;
  gap: 14px;
  animation: bannerFadeIn 0.5s cubic-bezier(0.37,0.42,0.19,1.1);
}
@keyframes bannerFadeIn {
  0% { opacity: 0; transform: translateY(50px); }
  100% { opacity: 1; transform: translateY(0); }
}
.cookie-banner p {
  font-size: 1rem;
  color: #26492F;
  margin-bottom: 10px;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
  margin-top: 8px;
}
.cookie-banner button {
  background: var(--ecoc-secondary);
  color: var(--ecoc-primary);
  font-size: 1.01em;
  font-family: 'Montserrat', Arial, sans-serif;
  border-radius: 19px;
  padding: 9px 22px;
  border: none;
  margin: 0 4px;
  transition: background 0.16s, color 0.16s, box-shadow 0.18s;
  box-shadow: var(--shadow-sm);
}
.cookie-banner button.accept {
  background: var(--ecoc-primary);
  color: #fff;
  font-weight: 600;
}
.cookie-banner button.reject {
  background: #E7EBE6;
  color: #2C5333;
}
.cookie-banner button.settings {
  background: #fdfaf1;
  color: #2C5333;
}
.cookie-banner button:focus, .cookie-banner button:hover {
  background: #9BC6B0;
  color: #1c321c;
  box-shadow: 0 2px 10px rgba(44,83,51,0.12);
}
/* ---- COOKIE MODAL ---- */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 200;
  transform: translate(-50%, -60%) scale(0.88);
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 4px 40px rgba(44,83,51,0.23);
  padding: 32px 23px 20px 23px;
  width: 96vw;
  max-width: 380px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s, transform 0.23s, visibility 0s linear 0.3s;
  display: flex;
  flex-direction: column;
  gap: 17px;
}
.cookie-modal.active {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.23s, transform 0.23s;
}
.cookie-modal h2 {
  font-size: 1.38rem;
  margin-bottom: 4px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 7px;
}
.cookie-modal .cookie-switch {
  margin-left: auto;
}
.cookie-modal .cookie-switch input[type='checkbox'] {
  display: none;
}
.cookie-modal .cookie-switch label {
  background: var(--ecoc-secondary);
  border-radius: 16px;
  width: 38px;
  height: 20px;
  position: relative;
  display: inline-block;
  cursor: pointer;
  transition: background 0.17s;
}
.cookie-modal .cookie-switch label::after {
  content: '';
  position: absolute;
  left: 2.2px;
  top: 2.1px;
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.19s cubic-bezier(0.65,0,0.35,1), background 0.15s;
  box-shadow: 0 1px 3px rgba(44,83,51,0.07);
}
.cookie-modal .cookie-switch input[type='checkbox']:checked + label {
  background: var(--ecoc-primary);
}
.cookie-modal .cookie-switch input[type='checkbox']:checked + label::after {
  transform: translateX(18px);
  background: #f7f7f3;
}
.cookie-modal .category-description {
  font-size: 0.96em;
  color: #567147;
  margin-left: 6px;
}
.cookie-modal .modal-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
  margin-top: 10px;
  justify-content: flex-end;
}
.cookie-modal button {
  background: var(--ecoc-secondary);
  color: #234023;
  border-radius: 15px;
  padding: 8px 18px;
  font-size: 1em;
  font-family: 'Montserrat', Arial, sans-serif;
  border: none;
  transition: background 0.17s, color 0.17s, box-shadow 0.13s;
  box-shadow: var(--shadow-sm);
}
.cookie-modal button.save {
  background: var(--ecoc-primary);
  color: #fff;
  font-weight: 600;
}
.cookie-modal button:focus, .cookie-modal button:hover {
  background: #9BC6B0;
  color: #253624;
}

/* ---- RESPONSIVE DESIGN ---- */
@media (max-width: 980px) {
  .container {
    max-width: 98vw;
  }
  .testimonial-card {
    max-width: 95vw;
  }
}
@media (max-width: 850px) {
  header nav {
    gap: 9px;
  }
  .footer-contact, .footer-brand {
    font-size: 0.98rem;
  }
  h1 {
    font-size: 1.58rem;
  }
}
@media (max-width: 768px) {
  .section, section {
    margin-bottom: 28px;
    padding: 18px 2vw;
    /* Reduce border radius for mobile */
    border-radius: 8px;
  }
  header {
    flex-direction: row;
    min-height: 54px;
    padding: 0 0 0 0;
  }
  header > a img {
    margin: 8px 0 8px 5px;
    height: 28px;
  }
  header nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .footer-nav, .footer-contact, .footer-brand, .footer-social, .container {
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    font-size: 1.02rem;
    padding: 14px;
    gap: 7px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
  }
}
@media (max-width: 480px) {
  .container {
    padding: 0 2vw;
  }
  .section, section {
    padding: 9px 2vw;
    border-radius: 5px;
  }
  .cta {
    padding: 10px 13px;
    font-size: 1rem;
  }
  h1 {
    font-size: 1.2rem;
  }
  .footer-nav, .footer-contact, .footer-brand {
    font-size: 0.94rem;
  }
  .footer-social a img {
    width: 19px;
    height: 19px;
  }
  .testimonial-card {
    font-size: 0.95rem;
    padding: 9px;
  }
}

/* ---- MISC COMPONENT STYLES ---- */
::-webkit-input-placeholder { color: #96a692; opacity:1; }
::-moz-placeholder { color: #96a692; opacity:1; }
:-ms-input-placeholder { color: #96a692; opacity:1; }
::placeholder { color: #96a692; opacity:1; }

hr {
  border: none;
  border-top: 1.5px solid #dfe6e1;
  margin: 32px 0;
}
a[role="button"] {
  outline: none;
}

/* ---- MICRO-INTERACTIONS & ANIMATION ---- */
.card, .testimonial-card, .cta, .cookie-banner, .cookie-modal, .mobile-menu {
  transition: box-shadow 0.18s, background 0.16s, transform 0.14s;
}
.card:hover, .testimonial-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-1px) scale(1.01);
}
ul li a {
  text-decoration: underline dotted #b1bba8 1.1px;
  text-underline-offset: 1.6px;
  transition: text-decoration-color 0.13s;
}
ul li a:hover, ul li a:focus {
  text-decoration-color: #345941;
}

/* ---- UTILITIES ---- */
.align-center {
  align-items: center;
  text-align: center;
}
.gap-20 {
  gap: 20px;
}
.mb-20 {
  margin-bottom: 20px;
}

/* ---- PRINT ---- */
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal {
    display: none !important;
  }
  section, .section {
    padding: 0 !important;
    box-shadow: none !important;
    margin: 0 !important;
  }
}
