/* --- RESET & INITIAL SETUP --- */
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,
main, 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 {
  box-sizing: border-box;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  line-height: 1.6;
  background: #FAF7F4;
  color: #2A4541;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
ul, ol {
  margin-left: 1.2em;
}
a {
  color: #365A54;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #F6B92E;
  outline: none;
}
:focus {
  outline: 2px solid #F6B92E;
  outline-offset: 1px;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #2A4541;
  letter-spacing: 0.01em;
  line-height: 1.1;
}
h1 {
  font-size: 2.4rem;
  margin-bottom: 16px;
}
h2 {
  font-size: 1.6rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}
h4, h5, h6 {
  font-size: 1rem;
  margin-bottom: 8px;
}
.subtitle {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 400;
  color: #365A54;
  font-size: 1.15rem;
  margin-bottom: 10px;
}
.subheadline {
  font-size: 1rem;
  margin-bottom: 16px;
  color: #2A4541;
}
p {
  color: #2A4541;
  margin-bottom: 1em;
}
strong {
  font-weight: 700;
  color: #365A54;
}

/* --- CONTAINER --- */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

/* --- HEADER & NAVIGATION --- */
header {
  background: #FFFFFF;
  box-shadow: 0 2px 8px rgba(54,90,84,0.08);
  position: sticky;
  top: 0;
  z-index: 1050;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  padding: 16px 20px;
}
.logo {
  display: flex;
  align-items: center;
  height: 48px;
}
.logo img {
  height: 40px;
  width: auto;
}
.main-nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: #365A54;
  padding: 5px 6px;
  border-radius: 6px;
  transition: background 0.17s, color 0.17s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #FAF7F4;
  color: #F6B92E;
}
.cta-btn {
  background: #365A54;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  border: none;
  border-radius: 24px;
  padding: 10px 32px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(54,90,84,0.09);
  margin-left: 28px;
  outline: none;
  transition: background 0.2s, color 0.2s, transform 0.15s;
}
.cta-btn:hover, .cta-btn:focus {
  background: #F6B92E;
  color: #2A4541;
  transform: translateY(-2px) scale(1.03);
}
.cta-btn.secondary {
  background: #fff;
  color: #365A54;
  border: 1px solid #F6B92E;
  margin-left: 0;
}
.cta-btn.secondary:hover, .cta-btn.secondary:focus {
  background: #FAF7F4;
  color: #F6B92E;
}

/* --- MOBILE MENU --- */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #365A54;
  font-size: 2rem;
  cursor: pointer;
  margin-left: 20px;
  line-height: 1;
  z-index: 1201;
  transition: color 0.2s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  color: #F6B92E;
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #FFFFFF;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  transform: translateX(-100vw);
  transition: transform 0.4s cubic-bezier(.74,.22,.14,.98);
  box-shadow: 4px 0 24px rgba(54,90,84,0.09);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  color: #365A54;
  font-size: 2rem;
  padding: 24px 24px 8px 0;
  margin-bottom: 10px;
  cursor: pointer;
  transition: color 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #F6B92E;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  margin-top: 16px;
}
.mobile-nav a {
  color: #365A54;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.2rem;
  font-weight: 500;
  padding: 12px 0;
  border-radius: 12px;
  width: 90vw;
  max-width: 350px;
  text-align: center;
  transition: background 0.2s, color 0.2s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #FAF7F4;
  color: #F6B92E;
}

@media (max-width: 1024px) {
  .main-nav {
    gap: 18px;
  }
  .cta-btn {
    margin-left: 10px;
    padding: 8px 24px;
  }
}
@media (max-width: 900px) {
  header .container {
    padding: 13px 12px;
  }
}
@media (max-width: 810px) {
  .main-nav {
    display: none;
  }
  .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 812px) {
  .mobile-menu-toggle,
  .mobile-menu {
    display: none;
  }
}

/* --- HERO & SECTION LAYOUTS --- */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
  position: relative;
}
.hero {
  background: #FFFFFF;
  border-radius: 24px;
  box-shadow: 0 4px 24px rgba(54,90,84,0.06);
  margin-top: 32px;
  margin-bottom: 40px;
  min-height: 180px;
  display: flex;
  align-items: center;
}
.hero .container {
  justify-content: center;
  align-items: center;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 8px;
  padding: 12px 0 0 0;
}

.features, .usp, .services, .product-categories, .featured-products, .team, .faq, .about, .legal, .cta {
  background: #FAF7F4;
}
.features h2, .usp h2, .services h2, .faq h2, .about h1, .about h2, .product-categories h2, .featured-products h2, .team h2, .legal h1, .cta h2 {
  color: #365A54;
}

/**** FLEX PATTERNS FROM SYSTEM (MANDATORY) ****/
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(54,90,84,0.07);
  padding: 24px;
  min-width: 240px;
  flex: 1 1 247px;
}
.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
  background: #fff;
  color: #2A4541;
  padding: 20px;
  border-radius: 18px;
  box-shadow: 0 2px 10px rgba(54,90,84,0.09);
  min-width: 240px;
  max-width: 450px;
  font-size: 1rem;
}
.testimonials .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* --- GENERIC CARD & LIST STYLES --- */
ul, ol {
  margin-bottom: 14px;
  padding-left: 1.3em;
  font-size: 1em;
  color: #2A4541;
}
ul li, ol li {
  margin-bottom: 10px;
  padding-left: 3px;
}
ul li:last-child, ol li:last-child {
  margin-bottom: 0;
}
dt {
  font-weight: 700;
  color: #365A54;
  margin-bottom: 4px;
  font-family: 'Montserrat', Arial, sans-serif;
}
dd {
  margin-bottom: 14px;
}

.card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(54,90,84,0.06);
  padding: 24px;
  transition: box-shadow 0.18s, transform 0.14s;
  cursor: default;
  min-width: 240px;
}
.card:hover {
  box-shadow: 0 4px 24px rgba(54,90,84,0.13);
  transform: translateY(-2px) scale(1.03);
}

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

/* --- CONTACT INFO --- */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: #2A4541;
  margin-bottom: 6px;
}

/* --- FOOTER --- */
footer {
  background: #FFFFFF;
  padding: 28px 0 0 0;
  border-top: 1px solid #ECE8E3;
  margin-top: 50px;
  font-size: 0.95rem;
}
footer .container {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 32px;
  padding: 12px 20px 0 20px;
}
.footer-logo {
  margin-right: 48px;
  align-self: flex-start;
}
.footer-logo img {
  height: 42px;
}
.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 0 24px 0 0;
  align-items: flex-start;
}
.footer-menu a {
  color: #365A54;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  margin-bottom: 6px;
  transition: color 0.16s;
}
.footer-menu a:hover, .footer-menu a:focus {
  color: #F6B92E;
}
.contact-footer ul {
  list-style: none;
  padding: 0;
  color: #2A4541;
  line-height: 1.5;
  margin: 0;
}

/* --- CTA SECTION --- */
.cta .content-wrapper {
  flex-direction: row;
  gap: 24px;
  justify-content: center;
}

/* --- FAQ / DL --- */
.faq dl {
  margin-bottom: 0;
}
.faq dt {
  font-size: 1.05rem;
  margin-top: 14px;
}
.faq dd {
  font-size: 1rem;
}

/* --- LEGAL SECTION --- */
.legal {
  background: #fff;
  border-radius: 19px;
  box-shadow: 0 1px 18px rgba(54,90,84,0.05);
}

/* --- BUTTONS --- */
button,
input[type="submit"],
input[type="button"] {
  appearance: none;
  border: none;
  background: #365A54;
  color: #fff;
  padding: 10px 32px;
  border-radius: 24px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.15s;
}
button:hover, button:focus,
input[type="submit"]:hover, input[type="submit"]:focus {
  background: #F6B92E;
  color: #2A4541;
  transform: translateY(-2px) scale(1.03);
}

/* --- SHADOWS & TRANSITIONS --- */
.card, .testimonial-card, .hero, .legal {
  box-shadow: 0 2px 10px rgba(54,90,84,0.07);
  transition: box-shadow 0.16s, transform 0.14s;
}
.card:hover, .testimonial-card:hover, .hero:hover {
  box-shadow: 0 4px 26px rgba(54,90,84,0.13);
  transform: translateY(-2px) scale(1.03);
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 1024px) {
  .container {
    max-width: 98vw;
    padding: 0 9px;
  }
  section, .section {
    padding: 26px 7px;
  }
  .hero {
    margin-top: 12px;
    margin-bottom: 24px;
    border-radius: 16px;
    min-height: 110px;
  }
  .footer-logo img {
    height: 36px;
  }
}
@media (max-width: 768px) {
  .container {
    padding: 0 5vw;
  }
  section, .section {
    padding: 18px 2vw;
    margin-bottom: 36px;
  }
  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.3rem; }
  .footer-logo img {
    height: 31px;
  }
  .footer-menu { gap: 10px; font-size: 0.93rem; }
  .card, .testimonial-card {
    min-width: unset;
    max-width: unset;
    padding: 14px;
  }
  .testimonials .content-wrapper {
    gap: 14px;
  }
  .card-container, .content-grid {
    gap: 14px;
  }
  .cta .content-wrapper {
    flex-direction: column;
    align-items: stretch;
  }
}
@media (max-width: 515px) {
  section, .section {
    padding-left: 1vw;
    padding-right: 1vw;
  }
}
/* FLEX direction column for text-image-sections and nav on mobile */
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
  .footer-logo {
    margin-right: 0;
    margin-bottom: 12px;
  }
  footer .container {
    gap: 16px;
    flex-direction: column;
    align-items: flex-start;
  }
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  box-shadow: 0 -2px 14px 0 rgba(54,90,84,0.08);
  background: #FFFFFF;
  color: #2A4541;
  z-index: 1800;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 22px 5vw 22px 3vw;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  transition: transform 0.35s cubic-bezier(.85,.02,.29,.93), opacity 0.22s;
  gap: 28px;
  opacity: 1;
  transform: translateY(0);
}
.cookie-banner.inactive {
  opacity: 0;
  transform: translateY(100%);
  pointer-events: none;
}
.cookie-banner .cookie-banner-main {
  flex: 1;
  min-width: 160px;
  font-size: 0.99rem;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 13px;
}
.cookie-btn {
  background: #365A54;
  color: #fff;
  border-radius: 22px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  padding: 9px 20px;
  margin: 0 3px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.12s;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #F6B92E;
  color: #2A4541;
  transform: scale(1.06);
}
.cookie-btn.secondary {
  background: #FFFFFF;
  color: #365A54;
  border: 1px solid #F6B92E;
}
.cookie-btn.secondary:hover, .cookie-btn.secondary:focus {
  background: #FAF7F4;
  color: #F6B92E;
}
@media (max-width: 768px) {
  .cookie-banner {
    flex-direction: column;
    gap: 16px;
    padding: 18px 4vw;
    font-size: 0.98rem;
    border-radius: 15px 15px 0 0;
  }
  .cookie-banner .cookie-actions {
    gap: 7px;
    flex-direction: row;
  }
}

/* --- COOKIE PREFERENCES MODAL --- */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(42,69,65,0.14);
  z-index: 2600;
  display: none;
  align-items: center;
  justify-content: center;
}
.cookie-modal-overlay.active {
  display: flex;
}
.cookie-modal {
  background: #FFFFFF;
  border-radius: 26px;
  padding: 32px 24px 22px 24px;
  max-width: 480px;
  min-width: 254px;
  box-shadow: 0 8px 40px rgba(54,90,84,0.23);
  color: #2A4541;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: modalShow 0.44s cubic-bezier(.66,.03,.13,.99);
}
@keyframes modalShow {
  0% { opacity: 0; transform: scale(0.93) translateY(46px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}
.cookie-modal h3 {
  font-size: 1.1rem;
  margin-bottom: 12px;
  color: #365A54;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1rem;
  gap: 20px;
  margin: 3px 0;
}
.cookie-category .cookie-toggle {
  appearance: none;
  width: 42px;
  height: 24px;
  border-radius: 12px;
  background: #ECE8E3;
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background 0.18s;
}
.cookie-category .cookie-toggle:checked {
  background: #F6B92E;
}
.cookie-category .cookie-toggle:before {
  content: "";
  display: block;
  width: 18px;
  height: 18px;
  position: absolute;
  top: 3px;
  left: 3px;
  background: #fff;
  border-radius: 50%;
  transition: left 0.18s;
  box-shadow: 0 1px 4px rgba(54,90,84,0.06);
}
.cookie-category .cookie-toggle:checked:before {
  left: 21px;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 10px;
  margin-top: 9px;
  justify-content: flex-end;
}
@media (max-width: 560px) {
  .cookie-modal {
    padding: 16px 8px 10px 8px;
    min-width: 90vw;
    max-width: 96vw;
  }
}

/* --- MISC --- */
::-webkit-scrollbar {
  width: 10px;
  background: #ECE8E3;
  border-radius: 6px;
}
::-webkit-scrollbar-thumb {
  background: #D8D2C8;
  border-radius: 7px;
}

/* Decorative (example), feel free to add light wood/fabric texture bg images to .hero or .footer for Scandinavian flair via <body> classes. */

/* --- END --- */
