/* CSS RESET & BASE STYLES */
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: #fff;
  color: #2C3E2F;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #2C3E2F;
  text-decoration: none;
  transition: color 0.2s;
}
ul, ol {
  padding-left: 1.5em;
}
strong { font-weight: 700; }

/* TYPOGRAPHY SCALE & HEADINGS */
h1, .h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  margin-bottom: 16px;
  font-weight: 700;
  letter-spacing: 0;
  color: #2C3E2F;
}
h2, .h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  margin-bottom: 14px;
  font-weight: 600;
  color: #2C3E2F;
}
h3, .h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  margin-bottom: 10px;
  font-weight: 500;
  color: #2C3E2F;
}
h4, .h4 {
  font-size: 1.125rem;
  margin-bottom: 8px;
  color: #2C3E2F;
}
.subheadline {
  font-size: 1.125rem;
  color: #626B6F;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  margin-bottom: 24px;
}
p, li {
  font-size: 1rem;
  color: #2C3E2F;
  line-height: 1.7;
  margin-bottom: 10px;
}
.text-section {
  margin-bottom: 24px;
}

/* CONTAINER AND GENERAL LAYOUT */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

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

/* FLEXBOX LAYOUTS */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-top: 12px;
}
.feature-grid > div {
  flex: 1 1 240px;
  min-width: 220px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 14px rgba(44,62,47,0.07);
  padding: 30px 20px 24px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  transition: box-shadow 0.22s, transform 0.2s;
}
.feature-grid > div:hover {
  box-shadow: 0 8px 28px rgba(44,62,47,0.13);
  transform: translateY(-4px);
}
.feature-grid img {
  width: 44px;
  height: 44px;
  margin-bottom: 12px;
  filter: saturate(0.7);
}

.feature-list {
  list-style: none;
  margin-bottom: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.feature-list li {
  flex: 1 1 260px;
  min-width: 220px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(44,62,47,0.06);
  padding: 18px 16px;
  margin-bottom: 20px;
  font-size: 1rem;
}
.feature-list img {
  width: 36px;
  height: 36px;
}

.feature-descriptions {
  margin-top: 18px;
  color: #494B44;
}

.service-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.service-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(44,62,47,0.07);
  padding: 18px 20px;
  font-size: 1rem;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  gap: 15px;
}
.service-list li span {
  color: #D56331;
  font-weight: 700;
  margin-left: 20px;
  white-space: nowrap;
}
.service-list > div {
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 2px 10px rgba(44,62,47,0.08);
  padding: 26px 22px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* CARDS & TESTIMONIALS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 0 0 20px 0;
}
.card {
  margin-bottom: 20px;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 2px 14px rgba(44,62,47,0.08);
  position: relative;
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: box-shadow 0.23s, transform 0.18s;
}
.card:hover {
  box-shadow: 0 8px 24px rgba(44,62,47,0.13), 0 2px 14px rgba(44,62,47,0.07);
  transform: translateY(-4px) scale(1.015);
}

.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 14px rgba(44,62,47,0.07);
  margin-bottom: 20px;
  font-size: 1.07rem;
  color: #222;
  line-height: 1.7;
}
.testimonial-card p {
  flex: 2 1 auto;
  margin: 0;
  font-style: italic;
  color: #34423a;
}
.testimonial-card span {
  flex: 1 0 auto;
  font-size: 0.98rem;
  color: #2C3E2F;
  font-weight: 600;
  margin-left: 8px;
}

/* BUTTONS – CTA and Secondary */
.cta-btn, .cta-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #2C3E2F;
  color: #fff;
  border: none;
  border-radius: 24px;
  padding: 14px 32px;
  font-size: 1.14rem;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(44,62,47,0.11);
  cursor: pointer;
  transition: background 0.16s, box-shadow 0.19s, transform 0.18s, color 0.15s;
}
.cta-btn:hover, .cta-btn:focus {
  background: #D56331;
  color: #fff;
  box-shadow: 0 4px 16px rgba(44,62,47,0.14);
  transform: translateY(-2px) scale(1.03);
  outline: none;
}
.cta-btn-secondary {
  background: #fff;
  color: #D56331;
  border: 2px solid #D56331;
  padding: 14px 30px;
  box-shadow: 0 2px 12px rgba(213,99,49,0.06);
}
.cta-btn-secondary:hover, .cta-btn-secondary:focus {
  background: #D56331;
  color: #fff;
  border-color: #D56331;
}

/* NAVIGATION AND HEADER */
header {
  background: #fff;
  border-bottom: 1px solid #ececec;
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 200;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 20px 18px 20px;
  max-width: 1160px;
}
header img {
  height: 48px;
  width: auto;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
.main-nav a {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #2C3E2F;
  font-weight: 500;
  border-radius: 16px;
  padding: 8px 14px;
  transition: background 0.16s, color 0.18s;
}
.main-nav a.active, .main-nav a:focus, .main-nav a:hover {
  background: #F7F0DA;
  color: #D56331;
}

/* MOBILE MENU BUTTON */
.mobile-menu-toggle {
  display: none;
  background: #fff;
  border: 1.5px solid #2C3E2F;
  border-radius: 8px;
  font-size: 1.65rem;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  color: #2C3E2F;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
  z-index: 400;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #F7F0DA;
  border-color: #D56331;
  outline: none;
}

/* MOBILE MENU OVERLAY */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(38,42,36,0.92);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(.55,.09,.53,.99);
  z-index: 9999;
  visibility: hidden;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0%);
  visibility: visible;
  opacity: 1;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  margin: 24px 24px 0 0;
  cursor: pointer;
  padding: 8px 14px;
  border-radius: 8px;
  transition: background 0.16s;
  align-self: flex-end;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: rgba(213,99,49,0.25);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 18px;
  margin: 32px 36px 0 0;
}
.mobile-nav a {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1.35rem;
  color: #fff;
  padding: 11px 0px 11px 16px;
  border-radius: 7px;
  width: 200px;
  text-align: right;
  transition: background 0.15s, color 0.16s;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  background: #D56331;
  color: #fff;
}

/* MAIN + PAGES */
main {
  width: 100%;
  min-height: 60vh;
  padding-top: 30px;
  padding-bottom: 52px;
}
.category-filter {
  margin-top: 20px;
  color: #4E594B;
  font-size: 1rem;
  background: #FAF7F1;
  border-radius: 10px;
  padding: 12px 17px;
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.text-image-section img {
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(44,62,47,0.08);
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

/* FOOTER STYLES */
footer {
  background: #F7F0DA;
  padding: 40px 0 18px 0;
  border-top: 1px solid #ececec;
  font-size: 0.97rem;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-bottom: 8px;
}
.footer-nav a {
  color: #2C3E2F;
  font-weight: 500;
  opacity: 0.92;
  font-size: 1rem;
  transition: color 0.17s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #D56331;
  opacity: 1;
}
.footer-contact span {
  color: #626B6F;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #2C3E2F;
  margin-top: 10px;
}
.footer-brand img {
  width: 34px;
  height: 34px;
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #fff;
  color: #222;
  box-shadow: 0 -1px 18px rgba(44,62,47,0.09);
  z-index: 99999;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  padding: 18px 20px;
  font-size: 1rem;
  transition: transform 0.33s cubic-bezier(.22,.67,.48,1.01), opacity 0.2s;
  opacity: 1;
  transform: translateY(0%);
  border-top: 1px solid #ececec;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
}
.cookie-banner .cookie-text {
  max-width: 550px;
  flex: 1 1 auto;
  color: #222;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.cookie-btn {
  padding: 8px 22px;
  border-radius: 19px;
  border: none;
  font-size: 1rem;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.14s, color 0.14s, box-shadow 0.15s;
}
.cookie-btn.accept {
  background: #2C3E2F;
  color: #fff;
  border: none;
  margin-right: 2px;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #D56331;
  color: #fff;
}
.cookie-btn.reject {
  background: #fff;
  color: #D56331;
  border: 2px solid #D56331;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #D56331;
  color: #fff;
}
.cookie-btn.settings {
  background: #F7F0DA;
  color: #2C3E2F;
  border: 1.5px solid #B7B1A4;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #e3dec5;
}

/* Cookie Preferences Modal */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  z-index: 100000;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(44,62,47,0.33);
  justify-content: center;
  align-items: flex-end;
  min-height: 100vh;
}
.cookie-modal-overlay.open {
  display: flex;
  animation: fadeIn 0.35s;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 28px 28px 0 0;
  box-shadow: 0 -4px 32px rgba(44,62,47,0.18);
  padding: 32px 24px 22px 24px;
  width: 100%;
  max-width: 420px;
  margin-bottom: 0;
  animation: modalRiseUp 0.41s cubic-bezier(.32,.7,.59,1.0);
}
@keyframes modalRiseUp {
  from { transform: translateY(65%); opacity: 0.2; }
  to { transform: translateY(0%); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.3rem;
  margin-bottom: 16px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 23px;
}
.cookie-cat {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 9px 0;
}
.cookie-cat label {
  font-size: 1rem;
  color: #2C3E2F;
  font-weight: 500;
}
.cookie-toggle {
  width: 42px;
  height: 22px;
  background: #e5e5e5;
  border-radius: 11px;
  position: relative;
  cursor: pointer;
  overflow: hidden;
  transition: background 0.16s;
}
.cookie-toggle[aria-checked='true'] {
  background: #2C3E2F;
}
.cookie-toggle .dot {
  position: absolute;
  width: 18px;
  height: 18px;
  left: 2px;
  top: 2px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 4px rgba(44,62,47,0.09);
  transition: left 0.19s;
}
.cookie-toggle[aria-checked='true'] .dot {
  left: 22px;
}
/* Cookie Modal Buttons */
.cookie-modal-actions {
  display: flex;
  gap: 15px;
  justify-content: flex-end;
}
.cookie-modal-close {
  background: none;
  border: none;
  font-size: 1.25rem;
  color: #2C3E2F;
  padding: 6px 10px;
  border-radius: 5px;
  align-self: flex-end;
  margin-bottom: 6px;
  cursor: pointer;
  transition: background 0.17s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #F7F0DA;
}

/* RESPONSIVE DESIGN & FLEX LAYOUTS */
@media (max-width: 1020px) {
  .container {
    max-width: 98vw;
    padding: 0 14px;
  }
  main {
    padding-left: 0;
    padding-right: 0;
  }
}
@media (max-width: 900px) {
  .feature-grid > div, .card-container > .card, .feature-list li {
    min-width: 200px;
    padding: 22px 14px;
  }
  .content-wrapper {
    max-width: 98vw;
  }
}
@media (max-width: 768px) {
  main {
    padding-top: 18px;
    padding-bottom: 36px;
  }
  .content-wrapper {
    gap: 18px;
  }
  .section {
    margin-bottom: 36px;
    padding: 22px 6px;
  }
  .feature-grid, .card-container, .content-grid, .feature-list {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .card, .feature-list li, .feature-grid > div {
    min-width: 0;
    width: 100%;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
    padding: 15px 10px;
  }
  .footer-nav {
    gap: 14px;
    font-size: 0.97rem;
    flex-wrap: wrap;
    justify-content: flex-start;
  }
  .footer-brand {
    flex-direction: row;
    gap: 8px;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .main-nav {
    display: none;
  }
}
@media (max-width: 540px) {
  .cookie-banner .cookie-actions {
    flex-direction: column;
    gap: 10px;
    align-items: stretch;
  }
}
@media (max-width: 420px) {
  .cookie-modal {
    padding: 20px 5px 15px 5px;
    border-radius: 21px 21px 0 0;
  }
}

/* Util Classes */
.hide {
  display: none !important;
}
[tabindex], button, a, .cookie-toggle {
  outline: none;
}
::-webkit-input-placeholder { color: #999; opacity: 1; }
::-moz-placeholder { color: #999; opacity: 1; }
:-ms-input-placeholder { color: #999; opacity: 1; }
::placeholder { color: #999; opacity: 1; }

/* Minimalist, Generous Spacing */
section + section {
  margin-top: 18px;
}

/* VISUAL HIERARCHY */
.section h2 {
  margin-top: 0;
  margin-bottom: 18px;
}
.section h1 {
  margin-top: 0;
  margin-bottom: 12px;
}

/* CUSTOM SCROLLBARS (for modal) */
body, .cookie-modal {
  scrollbar-width: thin;
  scrollbar-color: #bebebe #F7F0DA;
}
body::-webkit-scrollbar {
  width: 8px;
  background: #F7F0DA;
}
body::-webkit-scrollbar-thumb {
  background: #bebebe;
  border-radius: 12px;
}

/* FOCUS VISIBLE FOR ACCESSIBILITY */
a:focus-visible, button:focus-visible, .cookie-btn:focus-visible, .mobile-menu-close:focus-visible {
  outline: 2.5px solid #D56331;
  outline-offset: 2.5px;
  background: #e3dec5;
}

/* CATEGORY/PAGE RESPONSIVE TEXT */
@media (max-width: 520px) {
  h1 { font-size: 1.45rem; }
  h2 { font-size: 1.20rem; }
  h3 { font-size: 1.08rem; }
  .cta-btn, .cta-btn-secondary { font-size: 1rem; padding: 11px 22px; }
}
