/* ====================================== */
/*      CSS RESET AND NORMALIZATION       */
/* ====================================== */
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; box-sizing: border-box;
  font-size: 100%; font: inherit; vertical-align: baseline;
}
html {
  scroll-behavior: smooth;
}
body {
  line-height: 1.5;
  background: #FAF7F2;
  color: #254043; /* brand primary */
}
*, *:before, *:after { box-sizing: inherit; }
ol, ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  display: block;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}

/* ======================================= */
/*      BRAND FONTS + TYPOGRAPHY SCALE     */
/* ======================================= */
:root {
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Roboto', Arial, Helvetica, sans-serif;
  --color-primary: #254043;
  --color-secondary: #A0492F;
  --color-accent: #F4E1D2;
  --color-bg: #FAF7F2;
  --color-success: #498a36;
  --color-warning: #ffe1a8;
  --color-error: #c0392b;
  --color-focus: #3b7155;
  --shadow-card: 0 3px 14px rgba(37, 64, 67, 0.08);
  --radius-xs: 8px;
  --radius-md: 18px;
  --radius-lg: 34px;
  --transition: 0.25s cubic-bezier(.4,1.4,.35,1);
}
body {
  font-family: var(--font-body);
  font-size: 16px;
  background-color: var(--color-bg);
  color: var(--color-primary);
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--color-primary);
  margin-bottom: 16px;
  font-weight: 700;
  line-height: 1.15;
}
h1 {
  font-size: 2.5rem; /* 40px */
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem; /* 32px */
  margin-bottom: 16px;
}
h3 {
  font-size: 1.4rem; /* 22.4px */
  margin-bottom: 12px;
}
h4 {
  font-size: 1.15rem; /* 18.4px */
}
p, li, span, ul, ol {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-primary);
}
small {
  font-size: 0.92em;
  color: #496465;
}
strong {
  font-weight: 700;
}

/* ============================================= */
/*         GLOBAL CONTAINER & SECTION SPACING    */
/* ============================================= */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  background: none;
}
.text-section {
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 32px 24px;
  margin-bottom: 20px;
}

/* Natural texture look with a subtle pattern overlay */
body:before {
  content: '';
  position: fixed;
  z-index: 0;
  pointer-events: none;
  top: 0; left: 0; right: 0; bottom: 0;
  opacity: 0.04;
  background: url('data:image/svg+xml;utf8,<svg width="80" height="80" viewBox="0 0 80 80" fill="none" xmlns="http://www.w3.org/2000/svg"><circle cx="40" cy="40" r="38" stroke="%23254043" stroke-width="4" opacity="0.13"/></svg>');
  background-size: 160px 160px;
  background-repeat: repeat;
}

/* =============================================
   HEADER, NAVIGATION, MOBILE MENU, CTA-BUTTON
   ============================================= */
header {
  background-color: #fff;
  border-bottom: 2px solid var(--color-accent);
  box-shadow: 0 1px 12px 0 rgba(37,64,67,0.04);
  z-index: 20;
  position: relative;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-top: 12px;
  padding-bottom: 12px;
}
header img {
  height: 42px;
  width: auto;
  margin-right: 16px;
}
header nav {
  display: flex;
  flex-direction: row;
  gap: 20px;
  align-items: center;
}
header nav a {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--color-primary);
  padding: 8px 12px;
  border-radius: var(--radius-xs);
  transition: color var(--transition), background var(--transition) ;
  position: relative;
}
header nav a:hover, header nav a:focus {
  background: var(--color-accent);
  color: var(--color-secondary);
}
.cta-btn {
  background: var(--color-secondary);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  border-radius: var(--radius-lg);
  padding: 12px 30px;
  font-size: 1.05rem;
  box-shadow: 0 2px 8px 0 rgba(37, 64, 67, 0.11);
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  outline: none;
  margin-left: 24px;
  letter-spacing: 0.01em;
  display: inline-block;
}
.cta-btn:hover,
.cta-btn:focus {
  background: #7C361E;
  color: #fff;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 5px 24px 0 rgba(37, 64, 67, 0.15);
}
header .cta-btn {
  margin-left: 32px;
}

/* ================= Mobile Navigation =============== */
.mobile-menu-toggle {
  display: block;
  background: var(--color-secondary);
  color: #fff;
  border-radius: 50%;
  height: 44px;
  width: 44px;
  font-size: 1.7rem;
  align-items: center;
  justify-content: center;
  z-index: 60;
  border: none;
  position: relative;
  margin-left: 16px;
  transition: background var(--transition), color var(--transition);
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: #7c361e;
  color: #fff;
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #fffefb;
  box-shadow: 0 0 32px rgba(37,64,67,0.10);
  z-index: 200;
  padding: 0 0 0 0;
  transform: translateX(-100vw);
  transition: transform 0.45s cubic-bezier(.33,1.35,.33,1); /* slide in */
}
.mobile-menu.open {
  transform: translateX(0);
  box-shadow: 0 0 80px 0 rgba(37, 64, 67, 0.13);
}
.mobile-menu-close {
  font-size: 2rem;
  color: var(--color-secondary);
  background: rgba(244,225,210, 0.9);
  border-radius: 50%;
  padding: 4px 18px 4px 8px;
  border: none;
  margin: 18px 0 18px 24px;
  cursor: pointer;
  align-self: flex-start;
  box-shadow: 0 4px 12px 0 rgba(37,64,67,0.07);
  transition: background var(--transition);
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: var(--color-accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 36px 32px 0 32px;
  width: 100%;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.24rem;
  color: var(--color-primary);
  background: #fff;
  padding: 14px 12px 14px 22px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  transition: background var(--transition), color var(--transition), border var(--transition);
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--color-secondary);
  background: var(--color-accent);
  border-color: var(--color-secondary);
}

@media(min-width: 1025px) {
  .mobile-menu-toggle,
  .mobile-menu { display: none !important; }
}
@media(max-width: 1024px) {
  header nav,
  header .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

/* ====================================
   SECTION, CARD AND FLEXBOX STRUCTURES
   ==================================== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 0 0 24px 0;
}
.card {
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  margin-bottom: 20px;
  padding: 28px 20px 24px 20px;
  position: relative;
  min-width: 260px;
  flex: 1 1 270px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover {
  box-shadow: 0 4px 16px 0 rgba(37, 64, 67, 0.12);
  transform: translateY(-4px) scale(1.01);
}
.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  border-left: 6px solid var(--color-success);
}
.testimonial-card p {
  color: #29423c;
  font-size: 1.10rem;
  font-family: var(--font-body);
  line-height: 1.5;
  margin-bottom: 0;
}
.testimonial-card span {
  color: #1d3123;
  font-size: 1rem;
  font-family: var(--font-display);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #F4E1D2;
  border-radius: var(--radius-md);
  padding: 18px 18px;
  box-shadow: 0 2px 10px rgba(164,73,47,0.03);
  min-width: 220px;
  margin-bottom: 20px;
}

/* Card and team member styling */
.team-member-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.team-member {
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 20px 20px 20px 20px;
  flex: 1 1 250px;
  min-width: 220px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.workshop-card {
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 24px 20px 16px 20px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
/* ========================================
   ORGANIC ELEMENTS: LISTS, ICON-LISTS, ETC
   ======================================== */
ul li, ol li {
  margin-bottom: 12px;
  margin-left: 0px;
  padding-left: 0px;
  position: relative;
}
.content-wrapper > ul li::before, .text-section ul li::before {
  content: '';
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-right: 12px;
  vertical-align: middle;
  background: radial-gradient(circle at 60% 60%, #A0492F 65%, transparent 120%);
  border-radius: 50%;
  opacity: 0.29;
}
.content-wrapper > ul li img,
.text-section ul li img {
  margin: 0 7px -3px 0;
  vertical-align: middle;
  height: 26px;
  width: auto;
  display: inline-block;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 1px 4px 0 rgba(37,64,67,0.06);
  padding: 3px;
}

.popular-tags {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.popular-tags span {
  display: inline-block;
  background: var(--color-accent);
  color: var(--color-secondary);
  border-radius: var(--radius-lg);
  padding: 4px 14px;
  font-size: 0.97rem;
  font-family: var(--font-body);
  letter-spacing: 0.04em;
}

/* =======================================
          FOOTER + FOOTER NAVIGATION
   ======================================= */
footer {
  background: #23423a;
  color: #fff;
  font-size: 1rem;
  padding-top: 32px;
  padding-bottom: 20px;
  margin-top: 60px;
}
footer .container {
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}
footer nav {
  display: flex;
  flex-direction: row;
  gap: 28px;
  margin-bottom: 10px;
}
footer nav a {
  color: #f4e1d2;
  opacity: 0.92;
  font-size: 1rem;
  font-family: var(--font-body);
  transition: color var(--transition), opacity var(--transition);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
}
footer nav a:hover {
  color: var(--color-accent);
  opacity: 1;
  border-bottom: 1px solid var(--color-accent);
}
.footer-contact {
  display: flex;
  flex-direction: column;
  font-size: 0.99rem;
  font-family: var(--font-body);
  gap: 2px;
  color: #F6EFEC;
}

/* ========================================= */
/*                MAP SNIPPET                */
/* ========================================= */
.map-snippet {
  background: var(--color-accent);
  padding: 12px 20px;
  border-radius: var(--radius-xs);
  color: var(--color-primary);
  font-size: 0.99rem;
  margin-top: 12px;
}
.map-snippet a {
  color: var(--color-secondary);
  border-bottom: 1px dashed var(--color-secondary);
  transition: border-bottom var(--transition);
}
.map-snippet a:hover {
  border-bottom: 1px solid var(--color-secondary);
}

/* =========================
       FORM & NOTICE
   ========================= */
.privacy-notice {
  font-size: 0.94rem;
  color: #60716c;
  margin-top: 14px;
  background: #f8f3eb;
  border-left: 4px solid var(--color-accent);
  padding: 8px 12px;
  border-radius: var(--radius-xs);
}

/* =========================
     RESPONSIVE DESIGN
   ========================= */
@media (max-width: 1024px) {
  .container { max-width: 98vw; }
}
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.35rem; }
  .section {
    margin-bottom: 34px;
    padding: 24px 8px;
  }
  .text-section, .card {
    padding: 18px 8px;
  }
  .content-wrapper {
    padding: 0 0;
    gap: 16px;
  }
  .card-container, .team-member-list, .content-grid {
    flex-direction: column;
    gap: 16px;
  }
  .testimonial-card,
  .feature-item,
  .team-member,
  .workshop-card {
    min-width: unset;
    width: 100%;
  }
  .text-image-section { flex-direction: column; gap: 18px; }
  header .container { flex-direction: row; gap: 14px; padding-top: 6px; padding-bottom: 6px; }
}
@media (max-width: 520px) {
  .section {
    padding: 16px 3vw;
  }
  .container {
    padding: 0 4px;
  }
  body, p, li, ul, nav a, span { font-size: 0.99rem; }
  .cta-btn { padding: 8px 20px; font-size: 1rem; }
}

/* ========================================= */
/*       BUTTONS, LINKS, INTERACTIONS        */
/* ========================================= */
a:not(.cta-btn):not(.mobile-nav a):not(footer nav a) {
  color: var(--color-secondary);
  font-weight: 600;
  font-family: var(--font-body);
  padding: 2px 2px;
  transition: color var(--transition), border-bottom var(--transition);
  border-bottom: 1px dotted var(--color-secondary);
}
a:not(.cta-btn):not(.mobile-nav a):hover {
  color: #7c361e;
  border-bottom: 1px solid #7c361e;
}

/* =========== Animate focus for accessibility =========== */
*:focus-visible,
.mobile-menu-toggle:focus {
  outline: 2px solid var(--color-focus);
  outline-offset: 3px;
}

/* =========================================== */
/*                COOKIE BANNER                */
/* =========================================== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 250;
  background: #fff;
  border-top: 3px solid var(--color-secondary);
  box-shadow: 0 -2px 14px 0 rgba(37,64,67,0.09);
  padding: 22px 10vw 18px 10vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: transform 0.5s cubic-bezier(.55,1.13,.33,1), opacity 0.6s;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-primary);
}
.cookie-banner.hidden {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner .cookie-text {
  flex: 1 1 300px;
  margin-right: 20px;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
}
.cookie-banner .cookie-btn {
  background: var(--color-secondary);
  color: #fff;
  border: none;
  border-radius: var(--radius-xs);
  padding: 9px 24px;
  font-size: 1rem;
  font-family: var(--font-display);
  font-weight: 500;
  cursor: pointer;
  box-shadow: 0 2px 8px 0 rgba(37, 64, 67, 0.08);
  transition: background var(--transition), transform var(--transition);
}
.cookie-banner .cookie-btn:hover,
.cookie-banner .cookie-btn:focus {
  background: #7c361e;
  transform: translateY(-1px) scale(1.05);
}
.cookie-banner .cookie-btn.cookie-settings {
  background: #F4E1D2;
  color: var(--color-primary);
  font-weight: 600;
  border: 1px solid var(--color-secondary);
  transition: background var(--transition), color var(--transition);
}
.cookie-banner .cookie-btn.cookie-settings:hover {
  background: #fff8f2;
  color: var(--color-secondary);
}
@media (max-width: 650px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 10px 14px 10px;
    font-size: 0.98rem;
  }
  .cookie-banner .cookie-actions {
    width: 100%;
    justify-content: flex-start;
    gap: 10px;
    margin-top: 8px;
  }
  .cookie-banner .cookie-text {
    margin-right: 0;
    margin-bottom: 7px;
  }
}

/* ============ Cookie Modal (Preferences) ============= */
.cookie-modal-backdrop {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  z-index: 350;
  background: rgba(37, 64, 67, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: all;
  opacity: 1;
  transition: opacity 0.25s;
}
.cookie-modal {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 36px 30px 24px 30px;
  width: 96vw;
  max-width: 410px;
  box-shadow: 0 8px 44px 0 rgba(37,64,67,0.18);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: modal-in 0.38s cubic-bezier(.44,1.51,.23,1) both;
}
@keyframes modal-in {
  from { opacity:0; transform: translateY(30px) scale(0.96); }
  to { opacity:1; transform: translateY(0) scale(1); }
}
.cookie-modal h2 {
  margin-bottom: 6px;
  font-size: 1.21rem;
  color: var(--color-secondary);
}
.cookie-modal .cookie-cat {
  margin-bottom: 15px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
}
.cookie-modal .cookie-cat .toggle {
  width: 40px;
  height: 23px;
  background: #ddd;
  border-radius: 12px;
  position: relative;
  cursor: pointer;
  margin-left: auto;
  border: none;
  transition: background var(--transition);
}
.cookie-modal .cookie-cat .toggle.active {
  background: var(--color-success);
}
.cookie-modal .cookie-cat .toggle:before {
  content: '';
  position: absolute;
  left: 3px; top: 2px;
  width: 19px; height: 19px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px 0 rgba(37,64,67,0.11);
  transition: left var(--transition);
}
.cookie-modal .cookie-cat .toggle.active:before {
  left: 18px;
}
.cookie-modal .cookie-cat .info {
  font-size: 0.99em;
  color: #5e6764;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
  margin-top: 12px;
}
.cookie-modal .cookie-btn {
  padding: 8px 18px;
  font-size: 1em;
}
.cookie-modal .cookie-btn:last-child {
  background: var(--color-accent);
  color: var(--color-primary);
  border: 1px solid var(--color-secondary);
}
.cookie-modal .cookie-btn:last-child:hover {
  background: #ffe7c8;
  color: var(--color-secondary);
}
.cookie-modal-close {
  position: absolute;
  top: 12px; right: 16px;
  background: none;
  color: #A0492F;
  font-size: 1.42rem;
  border: none;
  cursor: pointer;
}
@media (max-width: 500px) {
  .cookie-modal {
    padding: 18px 6vw 10px 6vw;
    width: 98vw;
  }
  .cookie-modal .cookie-modal-actions { flex-direction: column; gap: 9px; }
}

/* =========================================
    ORGANIC/NATURE-INSPIRED SHAPE DECORATORS
   ========================================= */
.section, .card, .testimonial-card, .feature-item, .team-member, .workshop-card {
  border-radius: 34px 15px 24px 40px/16px 36px 24px 30px;
}

/* ===========================================
   MICRO ANIMATIONS: BUTTON/BG/ICONFEEL
   =========================================== */
button, .cta-btn, .cookie-btn, .toggle {
  transition: background var(--transition), color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.testimonial-card:hover {
  box-shadow: 0 7px 22px 0 rgba(164, 73, 47, 0.11);
  border-left: 8px solid #468a3d;
}

/* =========================================
      UTILITY CLASSES FOR SPACING & FLEXBOX
   ========================================= */
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-20 { margin-bottom: 20px; }
.mb-32 { margin-bottom: 32px; }
.flex-row { display: flex; flex-direction: row; }
.flex-col { display: flex; flex-direction: column; }
.flex-center { display: flex; justify-content: center; align-items: center; }
.gap-20 { gap: 20px; }
.gap-32 { gap: 32px; }
.text-center { text-align: center; }

/* Prevent horizontal overflow */
html, body { max-width: 100vw; overflow-x: hidden; }

/* ================================
     SELECTION HIGHLIGHT COLORS
   ================================ */
::selection {
  background: #D0E7B8;
  color: #254043;
}

/* ================================
      FOCUS FORMS ACCESSIBILITY
   ================================ */
input:focus, textarea:focus, select:focus {
  outline: 2px solid var(--color-focus);
}

/* ===============
  PRINT STYLES
  =============== */
@media print {
  header, footer, .cookie-banner { display: none !important; }
  .section, .container { box-shadow: none !important; background: none !important; }
}
