/* RESET & BASE STYLES */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  background: #F6F5F2;
  color: #225E53;
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 4px;
}
a {
  color: #225E53;
  text-decoration: none;
  transition: color 0.18s cubic-bezier(0.4,0,0.2,1);
}
a:hover, a:focus {
  color: #E3793B;
  outline: none;
}
ul, ol {
  list-style: none;
  margin: 0;
  padding: 0;
}
button {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  background: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #225E53;
  letter-spacing: -0.015em;
  margin-bottom: 12px;
  font-weight: 700;
  text-transform: none;
}
h1 {
  font-size: 2.4rem;
  margin-bottom: 20px;
  line-height: 1.12;
}
h2 {
  font-size: 1.8rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.18rem;
  margin-bottom: 8px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
strong {
  color: #225E53;
}

/* STRUCTURED LAYOUT & CONTAINERS */
.container {
  max-width: 1170px;
  width: 100%;
  margin: 0 auto;
  padding: 0 18px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 16px rgba(34,94,83,0.07);
}
@media (max-width: 768px) {
  .section {
    margin-bottom: 40px;
    padding: 24px 8px;
    border-radius: 10px;
  }
  .container {
    padding: 0 4vw;
  }
  .content-wrapper {
    gap: 20px;
  }
}

/* GEOMETRIC, STRUCTURED DESIGN: Headings, cards, blocks, shadows */
.hero {
  background: linear-gradient(120deg, #F2E9DC 80%, #E3793B 100%);
  border-bottom: 4px solid #225E53;
  margin-bottom: 0;
  padding: 0;
}
.hero .container {
  padding-top: 44px;
  padding-bottom: 44px;
  display: flex;
  flex-direction: column;
}
.hero h1 {
  font-size: 2.46rem;
  color: #225E53;
  letter-spacing: -0.025em;
}
.hero h2 {
  font-size: 1.35rem;
  font-weight: 500;
  color: #225E53dd;
  letter-spacing: 0.01em;
}
@media (max-width: 768px) {
  .hero .container { padding-top: 28px; padding-bottom: 28px; }
  .hero h1 { font-size: 1.75rem; }
  .hero h2 { font-size: 1.04rem; }
}

/* PRIMARY BUTTONS */
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #225E53;
  color: #fff;
  border-radius: 8px 20px 8px 20px;
  padding: 0.8em 2.1em;
  font-weight: 700;
  font-size: 1.13em;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  box-shadow: 0 2px 8px rgba(34,94,83,0.13);
  margin-top: 14px;
  transition: background 0.16s, color 0.16s, box-shadow 0.22s cubic-bezier(.26,.23,.13,1.15);
  border: 2.5px solid #E3793B;
  outline: none;
  z-index: 1;
}
.cta-btn:hover, .cta-btn:focus {
  background: #E3793B;
  color: #fff;
  border-color: #225E53;
  box-shadow: 0 8px 36px -10px #225E5380;
}

/* HEADER & NAVIGATION */
header {
  width: 100%;
  background: #fff;
  border-bottom: 2.5px solid #F2E9DC;
  box-shadow: 0 2px 12px rgba(34,94,83,0.05);
  position: sticky;
  top: 0;
  z-index: 21;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}
.logo-link img {
  height: 46px;
  width: auto;
  margin-right: 16px;
}
.main-nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1.01em;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #225E53;
  padding: 8px 10px 6px 10px;
  border-radius: 6px;
  transition: background 0.15s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #F2E9DC;
  color: #E3793B;
}

/* Hide mobile menu elements on desktop */
.mobile-menu-toggle {
  display: none;
}
.mobile-menu {
  display: none;
}

@media (max-width: 1024px) {
  .main-nav {
    gap: 18px;
  }
}
@media (max-width: 900px) {
  header .container { height: 64px; }
  .logo-link img { height: 36px; }
}
@media (max-width: 768px) {
  header .container {
    flex-direction: row;
    height: 54px;
    padding: 0 5vw;
  }
  .main-nav,
  .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #225E53;
    color: #FFF;
    font-size: 2rem;
    line-height: 1;
    border-radius: 8px;
    width: 48px;
    height: 48px;
    margin-left: 10px;
    z-index: 31;
    border: 2px solid #E3793B;
    box-shadow: 0 2px 8px -4px #225E5366;
    transition: background .22s, color .17s;
  }
  .mobile-menu-toggle:active, .mobile-menu-toggle:focus {
    background: #E3793B;
    color: #fff;
    outline: none;
  }
  .mobile-menu {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100%;
    background: #fff;
    z-index: 555;
    transform: translateX(-101vw);
    transition: transform 0.35s cubic-bezier(.82,0,.13,1.13);
    box-shadow: 8px 0 48px -16px #225E5340;
    padding-top: 12px;
  }
  .mobile-menu.open {
    transform: translateX(0);
  }
  .mobile-menu-close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    background: #225E53;
    color: #fff;
    font-size: 2rem;
    line-height: 1;
    border-radius: 12px;
    border: 2px solid #E3793B;
    z-index: 99;
    transition: background 0.18s;
  }
  .mobile-menu-close:hover, .mobile-menu-close:focus {
    background: #E3793B;
    color: #fff;
    outline: none;
  }
  .mobile-nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    margin-top: 78px;
    padding: 0 28px;
  }
  .mobile-nav a {
    width: 100%;
    padding: 1.1em 0.5em;
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    font-size: 1.07em;
    color: #225E53;
    font-weight: 600;
    text-transform: uppercase;
    border-bottom: 1px solid #F2E9DC;
    transition: background 0.1s, color 0.16s;
    border-radius: 10px;
    margin-bottom: 6px;
  }
  .mobile-nav a:hover, .mobile-nav a:focus {
    background: #F2E9DC;
    color: #E3793B;
  }
}

/**** FLEXBOX LAYOUT CLASSES ****/
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  box-shadow: 0 2px 18px rgba(34,94,83,0.08);
  border-radius: 18px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 22px;
  transition: box-shadow 0.18s cubic-bezier(.22,.2,.13,1.11);
}
.card:hover, .card:focus-within {
  box-shadow: 0 6px 36px -6px #E3793B55;
  z-index: 1;
}
.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;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 24px;
  background: #F2E9DC;
  color: #225E53;
  border-radius: 16px;
  box-shadow: 0 2px 14px rgba(34,94,83,0.07);
  margin-bottom: 20px;
  border-left: 7px solid #225E53;
  min-width: 220px;
  max-width: 650px;
  transition: box-shadow 0.22s cubic-bezier(.3,.09,.13,1.17);
}
.testimonial-card:hover {
  box-shadow: 0 6px 24px -8px #E3793B70;
  border-left-color: #E3793B;
}
.testimonial-card p {
  color: #225E53;
  font-size: 1.11em;
  font-style: italic;
  margin-bottom: 5px;
}
.testimonial-name {
  color: #225E53;
  font-size: 0.96em;
  font-weight: 600;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  letter-spacing: 0.01em;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 16px 38px 16px 38px;
  box-shadow: 0 1.5px 12px rgba(34,94,83,0.07);
  padding: 18px 22px;
  min-width: 188px;
  min-height: 170px;
  flex: 1 1 260px;
  transition: box-shadow 0.17s, transform 0.17s;
}
.feature-item:hover {
  box-shadow: 0 8px 26px -8px #225E5344;
  transform: translateY(-4px) scale(1.018) rotate(-1.3deg);
}
.feature-item > img {
  height: 40px;
  width: 40px;
  object-fit: contain;
  margin-bottom: 2px;
}
.feature-item h3 {
  color: #225E53;
  font-size: 1.13em;
  font-weight: 700;
  margin-bottom: 3px;
}
.feature-list li img {
  height: 22px;
  width: 22px;
  vertical-align: middle;
  margin-right: 7px;
}
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 12px;
  margin-bottom: 12px;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
@media (max-width: 900px) {
  .feature-grid {
    gap: 14px;
  }
}
@media (max-width: 700px) {
  .feature-grid {
    flex-direction: column;
    gap: 20px;
  }
  .feature-item {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }
}

/****** BLOG POST LIST ******/
.post-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 10px;
}
.post-item {
  background: #fff;
  border-radius: 14px 36px 14px 28px;
  box-shadow: 0 2px 14px rgba(34,94,83,0.07);
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 20px;
  flex: 1 1 290px;
  min-width: 220px;
  margin-bottom: 20px;
  transition: box-shadow 0.18s, border 0.14s;
  border-left: 5px solid #E3793B;
}
.post-item:hover {
  box-shadow: 0 8px 30px -8px #225E5332;
  border-left-color: #225E53;
}
.post-item h3 {
  font-size: 1.09em;
  color: #225E53;
}
.post-item span {
  display: block;
  color: #E3793B;
  font-size: 0.98em;
  font-weight: 600;
  margin-top: 3px;
}

.category-list {
  margin-top: 8px;
  margin-bottom: 8px;
}
.category-list ul {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.category-list li {
  background: #F2E9DC;
  border-radius: 8px;
  color: #225E53;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  padding: 3px 13px;
  font-size: 0.98em;
  letter-spacing: 0.03em;
  font-weight: 500;
}

/********* GENERAL TEXT SECTIONS *********/
.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 1.06em;
  color: #225E53;
  line-height: 1.7;
}
.text-section h3 {
  margin-top: 10px;
}
.text-section ul {
  margin-left: 18px;
}
.text-section li {
  margin-bottom: 7px;
}

/******* FOOTER ********/
footer {
  background: #fff;
  border-top: 2.5px solid #F2E9DC;
  box-shadow: 0 -2px 12px rgba(34,94,83,0.06);
  padding-top: 32px;
  padding-bottom: 32px;
  margin-top: 60px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 22px;
  align-items: center;
}
.footer-logo img {
  height: 40px;
  width: auto;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 10px;
}
.footer-nav a {
  color: #E3793B;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1em;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 2px 8px;
  border-radius: 6px;
  transition: background 0.15s, color 0.16s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #E3793B;
  color: #fff;
}
.footer-contact {
  color: #225E53;
  font-size: 1em;
  margin-bottom: 10px;
}
.footer-contact a {
  color: #225E53;
  font-weight: 600;
  text-decoration: underline dotted #E3793B;
}
.footer-contact a:hover, .footer-contact a:focus {
  color: #E3793B;
  text-decoration: underline;
}
@media (max-width: 860px) {
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
}
@media (max-width: 580px) {
  footer {
    padding: 20px 0 14px 0;
    margin-top: 32px;
  }
}

/***** COOKIE BANNER ******/
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #fff;
  box-shadow: 0 -2px 32px -7px #225E5344;
  border-top: 4px solid #E3793B;
  z-index: 9999;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 18vw 14px 18vw;
  animation: fadein .5s;
}
@media (max-width: 1024px) {
  .cookie-banner {
    padding-left: 8vw;
    padding-right: 8vw;
    gap: 13px;
    font-size: 1em;
  }
}
@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
    padding: 13px 2vw 12px 2vw;
    font-size: 0.96em;
  }
}
.cookie-banner__message {
  color: #225E53;
  margin-right: 10px;
  flex: 1 1 auto;
}
.cookie-banner__actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}
.cookie-btn {
  background: #225E53;
  color: #fff;
  border-radius: 7px 18px 7px 18px;
  padding: 7px 20px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  border: 2px solid #E3793B;
  font-size: 1em;
  box-shadow: 0 2px 8px rgba(34,94,83,0.07);
  transition: background .14s, color .14s, border .14s;
}
.cookie-btn--accept {
  background: #E3793B;
  color: #fff;
  border: 2px solid #225E53;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #F2E9DC;
  color: #E3793B;
  border-color: #E3793B;
  outline: none;
}
.cookie-btn--accept:hover, .cookie-btn--accept:focus {
  background: #225E53;
  color: #fff;
  border-color: #E3793B;
}
/* Cookie banner animation */
@keyframes fadein {
  from { opacity:0; transform: translateY(50px); }
  to { opacity:1; transform: translateY(0); }
}

/***** COOKIE MODAL ******/
.cookie-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(34,94,83,.38);
  z-index: 12000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadein .45s;
}
.cookie-modal__box {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 12px 54px -14px #225E5366;
  width: 95vw;
  max-width: 420px;
  padding: 34px 27px 27px 27px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  animation: fadein .4s;
}
.cookie-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.cookie-modal__title {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
}
.cookie-modal__close {
  background: #E3793B;
  color: #fff;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  font-size: 1.3em;
  border: 2px solid #225E53;
  text-align: center;
  transition: background .16s, color .16s;
}
.cookie-modal__close:hover, .cookie-modal__close:focus {
  background: #225E53;
  color: #fff;
}
.cookie-modal__body {
  color: #225E53;
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1em;
  padding: 10px 0;
  border-bottom: 1px solid #F2E9DC;
}
.cookie-category:last-child {
  border-bottom: none;
}
.cookie-category__toggle {
  width: 38px;
  height: 22px;
  border-radius: 20px;
  background: #E9EAE2;
  position: relative;
  border: none;
  outline: none;
  display: flex;
  align-items: center;
  transition: background .18s;
}
.cookie-category__toggle[aria-checked="true"] {
  background: #E3793B;
}
.cookie-category__toggle[aria-disabled="true"] {
  background: #225E53;
}
.cookie-category__knob {
  position: absolute;
  left: 3px;
  top: 2px;
  width: 18px;
  height: 18px;
  border-radius: 16px;
  background: #fff;
  transition: left .18s, background .18s;
}
.cookie-category__toggle[aria-checked="true"] .cookie-category__knob {
  left: 17px;
  background: #fff;
}
.cookie-category__toggle[aria-disabled="true"] .cookie-category__knob {
  background: #E3793B;
}
.cookie-category__label {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
}
.cookie-category__desc {
  font-size: .95em;
  color: #225E53bd;
}
.cookie-modal__footer {
  display: flex;
  flex-direction: row;
  gap: 14px;
  margin-top: 14px;
  justify-content: flex-end;
}

/***** RESPONSIVE / ADAPTIVE TYPOGRAPHY ******/
@media (max-width: 400px) {
  html { font-size: 14px; }
}

/***** UTILITIES & MICRO-INTERACTIONS (Transitions etc.) *****/
[tabindex]:focus, button:focus-visible, .cta-btn:focus-visible, .cookie-btn:focus-visible, .mobile-menu-toggle:focus-visible {
  outline: 2px solid #E3793B;
  outline-offset: 1.5px;
}
::-webkit-input-placeholder { color: #225E5370; }
::-moz-placeholder { color: #225E5370; }
:-ms-input-placeholder { color: #225E5370; }
::placeholder { color: #225E5370; }

/***** CUSTOM SCROLLBAR (GEOMETRIC ACCENT) ******/
::-webkit-scrollbar {
  width: 11px;
}
::-webkit-scrollbar-thumb {
  background: #E3793B55;
  border-radius: 15px;
}
::-webkit-scrollbar-track {
  background: #F2E9DC;
  border-radius: 15px;
}

/***** ACCESSIBILITY *****/
@media (max-width: 768px) {
  h1, h2 { font-size: 1.2rem; }
  h3 { font-size: 1rem; }
}

/****** SPACING BETWEEN SECTION CARDS, FLEXBOX RULES (MANDATORY) ******/
section {
  margin-bottom: 60px;
}
.card, .testimonial-card, .feature-item, .post-item {
  margin-bottom: 20px;
}
.feature-grid, .card-container, .post-list {
  gap: 24px;
}
.content-grid {
  gap: 20px;
  justify-content: space-between;
}
.text-image-section { gap: 30px; }
.testimonial-card { gap: 20px; padding: 20px; }
.feature-item { gap: 15px; }

/* Prevent overlap */
section, .container, .content-wrapper, .feature-grid, .card-container, .post-list, .card, .feature-item, .testimonial-card, .post-item {
  min-width: 0;
  box-sizing: border-box;
}

/******* END OF FILE ******/