/* ----- CSS RESET & 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;
  font-size: 100%; font: inherit; vertical-align: baseline;
  box-sizing: border-box;
}
html { 
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  line-height: 1.5;
  color: #21374C;
  background-color: #fff;
  font-family: 'Source Sans Pro', Arial, Helvetica, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  position: relative;
  -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.2s; }
button { font-family: inherit; border: none; background: none; cursor: pointer; }
:focus { outline: 2px solid #97B379; outline-offset: 2px; }

/* ----- BRAND TYPOGRAPHY ----- */
h1 {
  font-family: 'Merriweather', serif;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 24px;
  line-height: 1.2;
  color: #21374C;
}
h2 {
  font-family: 'Merriweather', serif;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 18px;
  color: #21374C;
  line-height: 1.2;
}
h3 {
  font-family: 'Merriweather', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: #21374C;
  margin-bottom: 10px;
}
h4, h5, h6 {
  font-family: 'Merriweather', serif;
  color: #21374C;
}
p, li, ul, ol, span {
  font-size: 1rem;
  color: #21374C;
  line-height: 1.6;
}
strong { font-weight: 700; }

/* ----- LAYOUT: CONTAINERS & FLEXBOX ----- */
.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 10px;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.text-section {
  max-width: 720px;
  margin: 0 auto;
}

/* ----- HEADER & NAVIGATION ----- */
header {
  background: #fff;
  box-shadow: 0 2px 8px rgba(33,55,76,.03), 0 0.5px 4px rgba(33,55,76,.05);
  position: sticky;
  top: 0; z-index: 30;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: 16px;
}
.logo img { height: 40px; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.main-nav a {
  font-size: 1rem;
  color: #21374C;
  font-weight: 500;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
  color: #97B379;
  border-bottom: 2px solid #97B379;
}
.cta-header {
  margin-left: 16px;
  padding: 8px 22px;
  border-radius: 24px;
  background: #21374C;
  color: #fff;
  font-family: 'Merriweather', serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: none;
  box-shadow: 0 2px 8px rgba(33,55,76,0.06);
  transition: background 0.2s, box-shadow 0.2s;
  position: relative;
  z-index: 1;
}
.cta-header:hover, .cta-header:focus {
  background: #97B379;
  color: #21374C;
  box-shadow: 0 4px 12px rgba(151,179,121,0.08);
}

/* ----- MOBILE MENU ----- */
.mobile-menu-toggle {
  display: none;
  font-size: 2.2rem;
  background: none;
  color: #21374C;
  padding: 8px 12px;
  z-index: 60;
  border-radius: 8px;
  transition: background 0.2s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #F0F3F8;
}
.mobile-menu {
  display: none;
}
.mobile-menu.active {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: #fff;
  box-shadow: 0 0 32px rgba(33,55,76,0.12);
  z-index: 100;
  overflow-y: auto;
  animation: mmenu-slide-in 0.35s cubic-bezier(.6,.6,0,1) forwards;
}
@keyframes mmenu-slide-in {
  from { transform: translateX(100%); opacity: 0; }
  to   { transform: translateX(0); opacity: 1; }
}
.mobile-menu-close {
  font-size: 2rem;
  align-self: flex-end;
  margin: 24px 32px 12px 0;
  background: none;
  padding: 8px;
  color: #21374C;
  border-radius: 6px;
  transition: background 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #F0F3F8;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100%;
  align-items: flex-start;
  margin-top: 10px;
  padding-left: 36px;
}
.mobile-nav a {
  font-size: 1.25rem;
  color: #21374C;
  padding: 12px 0;
  font-weight: 600;
  width: 100%;
  border-radius: 4px;
  transition: background 0.2s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F0F3F8;
  color: #97B379;
}

@media (max-width: 992px) {
  .main-nav {
    gap: 18px;
  }
}

@media (max-width: 768px) {
  header .container {
    height: 58px;
    gap: 8px;
  }
  .main-nav, .cta-header {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* ----- HERO / HEADERS ----- */
.hero {
  background-color: #F0F3F8;
  border-radius: 0 0 24px 24px;
  box-shadow: 0 6px 32px rgba(33,55,76,0.06);
  margin-bottom: 60px;
  padding-top: 32px;
  padding-bottom: 56px;
  display: flex;
  align-items: center;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}
.hero h1 {
  font-size: 2.2rem;
}
.hero p {
  font-size: 1.15rem;
  color: #21374C;
  margin-bottom: 18px;
}

/* ---- GENERIC FLEX SPACING CLASSES ---- */
.section { 
  margin-bottom: 60px; 
  padding: 40px 20px; 
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(33,55,76,0.05);
  padding: 24px 20px;
  transition: box-shadow 0.22s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 24px rgba(33,55,76,0.10);
}
.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;
}
@media (max-width: 768px) {
  .text-image-section { flex-direction: column; gap: 22px; }
}

.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

/* ----- FEATURES (Icongrid) ----- */
.features .content-wrapper, .feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature-grid {
  width: 100%;
  flex-wrap: wrap;
  gap: 28px;
}
.feature-grid li {
  flex: 1 1 220px;
  min-width: 200px;
  max-width: 260px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(33,55,76,0.05);
  padding: 28px 16px 18px 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 16px;
  transition: box-shadow 0.18s;
  border: 1px solid #F0F3F8;
}
.feature-grid li img {
  width: 38px; height: 38px;
  margin-bottom: 6px;
}
.feature-grid li h3 {
  margin-bottom: 6px;
  font-size: 1.15rem;
}
.feature-grid li p {
  color: #445168;
  font-size: 1rem;
}
.feature-grid li:hover, .feature-grid li:focus-within {
  box-shadow: 0 8px 24px rgba(33,55,76,0.14);
  border: 1px solid #97B37933;
}

@media (max-width: 900px) {
  .feature-grid li { flex: 1 1 48%; min-width: 220px; }
}
@media (max-width: 600px) {
  .feature-grid { gap: 16px; }
  .feature-grid li { flex: 1 1 100%; min-width: 0; max-width: 100%; }
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ----- CARD AND LISTS ----- */
.card-container, .service-list, .event-list, .author-profiles, .value-list, .next-steps, .step-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.step-list {
  counter-reset: step;
  padding-left: 0;
}
.step-list li {
  position: relative;
  padding-left: 32px;
  font-weight: 500;
}
.step-list li:before {
  content: counter(step);
  counter-increment: step;
  background: #97B379;
  color: #fff;
  border-radius: 50%;
  width: 24px; height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  position: absolute;
  left: 0; top: 1px;
}

/* ----- ACCENTED/ALTERNATIVE BACKGROUND ----- */
.accent-bg {
  background: #F0F3F8;
  border-radius: 18px;
  box-shadow: 0 2px 10px rgba(33,55,76,0.04);
}

/* ----- TESTIMONIALS ----- */
.testimonials .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 26px 22px;
  min-width: 220px;
  max-width: 340px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 14px rgba(33,55,76,0.06);
  margin-right: 8px;
  margin-bottom: 20px;
  border-left: 4px solid #97B379;
  transition: box-shadow 0.18s, border-left .22s;
}
.testimonial-card .stars {
  font-size: 1.3rem;
  letter-spacing: 0.08em;
  color: #F5B800;
  margin-bottom: -4px;
  font-family: inherit;
}
.testimonial-card p {
  color: #21374C;
  font-size: 1.05rem;
  font-style: italic;
}
.testimonial-card .customer {
  color: #445168;
  font-size: 0.98rem;
  font-weight: 500;
  align-self: flex-end;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 8px 28px rgba(33,55,76,0.13);
  border-left: 4px solid #21374C;
}
@media (max-width: 630px) {
  .testimonials .content-wrapper {
    flex-direction: column;
    gap: 16px;
  }
  .testimonial-card { max-width: 99vw; }
}

/* ----- CTA SECTIONS ----- */
.cta {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 14px rgba(151,179,121,0.09);
  margin-bottom: 60px;
  padding: 44px 20px; /* more generous for calls to action */
  display: flex;
  align-items: center;
  justify-content: center;
}
.cta .text-section {
  align-items: center;
  text-align: center;
  gap: 18px;
}

/* ----- BUTTONS & CTA ----- */
.cta-primary {
  display: inline-block;
  padding: 14px 34px;
  background: #97B379;
  color: #21374C;
  font-family: 'Merriweather', serif;
  font-size: 1.09rem;
  font-weight: 600;
  border-radius: 27px;
  box-shadow: 0 2px 8px rgba(151,179,121,0.11);
  transition: background 0.18s, color 0.18s, box-shadow 0.20s;
  border: none;
  margin-top: 18px;
  letter-spacing: 0.01em;
  cursor: pointer;
}
.cta-primary:hover, .cta-primary:focus {
  background: #21374C;
  color: #fff;
  box-shadow: 0 8px 20px rgba(33,55,76,0.14);
}

/* Text links in paragraphs that are CTAs */
p a {
  color: #97B379;
  text-decoration: underline;
  transition: color 0.18s;
}
p a:hover, p a:focus {
  color: #21374C;
}

/* ----- INFO- & MAP BOXES ----- */
.info-box, .directions-text, .event-highlights, .subscription-details, .ticket-info, .pricing-summary, .faq {
  margin: 26px 0 0 0;
  background: #F0F3F8;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(33,55,76,0.033);
  padding: 18px 16px;
  font-size: 1rem;
  color: #21374C;
}

/* ----- FOOTER SECTION ----- */
footer {
  background: #fff;
  border-top: 1.5px solid #F0F3F8;
  padding: 38px 0 28px 0;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-logo img {
  height: 36px;
  margin-bottom: 14px;
}
.footer-nav {
  display: flex;
  gap: 20px;
  flex-direction: column;
}
.footer-nav a {
  color: #445168;
  font-size: 1rem;
  transition: color 0.2s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #97B379;
}
.footer-contact {
  font-size: 1rem;
  color: #21374C;
  margin-bottom: 8px;
}
.footer-contact a {
  color: #21374C;
  text-decoration: underline;
}
.footer-branding {
  font-size: 0.95rem;
  color: #a6b1bd;
  margin-top: 8px;
}
@media (max-width: 950px) {
  footer .container { flex-direction: column; gap: 22px; align-items: flex-start; }
  .footer-nav { flex-direction: row; flex-wrap: wrap; gap: 16px; }
}

/* ----- COOKIE CONSENT BANNER ----- */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  width: 100vw;
  background: #fff;
  border-top: 1.5px solid #F0F3F8;
  box-shadow: 0 -2px 16px rgba(33,55,76,0.08);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 38px;
  font-size: 1rem;
  gap: 24px;
  animation: cookie-fade-in .45s cubic-bezier(.5,1,.5,1);
}
@keyframes cookie-fade-in {
  from { opacity: 0; transform: translateY(100%); }
  to { opacity: 1; transform: translateY(0); }
}
.cookie-banner p {
  flex: 1;
  color: #21374C;
  margin-right: 20px;
}
.cookie-btn-group {
  display: flex;
  gap: 14px;
}
.cookie-btn {
  padding: 8px 20px;
  border-radius: 21px;
  font-size: 1rem;
  font-family: 'Merriweather', serif;
  font-weight: 600;
  background: #F0F3F8;
  color: #21374C;
  border: none;
  transition: background .2s, color .2s;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(33,55,76,0.03);
}
.cookie-btn.accept {
  background: #97B379;
  color: #21374C;
}
.cookie-btn.reject {
  background: #fff;
  color: #21374C;
  border: 1px solid #97B379;
}
.cookie-btn.settings {
  background: #21374C;
  color: #fff;
}
.cookie-btn:hover, .cookie-btn:focus {
  box-shadow: 0 8px 14px rgba(151,179,121,0.10);
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #21374C;
  color: #fff;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #F0F3F8;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #97B379;
  color: #21374C;
}

@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 18px 12px;
  }
  .cookie-btn-group {
    width: 100%;
    justify-content: flex-start;
    gap: 8px;
  }
  .cookie-banner p { margin-right: 0; }
}

/* ----- COOKIE PREFERENCES MODAL ----- */
.cookie-modal-backdrop {
  display: none;
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(33,55,76,0.15);
  z-index: 1001;
  align-items: center;
  justify-content: center;
}
.cookie-modal-backdrop.active {
  display: flex;
  animation: fadein-modalbg .24s;
}
@keyframes fadein-modalbg {
  from { opacity: 0; } to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(33,55,76,0.28);
  max-width: 390px;
  min-width: 260px;
  width: 95vw;
  padding: 30px 28px 20px 28px;
  z-index: 1002;
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: modalbounce .45s cubic-bezier(.55,1.5,0,1);
  position: relative;
}
@keyframes modalbounce {
  0% { transform: scale(0.8); opacity:0.2; }
  60% { transform: scale(1.05); opacity:1; }
  100% { transform: scale(1); opacity:1; }
}
.cookie-modal h2 {
  font-size: 1.34rem; margin-bottom: 8px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.cookie-modal .cookie-category label {
  font-weight: 500;
  font-size: 1rem;
}
.cookie-modal .toggle-switch {
  width: 38px; height: 20px;
  background: #F0F3F8;
  border-radius: 12px;
  position: relative;
  margin-right: 6px;
}
.cookie-modal .toggle-switch input {
  opacity: 0;
  width: 38px;
  height: 20px;
  position: absolute;
  left: 0; top: 0;
}
.cookie-modal .toggle-slider {
  position: absolute;
  top: 2px; left: 2px;
  width: 16px; height: 16px;
  background: #d6dee9;
  border-radius: 50%;
  transition: left .15s, background .24s;
}
.cookie-modal .toggle-switch input:checked + .toggle-slider {
  left: 20px;
  background: #97B379;
}
.cookie-modal .cookie-category.essential label { color: #97B379; font-weight: bold; }
.cookie-modal .cookie-category.essential .toggle-switch { opacity: 0.60; pointer-events: none; }
.cookie-modal .modal-btn-group {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 8px;
}
.cookie-modal-close {
  position: absolute;
  right: 14px;
  top: 12px;
  font-size: 1.3rem;
  background: none;
  padding: 6px;
  border-radius: 5px;
  color: #21374C;
  transition: background 0.17s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #F0F3F8;
}

/* ----- RESPONSIVE UTILITIES ----- */
@media (max-width: 630px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.28rem; }
  section, .section { padding: 32px 8px; }
  .footer-logo img { height: 32px; }
}
@media (max-width: 500px) {
  html { font-size: 15px; }
  section, .section { padding: 24px 3vw; }
  .footer-logo img { height: 28px; }
}

/* ----- MISCELLANEOUS UTILITIES ----- */
::-webkit-scrollbar { width: 8px; background: #F0F3F8; }
::-webkit-scrollbar-thumb { background: #d0d6e3; border-radius: 8px; }

/* ----- PAGE SPECIFIC ----- */
.service-price {
  color: #97B379;
  font-weight: 700;
  font-size: 1.03rem;
  margin-left: 4px;
}
.pricing-summary {
  background: #fffbe7;
  color: #70732d;
  border-radius: 10px;
  margin-top: 18px;
  padding: 12px 18px;
  font-size: 1rem;
}

.confirmation, .about, .values, .services, .events, .how-it-works, .contact, .map, .legal {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 10px rgba(33,55,76,0.06);
  margin-bottom: 58px;
  padding: 40px 20px;
}

/* Highlight effect for active links (if JS adds .active) */
.main-nav a.active, .mobile-nav a.active {
  color: #97B379;
  border-bottom: 2px solid #97B379;
  font-weight: 700;
}

/* ----- END OF CSS ----- */
