/* -----------------------------------
  CSS Reset & Base Normalize
-------------------------------------*/
html { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; margin: 0; padding: 0; border: 0; }
html { font-size: 100%; }
body {
  min-height: 100vh;
  background: #fff;
  color: #3E2C18;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  line-height: 1.65;
  font-size: 16px;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.18s;
  outline: none;
}
h1,h2,h3,h4,h5,h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #3E2C18;
  font-weight: 600;
  margin-bottom: 18px;
  letter-spacing: 0.01em;
  line-height: 1.2;
}
h1 { font-size: 2.25rem; margin-bottom: 18px; }
h2 { font-size: 1.5rem; margin-bottom: 18px; }
h3 { font-size: 1.25rem; margin-bottom: 12px; }
h4 { font-size: 1.1rem; margin-bottom: 12px; }
h5, h6 { font-size: 1rem; margin-bottom: 10px; }
.subtitle {
  font-size: 1.15rem;
  color: #8d7b60;
  margin-bottom: 20px;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 400;
}
.container {
  width: 100%;
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 16px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* -----------------------------------
  Spacing & Flexbox Patterns
-------------------------------------*/
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(62,44,24,.07);
  margin-bottom: 20px;
  position: relative;
  min-width: 280px;
  flex: 1 1 270px;
  transition: box-shadow 0.3s;
}
.card:hover {
  box-shadow: 0 4px 24px rgba(200,146,59,0.11);
}
.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;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #F5F0EB;
  border-radius: 12px;
  box-shadow: 0 1px 8px rgba(62,44,24,0.08);
  margin-bottom: 20px;
  flex-direction: column;
  transition: box-shadow 0.3s;
}
.testimonial-card:hover {
  box-shadow: 0 4px 20px rgba(200,146,59,0.13);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* -----------------------------------
  Navigation & Header
-------------------------------------*/
header {
  background: #fff;
  border-bottom: 1px solid #f0ece7;
  box-shadow: 0 2px 8px rgba(62,44,24,0.03);
  position: sticky;
  top: 0;
  z-index: 100;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 72px;
  padding: 0 24px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #3E2C18;
}
.main-nav img {
  height: 36px;
  width: auto;
  margin-right: 12px;
}
.main-nav a {
  position: relative;
  padding: 8px 12px;
  color: #3E2C18;
  border-radius: 7px;
  transition: background 0.15s, color 0.18s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #F5F0EB;
  color: #C8923B;
}
.mobile-menu-toggle {
  display: none;
  background: none;
  font-size: 2rem;
  color: #3E2C18;
  border: none;
  margin-left: auto;
  padding: 12px;
  border-radius: 50%;
  transition: background 0.18s;
  z-index: 101;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #F5F0EB;
  color: #C8923B;
}
/* ----------- Mobile Nav ------------- */
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  z-index: 999;
  transform: translateX(-100%);
  transition: transform 0.32s cubic-bezier(.4,0,.2,1);
  box-shadow: 0 0 40px rgba(62,44,24,0.07);
  padding: 0;
  will-change: transform;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin-top: 20px;
  margin-right: 28px;
  font-size: 2.2rem;
  background: none;
  border: none;
  color: #3E2C18;
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  transition: background 0.15s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #F5F0EB;
  color: #C8923B;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 40px 0 0 0;
  padding: 0 32px;
}
.mobile-nav a {
  padding: 16px 0;
  font-size: 1.18rem;
  border-radius: 9px;
  color: #3E2C18;
  transition: color 0.16s, background 0.16s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F5F0EB;
  color: #C8923B;
}
@media (max-width: 1024px) {
  .main-nav {
    gap: 18px;
    padding: 0 10px;
    font-size: 1rem;
  }
}
@media (max-width: 900px) {
  .main-nav {
    gap: 10px;
    font-size: 0.98rem;
  }
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    position: absolute;
    right: 16px;
    top: 12px;
  }
}

/* -----------------------------------
  Typography Hierarchy & Elements
-------------------------------------*/
p, ul li, ol li, address {
  line-height: 1.7;
  color: #3E2C18;
}
blockquote {
  font-size: 1.1rem;
  font-style: italic;
  color: #3E2C18;
  margin-bottom: 10px;
  quotes: "\201E" "\201D";
  padding-left: 6px;
}
blockquote:before { content: open-quote; color: #C8923B; font-size: 1.6em; vertical-align: -0.4em; }
blockquote:after { content: close-quote; color: #C8923B; font-size: 1.6em; vertical-align: -0.4em; }
strong { color: #C8923B; font-weight: 600; }
address {
  font-style: normal;
  font-size: 0.99rem;
  margin-top: 9px;
  color: #3E2C18;
}
.text-section ul,
.content-wrapper ul {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-left: 0;
}
.text-section ul li,
.content-wrapper ul li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 1rem;
  padding-left: 0;
  color: #3E2C18;
}
.text-section ul img, .content-wrapper ul img {
  height: 28px;
  width: 28px;
  object-fit: contain;
  border-radius: 7px;
  background: #fff;
  flex-shrink: 0;
}

/* -----------------------------------
  Buttons & Links
-------------------------------------*/
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 156px;
  padding: 14px 32px;
  background: #3E2C18;
  color: #fff;
  border-radius: 999px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  box-shadow: 0 2px 12px rgba(62,44,24,0.06);
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background 0.22s, box-shadow 0.19s, color 0.19s;
  outline: none;
  text-align: center;
  margin-top: 7px;
}
.btn-primary:hover, .btn-primary:focus {
  background: #C8923B;
  color: #3E2C18;
  box-shadow: 0 4px 26px rgba(200,146,59,0.12);
  text-decoration: none;
}

/* -----------------------------------
  Footer Styles
-------------------------------------*/
footer {
  background: #fff;
  border-top: 1px solid #f0ece7;
  margin-top: 90px;
  padding: 32px 0 24px 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.footer-nav {
  display: flex;
  gap: 32px;
  justify-content: center;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.footer-nav a {
  color: #8d7b60;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  transition: color 0.16s;
  border-radius: 5px;
  padding: 4px 8px;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #C8923B;
  background: #F5F0EB;
}
.contact-footer {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 0.98rem;
}
.contact-footer img {
  height: 46px;
  width: auto;
  margin-right: 16px;
}

/* -----------------------------------
  Testimonials & Reviews
-------------------------------------*/
.testimonial-card blockquote {
  color: #3E2C18;
  background: transparent;
  font-size: 1.08rem;
  border-left: 0px solid #C8923B;
  margin-bottom: 8px;
}
.testimonial-card p {
  color: #3E2C18;
  font-size: 0.97rem;
  display: flex;
  align-items: center;
  gap: 9px;
}
.testimonial-card strong {
  color: #3E2C18;
  font-weight: 600;
}
.testimonial-card span {
  color: #C8923B;
  font-size: 1rem;
  letter-spacing: 1.8px;
  font-family: 'Montserrat', Arial, sans-serif;
}

/* -----------------------------------
  Cookie Consent Banner & Modal
-------------------------------------*/
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #fff;
  border-top: 1px solid #e0d6c5;
  box-shadow: 0 -3px 16px rgba(62,44,24,0.08);
  z-index: 1200;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 24px 18px 18px 18px;
  font-size: 1rem;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.25s, transform 0.27s;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
}
.cookie-banner p {
  color: #3E2C18;
  font-size: 0.99rem;
  margin-bottom: 3px;
  text-align: center;
}
.cookie-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.cookie-btn, .cookie-actions .btn-primary {
  background: #C8923B;
  color: #fff;
  border-radius: 6px;
  border: none;
  font-size: 0.99rem;
  padding: 10px 22px;
  margin: 0 2px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  box-shadow: 0 2px 6px rgba(200,146,59,0.09);
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
}
.cookie-btn.accept {
  background: #3E2C18;
  color: #fff;
}
.cookie-btn.reject {
  background: #EDEAE5;
  color: #3E2C18;
}
.cookie-btn.settings {
  background: #fff;
  color: #3E2C18;
  border: 1px solid #e0d6c5;
}
.cookie-btn.accept:hover, .cookie-actions .btn-primary:hover {
  background: #C8923B;
  color: #fff;
}
.cookie-btn.reject:hover {
  background: #eee4d0;
  color: #3E2C18;
}
.cookie-btn.settings:hover {
  background: #F5F0EB;
  color: #C8923B;
  border-color: #C8923B;
}
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  min-width: 310px;
  max-width: 98vw;
  width: 360px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 6px 44px rgba(62,44,24,0.24);
  transform: translate(-50%, -50%) scale(0.96);
  opacity: 0;
  z-index: 1300;
  transition: opacity 0.24s, transform 0.26s;
  padding: 26px 20px 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  pointer-events: none;
}
.cookie-modal.show {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  pointer-events: all;
}
.cookie-modal h3 {
  font-size: 1.13rem;
  color: #3E2C18;
  margin-bottom: 9px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.cookie-category label {
  flex: 1 1 0px;
  font-size: 0.98rem;
  color: #3E2C18;
}
.cookie-category input[type=checkbox] {
  accent-color: #C8923B;
  width: 19px;
  height: 19px;
  border-radius: 4px;
}
.cookie-category.essential label { font-weight: bold; color: #3E2C18; }
.cookie-modal-actions {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
  margin-top: 10px;
}
@media (max-width: 420px) {
  .cookie-modal { width: 99vw; min-width: 0; padding: 13px 5px; }
}

/* -----------------------------------
  Misc & Utility
-------------------------------------*/
::-webkit-input-placeholder { color: #ada59b; }
::-moz-placeholder { color: #ada59b; }
:-ms-input-placeholder { color: #ada59b; }
::placeholder { color: #ada59b; }

.hide { display: none !important; }

/* -----------------------------------
  Responsive Design
-------------------------------------*/
@media (max-width: 900px) {
  .container { padding: 0 8px; }
  .content-wrapper { gap: 12px; }
}
@media (max-width: 768px) {
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.17rem; }
  .section { padding: 26px 4px; margin-bottom: 38px; }
  .card-container, .content-grid { gap: 14px; }
  .contact-footer { gap: 10px; font-size: 0.95rem; }
  .content-wrapper { gap: 14px; }
  .testimonial-card { padding: 12px; font-size: 0.99rem; }
  .main-nav { padding: 0; }
  .text-image-section, .feature-item { flex-direction: column; align-items: flex-start; gap: 14px; }
}
@media (max-width: 600px) {
  .section { padding: 16px 0; }
  .testimonial-card { padding: 8px; font-size: 0.97rem; }
}

/* Minimum margins between cards and sections */
.section + .section, .content-wrapper + .content-wrapper, .testimonial-card + .testimonial-card {
  margin-top: 24px;
}

/* Ensure no elements overlap */
main, header, footer, .cookie-banner, .cookie-modal { box-sizing: border-box; }

/* Subtle empty state for empty card */
.card:empty {
  min-height: 96px;
  background: #F5F0EB;
  opacity: 0.6;
}

/* Focus states */
a:focus, .btn-primary:focus, .cookie-btn:focus, .mobile-menu-close:focus {
  outline: 2px solid #C8923B;
  outline-offset: 2px;
}

/* Small transition on main content sections */
.section, .card, .testimonial-card, .footer-nav a, .btn-primary, .cookie-btn {
  transition: box-shadow 0.21s, border 0.13s, background 0.20s, color 0.2s;
}

/* Only subtle drop-shadows and rounded corners */
.card, .testimonial-card, .cookie-modal {
  border-radius: 14px;
}
/* -------------------------------
   Print: Generic
------------------------------- */
@media print {
  header, footer, .cookie-banner, .mobile-menu { display: none !important; }
  .container { max-width: 100vw !important; }
  body, html { background: #fff !important; color: #111 !important; }
}
