/* 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;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #F8F5F0;
  color: #26472F;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  min-width: 320px;
}
*, *:before, *:after {
  box-sizing: inherit;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #305C3D;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #B05B0F;
  text-decoration: underline;
}

/* TYPOGRAPHY */
h1, .h1 { font-family: 'Montserrat', Arial, Helvetica, sans-serif; font-size: 2.25rem; font-weight: 700; margin-bottom: 16px; color: #26472F; }
h2, .h2 { font-family: 'Montserrat', Arial, Helvetica, sans-serif; font-size: 1.5rem; font-weight: 600; margin-bottom: 16px; color: #305C3D; }
h3, .h3 { font-family: 'Montserrat', Arial, Helvetica, sans-serif; font-size: 1.125rem; font-weight: 600; margin-bottom: 12px; color: #305C3D; }
h4, .h4 { font-family: 'Montserrat', Arial, Helvetica, sans-serif; font-size: 1rem; font-weight: 500; }
p, ul, ol, li, .text-section, .content-wrapper { font-family: 'Open Sans', Arial, Helvetica, sans-serif; font-size: 1rem; color: #26472F; }
strong { font-weight: 700; }

/* LAYOUT CLASSES */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: stretch;
  width: 100%;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #FFFFFF;
  border-radius: 16px;
  box-shadow: 0 2px 24px 0 rgba(44,70,89,0.07);
}

/* HEADER */
.site-header {
  background: #305C3D;
  color: #FFFFFF;
  padding: 0 0;
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  position: relative;
  z-index: 50;
}
.site-header a {
  color: #FFFFFF;
  font-weight: 600;
}
.site-header img {
  height: 48px;
  margin-right: 24px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.main-nav a {
  color: #FFFFFF;
  font-size: 1rem;
  padding: 10px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s, color 0.2s;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}
.main-nav a:hover, .main-nav a.active {
  color: #B05B0F;
  border-bottom: 2px solid #B05B0F;
}
.cta-button.primary {
  background: #B05B0F;
  color: #FFFFFF;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  border: none;
  padding: 0.75em 1.6em;
  border-radius: 24px;
  box-shadow: 0 2px 8px rgba(44, 70, 89, 0.08);
  font-size: 1.125rem;
  margin-left: 16px;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.cta-button.primary:hover, .cta-button.primary:focus {
  background: #305C3D;
  color: #FFF;
  box-shadow: 0 4px 20px rgba(44, 70, 89, 0.13);
}

/* MOBILE BURGER MENU */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #305C3D;
  margin-left: 16px;
  z-index: 1200;
  cursor: pointer;
  transition: color 0.2s;
  outline: none;
}
.mobile-menu-toggle:focus {
  color: #B05B0F;
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: #F8F5F0;
  box-shadow: 0 4px 40px rgba(44, 70, 89, 0.18);
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(0.64,0,0.36,1);
  display: flex;
  flex-direction: column;
  z-index: 1500;
  visibility: hidden;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  visibility: visible;
  opacity: 1;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #305C3D;
  font-size: 2.2rem;
  align-self: flex-end;
  margin: 24px 32px 8px 0;
  cursor: pointer;
  outline: none;
  transition: color 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #B05B0F;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 32px 32px 0 32px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}
.mobile-nav a {
  font-size: 1.25rem;
  color: #305C3D;
  padding: 12px 0;
  width: 100%;
  border-bottom: 2px solid transparent;
  transition: color 0.17s, border-color 0.2s;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  color: #B05B0F;
  border-bottom: 2px solid #B05B0F;
}

@media (max-width: 1050px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 0 12px 0;
  }
  .main-nav {
    width: 100%;
    gap: 12px;
  }
}
@media (max-width: 900px) {
  .main-nav {
    display: none;
  }
  .site-header {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 16px 8px;
  }
  .cta-button.primary {
    margin-left: 0;
  }
  .mobile-menu-toggle {
    display: inline-flex;
  }
}

/* HERO/MAJOR CALL OUT */
.hero {
  background: #E7EDDD;
  padding: 64px 0 48px 0;
  margin-bottom: 60px;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 24px;
  max-width: 640px;
}
.hero h1 {
  color: #26472F;
  font-size: 2.5rem;
}
.hero p {
  font-size: 1.125rem;
  line-height: 1.7;
}

/* FEATURE GRID, SECTION LAYOUTS */
.features, .category-features, .categories, .tips, .values, .team, .product-list, .about, .contact, .legal, .thank-you, .cta, .map {
  margin-bottom: 60px;
}
.features, .category-features, .categories,
.tips, .values, .team, .about, .contact, .legal, .thank-you, .cta, .map {
  padding: 40px 20px;
  background: #FFFFFF;
  border-radius: 16px;
  box-shadow: 0 2px 20px 0 rgba(44,70,89,0.07);
}
.feature-grid, .team-introductions {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 20px;
}
.feature-grid li, .team-introductions li {
  background: #F7FAF6;
  border-radius: 16px;
  box-shadow: 0 1px 8px rgba(44,70,89,.06);
  padding: 24px 20px 20px 20px;
  flex: 1 1 225px;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  min-width: 220px;
  transition: box-shadow 0.18s, transform 0.2s;
}
.feature-grid li:hover, .team-introductions li:hover {
  box-shadow: 0 8px 32px rgba(44, 70, 89, 0.12);
  transform: translateY(-4px) scale(1.02);
}
.feature-grid img, .team-introductions img {
  width: 48px;
  height: 48px;
  margin-bottom: 10px;
}

.category-highlights, .category-list, .directions, .order-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: flex-start;
  margin-top: 18px;
}
.category-highlights > div, .category-list li {
  background: #F7FAF6;
  border-radius: 12px;
  padding: 24px 18px;
  box-shadow: 0 1px 8px rgba(44,70,89,.05);
  min-width: 220px;
  flex: 1 1 220px;
  transition: box-shadow 0.2s, transform 0.15s;
}
.category-highlights > div:hover, .category-list li:hover {
  box-shadow: 0 5px 18px rgba(44, 70, 89, 0.13);
  transform: translateY(-2px);
}
.category-list a {
  color: #B05B0F;
  font-weight: 600;
  transition: color 0.15s;
}
.category-list a:hover { color: #26472F; }

/* PRODUCT CARDS & FILTER */
.product-filter, .sort-options {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 20px 0 8px 0;
}
.product-filter ul {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
}
.product-filter a {
  color: #26472F;
  padding: 7px 14px;
  font-weight: 600;
  border-radius: 20px;
  background: #F7FAF6;
  transition: background 0.18s, color 0.17s;
}
.product-filter a:hover, .product-filter a:focus {
  color: #FFF;
  background: #305C3D;
}
.sort-options select {
  font-size: 1rem;
  padding: 7px 14px;
  border: 1px solid #ABC5B7;
  border-radius: 7px;
  background: #FFFFFF;
  color: #26472F;
  outline: none;
}
.product-cards, .team-introductions {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-top: 20px;
}
.product-cards .text-section {
  background: #F7FAF6;
  border-radius: 16px;
  padding: 24px 20px;
  min-width: 240px;
  flex: 1 1 220px;
  margin-bottom: 24px;
  transition: box-shadow 0.16s, transform 0.17s;
  box-shadow: 0 1px 8px rgba(44,70,89,0.06);
}
.product-cards .text-section:hover {
  box-shadow: 0 4px 22px rgba(44,70,89,.12);
  transform: translateY(-3px);
}

/* TESTIMONIALS */
.testimonials {
  background: #E7EDDD;
  border-radius: 16px;
  margin-bottom: 60px;
  padding: 40px 20px;
}
.testimonials .testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 12px;
  background: #FFF;
  box-shadow: 0 2px 12px rgba(44,70,89,.09);
  color: #26472F;
  font-size: 1.0625rem;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  transition: box-shadow 0.18s, transform 0.16s;
}
.testimonials .testimonial-card:hover {
  box-shadow: 0 4px 20px rgba(44,70,89,.15);
  transform: translateY(-2px);
}
.testimonial-meta {
  font-size: 0.95rem;
  font-weight: 600;
  color: #305C3D;
  margin-top: 2px;
}
.stars {
  color: #B05B0F;
  margin-left: 6px;
  font-size: 1.08rem;
}

/* CTA */
.cta {
  background: #B05B0F;
  color: #FFF;
  border-radius: 16px;
  box-shadow: 0 2px 14px rgba(44,70,89,.10);
}
.cta h2 {
  color: #FFF;
}
.cta .cta-button.primary {
  background: #FFF;
  color: #B05B0F;
  margin-top: 18px;
  border: none;
}
.cta .cta-button.primary:hover {
  background: #305C3D;
  color: #FFF;
}

/* FOOTER */
footer {
  background: #26472F;
  color: #FFF;
  padding: 36px 0 20px 0;
  box-shadow: 0 -2px 20px #c2d6cc09;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-brand {
  flex: 1 1 100px;
  display: flex;
  align-items: center;
  margin-bottom: 8px;
}
.footer-brand img {
  width: 42px;
  height: 42px;
}
.footer-nav {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 16px;
}
.footer-nav a {
  color: #FFF;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  opacity: 0.93;
  border-bottom: 2px solid transparent;
  transition: color 0.17s, border 0.18s;
  padding: 4px 0;
}
.footer-nav a:hover {
  color: #B05B0F;
  border-bottom: 2px solid #B05B0F;
}
.footer-contact {
  flex: 1 1 250px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 1rem;
}
.footer-contact img {
  width: 18px;
  height: 18px;
  vertical-align: middle;
  margin-right: 8px;
}
.legal-text {
  flex-basis: 100%;
  font-size: 0.88rem;
  color: #BEE4C0;
  opacity: 0.81;
  margin-top: 18px;
}

/* TEXT IMAGE SECTION (if used) */
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

/* GENERAL FLEX UTILS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #F7FAF6;
  padding: 24px 22px;
  border-radius: 14px;
  box-shadow: 0 1px 8px rgba(44,70,89,0.06);
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* LEGAL, TEXT SECTIONS, ABOUT, TEAM, ORDER SUMMARY, ETC. */
.text-section {
  margin-bottom: 24px;
}
.tips-list, .why-choose-us ul, .best-practices ul, .expert-advice ul, .inspiration ul {
  list-style: disc inside;
  margin: 0 0 16px 20px;
}
.tips-list li, .why-choose-us li, .best-practices li, .expert-advice li, .inspiration li {
  margin-bottom: 10px;
}
.order-summary ul {
  padding-left: 20px;
  margin: 0;
}
.order-summary li {
  margin-bottom: 7px;
}

/* CONTACT DETAILS */
.contact-details {
  list-style: none;
  padding: 0;
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.contact-details img {
  margin-right: 8px;
  width: 19px;
  vertical-align: middle;
}

.directions {
  margin-top: 18px;
  color: #305C3D;
  font-size: 1rem;
}

/* MODAL/COOKIE CONSENT BANNER */
.cookie-consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  padding: 22px 18px 20px 18px;
  background: #26472F;
  color: #FFF;
  z-index: 3000;
  box-shadow: 0 -2px 24px #1f2c259a;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  font-size: 1rem;
  gap: 20px;
  animation: cookie-in 0.55s cubic-bezier(.5,1.8,.6,.95);
}
@keyframes cookie-in {
  from { transform: translateY(120px); opacity: 0; }
  to   { transform: translateY(0);     opacity: 1; }
}
.cookie-consent-banner p {
  flex: 2 1 200px;
  color: white;
}
.cookie-btn-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  background: #FFF;
  color: #26472F;
  border: none;
  font-weight: 700;
  border-radius: 17px;
  padding: 0.48em 1.45em;
  font-size: 1rem;
  transition: background 0.21s, color 0.21s, box-shadow 0.15s;
  cursor: pointer;
  box-shadow: 0 1px 8px #0a150b13;
}
.cookie-btn.accept {
  background: #B05B0F;
  color: #fff;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #305C3D;
}
.cookie-btn.reject {
  background: #FFF;
  color: #B05B0F;
  border: 1px solid #B05B0F;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #B05B0F;
  color: #FFF;
}
.cookie-btn.settings {
  background: #305C3D;
  color: #FFF;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #B05B0F;
  color: #FFF;
}

.cookie-preferences-modal {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 3200;
  height: 100vh;
  width: 100vw;
  background: rgba(44,70,89, 0.62);
  display: flex;
  justify-content: center;
  align-items: center;
  animation: cookie-modal-pop 0.38s cubic-bezier(.5,1.8,.7,1);
}
@keyframes cookie-modal-pop {
  from { opacity:0; transform: scale(1.08); }
  to  { opacity:1; transform: scale(1); }
}
.cookie-modal-content {
  background: #FFF;
  color: #26472F;
  border-radius: 14px;
  box-shadow: 0 6px 32px rgba(44,70,89,0.19);
  padding: 38px 30px 32px 30px;
  max-width: 420px;
  width: 94vw;
  display: flex;
  flex-direction: column;
  gap: 18px;
  font-size: 1rem;
  position: relative;
  animation: modal-in 0.36s cubic-bezier(.59,1.62,.6,.93);
}
@keyframes modal-in {
  from { transform: translateY(30px); opacity: 0; }
  to   { transform: translateY(0);     opacity: 1; }
}
.cookie-modal-content h2 {
  font-size: 1.24rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  margin-bottom: 8px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}
.cookie-category label {
  font-weight: 600;
  margin-right: 6px;
}
.cookie-modal-close {
  background: none;
  border: none;
  color: #B05B0F;
  font-size: 1.6rem;
  position: absolute;
  right: 19px;
  top: 15px;
  cursor: pointer;
  transition: color 0.15s;
}
.cookie-modal-close:hover,
.cookie-modal-close:focus {
  color: #305C3D;
}
.cookie-category input[type='checkbox'] {
  width: 1.1em;
  height: 1.1em;
  accent-color: #B05B0F;
}
.cookie-category.essential label:after {
  content: ' (pakollinen)';
  color: #888;
  font-size: 0.94em;
  font-weight: 400;
}

/* MICRO-INTERACTIONS (BUTTONS, CARDS) */
button, .cta-button, .cookie-btn {
  outline: none;
}
button:active, .cta-button:active, .cookie-btn:active {
  transform: scale(.96);
}

/* SPACING, CARDS & UTILS */
@media (max-width: 1050px) {
  .container {
    max-width: 97vw;
    padding-left: 8px;
    padding-right: 8px;
  }
  .feature-grid, .team-introductions,
  .product-cards, .category-highlights {
    gap: 18px;
  }
}
@media (max-width: 900px) {
  .section, .features, .category-features, .categories,
  .tips, .values, .team, .about, .contact, .legal, .thank-you, .cta, .map {
    padding: 28px 6px;
  }
  .footer-brand img {
    width: 36px; height: 36px;
  }
  .feature-grid, .team-introductions,
  .product-cards, .category-highlights {
    gap: 12px;
  }
}
@media (max-width: 768px) {
  .section, .features, .category-features, .categories,
  .tips, .values, .team, .about, .contact, .legal, .thank-you, .cta, .map {
    margin-bottom: 40px;
    padding: 16px 2px;
    border-radius: 9px;
  }
  .container {
    max-width: 100vw;
    padding-left: 2px;
    padding-right: 2px;
  }
  .content-wrapper{
    gap: 18px;
  }
  .feature-grid, .team-introductions { flex-direction: column; gap: 18px; }
  .product-cards, .category-highlights { flex-direction: column; gap: 16px; }
  .category-list, .order-summary, .content-grid, .card-container { flex-direction: column; gap: 15px; }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  footer .container { flex-direction: column; gap: 18px; align-items: flex-start; }
  .footer-contact { gap: 8px; }
  .footer-nav { gap: 15px; margin-bottom: 6px; }
  .legal-text { margin-top: 12px; }
  .hero {
    padding: 38px 0 22px 0;
  }
  .main-nav { display: none; }
  .mobile-menu-toggle { display: inline-flex; }
}
@media (max-width: 500px) {
  h1 { font-size: 1.35rem; }
  h2 { font-size: 1.1rem; }
  h3 { font-size: 1rem; }
  .cta-button.primary, .cookie-btn {
    font-size: 0.95rem;
    padding: 0.56em 1.1em;
  }
  .feature-grid li, .team-introductions li, .product-cards .text-section, .category-highlights > div {
    min-width: 0;
    max-width: 100%;
    padding: 14px 8px;
  }
  .cookie-modal-content {
    padding: 19px 8px 20px 8px;
  }
  .mobile-menu {
    padding-left: 0;
    padding-right: 0;
  }
}

/* ACCESSIBILITY FOCUS STATES */
:focus-visible {
  outline: 2px dashed #B05B0F;
  outline-offset: 2px;
}

/* UTILITIES */
.bg-primary { background: #305C3D; color: #FFF; }
.bg-accent { background: #B05B0F; color: #FFF; }
.bg-light { background: #F7FAF6; }
.text-accent { color: #B05B0F; }
.text-primary { color: #26472F; }
.text-secondary { color: #305C3D; }
.rounded { border-radius: 16px; }
.shadow { box-shadow: 0 2px 12px rgba(44,70,89,0.10); }

/* HIDE SCROLL ON MOBILE MENU/COOKIE MODAL WHEN OPEN */
body.menu-open,
body.cookie-modal-open {
  overflow-y: hidden;
}
