/* ===========================================================
   CSS RESET & NORMALIZATION for Scandinavian Clean Design
   =========================================================== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  background: #F9F9F6;
  color: #253342;
  line-height: 1.6;
  min-height: 100vh;
  font-weight: 400;
}
img, picture {
  max-width: 100%;
  display: block;
}
ul, ol {
  padding-left: 1.2em;
}
li {
  margin-bottom: 0.5em;
}
a {
  color: #253342;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #F4B942;
  text-decoration: underline;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  background: none;
  border: none;
  outline: none;
}

/* ========== TYPOGRAPHY ========== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  line-height: 1.18;
  color: #253342;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
  letter-spacing: -1px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
  letter-spacing: -1px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}
h4 {
  font-size: 1.125rem;
}
strong {
  font-weight: 700;
  color: #253342;
}

p {
  margin-bottom: 16px;
  color: #253342;
}


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

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
  border-radius: 16px;
}

/* Flex Layout Patterns */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 3px 14px rgba(37,51,66,0.06);
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 22px;
  flex: 1 1 260px;
  transition: box-shadow 0.18s, transform 0.18s;
}
.card:hover {
  box-shadow: 0 6px 22px rgba(37,51,66,0.12);
  transform: translateY(-3px) scale(1.015);
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  align-items: stretch;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  background: #fff;
  box-shadow: 0 2px 12px rgba(37,51,66,0.07);
  border-radius: 10px;
  color: #253342;
  flex-direction: row;
  min-width: 0;
  min-height: 96px;
  word-break: break-word;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ========== SPECIAL FLEX WRAPPERS ========== */
.feature-grid, .project-grid, .tools-list, .value-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 24px 0 0 0;
}

.feature-grid > div,
.project-grid > div,
.tools-list > div,
.value-grid > div {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 3px 14px rgba(37,51,66,0.06);
  padding: 26px 18px 20px 18px;
  flex: 1 1 230px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.18s, transform 0.18s;
  margin-bottom: 20px;
}
.feature-grid > div img,
.project-grid > div img,
.tools-list > div img,
.value-grid > div img {
  width: 40px;
  height: 40px;
  margin-bottom: 18px;
}
.feature-grid > div:hover,
.value-grid > div:hover,
.tools-list > div:hover,
.project-grid > div:hover {
  box-shadow: 0 6px 22px rgba(37,51,66,0.12);
  transform: translateY(-3px) scale(1.010);
}

/* ========== FOOTER DESIGN ========== */
footer {
  margin-top: 60px;
  width: 100%;
  background: #fff;
  border-top: 1px solid #e4e4e1;
  color: #253342;
  font-size: 0.98rem;
}
footer .container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 40px;
  padding: 32px 20px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-logo {
  flex: 0 0 64px;
  margin-bottom: 16px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-contact {
  max-width: 300px;
  color: #253342;
  font-size: 0.96rem;
  line-height: 1.7;
}

/* ========== HEADER & NAVIGATION ========== */
header {
  background: #fff;
  box-shadow: 0 1px 8px rgba(37,51,66,0.02);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 11;
  width: 100%;
  min-height: 68px;
}
header .container {
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  padding: 16px 20px;
}
header nav {
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: center;
}
header nav a {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: #253342;
  padding: 4px 2px;
  display: inline-block;
  border-radius: 4px;
  transition: background 0.15s, color 0.15s;
}
header nav a:hover,
header nav a:focus {
  background: #F4B94222;
  color: #F4B942;
}

.cta-primary {
  background: #F4B942;
  color: #253342;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  border: none;
  border-radius: 26px;
  padding: 9px 28px;
  font-size: 1.01rem;
  box-shadow: 0 2px 8px rgba(37,51,66,0.08);
  margin-left: 16px;
  cursor: pointer;
  transition: background 0.16s, box-shadow 0.15s, color 0.15s, transform 0.12s;
  outline: none;
  display: inline-block;
  letter-spacing: 0.04em;
}
.cta-primary:hover,
.cta-primary:focus {
  background: #253342;
  color: #F4B942;
  box-shadow: 0 4px 18px rgba(244,185,66,0.13);
  transform: translateY(-2px) scale(1.025);
}
.cta-secondary {
  border: 2px solid #253342;
  color: #253342;
  background: #fff;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 600;
  border-radius: 24px;
  padding: 8px 28px;
  font-size: 1rem;
  margin-top: 16px;
  transition: color 0.14s, border 0.14s, background 0.13s;
  cursor: pointer;
  display: inline-block;
}
.cta-secondary:hover,
.cta-secondary:focus {
  color: #fff;
  background: #253342;
  border-color: #253342;
}

/* ========== MOBILE MENU ========== */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 22px;
  right: 24px;
  z-index: 50;
  background: #fff;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 2rem;
  color: #253342;
  border: 1px solid #e4e4e1;
  justify-content: center;
  align-items: center;
  box-shadow: 0 3px 14px rgba(37,51,66,0.07);
  transition: box-shadow 0.18s, background 0.18s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  box-shadow: 0 4px 22px rgba(244,185,66,0.18);
  background: #F4B94211;
  color: #F4B942;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  z-index: 99;
  padding: 0 0 0 0;
  transform: translateX(-100%);
  transition: transform 0.33s cubic-bezier(.82,-0.01,.2,1.04);
  box-shadow: 0 5px 34px 8px rgba(37,51,66,0.09);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  color: #253342;
  background: none;
  border: none;
  padding: 22px 18px 6px 12px;
  line-height: 1;
  cursor: pointer;
  margin-left: auto;
  margin-bottom: 12px;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100%;
  padding-left: 32px;
}
.mobile-nav a {
  font-size: 1.17rem;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: #253342;
  font-weight: 600;
  padding: 8px 0 8px 0;
  border-radius: 6px;
  margin-bottom: 4px;
  transition: background 0.13s, color 0.13s;
  min-width: 90vw;
  display: block;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #F4B94233;
  color: #F4B942;
}

/* ========== COOKIE CONSENT BANNER ========== */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  background: #fff;
  border-top: 1px solid #e4e4e1;
  box-shadow: 0 -3px 18px rgba(37,51,66,0.07);
  padding: 24px 18px 22px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  z-index: 1001;
  animation: fadeInUp 0.5s cubic-bezier(.45,1.63,.39,.77);
  font-size: 1rem;
}
@keyframes fadeInUp {
  0%   {transform: translateY(100%); opacity: 0;}
  70%  {transform: translateY(-15px); opacity: 1;}
  100% {transform: translateY(0); opacity: 1;}
}
.cookie-banner-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: center;
}
.cookie-accept, .cookie-reject, .cookie-settings {
  border-radius: 22px;
  font-size: 1rem;
  padding: 7px 26px;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background 0.14s, color 0.14s, box-shadow 0.14s;
  box-shadow: 0 2px 8px rgba(37,51,66,0.06);
}
.cookie-accept {
  background: #F4B942;
  color: #253342;
}
.cookie-accept:hover, .cookie-accept:focus {
  background: #253342;
  color: #F4B942;
}
.cookie-reject {
  background: #fff;
  color: #253342;
  border: 1.5px solid #253342;
}
.cookie-reject:hover, .cookie-reject:focus {
  background: #253342;
  color: #fff;
}
.cookie-settings {
  background: #F9F9F6;
  color: #253342;
  border: 1.5px solid #F4B942;
}
.cookie-settings:hover, .cookie-settings:focus {
  background: #F4B942;
  color: #253342;
}

/* ========== COOKIE PREFERENCES MODAL ========== */
.cookie-modal {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background: rgba(37,51,66,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1111;
  animation: fadeIn 0.3s cubic-bezier(.45,1.63,.39,.77);
}
@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity: 1;}
}
.cookie-modal-content {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 40px rgba(37,51,66,0.15);
  padding: 40px 28px 34px 28px;
  max-width: 420px;
  width: 95vw;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.cookie-modal-content h3 {
  font-size: 1.25rem;
  margin-bottom: 18px;
  color: #253342;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}
.cookie-category label {
  font-size: 1rem;
  color: #253342;
}
.cookie-category input[type="checkbox"] {
  accent-color: #F4B942;
  width: 20px;
  height: 20px;
}
.cookie-modal-footer {
  display: flex;
  gap: 14px;
  margin-top: 22px;
  justify-content: flex-end;
}
.cookie-modal-close {
  position: absolute;
  top: 13px;
  right: 15px;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: #253342;
  cursor: pointer;
}

/* ========== LISTS, FAQS & HIGHLIGHTS ========== */
.highlighted-tips {
  background: #25334208;
  color: #253342;
  font-weight: 500;
  border-left: 4px solid #F4B942;
  padding: 13px 18px;
  margin-top: 28px;
  border-radius: 8px;
}
.faq-items {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 16px;
}
.faq-items > div {
  flex: 1 1 220px;
  min-width: 220px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(37,51,66,0.07);
  padding: 18px 16px 14px 16px;
  margin-bottom: 20px;
}
.examples-descriptions,
.before-after-descriptions,
.tool-descriptions {
  background: #F4B94218;
  border-radius: 8px;
  padding: 14px 18px;
  margin-top: 18px;
  color: #253342;
  font-size: 1.08rem;
}
.quick-tips {
  margin-top: 14px;
  padding-top: 8px;
}
.join-callout {
  background: #F4B94224;
  border-left: 4px solid #253342;
  padding: 16px 18px 8px 18px;
  border-radius: 8px;
  margin-top: 24px;
  margin-bottom: 12px;
}
.community-quotes {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 24px;
}

/* ========== CONTACT DETAILS ========== */
.contact-details ul,
.address ul {
  list-style: none;
  padding-left: 0;
}
.contact-details li {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.contact-details img {
  width: 22px;
  height: 22px;
  margin-right: 8px;
}
.address {
  font-weight: 600;
  margin-bottom: 12px;
}
.map-snippet {
  margin-top: 12px;
  font-style: italic;
  color: #253342aa;
  font-size: 0.98rem;
}

/* ========== BUTTONS AND INLINE CTA ========== */
.cta {
  margin-top: 28px;
}

/* ========== RESPONSIVE DESIGN (MOBILE FIRST) ========== */
@media (max-width: 990px) {
  .container {
    max-width: 94vw;
    gap: 0;
  }
  header .container {
    gap: 18px;
    padding: 16px 15px;
  }
  .feature-grid > div, .project-grid > div, .tools-list > div, .value-grid > div {
    flex: 1 1 210px;
    min-width: 180px;
  }
  .footer-logo {
    flex: 0 0 48px;
  }
  footer .container {
    gap: 20px;
    padding: 28px 9px;
  }
}
@media (max-width: 768px) {
  header .container {
    gap: 8px;
    flex-direction: row;
    padding: 11px 10px;
  }
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .feature-grid, .project-grid, .tools-list, .value-grid, .community-quotes, .faq-items, .card-container, .content-grid {
    flex-direction: column;
    gap: 16px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    min-height: 0;
    gap: 8px;
  }
  .section {
    padding: 26px 7px;
    margin-bottom: 32px;
  }
  .footer-logo {
    flex: 0 0 36px;
  }
  footer .container {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
    padding: 18px 6px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
}
@media (max-width: 520px) {
  h1 {
    font-size: 1.55rem;
  }
  h2 {
    font-size: 1.24rem;
  }
  h3 {
    font-size: 1.08rem;
  }
  .feature-grid > div, .project-grid > div, .tools-list > div, .value-grid > div,
  .faq-items > div, .card {
    padding: 15px 8px;
  }
  .cookie-modal-content {
    max-width: 99vw;
    padding: 16px 6px 16px 6px;
  }
  .cookie-banner {
    padding: 14px 4px 16px 4px;
    font-size: 0.96rem;
  }
}

/* ========== MICRO-INTERACTIONS & TRANSITIONS ========== */
.card, .feature-grid > div, .project-grid > div, .tools-list > div, .value-grid > div, .testimonial-card, .faq-items > div, .cta-primary, .cta-secondary, .cookie-accept, .cookie-reject, .cookie-settings {
  transition: box-shadow 0.16s, background 0.15s, color 0.15s, transform 0.12s;
}
.feature-grid > div:active, .project-grid > div:active {
  transform: scale(0.985);
}
.cookie-banner,
.cookie-modal,
.mobile-menu {
  will-change: transform, opacity;
}

/* ========== Z-INDEX MANAGEMENT ========== */
header {
  z-index: 11;
}
.mobile-menu {
  z-index: 99;
}
.mobile-menu-toggle {
  z-index: 50;
}
.cookie-banner {
  z-index: 1001;
}
.cookie-modal {
  z-index: 1111;
}

/* ========== ACCESSIBILITY ========== */
a:focus, button:focus, .cta-primary:focus, .cta-secondary:focus, .cookie-accept:focus, .cookie-reject:focus, .cookie-settings:focus {
  outline: 2px solid #F4B942;
  outline-offset: 2px;
}

/* ========== MISC ========== */
::selection {
  background: #F4B94244;
}

/* Hide scrollbar for mobile slide menu overlay */
.mobile-menu {
  overflow-y: auto;
}

/**************************************
   SCANDINAVIAN CLEAN - ADDITIONAL
***************************************/
body, .card, .testimonial-card, .feature-grid > div, .project-grid > div, .tools-list > div, .value-grid > div, .faq-items > div, .cookie-modal-content {
  /* Simulate natural materials with soft shadow and white surfaces */
  background-clip: padding-box;
}
hr {
  border: none;
  border-top: 1px solid #e4e4e1;
  margin: 18px 0;
}
/* Card spacing enforcement */
.card, .feature-grid > div, .project-grid > div, .tools-list > div, .value-grid > div, .faq-items > div {
  margin-bottom: 20px;
}

/* Spacing utilities, if needed */
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 32px; }
.mb-4 { margin-bottom: 48px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 32px; }
.mt-4 { margin-top: 48px; }


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