/* RESET & BASE STYLES (INCL. NORMALIZE) */
html {
  font-size: 16px;
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  background: #F8F5EC;
  color: #274426;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}
a {
  color: #BF7C38;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #A55B15;
}
ul, ol {
  list-style: none;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5 {
  font-family: 'Lora', Georgia, serif;
  color: #274426;
  margin-bottom: 16px;
  font-weight: 700;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.1;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  line-height: 1.15;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}
.subtitle {
  font-size: 1.13rem;
  color: #A55B15;
  margin-bottom: 20px;
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 600;
}
p {
  margin-bottom: 16px;
}
strong {
  font-weight: bold;
}

/* LAYOUT CONTAINERS */
.container {
  display: flex;
  flex-direction: column;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 6px 32px rgba(191,124,56,0.07);
}

/* FLEXBOX GRIDS & CARD CONTAINERS */
.features-grid,
.card-container,
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-bottom: 10px;
}
.features-grid {
  gap: 30px;
}
.card-container {
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  padding: 28px 22px;
  border-radius: 18px;
  box-shadow: 0 3px 18px rgba(191,124,56,0.11);
  transition: transform 0.15s, box-shadow 0.15s;
}
.card:hover, .card:focus-within {
  transform: scale(1.025);
  box-shadow: 0 4px 32px rgba(191,124,56,0.16);
}
.content-grid {
  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: stretch;
  }
}

.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #FFEFD9;
  border-radius: 18px;
  margin-bottom: 20px;
  box-shadow: 0 3px 12px rgba(39,68,38,0.08);
  color: #274426;
  font-family: 'Lora', Georgia, serif;
  font-size: 1.08rem;
  position: relative;
}
.testimonial-meta {
  font-family: 'Open Sans', Arial, sans-serif;
  color: #A55B15;
  font-size: 1rem;
  margin-left: 5px;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #F8F5EC;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(39,68,38,0.04);
  padding: 20px 18px 18px 18px;
  min-width: 200px;
  flex: 1 1 230px;
  transition: box-shadow 0.17s, background 0.17s;
}
.feature-item img {
  width: 36px;
  height: 36px;
  vertical-align: middle;
}
.feature-item:hover, .feature-item:focus-within {
  background: #F4D0AD;
  box-shadow: 0 4px 20px rgba(191,124,56,0.17);
}

@media (max-width: 900px) {
  .features-grid, .card-container, .content-grid {
    gap: 16px;
  }
  .feature-item {
    min-width: 150px;
  }
}
@media (max-width: 500px) {
  .features-grid, .card-container, .content-grid {
    gap: 10px;
  }
  .feature-item {
    padding: 14px 10px;
  }
}

/* BUTTONS */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 700;
  border: none;
  border-radius: 999px;
  padding: 12px 32px;
  font-size: 1.08rem;
  letter-spacing: 0.015em;
  background: #BF7C38;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(39,68,38,0.10);
  transition: background 0.16s, box-shadow 0.16s, transform 0.18s;
  text-align: center;
  margin: 8px 0;
}
.button.primary {
  background: #274426;
  color: #fff;
}
.button.accent {
  background: #BF7C38;
  color: #fff;
}
.button:hover, .button:focus {
  background: #A55B15;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 20px rgba(191,124,56,0.15);
  outline: none;
}
.button:active {
  background: #925512;
}

/* ===== HEADER & NAVIGATION ===== */
header {
  background: #fff;
  box-shadow: 0 5px 28px rgba(39,68,38,0.06);
  padding: 0;
  margin-bottom: 12px;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 16px;
}
header img {
  height: 46px;
}
nav {
  display: flex;
  gap: 22px;
  align-items: center;
}
header nav a {
  padding: 8px 16px;
  border-radius: 999px;
  background: none;
  font-weight: 600;
  color: #274426;
  font-family: 'Open Sans', Arial, sans-serif;
  transition: background 0.17s, color 0.17s;
  font-size: 1rem;
}
header nav a:hover, header nav a:focus {
  background: #F4D0AD;
  color: #BF7C38;
}
@media (max-width: 900px) {
  header .container {
    gap: 10px;
    flex-wrap: wrap;
  }
  nav {
    gap: 12px;
  }
}
@media (max-width: 768px) {
  header nav {
    display: none;
  }
  header .button.primary {
    display: none;
  }
}

/* MOBILE BURGER MENU */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 18px;
  right: 18px;
  background: #274426;
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 2.1rem;
  width: 48px;
  height: 48px;
  z-index: 120;
  box-shadow: 0 2px 10px rgba(39,68,38,0.21);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: background 0.14s, box-shadow 0.14s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #BF7C38;
  color: #fff;
}
@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: flex;
  }
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(248,245,236,0.98);
  z-index: 150;
  box-shadow: 0 8px 32px rgba(191,124,56,0.17);
  transform: translateX(-100vw);
  opacity: 0;
  transition: transform 0.34s cubic-bezier(.59,.01,.53,.99), opacity 0.28s;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  margin-top: 20px;
  margin-left: 24px;
  font-size: 2.3rem;
  color: #274426;
  background: transparent;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.16s, color 0.12s;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #A55B15;
  background: #F4D0AD;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 48px;
  margin-left: 32px;
}
.mobile-nav a {
  color: #274426;
  font-weight: 600;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1.35rem;
  background: none;
  border-radius: 8px;
  padding: 10px 8px;
  transition: background 0.16s, color 0.16s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F4D0AD;
  color: #BF7C38;
}
@media (min-width: 769px) {
  .mobile-menu {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* MAIN & SECTIONS */
main {
  flex: 1 1 auto;
  width: 100%;
  margin-bottom: 60px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
section {
  width: 100%;
  margin-bottom: 60px;
  padding: 40px 0;
}
section .container {
  width: 100%;
}

@media (max-width: 768px) {
  .section {
    padding: 26px 4px;
    margin-bottom: 36px;
  }
  section {
    padding: 19px 0;
    margin-bottom: 32px;
  }
  main {
    gap: 16px;
  }
}

/* CARD & LISTS */
ul.category-list li, ul.filter-list li, ul.contact-info li {
  margin-bottom: 14px;
  padding-left: 6px;
  color: #274426;
  font-size: 1.09rem;
}
ul.category-list li strong, ul.filter-list li strong {
  color: #BF7C38;
  font-family: 'Lora', Georgia, serif;
}
ul.contact-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 1.08rem;
}
ul.contact-info img {
  margin-right: 8px;
  vertical-align: middle;
  width: 22px;
  height: 22px;
}
.info-box {
  padding: 16px 18px;
  background: #FFEFD9;
  border-radius: 14px;
  font-size: 1.04rem;
  color: #274426;
  margin-top: 12px;
}

/* FOOTER */
footer {
  background: #fff;
  border-top: 1px solid #F4D0AD;
  padding: 36px 0 22px 0;
}
footer .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
footer .footer-links {
  display: flex;
  flex-direction: row;
  gap: 24px;
  flex-wrap: wrap;
}
footer .footer-links a {
  color: #A55B15;
  background: none;
  border-radius: 6px;
  padding: 5px 12px;
  font-weight: 500;
  font-size: 1rem;
  transition: background 0.13s, color 0.13s;
}
footer .footer-links a:hover, footer .footer-links a:focus {
  background: #F4D0AD;
  color: #274426;
}
footer .brand-info {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  font-size: 0.98rem;
  color: #6C5F51;
  font-family: 'Open Sans', Arial, sans-serif;
  text-align: right;
}
footer .brand-info img {
  height: 34px;
  margin-bottom: 3px;
  border-radius: 8px;
}
@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
  footer .brand-info {
    align-items: flex-start;
    text-align: left;
  }
}

/* RESPONSIVE FLUIDITY */
@media (max-width: 600px) {
  h1 {
    font-size: 1.75rem;
  }
  h2 {
    font-size: 1.25rem;
  }
  .feature-item {
    font-size: 0.97rem;
  }
  .button {
    padding: 10px 16px;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 10px;
    font-size: 1rem;
  }
}

/* MICRO-INTERACTIONS & ANIMATIONS */
.card, .feature-item {
  transition: box-shadow 0.14s, transform 0.14s, background 0.13s;
}
.card:active, .feature-item:active {
  transform: scale(0.985);
}

/* COOKIE BANNER / CONSENT */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  background: #274426;
  color: #fff;
  font-size: 1rem;
  z-index: 2200;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 22px 18px;
  box-shadow: 0 -5px 32px rgba(191,124,56,0.20);
  transition: transform 0.28s;
}
.cookie-banner.hide {
  transform: translateY(120%);
  pointer-events: none;
  opacity: 0;
}
.cookie-banner .cookie-banner-text {
  flex: 1 1 350px;
  color: #fff;
  font-family: 'Open Sans', Arial, sans-serif;
}
.cookie-banner .button, .cookie-banner button {
  min-width: 110px;
  margin-left: 12px;
  border-radius: 999px;
}
.cookie-banner .button.accept {
  background: #BF7C38;
  color: #fff;
}
.cookie-banner .button.reject {
  background: #fff;
  color: #274426;
  border: 1.5px solid #A55B15;
}
.cookie-banner .button.settings {
  background: #A55B15;
  color: #fff;
}
.cookie-banner .button.accept:hover, .cookie-banner .button.accept:focus {
  background: #A55B15;
}
.cookie-banner .button.reject:hover, .cookie-banner .button.reject:focus {
  background: #F4D0AD;
  color: #A55B15;
}
.cookie-banner .button.settings:hover, .cookie-banner .button.settings:focus {
  background: #274426;
  color: #fff;
}
@media (max-width: 680px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 16px 10px;
  }
  .cookie-banner .cookie-banner-text {
    margin-bottom: 8px;
  }
}

/* COOKIE PREFERENCES MODAL */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  z-index: 2300;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(39,68,38,0.42);
  align-items: center;
  justify-content: center;
  transition: opacity 0.22s;
}
.cookie-modal-overlay.open {
  display: flex;
}
.cookie-modal {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 14px 44px rgba(191,124,56,0.21);
  padding: 32px 28px;
  max-width: 440px;
  width: 94vw;
  color: #274426;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  animation: modal-pop 0.24s cubic-bezier(.86,.01,.68,.98);
}
@keyframes modal-pop {
  0% { transform: scale(0.86) translateY(90px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal-title {
  font-family: 'Lora', serif;
  font-size: 1.48rem;
  margin-bottom: 2px;
  color: #A55B15;
}
.cookie-modal-section {
  margin-bottom: 10px;
}
.cookie-cookie-type-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cookie-modal .cookie-option {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1.04rem;
}
.cookie-modal .switch {
  position: relative;
  display: inline-block;
  width: 38px;
  height: 22px;
}
.cookie-modal .switch input { opacity: 0; width: 0; height: 0; }
.cookie-modal .slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #F4D0AD;
  border-radius: 16px;
  transition: background 0.2s;
}
.cookie-modal .switch input:checked + .slider {
  background-color: #A55B15;
}
.cookie-modal .slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 4px;
  bottom: 3px;
  background-color: #fff;
  border-radius: 50%;
  transition: transform 0.2s;
}
.cookie-modal .switch input:checked + .slider:before {
  transform: translateX(14px);
}
.cookie-modal .cookie-option.essential .slider {
  background-color: #C2B68B !important;
}
.cookie-modal .cookie-option.essential label {
  font-weight: bold;
}
.cookie-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 1.7rem;
  background: transparent;
  border: none;
  color: #274426;
  border-radius: 50%;
  padding: 6px;
  cursor: pointer;
  transition: background 0.14s, color 0.17s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #F4D0AD;
  color: #BF7C38;
}
.cookie-modal .button-row {
  display: flex;
  flex-direction: row;
  gap: 14px;
  margin-top: 18px;
}
.cookie-modal .button.save {
  background: #274426;
  color: #fff;
  border: none;
}
.cookie-modal .button.save:hover, .cookie-modal .button.save:focus {
  background: #BF7C38;
}
.cookie-modal .button.cancel {
  background: #fff;
  color: #A55B15;
  border: 1.4px solid #A55B15;
}
.cookie-modal .button.cancel:hover, .cookie-modal .button.cancel:focus {
  background: #F4D0AD;
}
@media (max-width: 500px) {
  .cookie-modal {
    padding: 16px 9px;
    font-size: 0.96rem;
    max-width: 98vw;
  }
  .cookie-modal-close {
    top: 6px;
    right: 6px;
  }
  .cookie-banner {
    font-size: 0.97rem;
  }
}

/* UTILITIES & ACCESSIBILITY */
.sr-only {
  border: 0 !important;
  clip: rect(1px, 1px, 1px, 1px); /* IE6, IE7 */
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  white-space: nowrap;
}

/* Z-INDEX ORGANIZATION */
header { z-index: 30; position: relative; }
.mobile-menu { z-index: 150; }
.cookie-banner, .cookie-modal-overlay { z-index: 2200 !important; }
footer { z-index: 10; position: relative; }

/* END OF CSS */
