/* ======== CSS RESET & NORMALIZE ======== */
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;
}
html {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  background: #fff;
  color: #3D2C1E;
  font-family: 'Nunito', Arial, sans-serif;
  min-height: 100vh;
  line-height: 1.55;
  font-size: 16px;
  font-weight: 400;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: #3D2C1E;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #C0A17B;
  outline: none;
}
strong, b {
  font-weight: 700;
}
ul, ol {
  margin: 16px 0 16px 24px;
  font-size: 16px;
}
li {
  margin-bottom: 8px;
}
blockquote {
  margin: 24px 0;
  padding-left: 24px;
  border-left: 4px solid #C0A17B;
  font-style: italic;
  background: #F5EFE6;
  color: #3D2C1E;
}

/* ======== TYPOGRAPHY ======== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Nunito', Arial, sans-serif;
  font-weight: 800;
  color: #3D2C1E;
  line-height: 1.15;
  letter-spacing: 0.01em;
  margin-bottom: 16px;
  text-wrap: balance;
}
h1 {
  font-size: 2.8rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 14px;
  font-weight: 700;
}
h4 {
  font-size: 1.15rem;
  margin-bottom: 12px;
}
p, span {
  font-size: 1rem;
  color: #3D2C1E;
  margin-bottom: 8px;
}
.text-section p {
  margin-bottom: 16px;
}
.text-section {
  max-width: 640px;
}

/* ========== CONTAINER & WRAPPERS ========== */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 16px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ========== HEADER & NAVIGATION ========== */
header {
  background: #fff;
  box-shadow: 0 2px 12px rgba(61,44,30,0.045);
  z-index: 100;
  position: relative;
}
header .container {
  padding-top: 12px;
  padding-bottom: 12px;
}
header .content-wrapper {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 32px;
  justify-content: space-between;
}
header nav {
  display: flex;
  flex-direction: row;
  gap: 28px;
  align-items: center;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: #3D2C1E;
  padding: 8px 12px;
  border-radius: 6px;
  transition: background 0.18s, color 0.18s;
}
header nav a:hover, header nav a:focus {
  background: #C0A17B;
  color: #fff;
}
header img {
  max-height: 42px;
  margin-right: 10px;
}

/* ========== MOBILE BURGER MENU ========== */
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  font-weight: bold;
  color: #3D2C1E;
  background: #fff;
  border: none;
  border-radius: 8px;
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 204;
  padding: 8px 16px;
  box-shadow: 0 2px 12px rgba(61,44,30,0.08);
  cursor: pointer;
  transition: background 0.16s, color 0.16s, box-shadow 0.2s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #C0A17B;
  color: #fff;
  box-shadow: 0 4px 20px rgba(192,161,123,0.12);
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  background: #3D2C1E;
  position: fixed;
  top: 0;
  right: 0;
  width: 84vw;
  max-width: 410px;
  height: 100vh;
  padding: 32px 28px 20px 28px;
  transform: translateX(110%);
  transition: transform 0.36s cubic-bezier(.75,0,.13,1.02);
  z-index: 205;
  box-shadow: -2px 0 38px 0 rgba(18,14,12,0.19);
}
.mobile-menu.open {
  transform: translateX(0%);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2rem;
  color: #fff;
  background: transparent;
  border: none;
  margin-bottom: 20px;
  cursor: pointer;
  border-radius: 8px;
  padding: 4px 12px;
  transition: background 0.18s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: #C0A17B;
  color: #3D2C1E;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.18rem;
  color: #fff;
  padding: 16px 0 4px 3px;
  border-bottom: 1px solid rgba(245,239,230,0.12);
  transition: color 0.17s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #C0A17B;
}
@media (max-width: 1024px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 1025px) {
  .mobile-menu,
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* ========== SECTIONS & LAYOUTS ========== */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 28px -5px rgba(61,44,30,0.08);
  position: relative;
}
main > section:last-child {
  margin-bottom: 0;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.feature-grid,
.card-container,
.card-grid,
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.card-container {
  gap: 24px;
}
.card {
  background: #F5EFE6;
  border-radius: 18px;
  box-shadow: 0 2px 18px 0 rgba(192,161,123,0.12);
  padding: 28px 24px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 6px 28px 0 rgba(192,161,123,0.19), 0 1.5px 8px 0 rgba(61,44,30,0.08);
  transform: translateY(-4px) scale(1.018);
  z-index: 2;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
.content-grid {
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ========== FEATURE GRID (ICONS) ========== */
.feature-grid {
  gap: 30px;
  flex-wrap: wrap;
}
.feature-grid > div {
  background: #F5EFE6;
  border-radius: 16px;
  padding: 26px 24px;
  flex: 1 1 260px;
  min-width: 260px;
  max-width: 370px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  box-shadow: 0 1px 12px 0 rgba(192,161,123,0.08);
  transition: box-shadow 0.18s, transform 0.18s;
}
.feature-grid > div:hover {
  box-shadow: 0 6px 24px 0 rgba(192,161,123,0.22), 0 1.5px 8px 0 rgba(61,44,30,0.11);
  transform: translateY(-3px) scale(1.016);
  z-index: 1;
}
.feature-grid img {
  width: 48px;
  height: 48px;
  margin-bottom: 8px;
}

/* ========== TESTIMONIAL CARDS ========== */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 18px 0 rgba(61,44,30,0.12);
  padding: 20px;
  margin-bottom: 20px;
  min-width: 240px;
  max-width: 600px;
  transition: box-shadow 0.18s, transform 0.17s;
}
.testimonial-card img {
  width: 34px;
  height: 34px;
}
.testimonial-card blockquote {
  border: none;
  background: none;
  color: #3D2C1E;
  font-size: 1.16rem;
  margin: 0 0 14px 0;
  padding: 0;
}
.testimonial-card span {
  display: block;
  font-weight: 700;
  font-size: 1rem;
  color: #C0A17B;
}
.testimonial-card:hover {
  box-shadow: 0 7px 25px 0 rgba(61,44,30,0.19), 0 1.5px 7px 0 rgba(192,161,123,0.06);
  transform: translateY(-3px) scale(1.014);
}

/* ========== CTA BUTTONS ========== */
.cta {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  border: none;
  padding: 16px 36px;
  border-radius: 28px;
  margin-top: 18px;
  margin-bottom: 6px;
  box-shadow: 0 4px 18px 0 rgba(192,161,123,0.07);
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.17s, transform 0.17s;
  letter-spacing: 0.03em;
}
.cta.primary {
  background: #3D2C1E;
  color: #fff;
}
.cta.primary:hover, .cta.primary:focus {
  background: #C0A17B;
  color: #3D2C1E;
  transform: scale(1.036);
}
.cta.secondary {
  background: #C0A17B;
  color: #3D2C1E;
}
.cta.secondary:hover, .cta.secondary:focus {
  background: #3D2C1E;
  color: #fff;
  transform: scale(1.036);
}
.cta:active {
  box-shadow: 0 2px 10px 0 rgba(61,44,30,0.11);
  transform: scale(0.97);
}

/* REGULAR BUTTONS (cookie banner, modal) */
.button, .cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  border: none;
  border-radius: 8px;
  padding: 13px 28px;
  font-size: 1rem;
  cursor: pointer;
  margin: 10px 12px 10px 0;
  transition: background 0.17s, color 0.17s, transform 0.17s;
}
.button.accept, .cookie-btn.accept {
  background: #3D2C1E;
  color: #fff;
}
.button.accept:hover, .cookie-btn.accept:hover {
  background: #C0A17B;
  color: #3D2C1E;
}
.button.reject, .cookie-btn.reject {
  background: #F5EFE6;
  color: #3D2C1E;
  border: 1px solid #C0A17B;
}
.button.reject:hover, .cookie-btn.reject:hover {
  background: #C0A17B;
  color: #fff;
}
.button.settings, .cookie-btn.settings {
  background: #C0A17B;
  color: #3D2C1E;
}
.button.settings:hover, .cookie-btn.settings:hover {
  background: #3D2C1E;
  color: #fff;
}

/* ========== FOOTER ========== */
footer {
  background: #F5EFE6;
  padding: 48px 0 30px 0;
  border-top: 3px solid #C0A17B;
}
footer .container {
  padding: 0 16px;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
}
footer nav {
  display: flex;
  flex-direction: row;
  gap: 24px;
  margin-bottom: 16px;
}
footer nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #3D2C1E;
  transition: color 0.17s;
}
footer nav a:hover, footer nav a:focus {
  color: #C0A17B;
}
footer .text-section {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
}
footer .text-section img {
  height: 36px;
  margin-bottom: 10px;
}

/* ========== MAP PLACEHOLDER ========== */
.map-placeholder {
  background: #fff;
  border: 1.5px dashed #C0A17B;
  border-radius: 18px;
  padding: 20px 16px;
  margin: 24px 0 2px 0;
  max-width: 480px;
}

/* ========== MISC CARDS & GRIDS ========== */
ul > li h3 {
  margin-bottom: 8px;
}
.card-container > * {
  flex: 1 1 310px;
  min-width: 250px;
}
.card {
  margin-bottom: 20px;
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 1024px) {
  .feature-grid,
  .card-container,
  .card-grid,
  .content-grid {
    gap: 18px;
    flex-wrap: wrap;
  }
  .content-wrapper {
    gap: 14px;
  }
  section {
    margin-bottom: 44px;
    padding: 30px 0 32px 0;
  }
  .section {
    margin-bottom: 48px;
    padding: 32px 12px;
  }
  .feature-grid > div,
  .card {
    padding: 18px 12px;
  }
  .testimonial-card {
    padding: 15px 5vw 15px 5vw;
    min-width: 0;
    max-width: 100%;
  }
  .map-placeholder {
    max-width: 99%;
    padding: 12px 6px;
  }
}
@media (max-width: 768px) {
  .content-wrapper {
    gap: 9px;
  }
  .section {
    padding: 20px 2vw;
    margin-bottom: 36px;
  }
  section {
    padding: 20px 2vw;
    margin-bottom: 32px;
  }
  h1 {
    font-size: 1.9rem;
    margin-bottom: 16px;
  }
  h2 {
    font-size: 1.28rem;
    margin-bottom: 12px;
  }
  .feature-grid,
  .card-container,
  .card-grid,
  .content-grid {
    flex-direction: column;
    gap: 12px;
  }
  .feature-grid > div {
    min-width: 80vw;
    max-width: 98vw;
  }
  .text-image-section {
    flex-direction: column;
    gap: 14px;
  }
  footer .content-wrapper {
    flex-direction: column;
    gap: 18px;
  }
}

/* ========== VISUAL EFFECTS & HIERARCHY ========== */
section {
  box-shadow: 0 8px 28px -5px rgba(61,44,30,0.07);
}
.card, .feature-grid > div, .testimonial-card {
  box-shadow: 0 2px 18px 0 rgba(192,161,123,0.14);
}

/* ========== MICRO-INTERACTIONS & TRANSITIONS ========== */
a, button, .cta, .card, .feature-grid > div, .testimonial-card {
  transition: box-shadow 0.18s, background 0.17s, color 0.17s, transform 0.17s;
}

/* ========== COOKIE CONSENT BANNER ========== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 96vw;
  max-width: 700px;
  background: #3D2C1E;
  color: #fff;
  padding: 26px 18px 14px 28px;
  z-index: 300;
  border-radius: 18px 18px 0 0;
  box-shadow: 0 -1.5px 19px 0 rgba(61,44,30,0.13);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  opacity: 1;
  pointer-events: all;
  animation: slideUp 400ms cubic-bezier(.6,.2,.2,1);
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.32s;
}
@keyframes slideUp {
  from { transform: translateX(-50%) translateY(78px); opacity: 0; }
  to   { transform: translateX(-50%) translateY(0); opacity: 1; }
}
.cookie-banner p {
  color: #fff;
  font-size: 1.01rem;
  margin-bottom: 2px;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
  margin-top: 8px;
}

/* COOKIE MODAL (PREFERENCES) */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(61,44,30,0.43);
  z-index: 310;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.34s;
}
@keyframes fadeIn {
  from { opacity: 0; } to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  color: #3D2C1E;
  border-radius: 18px;
  box-shadow: 0 8px 38px 0 rgba(61,44,30,0.23);
  max-width: 450px;
  width: 94vw;
  padding: 30px 26px 24px 26px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: popIn 0.38s cubic-bezier(.8,0,0,1.1);
}
@keyframes popIn {
  from { opacity: 0; transform: scale(0.82); }
  to   { opacity: 1; transform: scale(1); }
}
.cookie-modal h2 {
  font-size: 1.3rem;
  font-weight: 900;
  margin-bottom: 11px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.cookie-modal label {
  font-size: 1.01rem;
  font-weight: bold;
}
.cookie-modal .category-desc {
  font-size: 0.94rem;
  color: #6a5337;
  margin-left: 14px;
}
.cookie-switch {
  appearance: none;
  width: 38px;
  height: 22px;
  background: #d1b692;
  border-radius: 22px;
  position: relative;
  outline: none;
  transition: background 0.18s;
  margin-right: 7px;
}
.cookie-switch:checked {
  background: #3D2C1E;
}
.cookie-switch:disabled {
  opacity: 0.49;
  cursor: not-allowed;
}
.cookie-switch::before {
  content: '';
  display: block;
  width: 19px;
  height: 19px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  top: 1.5px;
  left: 2px;
  transition: left 0.19s;
}
.cookie-switch:checked::before {
  left: 17px;
}
.cookie-modal .cookie-buttons {
  display: flex;
  flex-direction: row;
  gap: 10px;
  margin-top: 18px;
  justify-content: flex-end;
}
.cookie-modal .cookie-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: transparent;
  border: none;
  color: #C0A17B;
  font-size: 1.48rem;
  cursor: pointer;
  border-radius: 6px;
  transition: color 0.14s, background 0.14s;
}
.cookie-modal .cookie-close:hover, .cookie-modal .cookie-close:focus {
  color: #3D2C1E;
  background: #F5EFE6;
}

/* ==== COLOR UTILITY CLASSES (optional in HTML) ==== */
.bg-primary {
  background: #3D2C1E !important;
  color: #fff !important;
}
.bg-secondary {
  background: #C0A17B !important;
  color: #3D2C1E !important;
}
.bg-accent {
  background: #F5EFE6 !important;
  color: #3D2C1E !important;
}
.text-accent {
  color: #C0A17B !important;
}
.text-dark {
  color: #3D2C1E !important;
}

/* ==== GEOMETRIC ACCENTS (optional, decorative only) ==== */
.decoration-circle {
  position: absolute;
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: #F5EFE6;
  z-index: 0;
  opacity: 0.4;
}

/* ==== ACCESSIBILITY ==== */
:focus-visible {
  outline: 1.5px solid #C0A17B;
  outline-offset: 3px;
}

/* ==== PRINT (optional) ==== */
@media print {
  .cookie-banner, 
  .mobile-menu, 
  .mobile-menu-toggle {
    display: none !important;
  }
}
