/* ---- 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: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html { font-size: 100%; }
body { line-height: 1.5; background: #F8F4EC; }
*, *::before, *::after { box-sizing: inherit; }
ul, ol { list-style: none; }
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; height: auto; }
button, input, select, textarea {
  font-family: inherit;
  font-size: 100%;
  background: none;
  border: none;
  outline: none;
  padding: 0;
}

/* ---- CSS VARIABLES: Vintage Retro Palette ---- */
:root {
  --brand-primary: #295D39;    /* Deep forest green (brand primary) */
  --brand-secondary: #84A178;  /* Muted sage green (brand secondary) */
  --brand-accent: #F3F7F0;     /* Off-white, barely minty (brand accent) */
  --retro-mustard: #FFD266;
  --retro-orange: #E5953B;
  --retro-brown: #846049;
  --retro-red: #BE5959;
  --retro-cream: #F7EDD3;      /* Card background accent */
  --retro-blue: #517C7D;
  --retro-shadow: rgba(56,46,23, 0.10);
}

/* ---- TYPOGRAPHY: Vintage Retro Authentic ---- */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,400&display=swap');
body {
  font-family: Arial, sans-serif;
  color: var(--brand-primary);
  background: var(--brand-accent);
  font-size: 16px;
  letter-spacing: 0.01em;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: var(--brand-primary);
  letter-spacing: 0.05em;
  line-height: 1.2;
  margin-bottom: 16px;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.25rem; margin-bottom: 12px; }

p, ul, ol, li { font-family: Arial, sans-serif; font-size: 1rem; color: var(--brand-primary); }
p { margin-bottom: 16px; line-height: 1.6; }
strong, b { font-weight: bold; color: var(--retro-brown); }
em { font-style: italic; color: var(--retro-blue); }

/* ---- VINTAGE RETRO BUTTONS & INTERACTIVE ---- */
.cta-primary {
  display: inline-block;
  background: var(--retro-mustard);
  color: #1B2718;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.13rem;
  letter-spacing: 0.08em;
  border-radius: 26px;
  padding: 12px 32px;
  box-shadow: 0 4px 20px var(--retro-shadow);
  transition: background 0.23s, color 0.23s, transform 0.23s;
  border: 2px solid var(--brand-secondary);
  margin-top: 12px;
}
.cta-primary:hover, .cta-primary:focus {
  background: var(--retro-orange);
  color: #fff;
  transform: translateY(-2px) scale(1.03);
}
.cta-secondary {
  display: inline-block;
  background: var(--brand-secondary);
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  border-radius: 26px;
  padding: 12px 32px;
  box-shadow: 0 4px 12px var(--retro-shadow);
  transition: background 0.23s, color 0.23s, transform 0.23s;
  border: 2px solid var(--brand-primary);
}
.cta-secondary:hover, .cta-secondary:focus {
  background: var(--brand-primary);
  color: var(--retro-mustard);
  transform: scale(1.03);
}

/* ---- LAYOUT CONTAINER ---- */
.container {
  width: 100%;
  max-width: 1152px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
}

.content-wrapper {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}
.text-section {
  background: var(--retro-cream);
  border-radius: 22px;
  box-shadow: 0 2px 12px var(--retro-shadow);
  padding: 40px 24px;
}

/* ---- FLEXBOX PATTERNS ---- */
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 28px;
}
.services-list,
.article-list,
.workshop-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  margin-bottom: 24px;
}
.features-grid .feature-item,
.services-list .service-item,
.workshop-list .workshop-item,
.article-list .article-teaser {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 8px var(--retro-shadow);
  border: 2px dashed var(--retro-mustard);
  padding: 28px 22px 20px 22px;
  flex: 1 1 300px;
  min-width: 260px;
  max-width: 340px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.feature-item img,
.article-teaser img,
.workshop-item img {
  width: 50px;
  height: auto;
  margin-bottom: 8px;
  filter: sepia(0.3) contrast(1.1) brightness(1);
}

/* ---- Testimonials ---- */
.testimonials-row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 20px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 26px 18px 26px;
  background: var(--retro-cream);
  border: 2px solid var(--retro-brown);
  border-radius: 18px;
  box-shadow: 0 2px 12px var(--retro-shadow);
  min-width: 260px;
  max-width: 380px;
  margin-bottom: 20px;
  color: #252415;
}
.testimonial-card p {
  color: #312710;
  font-size: 1.05rem;
}
.testimonial-card strong {
  color: var(--retro-blue);
  font-weight: bold;
  font-size: 1.05rem;
  letter-spacing: 0.05em;
}

/* ---- Card Container ---- */
.card-container, .card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 8px var(--retro-shadow);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px;
}

/* ---- Map Placeholder ---- */
.map-placeholder {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--brand-accent);
  border-radius: 12px;
  padding: 18px 24px;
  border: 1.5px dashed var(--brand-secondary);
  margin-top: 18px;
}

/* ---- Footer ---- */
.footer-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 36px;
  padding: 42px 0;
  border-top: 3px dotted var(--retro-brown);
  font-size: 1rem;
}
.footer-row img {
  max-width: 70px;
  margin-bottom: 10px;
}
.footer-row p {
  color: #333;
  font-size: 1rem;
}
.footer-row nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-row a {
  color: var(--brand-primary);
  font-weight: 700;
  font-family: 'Montserrat', Arial, sans-serif;
  transition: color 0.23s;
}
.footer-row a:hover, .footer-row a:focus {
  color: var(--retro-orange);
}

/* ---- NAVIGATION ---- */
header {
  background: var(--retro-cream);
  border-bottom: 3px double var(--brand-primary);
  position: relative;
  z-index: 50;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 26px 16px 20px 16px;
}
header nav {
  display: flex;
  gap: 20px;
  align-items: center;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  color: var(--brand-primary);
  background: none;
  border-radius: 8px;
  padding: 5px 12px;
  transition: background 0.24s, color 0.24s;
  font-size: 1rem;
}
header nav a:hover, header nav a:focus {
  background: var(--retro-mustard);
  color: #fff;
}
header img {
  height: 44px;
  width: auto;
}

/* ---- MOBILE MENU ---- */
.mobile-menu-toggle {
  display: none;
  background: var(--brand-primary);
  color: var(--retro-mustard);
  font-size: 2.2rem;
  border-radius: 8px;
  width: 48px;
  height: 48px;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  margin-left: 16px;
  transition: background 0.18s;
  border: 2px solid var(--brand-secondary);
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--brand-secondary);
  color: #fff;
}
.mobile-menu {
  position: fixed;
  top: 0; right: 0; bottom: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--retro-cream);
  box-shadow: 0 0 80px rgba(0,0,0,0.10);
  z-index: 101;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(.65,.05,.36,1);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding-top: 32px;
  padding-left: 0;
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0%);
}
.mobile-menu-close {
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 2rem;
  background: none;
  border: none;
  color: var(--brand-primary);
  cursor: pointer;
  z-index: 111;
  border-radius: 6px;
  width: 44px; height: 44px;
  transition: background 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--retro-mustard);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 32px;
  width: 100%;
  align-items: flex-start;
  padding-left: 38px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  color: var(--brand-primary);
  letter-spacing: 0.07em;
  background: none;
  padding: 10px 18px;
  border-radius: 7px;
  transition: background 0.18s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--retro-mustard);
  color: #fff;
}

/* Hide main nav and show burger on mobile */
@media (max-width: 950px) {
  header .container nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

/* Always hide mobile menu by default */
.mobile-menu {
  display: flex;
}

/* ---- RESPONSIVE DESIGN ---- */
@media (max-width: 1180px) {
  .container { max-width: 99vw; }
}
@media (max-width: 900px) {
  .footer-row, header .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .footer-row nav {
    flex-direction: row;
    gap: 16px;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.25rem; }
  .features-grid, .services-list, .article-list, .workshop-list, .testimonials-row, .footer-row {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .feature-item, .service-item, .workshop-item, .article-teaser, .testimonial-card {
    max-width: 100%;
    min-width: 0;
  }
  .content-wrapper, .text-section {
    padding: 22px 8px 22px 8px;
  }
  .map-placeholder {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .mobile-nav {
    padding-left: 22px;
  }
}
@media (max-width: 480px) {
  h1 { font-size: 1.19rem; }
  h2 { font-size: 1.05rem; }
  .container { padding-left: 6px; padding-right: 6px; }
}

/* Make .text-image-section (if needed) responsive */
.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;
    gap: 14px;
  }
}

/* ---- FAQ-Accordion and Guides ---- */
.faq-accordion h3 {
  cursor: pointer;
  color: var(--retro-orange);
  position: relative;
  margin-bottom: 6px;
  font-size: 1.13rem;
}
.faq-accordion p {
  display: block;
  color: #3A3026;
  margin-bottom: 14px;
}
.guides {
  background: var(--brand-accent);
  border-radius: 11px;
  border: 1.5px dotted var(--brand-secondary);
  padding: 18px 18px 11px 18px;
  margin-top: 18px;
}
.guides h3 { color: var(--retro-brown); margin-bottom: 7px; font-size: 1.07rem; }
.guides ul { margin-left: 22px; }
.guides li {
  margin-bottom: 7px;
  color: var(--retro-blue);
  font-family: 'Montserrat', Arial, sans-serif;
}

/* ---- Classic Retro Patterns & Nostalgic Decorations ---- */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  position: relative;
  background: transparent;
  isolation: isolate;
}
section:nth-child(odd) {
  background: var(--retro-cream);
  border-radius: 20px;
  box-shadow: 0 2px 20px var(--retro-shadow);
}

/* Decorative vintage geometric corner for cards (optional) */
.card:before, .feature-item:before, .service-item:before, .workshop-item:before, .testimonial-card:before {
  content: '';
  display: block;
  position: absolute;
  top: 0; left: 0;
  width: 38px; height: 12px;
  background: repeating-linear-gradient(135deg, var(--retro-mustard), var(--retro-mustard) 6px, var(--retro-orange) 6px, var(--retro-orange) 12px);
  border-radius: 0 0 18px 0;
  z-index: 2;
  opacity: 0.22;
}

/* ---- LISTS & BULLETS ---- */
ul { list-style: disc; margin-left: 1.55em; margin-bottom: 1em; }
li { margin-bottom: 0.44em; }
ul li:before {
  content: '\2022';
  color: var(--retro-orange);
  font-weight: bold;
  display: inline-block;
  width: 1em; margin-left: -1em;
}

/* ---- Additional Micro-Interactions ---- */
a, button {
  outline: none;
  transition: color 0.23s, box-shadow 0.19s;
}
a:focus, button:focus {
  box-shadow: 0 0 0 3px var(--retro-mustard), 0 2px 8px var(--retro-shadow);
  background: var(--retro-mustard);
  color: #fff;
}

/* ---- SMOOTH TRANSITIONS ---- */
*, *::before, *::after {
  transition-property: background, color, box-shadow, transform, border-color, opacity;
  transition-duration: 0.19s;
  transition-timing-function: cubic-bezier(.55,.11,.52,.91);
}

/* ---- COOKIE CONSENT BANNER ---- */
.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%) translateY(120%);
  width: 95vw;
  max-width: 510px;
  background: var(--retro-cream);
  border: 2.5px solid var(--retro-mustard);
  border-radius: 24px 24px 0 0;
  box-shadow: 0 -3px 20px var(--retro-shadow);
  z-index: 2021;
  padding: 24px 18px 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.48s cubic-bezier(.59,.22,.23,1), opacity 0.25s;
  font-size: 1rem;
}
.cookie-banner.active {
  transform: translateX(-50%) translateY(0%);
  opacity: 1;
  pointer-events: auto;
}
.cookie-banner p { color: #43331a; margin-bottom: 11px; }
.cookie-banner .cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding: 10px 22px;
  border-radius: 16px;
  font-weight: 700;
  cursor: pointer;
  border: 2px solid var(--retro-blue);
  background: var(--brand-accent);
  color: var(--brand-primary);
  transition: background 0.18s, color 0.18s;
}
.cookie-banner button.accept {
  background: var(--retro-mustard);
  color: #2d2c19;
  border-color: var(--brand-secondary);
}
.cookie-banner button.reject {
  background: var(--retro-red);
  color: #fff;
  border-color: var(--retro-brown);
}
.cookie-banner button.settings {
  background: var(--brand-secondary);
  color: #fff;
  border-color: var(--retro-blue);
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: var(--retro-orange);
  color: #fff;
}

/* ---- COOKIE SETTINGS MODAL ---- */
.cookie-modal {
  position: fixed;
  z-index: 2024;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(35,27,12,0.30);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.22s;
}
.cookie-modal.active {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal-content {
  background: var(--retro-cream);
  border: 3px solid var(--retro-brown);
  border-radius: 19px;
  padding: 33px 26px 25px 26px;
  width: 98vw; max-width: 420px;
  box-shadow: 0 0 40px var(--retro-shadow);
  display: flex;
  flex-direction: column;
  gap: 15px;
  position: relative;
  animation: cookieModalSlideIn 0.33s cubic-bezier(.44,.11,.22,1);
}
@keyframes cookieModalSlideIn {
  from { transform: translateY(60px) scale(0.95); opacity: 0; }
  to   { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal-content h2 {
  color: var(--retro-brown);
  font-size: 1.17rem;
}
.cookie-category {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 9px;
  font-size: 1rem;
}
.cookie-category label {
  font-weight: 700;
  color: var(--brand-primary);
}
.cookie-category input[type="checkbox"] {
  width: 24px; height: 24px;
  accent-color: var(--retro-orange);
}
.cookie-modal-content .cookie-modal-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: flex-end;
  margin-top: 10px;
}
.cookie-modal-close {
  position: absolute; top: 13px; right: 16px;
  background: none; border: none;
  font-size: 1.4rem; color: var(--retro-brown);
  cursor: pointer; border-radius: 4px;
}
.cookie-modal-close:hover { background: var(--retro-mustard); color: #fff; }

/* ---- SCROLLBAR ---- */
body, .mobile-menu, .cookie-modal-content {
  scrollbar-width: thin;
  scrollbar-color: var(--retro-mustard) var(--brand-accent);
}
::-webkit-scrollbar { width: 9px; background: var(--brand-accent); }
::-webkit-scrollbar-thumb {
  background: var(--retro-mustard);
  border-radius: 10px;
}

/* ---- HELPER CLASSES ---- */
.mt-2 { margin-top: 8px; }
.mb-2 { margin-bottom: 8px; }
.mt-3 { margin-top: 16px; }
.mb-3 { margin-bottom: 16px; }
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ---- PRINT STYLES (optional) ---- */
@media print {
  body { background: #fff; color: #000; }
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal { display: none!important; }
}