/* RESET & BASE TYPOGRAPHY
   ============================ */
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: #F9F6F2;
  color: #375057;
  min-height: 100vh;
  line-height: 1.5;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #9D6A43;
  text-decoration: none;
  font-weight: 700;
  transition: color .2s;
}
a:hover, a:focus {
  color: #375057;
}
ul, ol {
  list-style: none;
  padding: 0;
}
button,
input,
select,
textarea {
  font-family: inherit;
  font-size: 1rem;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}

/* CONTAINER
   ========= */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding-left: 18px;
  padding-right: 18px;
}

/* TYPOGRAPHY
   ========== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Merriweather', Georgia, serif;
  color: #375057;
  font-weight: 900;
  line-height: 1.15;
  text-wrap: balance;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 16px;
  letter-spacing: -1px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.375rem;
  margin-bottom: 12px;
}
h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}
p, li, article {
  font-size: 1.1rem;
  margin-bottom: 12px;
  font-weight: 600;
}
strong {
  font-weight: 800;
}

/*-- Main NAVIGATION
   ===================*/
header {
  background: #fff;
  border-bottom: 3px solid #9D6A43;
  box-shadow: 0 4px 18px -8px #37505722;
  position: relative;
  z-index: 20;
}
header .container {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
header nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
header nav a {
  color: #375057;
  font-family: 'Merriweather', Georgia, serif;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: 1rem;
  position: relative;
  padding: 4px 2px;
  transition: color .2s, border-bottom .2s;
}
header nav a:hover, header nav a:focus {
  color: #9D6A43;
  border-bottom: 2.5px solid #9D6A43;
}
header img {
  height: 48px;
  width: auto;
  flex-shrink: 0;
}
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  background: #9D6A43;
  color: #fff;
  font-family: 'Merriweather', Georgia, serif;
  font-weight: 900;
  text-transform: uppercase;
  font-size: 1.12rem;
  border-radius: 40px;
  box-shadow: 0 6px 24px -6px #9D6A4355;
  border: none;
  transition: background 0.2s, color 0.2s, transform 0.15s;
  cursor: pointer;
  letter-spacing: .04em;
}
.cta-button:active {
  transform: scale(.97) translateY(2px);
}
.cta-button:hover, .cta-button:focus {
  background: #375057;
  color: #F9F6F2;
}

/* MOBILE MENU
   =========== */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 22px;
  top: 22px;
  z-index: 30;
  font-size: 2.2rem;
  color: #9D6A43;
  background: none;
  border: none;
  padding: 4px 12px;
  min-width: 48px;
  min-height: 48px;
  border-radius: 50%;
  transition: background 0.15s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #E3D9D2;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  opacity: 0;
  pointer-events: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  box-shadow: 0 2px 32px -8px #37505744;
  z-index: 999;
  transform: translateX(-100%);
  transition: opacity .3s cubic-bezier(.65,0,.35,1), transform .4s cubic-bezier(.76,0,.24,1);
}
.mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}
.mobile-menu-close {
  display: block;
  margin: 24px 0 0 22px;
  font-size: 2.2rem;
  background: none;
  color: #375057;
  border: none;
  border-radius: 50%;
  padding: 6px 14px;
  cursor: pointer;
  box-shadow: none;
  transition: background 0.2s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: #F0E7E1;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 42px 0 0 36px;
  align-items: flex-start;
}
.mobile-nav a {
  font-size: 1.32rem;
  font-family: 'Merriweather', Georgia, serif;
  font-weight: 900;
  color: #375057;
  text-transform: uppercase;
  letter-spacing: .05em;
  transition: color .2s;
  padding: 7px 0;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #9D6A43;
}

/* === HIDE DESKTOP NAV ON MOBILE === */
@media (max-width: 1024px) {
  header .container > nav,
  header .container > .cta-button {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 1025px) {
  .mobile-menu {
    display: none!important;
  }
}

/* SECTIONS & SPACING
   ================== */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
  border-radius: 28px;
  box-shadow: none;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 0;
}
.card-container, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.card {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 4px 20px -6px #37505716;
  margin-bottom: 20px;
  position: relative;
  padding: 24px 24px 18px 24px;
  display: flex;
  flex-direction: column;
  transition: box-shadow .25s, transform .16s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 6px 30px -10px #9D6A4370;
  transform: translateY(-6px) scale(1.015);
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #fff;
  padding: 20px;
  border-radius: 20px;
  box-shadow: 0 4px 16px -6px #37505721;
  margin-bottom: 20px;
  min-width: 260px;
  max-width: 430px;
  border-left: 6px solid #9D6A43;
  font-weight: 700;
  transition: box-shadow .22s, transform .15s;
  color: #222; /* Ensures dark text on light background */
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 8px 26px -6px #3750573d;
  transform: translateY(-5px) scale(1.012);
}
.testimonial-card p {
  font-size: 1.08rem;
  color: #222;
}
.testimonial-card span {
  font-size: 1rem;
  color: #9D6A43;
  font-family: 'Merriweather', serif;
}

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

/* LISTS with Icons */
ul li, .feature-item li {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
  font-size: 1.1rem;
}
ul li img {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: 9px;
  background: #F9F6F2;
  box-shadow: 0 2px 6px -2px #37505718;
}

/* ARTICLE */
article {
  background: #fff;
  border-radius: 18px;
  padding: 22px 20px 18px 20px;
  margin-bottom: 24px;
  box-shadow: 0 2px 8px -3px #3750570e;
  font-weight: 600;
}

/* FOOTER
   ====== */
footer {
  background: #375057;
  color: #fff;
  padding: 38px 0 12px 0;
  border-top-left-radius: 38px;
  border-top-right-radius: 38px;
  box-shadow: 0 -3px 18px -6px #37505733;
  margin-top: 60px;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
footer nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 12px;
  margin-top: 0;
}
footer nav a {
  color: #fff;
  font-weight: 900;
  font-family: 'Merriweather', serif;
  font-size: 1rem;
  letter-spacing: .03em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color .19s;
  padding: 2px 0;
}
footer nav a:focus, footer nav a:hover {
  color: #9D6A43;
}
footer p {
  font-size: 1rem;
  opacity: 0.93;
  margin-bottom: 0;
}

/* COOKIE CONSENT BANNER
   ====================== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #fff;
  box-shadow: 0 -4px 28px -10px #37505733;
  border-top: 4px solid #9D6A43;
  z-index: 1111;
  padding: 26px 16px 21px 16px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  max-width: 540px;
  margin: 0 auto 18px auto;
  border-radius: 22px 22px 10px 10px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
  transition: opacity .33s, transform .33s;
}
.cookie-banner.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.cookie-banner p {
  color: #375057;
  font-weight: 700;
  font-size: 1rem;
}
.cookie-banner-buttons {
  display: flex;
  gap: 16px;
}
.cookie-btn {
  font-family: 'Merriweather', serif;
  font-weight: 900;
  text-transform: uppercase;
  font-size: 1rem;
  padding: 10px 22px;
  border: none;
  border-radius: 40px;
  background: #9D6A43;
  color: #fff;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.cookie-btn.cookie-settings {
  background: #F9F6F2;
  color: #375057;
  border: 2px solid #9D6A43;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #375057;
  color: #F9F6F2;
}
.cookie-btn.cookie-settings:hover, .cookie-btn.cookie-settings:focus {
  background: #9D6A43;
  color: #fff;
}

.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(55,80,87,.70);
  z-index: 1234;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}
.cookie-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: #fff;
  padding: 34px 30px 28px 30px;
  border-radius: 22px;
  box-shadow: 0 12px 48px -9px #37505755;
  max-width: 400px;
  width: 96vw;
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: stretch;
  position: relative;
  transform: translateY(38px) scale(0.97);
  opacity: 0;
  transition: opacity .15s, transform .25s cubic-bezier(.6,.2,.2,1.2);
}
.cookie-modal-overlay.active .cookie-modal {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.cookie-modal h2 {
  font-size: 1.3rem;
  margin-bottom: 9px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cookie-category-row {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 700;
  font-size: 1rem;
  justify-content: space-between;
}
.cookie-category-label {
  color: #375057;
}
.cookie-category-toggle {
  width: 46px;
  height: 24px;
  background: #E3D9D2;
  border-radius: 14px;
  position: relative;
  cursor: pointer;
  transition: background .22s;
}
.cookie-category-toggle input[type="checkbox"] {
  display: none;
}
.cookie-category-toggle .slider {
  position: absolute;
  top: 3px; left: 4px;
  width: 18px; height: 18px;
  background: #375057;
  border-radius: 50%;
  transition: left .20s, background .20s;
}
.cookie-category-toggle input[type="checkbox"]:checked + .slider {
  left: 24px;
  background: #9D6A43;
}
.cookie-category-toggle[aria-disabled="true"],
.cookie-category-toggle[aria-disabled="true"] .slider {
  opacity: 0.5;
  cursor: not-allowed;
}
.cookie-modal-actions {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
}
.cookie-modal-close {
  position: absolute;
  top: 12px; right: 12px;
  font-size: 1.6rem;
  background: none;
  border: none;
  color: #9D6A43;
  border-radius: 50%;
  padding: 4px 10px;
  cursor: pointer;
  transition: background .14s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #F0E7E1;
}


/* RESPONSIVE DESIGN
   ================= */
@media (max-width: 991px) {
  .container {
    max-width: 98vw;
  }
  h1 {
    font-size: 2.1rem;
  }
  h2 {
    font-size: 1.5rem;
  }
  .cta-button {
    font-size: 1rem;
    padding: 12px 20px;
  }
  section {
    padding: 26px 4vw;
  }
}
@media (max-width: 768px) {
  header .container {
    flex-direction: row;
    gap: 12px;
    min-height: 64px;
    padding-left: 6px;
    padding-right: 6px;
  }
  .container {
    padding-left: 8px;
    padding-right: 8px;
  }
  h1 { font-size: 1.35rem; }
  h2 { font-size: 1.18rem; }
  h3 { font-size: 1rem; }
  section {
    margin-bottom: 36px;
    padding: 20px 4px;
    border-radius: 13px;
  }
  .testimonial-card { max-width: unset; min-width: 0; }
  .content-wrapper, .text-section {
    gap: 14px;
  }
  article {
    padding: 12px 8px 12px 8px;
  }
  .card-container, .content-grid {
    gap: 14px;
  }
  .testimonial-card {
    padding: 15px 11px;
  }
  .feature-item {
    gap: 10px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }
  footer {
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
    padding: 19px 0 12px 0;
    margin-top: 30px;
  }
  .cookie-banner {
    max-width: 98vw;
    margin: 0 1vw 8px 1vw;
    padding: 13px 5px 9px 10px;
    border-radius: 10px 10px 6px 6px;
  }
}
@media (max-width: 480px) {
  .cta-button {
    width: 100%;
    min-width: 0;
    text-align: center;
    padding: 10px 6px;
  }
  .card {
    padding: 12px 7px 10px 7px;
    border-radius: 12px;
  }
  .testimonial-card {
    border-radius: 11px;
    padding: 11px 5px;
    font-size: 1rem;
  }
  .cookie-modal {
    padding: 12px 5px 12px 5px;
    border-radius: 12px;
  }
}

/* GEOMETRIC ACCENTS (OPTIONAL: decorations for modern_bold) */
.geoshape {
  position: absolute;
  pointer-events: none;
  z-index: 1;
  opacity: 0.10;
  border-radius: 12px;
  box-shadow: 0 5px 24px -10px #37505788;
}

/* MICRO-ANIMATIONS & STATES
   ========================= */
.cta-button, .card, .testimonial-card, .cookie-btn, .cookie-modal, .mobile-menu, .cookie-banner {
  transition-property: box-shadow, background, color, opacity, transform;
  transition-duration: .23s;
  transition-timing-function: cubic-bezier(.7,0,.4,1.1);
}

::selection {
  background: #9D6A43;
  color: #fff;
}


/* UTILITIES & MARGINS
   ================== */
.mb-20 { margin-bottom: 20px !important; }
.mt-20 { margin-top: 20px !important; }
.mt-40 { margin-top: 40px !important; }

/* FOCUS STATES */
a:focus, button:focus, .cta-button:focus, .cookie-btn:focus, .mobile-menu-toggle:focus, .mobile-menu-close:focus {
  outline: 2.5px solid #9D6A43;
  outline-offset: 2px;
  z-index: 2000;
}

/* FORM ELEMENTS (for any forms in the future) */
input[type="text"],
input[type="email"],
textarea {
  background: #F9F6F2;
  border: 2px solid #9D6A4370;
  border-radius: 13px;
  padding: 12px 15px;
  font-size: 1rem;
  font-family: 'Open Sans', sans-serif;
  color: #375057;
  font-weight: 700;
  margin-bottom: 16px;
  box-shadow: 0 2.5px 9px -5px #37505718;
  transition: border-color .16s;
}
input:focus, textarea:focus {
  border-color: #9D6A43;
}

::-webkit-input-placeholder { color: #9D6A4370; font-weight: 600; }
::-moz-placeholder { color: #9D6A4370; font-weight: 600; }
:-ms-input-placeholder { color: #9D6A4370; font-weight: 600; }
::placeholder { color: #9D6A4370; font-weight: 600; }

