/* RESET & BASE -------------------------------------------------------- */
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;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  min-height: 100vh;
  background: #FFFFFF;
  color: #222C3C;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}
a {
  color: #C14621;
  text-decoration: none;
  transition: color 0.2s cubic-bezier(.58,1.05,.5,1.19);
  font-weight: 600;
}
a:hover, a:focus {
  color: #9F2B00;
  text-decoration: underline;
}
ul, ol {
  margin: 0 0 18px 20px;
}
ul li, ol li {
  margin-bottom: 8px;
  padding-left: 5px;
}
img {
  max-width: 100%;
  display: block;
}
button, input, textarea {
  font-family: inherit;
}

/* BRAND COLORS -------------------------------------------------------- */
:root {
  --color-primary: #222C3C;
  --color-accent: #C14621;
  --color-accent-dark: #9F2B00;
  --color-secondary: #D9CAB3;
  --color-vibrant-yellow: #FFE66D;
  --color-vibrant-blue: #1341A0;
  --color-bg-light: #FFFFFF;
  --color-bg-section: #F7F6F3;
}

/* TYPOGRAPHY ---------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Merriweather', serif;
  color: #222C3C;
  font-weight: 800;
  letter-spacing: -1px;
}
h1 {
  font-size: 2.8rem;
  line-height: 1.13;
  margin-bottom: 22px;
  color: var(--color-accent);
  text-shadow: 0 2px 16px rgba(193,70,33,0.07);
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
  color: var(--color-primary);
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: var(--color-accent-dark);
}
h4 {
  font-size: 1.05rem;
  margin-bottom: 7px;
  color: var(--color-primary);
}
.text-section p, .content-wrapper p, p {
  color: #222C3C;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-weight: 500;
  margin-bottom: 18px;
  font-size: 1.1rem;
  line-height: 1.72;
}
strong, b {
  font-weight: 800;
  color: var(--color-accent);
}

/* LAYOUT & CONTAINER -------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-bg-section);
  border-radius: 22px;
  box-shadow: 0 3px 32px 0 rgba(193,70,33,0.04);
}
main > section:not(.cookie-banner) {
  margin-bottom: 60px;
  padding: 40px 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.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;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 24px 0 rgba(34,44,60,0.08);
  padding: 28px 22px;
  transition: box-shadow 0.2s cubic-bezier(.44,1.38,.5,1.19),transform 0.22s cubic-bezier(.58,1.05,.5,1.19);
}
.card:hover {
  box-shadow: 0 9px 36px 4px rgba(193, 70, 33, 0.12);
  transform: translateY(-6px) scale(1.015);
  z-index: 2;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* FLEXBOX MANDATORY LAYOUTS -------------------------------------------- */
.feature-grid, .workshop-list, .benefits-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature-item, .workshop-item, .benefit-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 3px 22px 0 rgba(34,44,60,0.06);
  padding: 22px 18px;
  min-width: 225px;
  max-width: 320px;
  flex: 1 1 220px;
  transition: box-shadow 0.22s cubic-bezier(.44,1.38,.5,1.19),transform 0.21s cubic-bezier(.58,1.05,.5,1.19);
  margin-bottom: 20px;
}
.feature-item img,
.benefit-item img {
  width: 42px;
  height: 42px;
  margin-bottom: 3px;
}
.feature-item:hover, .benefit-item:hover, .workshop-item:hover {
  box-shadow: 0 7px 40px 0 rgba(193, 70, 33, 0.18);
  transform: translateY(-5px) scale(1.03);
}

.service-item, .event-item, .subscription-options,
.subscription-surprise, .event-schedule, .author-profiles, .signup-instructions, .learning-outcomes, .event-highlights, .unique-approach, .price-overview {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 1px 12px 0 rgba(193,70,33,.06);
  padding: 18px 18px 18px 24px;
  margin-bottom: 16px;
}

.benefits-list {
  margin: 0 0 8px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.benefits-list li {
  background: var(--color-secondary);
  border-radius: 6px;
  padding: 8px 16px;
  font-size: 1rem;
  color: #222C3C;
  box-shadow: 0 1px 6px 0 rgba(213,202,179,0.2);
  list-style: disc inside;
  font-weight: 600;
}

/* TESTIMONIALS --------------------------------------------------------- */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 36px 0 rgba(148,82,30,0.12);
  margin-bottom: 20px;
  border-left: 7px solid var(--color-accent);
  min-width: 0;
  max-width: 500px;
  flex: 1 1 240px;
  transition: box-shadow 0.18s cubic-bezier(.44,1.38,.5,1.19),transform 0.17s cubic-bezier(.58,1.05,.5,1.19);
}
.testimonial-card p {
  font-size: 1.1rem;
  font-weight: 600;
  color: #222C3C;
}
.testimonial-card span {
  font-size: 1rem;
  color: #1341A0;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.testimonial-card:hover {
  box-shadow: 0 7px 50px 0 rgba(34,44,60,0.17);
  transform: translateY(-5px) scale(1.018);
}

/* BUTTONS & CTA -------------------------------------------------------- */
.primary-btn, .cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 13px 36px;
  font-family: 'Merriweather', serif;
  font-weight: 800;
  font-size: 1.09rem;
  background: linear-gradient(92deg,#C14621 76%,#9F2B00 99%);
  color: #fff;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 2px 16px 0 rgba(193,70,33,0.08);
  transition: box-shadow .18s, background .15s, color .18s, transform .14s;
  outline: none;
  margin-top: 13px;
  text-align: center;
  z-index: 1;
}
.primary-btn:hover, .cta:hover, .primary-btn:focus {
  background: linear-gradient(90deg,#222C3C 20%,#C14621 80%);
  color: var(--color-vibrant-yellow);
  box-shadow: 0 4px 24px 0 rgba(34,65,160,0.09);
  transform: translateY(-2px) scale(1.045);
}
.secondary-btn {
  display: inline-flex;
  align-items: center;
  padding: 11px 26px;
  background: var(--color-secondary);
  color: var(--color-primary);
  border-radius: 999px;
  font-weight: 800;
  font-size: 1rem;
  border: none;
  transition: background .19s, color .16s;
  margin-top: 11px;
}
.secondary-btn:hover, .secondary-btn:focus {
  background: var(--color-accent);
  color: #fff;
}

/* HEADER & NAV --------------------------------------------------------- */
header {
  background: #fff;
  box-shadow: 0 3px 44px 0 rgba(193,70,33,0.06);
  position: sticky;
  top: 0;
  z-index: 99;
  width: 100%;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 13px;
  padding-bottom: 13px;
}
.logo img {
  height: 48px;
  width: auto;
  display: block;
}
.main-nav {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}
.main-nav a {
  color: var(--color-primary);
  font-weight: 800;
  font-size: 1rem;
  padding: 6px 8px;
  border-radius: 6px;
  position: relative;
  transition: background .16s, color .14s;
  text-transform: lowercase;
}
.main-nav a.active, .main-nav a:hover, .main-nav a:focus {
  background: var(--color-accent);
  color: #fff;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.1rem;
  color: var(--color-accent);
  cursor: pointer;
  transition: color .18s;
  margin-left: 6px;
  z-index: 11;
}
.mobile-menu-toggle:hover {
  color: var(--color-primary);
}

/* MOBILE NAVIGATION ---------------------------------------------------- */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(34,44,60,0.86);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  transform: translateX(-100%);
  transition: transform .33s cubic-bezier(.74,1.04,.36,.97);
  visibility: hidden;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  visibility: visible;
  opacity: 1;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.3rem;
  align-self: flex-end;
  margin: 22px 32px 0 0;
  cursor: pointer;
  z-index: 10001;
  transition: color .16s;
}
.mobile-menu-close:hover {
  color: var(--color-accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 40px 40px 0 40px;
  width: 100%;
  margin-top: 36px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.36rem;
  font-weight: 800;
  padding: 14px 10px;
  border-radius: 7px;
  background: none;
  transition: background .18s, color .13s;
  text-transform: lowercase;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-accent);
  color: var(--color-vibrant-yellow);
}

/* HERO SECTIONS -------------------------------------------------------- */
section .text-section {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
section .text-section h1 {
  margin-bottom: 1.2em;
}
section .text-section h3 {
  margin-top: 1em;
}
section .text-section ul {
  margin: 18px auto 0 42px;
  text-align: left;
}

/* FOOTER --------------------------------------------------------------- */
footer {
  background: var(--color-primary);
  color: #fff;
  padding: 34px 0 28px 0;
  box-shadow: 0 -2px 28px 0 rgba(34,44,60,.05);
  border-radius: 30px 30px 0 0;
  width: 100%;
  margin-top: 48px;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
}
.footer-menu {
  display: flex;
  gap: 18px;
  margin-bottom: 13px;
  flex-wrap: wrap;
}
.footer-menu a {
  color: var(--color-secondary);
  font-weight: 700;
  font-size: 1rem;
  padding: 6px 10px;
  border-radius: 6px;
  transition: background .18s, color .17s;
}
.footer-menu a:hover, .footer-menu a:focus {
  background: var(--color-accent);
  color: #fff;
}
.footer-info, .footer-social {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}
.footer-info p, .footer-info a {
  color: #fff;
  font-size: 1em;
  font-weight: 500;
}
.footer-social {
  gap: 13px;
}
.footer-social a img {
  width: 29px;
  height: 29px;
  filter: grayscale(0%) brightness(0.96) contrast(1.07);
  transition: filter .19s;
}
.footer-social a:hover img {
  filter: brightness(1.17) saturate(2) drop-shadow(0px 2px 1px #c14621ee);
}

/* ANIMATIONS ----------------------------------------------------------- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(18px) scale(0.95); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
section, .card, .testimonial-card, .feature-item, .benefit-item, .primary-btn {
  animation: fadeInUp 0.75s cubic-bezier(.82,1.53,.36,.97) both;
}

/* COOKIE CONSENT BANNER ------------------------------------------------ */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100%;
  background: var(--color-accent);
  color: #fff;
  box-shadow: 0 -2px 24px 0 rgba(34,44,60,0.13);
  padding: 24px 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  z-index: 10010;
  gap: 18px;
  font-size: 1.06rem;
  border-radius: 22px 22px 0 0;
  animation: fadeInUp 0.9s cubic-bezier(.82,1.53,.36,.97) both;
}
.cookie-banner-text {
  flex: 3;
  font-weight: 600;
}
.cookie-banner-btn-group {
  display: flex;
  gap: 13px;
  align-items: center;
  flex-wrap: wrap;
}
.cookie-btn {
  border: none;
  background: #fff;
  color: var(--color-accent-dark);
  font-family: 'Merriweather', serif;
  font-weight: 800;
  font-size: 1.03rem;
  padding: 9px 24px;
  border-radius: 999px;
  cursor: pointer;
  margin-right: 6px;
  transition: background 0.18s, color 0.13s, box-shadow 0.15s;
  box-shadow: 0 1px 8px 0 rgba(34,44,60,.03);
}
.cookie-btn ~ .cookie-btn {
  margin-left: 0px;
}
.cookie-btn.accept {
  background: var(--color-primary);
  color: #fff;
}
.cookie-btn.accept:hover {
  background: var(--color-vibrant-yellow);
  color: var(--color-accent-dark);
}
.cookie-btn.reject {
  background: #fff;
  color: var(--color-accent);
  border: 2px solid var(--color-accent-dark);
}
.cookie-btn.reject:hover {
  background: var(--color-accent-dark);
  color: #fff;
}
.cookie-btn.settings {
  background: var(--color-secondary);
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}
.cookie-btn.settings:hover {
  background: var(--color-primary);
  color: var(--color-vibrant-yellow);
}

/* COOKIE MODAL --------------------------------------------------------- */
.cookie-modal-overlay {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: rgba(34,44,60,0.87);
  z-index: 10020;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s cubic-bezier(.58,1.05,.5,1.19);
}
.cookie-modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal {
  background: #fff;
  color: var(--color-primary);
  border-radius: 20px;
  max-width: 400px;
  min-width: 300px;
  box-shadow: 0 12px 50px 0 rgba(193,70,33,.19);
  padding: 34px 28px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 19px;
  animation: fadeInUp 0.8s cubic-bezier(.82,1.53,.36,.97);
}
.cookie-modal h2 {
  color: var(--color-accent);
  margin-bottom: 7px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
}
.cookie-category label {
  font-weight: 600;
  font-size: 1.07rem;
}
.cookie-category .toggle {
  width: 40px;
  height: 23px;
  border-radius: 16px;
  background: var(--color-secondary);
  position: relative;
  transition: background .18s;
}
.cookie-category .toggle input {
  display: none;
}
.cookie-category .toggle span {
  position: absolute;
  left: 2px;
  top: 2px;
  width: 19px;
  height: 19px;
  background: var(--color-accent);
  border-radius: 50%;
  transition: left .19s cubic-bezier(.58,1.05,.5,1.19), background 0.15s;
}
.cookie-category .toggle input:checked + span {
  left: 19px;
  background: var(--color-primary);
}
.cookie-category .toggle.disabled {
  background: #dae1e3;
}
.cookie-category .toggle.disabled span {
  background: #c7c7c7;
}
.cookie-modal-buttons {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 10px;
}
.cookie-modal .cookie-btn {
  margin: 0;
}

/* MEDIA QUERIES: RESPONSIVE ------------------------------------------- */
@media (max-width: 991px) {
  .container {
    max-width: 94vw;
    padding: 0 9px;
  }
  section {
    padding: 32px 0;
  }
  .feature-grid, .workshop-list, .benefits-grid {
    gap: 18px;
  }
}
@media (max-width: 768px) {
  h1 {
    font-size: 2.0rem;
  }
  h2 {
    font-size: 1.44rem;
  }
  h3 {
    font-size: 1.08rem;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  header .cta, header .primary-btn {
    display: none;
  }
  .container {
    max-width: 100vw;
    padding: 0 7px;
  }
  .feature-grid,
  .workshop-list,
  .benefits-grid,
  .card-container,
  .content-grid {
    flex-direction: column;
    gap: 16px;
  }
  .testimonial-card,
  .card,
  .feature-item,
  .benefit-item,
  .workshop-item {
    max-width: 99vw;
    min-width: 0;
  }
  .text-image-section {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
    text-align: left;
  }
  .mobile-menu {
    padding-top: 12px;
  }
}
@media (max-width: 520px) {
  h1 {
    font-size: 1.27rem;
  }
  h2 {
    font-size: 1.04rem;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    padding: 16px 7px;
    font-size: 0.91rem;
  }
  .cookie-modal {
    padding: 18px 7px 13px 13px;
    min-width: 0;
    max-width: 97vw;
  }
  .mobile-nav a {
    font-size: 1.02rem;
    padding: 10px 7px;
  }
}

/* Z-INDEX SAFETY ------------------------------------------------------- */
header { z-index: 99; }
.mobile-menu, .mobile-menu-toggle { z-index: 9999; }
.cookie-banner { z-index: 10010; }
.cookie-modal-overlay { z-index: 10020; }

/* UTILITIES ------------------------------------------------------------ */
.mt-0 { margin-top:0!important; } .mt-1 { margin-top:8px!important; } .mt-2 { margin-top:16px!important; } .mb-0 { margin-bottom:0!important; } .mb-1 { margin-bottom:8px!important; } .mb-2 { margin-bottom:16px!important; }

/* SEPARATORS, BADGES, MICROS ------------------------------------------ */
.badge {
  display: inline-block;
  background: var(--color-vibrant-yellow);
  color: var(--color-accent-dark);
  font-weight: 800;
  font-size: 0.93rem;
  border-radius: 9px;
  padding: 3px 15px 3px 11px;
  margin-right: 6px;
}

/* VIBRANT ENERGETIC EFFECTS ------------------------------------------- */
.card, .feature-item, .event-item, .benefit-item, .workshop-item, .testimonial-card {
  border: 2px solid transparent;
}
.card:hover, .feature-item:hover, .benefit-item:hover, .workshop-item:hover, .testimonial-card:hover {
  border-color: var(--color-vibrant-yellow);
  box-shadow: 0 9px 66px 0 rgba(255,230,109,0.15),0 5px 44px 0 rgba(34,44,60,0.11);
}
.primary-btn, .cta, .cookie-btn.accept {
  background: linear-gradient(90deg, var(--color-accent), var(--color-vibrant-yellow) 82%);
  color: var(--color-primary);
}
.primary-btn:hover, .cta:hover, .cookie-btn.accept:hover {
  color: var(--color-accent-dark);
  background: linear-gradient(90deg, var(--color-vibrant-yellow) 40%, var(--color-accent) 90%);
}

/* OVERRIDES FOR BRIGHT CONTRAST IN TESTIMONIALS ----------------------- */
.testimonial-card {
  background: #fff;
  color: #222C3C;
  border-left: 7px solid var(--color-accent);
}

/* SPECIAL FLEX WRAPS/MARGINS ------------------------------------------ */
.card-container, .content-grid, .feature-grid, .testimonial-card, .benefits-grid {
  gap: 24px;
}
.card, .feature-item, .benefit-item, .workshop-item, .testimonial-card {
  margin-bottom: 20px;
  margin-right: 0;
}
.content-wrapper > *:not(:last-child) {
  margin-bottom: 16px;
}

/* PRINT & OTHER -------------------------------------------------------- */
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal-overlay { display: none !important; }
  body { color: #000; background: #fff; }
  main { margin: 0; }
}
