/* ==== CSS 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-size: 100%; vertical-align: baseline; box-sizing: border-box;
}
article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section {
  display: block;
}
body {
  line-height: 1.6;
  background: #F4EFE8;
  color: #245224;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 400;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a {
  color: #245224;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #ff9500;
}
ul, ol {
  list-style: none;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
button, input[type="button"],
input[type="submit"], .cta-primary {
  font-family: 'Montserrat', Arial, sans-serif;
  cursor: pointer;
  border: none;
  outline: none;
  transition: background 0.17s, color 0.17s, box-shadow 0.17s;
}

/* ==== TYPOGRAPHY ==== */
h1, h2, h3, h4 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #245224;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; line-height: 1.2; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.4rem; margin-bottom: 16px; }
h4 { font-size: 1.1rem; margin-bottom: 12px; }
p, li, span, label {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #314531;
}
b { font-weight: 700; }
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.1rem; }
}

/* ==== LAYOUT CONTAINERS ==== */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}
.header-main, .footer-main {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
}
.content-wrapper {
  width: 100%;
  max-width: 944px;
  margin: 0 auto;
}

/* ==== HEADER & NAVIGATION ==== */
header {
  background: #ffffffee;
  border-bottom: 1px solid #eae5dd;
  box-shadow: 0 2px 8px rgba(165, 160, 145, 0.05);
}
.header-main nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
}
.header-main nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #245224;
  padding: 6px 2px;
  border-radius: 4px;
  position: relative;
}
.header-main nav a:after {
  content: "";
  display: block;
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: #ff9500;
  transition: width .2s;
}
.header-main nav a:hover:after,
.header-main nav a:focus:after {
  width: 100%;
}
.header-main img {
  height: 40px;
  margin-right: 12px;
}

.cta-primary {
  background: #ff9500;
  color: #fff;
  font-size: 1rem;
  padding: 11px 28px;
  border-radius: 30px;
  box-shadow: 0 2px 10px rgba(245,170,50,0.07);
  font-weight: 700;
  letter-spacing: .01em;
  margin-left: 12px;
  transition: background 0.17s, box-shadow 0.17s;
  display: inline-block;
  border: 2px solid #ff9500;
}
.cta-primary:hover, .cta-primary:focus {
  background: #fff;
  color: #245224;
  border: 2px solid #ff9500;
  box-shadow: 0 4px 24px rgba(245,170,50,0.12);
}

/* ==== MOBILE NAVIGATION ==== */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 20px;
  right: 20px;
  background: #ff9500;
  color: #fff;
  z-index: 1002;
  width: 48px; height: 48px;
  border-radius: 50%;
  font-size: 2rem;
  box-shadow: 0 2px 7px rgba(40,35,20,0.09);
  border: none;
}
.mobile-menu {
  position: fixed;
  top: 0; right: 0;
  width: 100%;
  max-width: 360px;
  height: 100vh;
  background: #fff;
  box-shadow: -5px 0 32px rgba(36,82,36,0.10);
  z-index: 1003;
  transform: translateX(100%);
  transition: transform 0.33s cubic-bezier(.47,.17,.66,1.25);
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 40px 28px 24px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2.2rem;
  background: none;
  color: #245224;
  border: none;
  margin-bottom: 12px;
  cursor: pointer;
  transition: color 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #ff9500;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.12rem;
  color: #245224;
  padding: 10px 0 10px 8px;
  border-radius: 6px;
  transition: background 0.19s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #f4efe8;
  color: #ff9500;
}

@media (max-width: 1000px) {
  .header-main nav {
    display: none;
  }
  .cta-primary {
    margin-left: 0;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

@media (min-width: 1001px) {
  .mobile-menu, .mobile-menu-toggle {
    display: none !important;
  }
}

/* ==== SECTIONS & FLEX LAYOUTS ==== */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(36,82,36,0.09);
  overflow: hidden;
  padding: 24px;
  transition: box-shadow 0.2s, transform 0.18s;
  display: flex;
  flex-direction: column;
  min-width: 250px;
  flex: 1 0 250px;
}
.card:hover, .card:focus-within {
  box-shadow: 0 5px 32px rgba(245,170,50,0.13);
  transform: translateY(-3px) 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;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #fff;
  padding: 20px;
  margin: 18px 0 20px 0;
  border-radius: 14px;
  box-shadow: 0 2px 16px rgba(36,82,36,0.09);
  min-width: 0;
  max-width: 630px;
}
.testimonial-card p {
  font-size: 1.05rem;
  font-style: italic;
  line-height: 1.4;
  color: #245224;
  flex: 1 1 auto;
}
.testimonial-card span {
  font-size: 0.97rem;
  color: #666;
  white-space: nowrap;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Specific sections (HTML lists in features & categories) */
.content-wrapper > ul {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 24px 0 8px 0;
}
.content-wrapper > ul > li {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(36,82,36,0.08);
  padding: 18px 18px 18px 18px;
  min-width: 220px;
  flex: 1 1 220px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}
.content-wrapper > ul > li img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  margin-bottom: 6px;
  background: #f4efe8;
  border-radius: 8px;
  padding: 4px;
}

/* Map placeholder in contact page */
.map-embed-placeholder {
  background: #e6e2db;
  color: #888;
  border-radius: 14px;
  padding: 32px 0;
  text-align: center;
  margin-top: 16px;
  font-style: italic;
  font-size: 1.1rem;
}

/* Contact info block */
.contact-data {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}
.contact-data p {
  display: flex; align-items: center; gap: 12px; font-size: 1.05rem;
}
.contact-data img {
  width: 28px; height: 28px;
  object-fit: contain;
}

/* ==== FOOTER ==== */
footer {
  background: #245224;
  color: #fff;
  padding: 36px 0 18px 0;
  margin-top: 40px;
}
.footer-main {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
}
.footer-main img {
  height: 44px;
}
.footer-main nav {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.footer-main nav a {
  color: #fff;
  font-size: 0.99rem;
  letter-spacing: .01em;
  opacity: 0.8;
  transition: color 0.2s, opacity 0.19s;
}
.footer-main nav a:hover, .footer-main nav a:focus {
  color: #ff9500;
  opacity: 1;
}
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  font-size: 0.97rem;
  color: #f4efe8;
}
.footer-contact img {
  height: 19px;
}

/* ==== BUTTONS, INPUTS, MICRO-INTERACTIONS ==== */
input[type="search"] {
  border: 1px solid #eae5dd;
  border-radius: 28px;
  padding: 13px 22px;
  font-size: 1rem;
  width: 100%;
  max-width: 360px;
  font-family: 'Roboto', Arial, sans-serif;
  margin-top: 18px;
  margin-bottom: 18px;
  background: #fdfcf7;
  box-shadow: none;
  outline: none;
  color: #314531;
  transition: border 0.13s, box-shadow 0.17s;
}
input[type="search"]:focus {
  border: 1.5px solid #ff9500;
}
button, .cta-primary {
  transition: background 0.16s, color 0.16s, box-shadow 0.15s, border 0.16s;
}
button:active, .cta-primary:active {
  transform: scale(0.98);
  box-shadow: 0 1px 8px rgba(245,170,50,0.14);
}

/* ==== COOKIE CONSENT BANNER ==== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #fff;
  box-shadow: 0 -2px 18px rgba(36,82,36,0.08);
  border-top: 1.5px solid #eee5dd;
  padding: 22px 16px 22px 16px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 18px 24px;
  z-index: 2000;
  transition: transform 0.42s cubic-bezier(.49,.09,.64,.97);
  font-size: 1rem;
}
.cookie-banner.hide {
  transform: translateY(150%);
}
.cookie-banner-message {
  flex: 3 1 220px;
  color: #314531;
  font-size: 0.99rem;
}
.cookie-banner-buttons {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.cookie-btn {
  min-width: 120px;
  border-radius: 22px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  padding: 9px 21px;
  margin: 0;
  cursor: pointer;
  box-shadow: 0 1px 8px rgba(245,150,0,0.04);
  border: 2px solid transparent;
  background: #f4efe8;
  color: #245224;
  transition: background 0.15s, color 0.14s, border 0.13s;
}
.cookie-btn.accept {
  background: #ff9500;
  color: #fff;
  border-color: #ff9500;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #fff;
  color: #ff9500;
  border-color: #ff9500;
}
.cookie-btn.reject {
  background: #fff;
  color: #245224;
  border-color: #e0d6c1;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  border-color: #ff9500;
  color: #ff9500;
}
.cookie-btn.settings {
  color: #245224;
  border-color: #f1c982;
  background: #f4efe8;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #fff7e6;
  border-color: #ff9500;
}

/* Cookie preferences modal */
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(36,82,36,0.11);
  z-index: 2100;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.26s;
}
.cookie-modal-overlay.open {
  pointer-events: all;
  opacity: 1;
}
.cookie-modal {
  background: #fff;
  border-radius: 18px;
  max-width: 400px;
  padding: 32px 26px 22px 26px;
  box-shadow: 0 8px 44px rgba(36,82,36,0.17);
  color: #314531;
  display: flex;
  flex-direction: column;
  gap: 20px;
  z-index: 2101;
  position: relative;
}
.cookie-modal h2 {
  font-size: 1.25rem;
  margin-bottom: 0px;
}
.cookie-modal-close {
  position: absolute;
  top: 18px; right: 20px;
  background: none;
  color: #245224;
  font-size: 1.7rem;
  border: none;
  cursor: pointer;
  transition: color 0.12s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #ff9500;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 17px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
}
.cookie-category label {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #314531;
  flex: 1 0 auto;
}
.cookie-category input[type="checkbox"] {
  width: 20px; height: 20px;
  accent-color: #ff9500;
  margin-right: 7px;
}
.cookie-category.essential label { font-weight: 600; }
.cookie-category.essential input[type="checkbox"] {
  accent-color: #cccccc;
}
.cookie-category.essential input[type="checkbox"]:disabled {
  opacity: 0.4;
}

/* ==== MEDIA QUERIES: RESPONSIVE FLEX LAYOUTS ==== */
@media (max-width: 900px) {
  .header-main, .footer-main {
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
  }
  .footer-main{
    gap: 18px; align-items:flex-start;
  }
}
@media (max-width: 768px) {
  .container, .content-wrapper {
    padding-left: 0; padding-right: 0;
    max-width: 100vw;
  }
  .header-main, .footer-main {
    flex-direction: column;
    align-items: flex-start;
    gap: 11px;
  }
  .section {
    padding: 26px 2.5vw;
    margin-bottom: 36px;
  }
  .content-wrapper > ul {
    flex-direction: column;
    gap: 16px;
  }
  .card-container, .content-grid, .footer-contact {
    flex-direction: column;
    gap: 16px;
  }
  .card {
    padding: 15px 10px;
    min-width: unset;
    border-radius: 10px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px;
    max-width: 100%;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .contact-data p {
    font-size: 1rem;
  }
  .cookie-modal {
    max-width: 90vw;
    padding: 22px 8vw 15px 8vw;
  }
}
@media (max-width: 520px) {
  .cookie-banner, .cookie-banner-message, .cookie-banner-buttons {
    flex-direction: column;
    gap: 10px !important;
    align-items: stretch;
    text-align: left;
  }
  .cookie-banner-message { font-size: 0.96rem; }
  .footer-contact { flex-direction: column; gap: 5px; }
  .footer-main nav { gap:4.5px; }
}

/* ==== UTILITY CLASSES ==== */
.mt-16 { margin-top: 16px; }
.mb-16 { margin-bottom: 16px; }
.mt-24 { margin-top: 24px; }
.mb-24 { margin-bottom: 24px; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.hide { display: none !important; }
.show { display: block !important; }

/* ==== SCANDINAVIAN CLEAN EFFECTS ==== */
.card, .content-wrapper > ul > li, .testimonial-card {
  border: 1.5px solid #f4efe8;
  box-shadow: 0 2px 12px rgba(36,82,36,0.08);
}
.card:hover, .content-wrapper > ul > li:hover, .testimonial-card:hover {
  border-color: #ffe5ba;
  box-shadow: 0 8px 28px rgba(245,170,50,0.13);
}

/* ==== MISC ==== */
::-webkit-input-placeholder { color: #9B9B9B; }
::-moz-placeholder { color: #9B9B9B; }
:-ms-input-placeholder { color: #9B9B9B; }
::placeholder { color: #9B9B9B; }

::-webkit-scrollbar {
  width: 12px;
  background: #f4efe8;
}
::-webkit-scrollbar-thumb {
  background: #eee9df;
  border-radius: 6px;
}
/* Remove arrow spin for number for clean input */
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* ==== END CSS ==== */