/* ----------------------------------------------
   Criativa Mania – Vibrant Energetic CSS Theme
   Author: UI/CSS Senior Dev (2024)
   Brand: Criativa Mania
   Aesthetic: Vibrant, electric, modern, energetic
   Font: Montserrat (display), Open Sans (body)
   -----------------------------------------------*/

/* --- CSS Reset & Base 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%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html { box-sizing: border-box; scroll-behavior: smooth; }
*, *::before, *::after { box-sizing: inherit; }
body {
  background: #FDFCFA;
  color: #26213a;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  letter-spacing: 0.02em;
}
img, picture {
  max-width: 100%;
  display: block;
}
input, button, textarea, select {
  font: inherit;
}
a {
  color: #423465;
  text-decoration: none;
  transition: color 0.2s cubic-bezier(.65,.05,.36,1);
}
a:hover, a:focus {
  color: #8EC640;
  outline: none;
}
ul, ol {
  list-style: none;
}

/* --- Typography & Headings --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  color: #423465;
  letter-spacing: 0.01em;
  margin-bottom: 16px;
}
h1 {
  font-size: 2.4rem;
  line-height: 1.12;
  margin-bottom: 20px;
}
h2 {
  font-size: 1.8rem;
  line-height: 1.17;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: #26213a;
}
h4, h5, h6 {
  font-size: 1.1rem;
  font-weight: 700;
}
p, li, blockquote {
  font-size: 1rem;
  color: #33314b;
  margin-bottom: 10px;
}
blockquote {
  font-style: italic;
  position: relative;
  color: #26213a;
  background: #fff;
  border-left: 4px solid #8EC640;
  margin-bottom: 8px;
  padding: 8px 16px;
}
cite {
  display: block;
  font-style: normal;
  font-weight: 600;
  color: #423465;
  margin-top: 6px;
  font-size: 0.98rem;
  letter-spacing: 0.04em;
}
.strong, strong { font-weight: 700; color: #8EC640; }

/* --- Layout Containers --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
@media (min-width: 992px) {
  .content-wrapper {
    gap: 26px;
  }
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 22px 0 rgba(66,52,101,0.10), 0 1.5px 4.5px 0 rgba(142,198,64,0.09);
  margin-bottom: 20px;
  position: relative;
  padding: 26px 22px;
  transition: box-shadow .32s cubic-bezier(.65,.05,.36,1), transform .2s cubic-bezier(.65,.05,.36,1);
}
.card:hover, .card:focus {
  box-shadow: 0 10px 36px 2px rgba(66,52,101,0.19), 0 2px 12px 0 rgba(142,198,64,0.12);
  transform: translateY(-3px) scale(1.025);
  z-index: 2;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  align-items: flex-start;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 16px 0 rgba(66,52,101,0.12);
  padding: 20px;
  margin-bottom: 20px;
  min-width: 0;
  transition: box-shadow .24s cubic-bezier(.65,.05,.36,1), transform .14s cubic-bezier(.65,.05,.36,1);
}
.testimonial-card:hover {
  box-shadow: 0 8px 36px 4px rgba(142,198,64,0.16);
  transform: scale(1.02);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* --- Header & Navigation --- */
header {
  background: #423465;
  color: #fff;
  width: 100%;
  padding: 0;
  box-shadow: 0 2px 12px 0 rgba(66,52,101,0.14);
}
header .container {
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  min-height: 80px;
  padding: 0 16px;
}
header .container > a img {
  height: 52px;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
}
.main-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 6px 10px;
  border-radius: 8px;
  transition: background 0.18s, color 0.18s;
}
.main-nav a:hover, .main-nav a:focus {
  color: #8EC640;
  background: rgba(253,252,250,0.1);
}

.btn-primary {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: #8EC640;
  color: #423465;
  padding: 12px 34px;
  border: none;
  border-radius: 30px;
  box-shadow: 0 4px 22px 0 rgba(66,52,101,0.08);
  font-size: 1.12rem;
  cursor: pointer;
  transition: background 0.24s, color 0.18s, box-shadow .18s;
  margin-left: 20px;
  margin-bottom: 0;
  display: inline-block;
}
.btn-primary:active {
  background: #7ab72e;
  color: #fff;
}
.btn-primary:hover, .btn-primary:focus {
  background: #423465;
  color: #FDFCFA;
  box-shadow: 0 8px 24px 0 rgba(142,198,64,0.15);
}
.cta-link {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  color: #8EC640;
  background: #423465;
  border-radius: 18px;
  padding: 8px 22px;
  font-size: 1rem;
  display: inline-block;
  margin-top: 12px;
  transition: background 0.18s, color 0.18s;
}
.cta-link:hover, .cta-link:focus {
  background: #8EC640;
  color: #423465;
}

/* --- Mobile Burger Menu --- */
.mobile-menu-toggle {
  display: flex;
  background: #fff;
  color: #423465;
  border: none;
  font-size: 2.1rem;
  border-radius: 8px;
  padding: 6px 16px;
  align-items: center;
  cursor: pointer;
  margin-left: auto;
  margin-right: 8px;
  margin-top: 8px;
  transition: background 0.18s, color 0.18s;
  z-index: 1002;
}
.mobile-menu-toggle:active,
.mobile-menu-toggle:focus {
  background: #8EC640;
  color: #fff;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #423465;
  color: #fff;
  box-shadow: 0 4px 26px 3px rgba(142,198,64,0.12);
  transform: translateX(-100vw);
  opacity: 0;
  transition: transform 0.32s cubic-bezier(.87,0,.13,1), opacity 0.19s cubic-bezier(.45,.01,.51,1);
  z-index: 2002;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
}
.mobile-menu-close {
  background: none;
  color: #fff;
  border: none;
  font-size: 2.3rem;
  position: absolute;
  top: 24px;
  right: 30px;
  z-index: 2010;
  cursor: pointer;
  transition: color 0.18s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  color: #8EC640;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  margin-top: 90px;
  margin-left: 34px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.33rem;
  font-weight: 700;
  padding: 12px 0;
  border-radius: 12px;
  width: fit-content;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #8EC640;
  background: rgba(253,252,250,0.07);
}

/* Hide desktop nav/special mobile rules */
@media (max-width: 992px) {
  .main-nav, .btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 993px) {
  .mobile-menu-toggle, .mobile-menu {
    display: none !important;
  }
  .main-nav {
    display: flex;
  }
  .btn-primary {
    display: inline-block;
  }
}

/* --- Hero section --- */
.hero {
  background: #8EC640;
  color: #423465;
  padding: 64px 0 50px 0;
  width: 100%;
  display: flex;
  align-items: center;
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.hero h1 {
  color: #423465;
  font-size: 2.7rem;
  line-height: 1.07;
  font-weight: 900;
}
.hero p {
  color: #423465;
  font-size: 1.1rem;
}

/* --- Features section --- */
.features {
  background: #423465;
  color: #fff;
  border-radius: 0 0 38px 38px;
  box-shadow: 0 6px 18px -1px rgba(66,52,101,0.10);
  padding-top: 48px;
  margin-bottom: 64px;
}
.features h2 {
  color: #8EC640;
}
.features ul {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 16px;
}
.features li {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
}
.features img {
  width: 32px; height: 32px;
}

/* --- About-preview & special cards --- */
.about-preview {
  background: #fff;
  border: 3px solid #8EC640;
  border-radius: 24px;
  box-shadow: 0 6px 18px -1px rgba(142,198,64,0.09);
}
.about-preview h2 {
  color: #423465;
}
.about-preview p { color: #33314b; }

/* --- Product highlights --- */
.product-highlights {
  background: #f7f9ff;
  border-radius: 26px;
  box-shadow: 0 3px 8px 0 rgba(66,52,101,0.08);
  border-left: 5px solid #8EC640;
}
.product-highlights ul {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 18px;
}
.product-highlights h3 {
  color: #423465;
  font-weight: 700;
  margin-bottom: 4px;
}

/* --- Inspiration preview --- */
.inspiration-preview, .workshops-teaser, .newsletter-signup {
  background: #ffffff;
  border: 2px solid #423465;
  border-radius: 26px;
  box-shadow: 0 6px 16px 0 rgba(66,52,101,0.08);
}
.inspiration-preview h2,
.workshops-teaser h2,
.newsletter-signup h2 {
  color: #8EC640;
}
.inspiration-preview ul, .workshops-teaser ul,
.newsletter-signup ul {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 15px;
}

/* --- Testimonials --- */
.testimonials {
  background: #FDFCFA;
  color: #26213a;
}
.testimonials h2 {
  color: #8EC640;
}
.testimonial-card {
  background: #fff;
  color: #26213a;
  border-left: 5px solid #8EC640;
  min-width: 210px;
}
.testimonial-card blockquote { color: #26213a; }
.testimonial-card cite {
  color: #423465;
}

/* --- Newsletter --- */
.newsletter-signup { background: #faf6ff; }

/* --- Footer --- */
footer {
  background: #423465;
  color: #fff;
  padding: 45px 0 24px 0;
  box-shadow: 0 -2px 22px 0 rgba(66,52,101,0.13);
}
footer .container {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  gap: 28px;
  align-items: flex-start;
  flex-wrap: wrap;
  font-size: 1rem;
}
.footer-nav a {
  color: #8EC640;
  font-weight: 600;
  border-radius: 8px;
  padding: 3px 10px;
  transition: color 0.2s, background 0.2s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #fff;
  background: #8EC640;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 0.98rem;
  color: #fff;
}
footer img { width: 20px; height: 20px; margin-right: 6px; vertical-align: text-bottom; }
footer p:last-of-type { font-size: 0.95em; color: #CAA9FB; margin-top: 20px; }

/* --- Blog tag cloud --- */
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.tag-cloud span {
  background: #8EC640;
  color: #423465;
  padding: 6px 18px;
  font-family: 'Montserrat', Arial, sans-serif;
  border-radius: 24px;
  font-size: 0.97rem;
  font-weight: 700;
  transition: background 0.19s;
}
.tag-cloud span:hover { background: #423465; color: #FDFCFA; }

/* --- Utility spacing --- */
ul, ol { margin-left: 0; margin-bottom: 14px; }
ul ul, ul ol, ol ul, ol ol { margin-bottom: 0; }
p:last-child, li:last-child { margin-bottom: 0; }

/* --- Cookie Consent Banner --- */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  width: 100vw;
  z-index: 4002;
  background: #423465;
  color: #fff;
  padding: 22px 18px 14px 18px;
  box-shadow: 0 -4px 23px 2px rgba(142,198,64,0.12), 0 -2px 5px 0 rgba(66,52,101,.07);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 17px;
  font-size: 1rem;
  border-radius: 16px 16px 0 0;
  animation: slideUp .38s cubic-bezier(.45,0,.91,1);
}
@keyframes slideUp {
  from { transform: translateY(90%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-consent-banner .cookie-btns {
  display: flex;
  gap: 18px;
  margin-top: 5px;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  border-radius: 30px;
  padding: 10px 26px;
  cursor: pointer;
  margin-left: 0;
  transition: background 0.17s, color 0.17s;
  box-shadow: 0 2px 8px 0 rgba(142,198,64,0.13);
}
.cookie-btn.accept {
  background: #8EC640;
  color: #423465;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #fff;
  color: #8EC640;
}
.cookie-btn.reject {
  background: #fff;
  color: #423465;
  border: 2px solid #8EC640;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #8EC640;
  color: #fff;
}
.cookie-btn.settings {
  background: none;
  color: #8EC640;
  border: 1px solid #8EC640;
  padding: 10px 20px;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #8EC640;
  color: #423465;
}

/* --- Cookie Preferences Modal --- */
.cookie-modal {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(66,52,101,0.72);
  z-index: 5010;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  animation: cookieModalFade .22s cubic-bezier(.19,.94,.87,1.01);
}
@keyframes cookieModalFade {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal-content {
  background: #fff;
  color: #423465;
  border-radius: 30px;
  max-width: 96vw;
  width: 384px;
  padding: 40px 30px 30px 30px;
  box-shadow: 0 8px 36px 4px rgba(66,52,101,0.14);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  position: relative;
  animation: modalPopup .28s cubic-bezier(.39,1.18,.95,1.07);
}
@keyframes modalPopup {
  from { transform: translateY(120px) scale(.88); opacity:0; }
  to   { transform: translateY(0) scale(1); opacity:1; }
}
.cookie-modal-close {
  position: absolute;
  top: 16px;
  right: 24px;
  background: none;
  border: none;
  font-size: 2.2rem;
  color: #423465;
  cursor: pointer;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #8EC640;
}
.cookie-category {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  font-size: 1.02rem;
}
.cookie-category strong { font-weight: 700; font-family: 'Montserrat', Arial, sans-serif; }
.cookie-toggle {
  appearance: none;
  width: 46px;
  height: 26px;
  background: #e7e7ef;
  border-radius: 14px;
  position: relative;
  outline: none;
  transition: background .13s;
  margin-left: 7px;
  cursor: pointer;
}
.cookie-toggle:checked {
  background: #8EC640;
}
.cookie-toggle:before {
  content: '';
  display: block;
  position: absolute;
  left: 3px;
  top: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1.5px 4.5px 0 rgba(66,52,101,0.15);
  transition: transform .17s cubic-bezier(.45,.11,.53,.96), background .13s;
}
.cookie-toggle:checked:before {
  transform: translateX(19px);
  background: #423465;
}
.cookie-category input[disabled], .cookie-category input[readonly] {
  opacity: 0.6;
  pointer-events: none;
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 768px) {
  html { font-size: 15px; }
  .container {
    padding: 0 8px;
    max-width: 100vw;
  }
  .section {
    margin-bottom: 36px;
    padding: 28px 8px;
  }
  .footer-nav {
    flex-direction: column;
    gap: 10px;
  }
  .footer-contact {
    margin-top: 10px;
  }
  .content-grid { flex-direction: column; gap: 18px; }
  .text-image-section { flex-direction: column; gap: 18px; }
  .card-container { flex-direction: column; gap: 18px; }
  .testimonials, .newsletter-signup, .about-preview, .product-highlights, .inspiration-preview, .workshops-teaser {
    border-radius: 16px;
    padding: 18px 5px;
  }
  .testimonial-card { padding: 14px; }
  header .container {
    flex-direction: row;
    gap: 10px;
    min-height: 66px;
  }
  .hero {
    padding: 48px 0 18px 0;
  }
}

/* --- Animations and Micro-interactions --- */
.btn-primary, .cta-link, .cookie-btn {
  will-change: background, color, box-shadow, transform;
}
.btn-primary:active, .cta-link:active, .cookie-btn:active {
  transform: scale(0.97) translateY(1px);
}

/* --- Miscellaneous --- */
::-webkit-input-placeholder { color: #a090d5; }
::-moz-placeholder { color: #a090d5; }
:-ms-input-placeholder { color: #a090d5; }
::placeholder { color: #a090d5; }

/* --- Accessibility: Focus rings --- */
a:focus, .btn-primary:focus, .cta-link:focus, .cookie-btn:focus, .mobile-menu-toggle:focus, .mobile-menu-close:focus {
  outline: 2.5px solid #8EC640;
  outline-offset: 2px;
  background: rgba(142,198,64,0.07);
}

/* -- Section-specific patterns (MANDATORY) -- */
/* Already set: .section, .card-container, .card, .content-grid, .text-image-section, .testimonial-card, .feature-item */

/* --- Util classes --- */
.mt-32 { margin-top: 32px !important; }
.mb-32 { margin-bottom: 32px !important; }
.mt-24 { margin-top: 24px !important; }
.mb-24 { margin-bottom: 24px !important; }
.mt-12 { margin-top: 12px !important; }
.mb-12 { margin-bottom: 12px !important; }

/* --- END --- */
