/* ========== CSS RESET AND 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%;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  height: 100%;
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  height: 100%;
  background: #FFFFFF;
  font-family: 'Source Sans Pro', Arial, sans-serif;
  color: #27593C;
  line-height: 1.6;
  min-height: 100vh;
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block;
}
ul, ol {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
}
:focus {
  outline: 2px solid #AF7135;
  outline-offset: 2px;
}

/* ========== BRAND VARIABLES ========== */
:root {
  --color-primary: #27593C;
  --color-secondary: #E5DFCA;
  --color-accent: #AF7135;
  --color-accent-dark: #8E4A00;
  --color-bg: #FFFFFF;
  --color-neutral: #F7F6F2;
  --color-text: #27593C;
  --color-text-dark: #1C3425;
  --color-shadow: rgba(39,89,60,0.06);
  --radius-medium: 13px;
  --radius-small: 7px;
  --shadow-1: 0 2px 8px var(--color-shadow);
  --font-display: 'Merriweather', Georgia, serif;
  --font-body: 'Source Sans Pro', Arial, sans-serif;
}

/* ========== TYPOGRAPHY ========== */
h1, .h1 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1.2;
  color: var(--color-primary);
  margin-bottom: 20px;
}
h2, .h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-primary);
  margin-bottom: 16px;
}
h3, .h3 {
  font-family: var(--font-display);
  font-size: 1.38rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 10px;
}
h4, .h4 {
  font-family: var(--font-display);
  font-size: 1.09rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 7px;
}
p, ul, ol, li {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-text-dark);
}
blockquote {
  background: var(--color-neutral);
  border-left: 5px solid var(--color-accent-dark);
  margin: 0 0 12px 0;
  padding: 18px 18px 18px 32px;
  font-style: italic;
  color: var(--color-text-dark);
  font-family: var(--font-display);
  font-size: 1.13rem;
  border-radius: var(--radius-medium);
}
.subheadline {
  font-family: var(--font-body);
  font-size: 1.25rem;
  color: var(--color-text-dark);
  margin-bottom: 22px;
  max-width: 600px;
}
.author {
  margin-top: 10px;
  font-size: 0.95em;
  color: var(--color-primary);
  font-family: var(--font-body);
  font-style: normal;
}

/* ========== LAYOUT CONTAINERS ========== */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 18px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}
.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
  border-radius: var(--radius-medium);
}
/* Utility layouts */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-neutral);
  border-radius: var(--radius-medium);
  margin-bottom: 20px;
  position: relative;
  box-shadow: var(--shadow-1);
  padding: 22px 22px 18px 22px;
  transition: box-shadow 0.2s;
}
.card:hover {
  box-shadow: 0 4px 20px rgba(39,89,60,0.13);
}
.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: var(--color-secondary);
  border-radius: var(--radius-medium);
  box-shadow: var(--shadow-1);
  margin-bottom: 24px;
  flex: 1 1 300px;
  min-width: 0;
  transition: box-shadow 0.2s, background 0.2s;
}
.testimonial-card:hover {
  box-shadow: 0 2px 20px rgba(39,89,60,0.10);
  background: #F8F7F4;
}
.feature-item,
.feature-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--color-neutral);
  border-radius: var(--radius-medium);
  box-shadow: var(--shadow-1);
  padding: 24px 22px;
  margin-bottom: 20px;
  transition: box-shadow 0.2s, background 0.2s;
}
.feature-block:hover,
.feature-item:hover {
  background: #F9F8F4;
  box-shadow: 0 8px 24px rgba(39,89,60,0.10);
}

/* === Navigation/HEADER === */
header {
  background: var(--color-bg);
  border-bottom: 1px solid #f0efe8;
  padding: 0;
  margin-bottom: 0;
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 18px;
}
.logo img {
  height: 48px;
  width: auto;
  display: block;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 14px;
}
.main-nav a {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-primary);
  padding: 8px 14px;
  border-radius: var(--radius-small);
  transition: background 0.17s, color 0.18s;
  position: relative;
}
.main-nav a:hover,
.main-nav a:focus {
  background: var(--color-secondary);
  color: var(--color-accent-dark);
}
.main-nav .cta {
  background: var(--color-accent);
  color: white;
  font-weight: 600;
  border-radius: var(--radius-medium);
  transition: background 0.18s;
  padding: 9px 18px;
  margin-left: 10px;
}
.main-nav .cta:hover,
.main-nav .cta:focus {
  background: var(--color-accent-dark);
  color: #fff;
}

/* ========== HERO/ MAJOR CTA BANNERS ========== */
.hero {
  background: var(--color-neutral);
  border-radius: var(--radius-medium);
  margin-bottom: 40px;
  padding: 48px 0 48px 0;
  box-shadow: 0 5px 24px rgba(39,89,60,0.06);
  text-align: left;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 16px;
}
.hero h1 {
  font-size: 2.6rem;
}
.hero .subheadline {
  font-size: 1.20rem;
  color: var(--color-text);
}
.cta-button, .mini-cta {
  display: inline-block;
  font-family: var(--font-body);
  background: var(--color-accent);
  color: #fff;
  border: none;
  border-radius: var(--radius-medium);
  font-size: 1.08rem;
  font-weight: 600;
  padding: 12px 28px;
  margin-top: 12px;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(39,89,60,0.06);
  transition: background 0.22s, box-shadow 0.18s, transform 0.15s;
  cursor: pointer;
}
.mini-cta {
  background: var(--color-primary);
  color: #fff;
  padding: 10px 25px;
  font-size: 1rem;
  margin-top: 7px;
}
 

/* ========== TEASERS & HIGHLIGHTS ========== */
.teaser-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.teaser-block {
  background: var(--color-secondary);
  border-radius: var(--radius-medium);
  padding: 23px 20px;
  min-width: 200px;
  max-width: 270px;
  flex: 1 1 220px;
  box-shadow: var(--shadow-1);
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-bottom: 20px;
  transition: box-shadow 0.22s;
}
.teaser-block:hover {
  box-shadow: 0 2px 20px rgba(39,89,60,0.09);
}
.teaser-block a {
  color: var(--color-accent);
  font-weight: 600;
  font-size: 0.98rem;
  transition: color 0.2s;
}
.teaser-block a:hover {
  color: var(--color-accent-dark);
}

/* ========== FEATURES / ICON BLOCKS ========== */
.feature-grid, .feature-list, .team-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.feature-list {
  gap: 20px;
}
.feature-block img {
  width: 45px;
  height: 45px;
  margin-bottom: 10px;
}
.feature-block h3 {
  margin-bottom: 6px;
}

/* ======= TEAM SECTION ======= */
.team-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}
.team-member {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  background: var(--color-neutral);
  border-radius: var(--radius-medium);
  box-shadow: var(--shadow-1);
  padding: 20px 24px;
  gap: 20px;
  min-width: 270px;
  max-width: 400px;
  flex: 1 1 240px;
  margin-bottom: 20px;
}
.team-member img {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}
.member-details h3 {
  font-size: 1.13rem;
  margin-bottom: 5px;
}

/* ========== TEXT / INFO BLOCKS ========== */
.text-section ul, .text-section ol {
  margin-top: 8px;
  padding-left: 24px;
  list-style: disc inside;
}
.text-section ul li, .text-section ol li {
  margin-bottom: 8px;
  font-size: 1rem;
}
.text-section ul li strong {
  color: var(--color-primary);
}
.text-section img {
  border-radius: var(--radius-small);
}

/* ========== ACTIVITY / SCENARIO LISTS ========== */
.activity-list ul {
  margin-top: 3px;
  gap: 8px;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
}
.activity-list ul li {
  background: var(--color-neutral);
  border-radius: var(--radius-small);
  padding: 12px 16px;
  margin-bottom: 10px;
  color: var(--color-text);
}
.activity-list ul span {
  color: var(--color-accent-dark);
  font-size: 0.95em;
}
.scenario ul, .features ul {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.scenario ul li, .features ul li {
  font-size: 1rem;
  margin-bottom: 9px;
}
.guides ol {
  margin-top: 9px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  list-style: decimal inside;
}
.guides ol li {
  padding-bottom: 4px;
}

/* ========== MAP PLACEHOLDER ========== */
.map-placeholder {
  background: var(--color-neutral);
  border-radius: var(--radius-medium);
  padding: 21px 18px;
  text-align: center;
  box-shadow: var(--shadow-1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 13px;
  margin: 12px 0;
}
.map-placeholder img {
  width: 70px;
  height: 70px;
}
.map-placeholder p {
  color: var(--color-primary);
  font-weight: 600;
  font-family: var(--font-body);
  font-size: 1.03rem;
}

/* ========== FOOTER ========== */
footer {
  background: var(--color-neutral);
  border-top: 1px solid #EFEDE4;
  padding: 0;
  font-size: 0.96rem;
}
.footer-main {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
  align-items: flex-start;
  padding: 34px 0 10px 0;
}
.footer-brand img {
  width: 42px;
  height: 42px;
  margin-bottom: 6px;
}
.footer-brand p a {
  color: var(--color-accent);
  text-decoration: underline;
  transition: color 0.2s;
}
.footer-brand p a:hover {
  color: var(--color-accent-dark);
}
.footer-links, .footer-social {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-links a {
  color: var(--color-text);
  font-size: 1rem;
  transition: color 0.17s;
}
.footer-links a:hover {
  color: var(--color-accent-dark);
}
.footer-social {
  gap: 14px;
}
.footer-social a img {
  width: 28px;
  height: 28px;
  filter: grayscale(25%);
  transition: filter 0.18s;
}
.footer-social a:hover img {
  filter: none;
}
.footer-bottom {
  border-top: 1px solid #ebe8db;
  text-align: center;
  padding: 13px 0 13px 0;
  color: #6E8475;
  font-size: 0.95rem;
}

/* ========== MOBILE MENU BURGER NAVIGATION ========== */
.mobile-menu-toggle {
  display: none;
  background: var(--color-secondary);
  color: var(--color-accent-dark);
  font-size: 2.1rem;
  padding: 0 10px;
  border-radius: 7px;
  border: none;
  margin-left: 16px;
  height: 45px;
  transition: background 0.18s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--color-accent);
  color: #fff;
}
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(229, 223, 202, 0.97);
  z-index: 2100;
  flex-direction: column;
  align-items: stretch;
  transition: transform 0.35s cubic-bezier(.63,.15,.26,1), opacity 0.35s cubic-bezier(.63,.15,.26,1);
  transform: translateX(-100%);
  opacity: 0;
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
  opacity: 1;
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.2rem;
  color: var(--color-accent-dark);
  align-self: flex-end;
  margin: 24px 22px 8px 0;
  cursor: pointer;
  transition: color 0.14s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--color-accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
  margin-top: 22px;
  width: 100%;
}
.mobile-nav a {
  font-family: var(--font-body);
  font-size: 1.16rem;
  color: var(--color-text);
  background: none;
  border-radius: var(--radius-small);
  padding: 14px 32px;
  width: 85%;
  text-align: left;
  transition: background 0.16s, color 0.17s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-accent);
  color: #fff;
}
.mobile-nav a.cta {
  background: var(--color-accent);
  color: #fff;
  font-weight: 600;
  border-radius: var(--radius-medium);
  text-align: center;
  margin: 0;
  padding: 14px 0;
  margin-top: 10px;
}
.mobile-nav a.cta:hover, .mobile-nav a.cta:focus {
  background: var(--color-accent-dark);
}

/* Hide .main-nav and show burger menu on mobile */
@media (max-width: 900px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (max-width: 768px) {
  .footer-main {
    flex-direction: column;
    gap: 26px;
    align-items: flex-start;
  }
}

/* ========== COOKIE CONSENT BANNER & MODAL ========== */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: var(--color-neutral);
  color: var(--color-text-dark);
  border-top: 1.5px solid #E5DFCA;
  box-shadow: 0 -1px 16px rgba(39,89,60,0.06);
  z-index: 2500;
  padding: 20px 18px;
  display: flex;
  align-items: center;
  gap: 28px;
  justify-content: space-between;
  flex-wrap: wrap;
  animation: cookieBannerIn 0.5s cubic-bezier(.55,.13,.34,.96);
}
@keyframes cookieBannerIn {
  from { transform: translateY(60px); opacity:0; }
  to { transform: translateY(0); opacity:1; }
}
.cookie-banner-message {
  flex: 1 1 220px;
  font-size: 1rem;
  max-width: 600px;
}
.cookie-banner-actions {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
}
.cookie-btn {
  padding: 9px 20px;
  background: var(--color-accent);
  color: #fff;
  font-family: var(--font-body);
  font-size: 1rem;
  border: none;
  border-radius: var(--radius-medium);
  margin-right: 0;
  transition: background 0.19s, transform 0.13s;
}
.cookie-btn.accept {
  background: var(--color-accent);
}
.cookie-btn.reject {
  background: #A3A196;
}
.cookie-btn.settings {
  background: var(--color-primary);
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--color-accent-dark);
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #837f73;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #15381F;
}

/* Cookie Modal Popup */
.cookie-modal-overlay {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(229,223,202,0.92);
  z-index: 2600;
  display: none;
  align-items: center;
  justify-content: center;
  animation: fadeIn .3s;
}
.cookie-modal-overlay.open {
  display: flex;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: var(--radius-medium);
  box-shadow: 0 1px 36px 3px rgba(39,89,60,0.16);
  padding: 35px 28px 24px 28px;
  min-width: 308px;
  max-width: 95vw;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}
.cookie-modal-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 0;
}
.cookie-modal-close {
  position: absolute;
  right: 18px;
  top: 18px;
  background: none;
  border: none;
  font-size: 1.48rem;
  color: var(--color-accent-dark);
  cursor: pointer;
  transition: color 0.17s;
}
.cookie-modal-close:hover {
  color: var(--color-accent);
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0 1px 0;
}
.cookie-category .description {
  font-size: 0.99rem;
  color: var(--color-text);
}
.cookie-toggle {
  width: 38px;
  height: 22px;
  position: relative;
}
.cookie-toggle input[type=checkbox] {
  opacity: 0;
  width: 38px;
  height: 22px;
  margin: 0;
  cursor: pointer;
}
.cookie-toggle-slider {
  position: absolute;
  background: #D0CDBE;
  border-radius: 22px;
  top: 0; left: 0; right: 0; bottom: 0;
  transition: background 0.22s;
}
.cookie-toggle input[type=checkbox]:checked + .cookie-toggle-slider {
  background: var(--color-accent);
}
.cookie-toggle-slider:before {
  content: '';
  position: absolute;
  left: 3px;
  top: 3.8px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.22s;
}
.cookie-toggle input[type=checkbox]:checked + .cookie-toggle-slider:before {
  transform: translateX(15px);
}
.cookie-actions {
  display: flex;
  justify-content: flex-end;
  gap: 14px;
  margin-top: 16px;
}
@media (max-width: 665px) {
  .cookie-banner {
    flex-direction: column;
    gap: 18px;
    padding: 19px 7px;
    align-items: flex-start;
  }
  .cookie-banner-actions {
    justify-content: flex-start;
    gap: 10px;
  }
  .cookie-modal {
    padding: 26px 12px 13px 15px;
    min-width: 206px;
  }
}

/* ========== THANK YOU PAGE ========== */
.thank-you h1 {
  margin-bottom: 21px;
  font-size: 2.2rem;
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 1180px) {
  .container {
    max-width: 96vw;
  }
}
@media (max-width: 1000px) {
  .feature-grid, .feature-list, .teaser-list, .team-grid, .card-container, .content-grid {
    gap: 18px;
  }
}
@media (max-width: 900px) {
  .feature-grid, .feature-list, .teaser-list, .team-grid, .card-container, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .feature-block, .teaser-block, .team-member, .card {
    max-width: 100%;
    width: 100%;
  }
}
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  .container {
    padding: 0 7px;
  }
  .section, section {
    padding: 28px 7px;
    margin-bottom: 40px;
  }
  .hero {
    padding: 33px 0 33px 0;
  }
  h1 {
    font-size: 2.03rem;
    margin-bottom: 17px;
  }
  h2 {
    font-size: 1.45rem;
    margin-bottom: 11px;
  }
  .content-wrapper {
    gap: 15px;
  }
  .feature-block, .feature-item, .card, .teaser-block, .team-member {
    padding: 14px 9px;
  }
  .feature-grid, .feature-list, .teaser-list, .team-grid, .card-container, .content-grid, .testimonial-card {
    flex-direction: column;
    gap: 15px;
  }
  .testimonial-card {
    padding: 15px;
    font-size: 0.97rem;
  }
  .text-image-section {
    flex-direction: column;
    gap: 20px;
  }
  header .container {
    padding: 9px 7px;
  }
}
@media (max-width: 520px) {
  h1, .h1 { font-size: 1.49rem; }
  h2, .h2 { font-size: 1.12rem; }
  .subheadline { font-size: 1.01rem; }
  .feature-block img, .team-member img { width: 34px; height: 34px; }
  .card, .feature-block, .teaser-block {
    padding: 10px 5px;
  }
}

/* ========== MISC: LINKS, HR, etc. ========== */
a {
  cursor: pointer;
  transition: color 0.18s;
}
a:hover, a:active {
  color: var(--color-accent-dark);
}
hr {
  border: 0; border-bottom: 1.4px solid #e8e7de; margin: 24px 0;
}
input, textarea, select {
  font-family: var(--font-body);
  border-radius: var(--radius-small);
  border: 1px solid #E5DFCA;
  padding: 8px 14px;
  background: #fff;
  font-size: 1rem;
  margin-bottom: 12px;
  transition: border-color 0.16s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--color-accent-dark);
}

/* ========== ACCORDION AND FAQ SECTION STYLES ========== */
.faq ol {
  display: flex;
  flex-direction: column;
  gap: 8px;
  list-style: decimal inside;
}
.faq ol li {
  padding-left: 8px;
  font-size: 1rem;
}

/* ========== ACCESSIBILITY UTILITY ========== */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
  border: 0 !important;
}

/* ========== HIDE COMPONENTS THAT ARE JS-CONTROLLED INITIALLY ========== */
.mobile-menu,
.cookie-modal-overlay {
  display: none;
}
.mobile-menu.open,
.cookie-modal-overlay.open {
  display: flex;
}

/* ========== END OF CSS ========== */
