/* CSS RESET & BASE TYPOGRAPHY */
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 {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Open Sans', Arial, sans-serif;
  background-color: #F5F7FA;
  color: #373737;
  line-height: 1.7;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  display: block;
}

ul, ol {
  list-style: none;
}
a {
  color: #4FA585;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover,
a:focus {
  color: #29313A;
  text-decoration: underline;
}


/* TYPOGRAPHY HIERARCHY */
h1, h2, h3, h4, h5 {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 800;
  color: #29313A;
  margin-bottom: 16px;
}
h1 {
  font-size: 2.5rem; /* 40px */
  line-height: 1.15;
}
h2 {
  font-size: 2rem;
  line-height: 1.2;
}
h3 {
  font-size: 1.5rem;
  line-height: 1.25;
}
h4 {
  font-size: 1.25rem;
  font-weight: 700;
}
h5 {
  font-size: 1rem;
}
p, li, span, em, b {
  font-size: 1rem;
  font-family: 'Open Sans', Arial, sans-serif;
}
b, strong {
  font-weight: 700;
}
em {
  font-style: italic;
}

/* LAYOUT */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}
.content-wrapper {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

/* MANDATORY SPACING & FLEX PATTERNS */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 3px 16px rgba(41, 49, 58, 0.06);
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(170, 120, 91, 0.10);
  padding: 32px 24px;
  transition: box-shadow 0.18s, transform 0.18s;
  min-width: 260px;
  flex: 1 1 300px;
}
.card:hover {
  box-shadow: 0 8px 32px rgba(41,49,58,0.13);
  transform: translateY(-4px) scale(1.03);
}
.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: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  background: #FFF7F2;
  border-radius: 20px;
  box-shadow: 0 2px 14px rgba(244, 193, 142,0.14);
  max-width: 450px;
  min-width: 260px;
  flex: 1 1 320px;
  transition: box-shadow 0.14s;
}
.testimonial-card p {
  color: #29313A;
  font-size: 1.13rem;
  line-height: 1.7;
  text-align: center;
}
.testimonial-card span {
  font-size: 0.95rem;
  color: #AF753C;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  margin-top: 8px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 18px 16px;
  background: #FFF7F2;
  border-radius: 15px;
  margin-bottom: 20px;
  min-width: 200px;
}

/* FLEX SLIDERS & LISTS */
.trend-cards, .trend-articles, .analysis-snippets, .analysis-list, .inspiration-cards, .resource-list, .faq-accordion, .testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 12px;
}
.trend-cards article, .trend-articles article, .analysis-snippets > div, .analysis-list article, .inspiration-cards article, .resource-list article {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 1px 8px rgba(244,193,142, 0.09);
  padding: 22px 18px;
  min-width: 240px;
  flex: 1 1 260px;
  transition: box-shadow 0.14s, transform 0.15s;
  margin-bottom: 20px;
}
.trend-cards article:hover,
.trend-articles article:hover,
.analysis-snippets > div:hover,
.analysis-list article:hover,
.inspiration-cards article:hover,
.resource-list article:hover {
  box-shadow: 0 6px 24px rgba(244,193,142,0.16);
  transform: translateY(-4px) scale(1.03);
}

/* HERO SECTION */
section:first-of-type {
  background: #FFF7F2;
  border-radius: 0 0 32px 32px;
  box-shadow: 0 8px 32px rgba(244, 193, 142,0.08);
  margin-bottom: 48px;
  padding-top: 40px;
  padding-bottom: 48px;
}
section:first-of-type h1 {
  font-size: 2.25rem;
  margin-bottom: 20px;
  color: #AF753C;
}

/* FEATURES & VALUES LISTS */
.features-list,
.content-wrapper > ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: flex-start;
}
.features-list li,
.content-wrapper > ul li,
.text-section ul li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #FFF7F2;
  border-radius: 12px;
  padding: 12px 20px 12px 12px;
  color: #29313A;
  margin-bottom: 8px;
}
.features-list li img,
.content-wrapper > ul li img {
  width: 32px;
  height: 32px;
}

/* VARIOUS UTILITY LISTS */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.text-section ul {
  margin-left: 12px;
  margin-bottom: 0;
}
.text-section li {
  margin-bottom: 8px;
}
.text-section em {
  color: #AF753C;
  font-size: 0.97rem;
}

/* SUMMARY/KEY STATS */
.summary-stats, .trend-summary {
  background: #F5EDD8;
  border-radius: 15px;
  padding: 26px 18px;
  margin-top: 24px;
  margin-bottom: 16px;
  color: #29313A;
}
.summary-stats ul, .trend-summary ul {
  list-style: disc inside;
  color: #AF753C;
  margin-left: 20px;
  padding-left: 0;
}
.summary-stats h4, .trend-summary h4 {
  color: #4FA585;
  margin-bottom: 14px;
  font-weight: 700;
}

/* CATEGORY/FILTERS BAR */
.category-filters, .difficulty-filters {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 12px;
}
.category-filters ul, .difficulty-filters ul {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
}
.category-filters li, .difficulty-filters li {
  background: #FFF7F2;
  border-radius: 12px;
  padding: 7px 18px;
  color: #AF753C;
  font-weight: 600;
  font-family: 'Montserrat', sans-serif;
  cursor: pointer;
  transition: background 0.14s, color 0.14s;
}
.category-filters li:hover, .difficulty-filters li:hover {
  background: #FFDAB6;
  color: #29313A;
}

/* FAQ ACCORDION */
.faq-accordion > div {
  margin-bottom: 20px;
  background: #FFF7F2;
  border-radius: 13px;
  box-shadow: 0 1px 6px rgba(170,120,91,0.07);
  padding: 15px 18px;
  cursor: pointer;
  transition: box-shadow 0.16s, background 0.16s;
}
.faq-accordion > div:hover {
  background: #FFDAB6;
  box-shadow: 0 4px 16px rgba(244,193,142,0.17);
}
.faq-accordion h4 {
  margin-bottom: 8px;
}

/* BUTTON STYLES */
.btn {
  display: inline-block;
  min-width: 140px;
  padding: 13px 28px;
  border-radius: 28px;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.06rem;
  cursor: pointer;
  text-align: center;
  box-shadow: 0 2px 10px rgba(244,193,142,0.13);
  transition: background 0.15s, color 0.15s, box-shadow 0.18s, transform 0.14s;
  margin-top: 10px;
  margin-right: 10px;
}
.btn-primary {
  background: #AF753C;
  color: #fff;
  border: 2px solid #AF753C;
}
.btn-primary:hover, .btn-primary:focus {
  background: #4FA585;
  color: #fff;
  border-color: #4FA585;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 4px 22px rgba(79,165,133,0.11);
}
.btn-secondary {
  background: #4FA585;
  color: #fff;
  border: 2px solid #4FA585;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #AF753C;
  color: #fff;
  border-color: #AF753C;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 4px 22px rgba(175,117,60,0.14);
}

/* HEADER */
header {
  background: #fff;
  box-shadow: 0 2px 17px rgba(79, 165, 133, 0.06);
  position: relative;
  z-index: 101;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
  gap: 16px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
}
header nav a {
  color: #4FA585;
  padding: 7px 18px;
  border-radius: 18px;
  transition: background 0.16s, color 0.14s;
}
header nav a:hover, header nav a.active {
  background: #FFF7F2;
  color: #AF753C;
}
header img {
  height: 48px;
  border-radius: 12px;
}
.mobile-menu-toggle {
  display: none;
  background: #FFF7F2;
  border: 2px solid #AF753C;
  color: #AF753C;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  font-size: 1.8rem;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: box-shadow 0.13s, background .13s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #FFDAB6;
  box-shadow: 0 4px 18px rgba(244,193,142,0.13);
}

/* MOBILE MENU - OVERLAY */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #FFF7F2;
  z-index: 8888;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateX(-100vw);
  transition: transform 0.35s cubic-bezier(0.72, 0.02, 0.44, 1.01);
  box-shadow: 0 4px 36px rgba(244,193,142,0.14);
  padding: 0;
}
.mobile-menu.open {  /* JS adds this class */
  transform: translateX(0);
}
.mobile-menu-close {
  background: #FFDAB6;
  color: #AF753C;
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-size: 1.5rem;
  align-self: flex-end;
  margin: 24px 24px 0 0;
  cursor: pointer;
  transition: background 0.15s;
  z-index: 9999;
}
.mobile-menu-close:hover {
  background: #4FA585;
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 18px;
  padding: 32px 28px 0 32px;
}
.mobile-nav a {
  color: #AF753C;
  background: transparent;
  font-size: 1.22rem;
  padding: 14px 0;
  border-radius: 0;
  border-bottom: 1px solid #F5EDD8;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  transition: background 0.16s, color 0.14s;
}
.mobile-nav a:hover, .mobile-nav a.active {
  color: #4FA585;
  background: #F5EDD8;
}

/* FOOTER */
footer {
  background: #fff;
  border-radius: 32px 32px 0 0;
  box-shadow: 0 -2px 18px rgba(244,193,142,0.09);
  margin-top: 48px;
  padding-top: 36px;
  padding-bottom: 16px;
  font-size: 1rem;
  color: #29313A;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 32px;
  justify-content: space-between;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.125rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #AF753C;
  margin-bottom: 14px;
}
.footer-brand img {
  width: 36px;
  height: 36px;
  border-radius: 9px;
}
.footer-menu {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 8px;
}
.footer-menu a {
  color: #4FA585;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  transition: color 0.14s;
}
.footer-menu a:hover {
  color: #AF753C;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 0.98rem;
  color: #373737;
  margin-bottom: 6px;
}
.footer-contact img {
  width: 19px;
  height: 19px;
  margin-right: 7px;
  vertical-align: middle;
}
.footer-legal {
  width: 100%;
  font-size: 0.93rem;
  color: #BFAE97;
  margin-top: 14px;
  font-family: 'Open Sans', Arial, sans-serif;
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  background: #FFF7F2;
  border-top: 2px solid #AF753C;
  box-shadow: 0 -2px 16px rgba(244,193,142,0.14);
  padding: 28px 30px 22px 30px;
  z-index: 99999;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  animation: slideBannerIn 0.7s cubic-bezier(0.44,1.36,0.47,1.01);
}
@keyframes slideBannerIn {
  0% {transform: translateY(120%); opacity:0;}
  70% {transform: translateY(-6%); opacity:0.93;}
  100% {transform: translateY(0); opacity:1;}
}
.cookie-banner p {
  max-width: 520px;
  color: #29313A;
  font-size: 1rem;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  border-radius: 24px;
  padding: 10px 28px;
  margin: 0;
  cursor: pointer;
  transition: background 0.13s, color 0.13s, box-shadow 0.13s;
}
.cookie-banner .cookie-accept {
  background: #4FA585;
  color: #fff;
  border: 2px solid #4FA585;
}
.cookie-banner .cookie-accept:hover {
  background: #AF753C;
  border-color: #AF753C;
}
.cookie-banner .cookie-reject {
  background: #FFDAB6;
  color: #AF753C;
  border: 2px solid #AF753C;
}
.cookie-banner .cookie-reject:hover {
  background: #E6C99C;
  color: #fff;
  border-color: #AF753C;
}
.cookie-banner .cookie-settings {
  background: #fff;
  color: #AF753C;
  border: 2px solid #AF753C;
}
.cookie-banner .cookie-settings:hover {
  background: #FFDAB6;
  color: #4FA585;
}

/* COOKIE PREFERENCES MODAL */
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0;
  right: 0; bottom: 0;
  z-index: 100010;
  background: rgba(41,49,58,0.20);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeModalIn 0.25s;
}
@keyframes fadeModalIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 8px 32px rgba(244,193,142,0.16);
  padding: 38px 30px 28px 30px;
  width: 94vw;
  max-width: 430px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  z-index: 100012;
}
.cookie-modal h3 {
  color: #AF753C;
  margin-bottom: 6px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
}
.cookie-modal .cookie-category label {
  font-family: 'Open Sans', Arial, sans-serif;
  color: #29313A;
  font-weight: 600;
  font-size: 1rem;
}
.cookie-modal .cookie-toggle {
  display: inline-block;
  width: 44px;
  height: 24px;
  border-radius: 16px;
  background: #F5EDD8;
  position: relative;
  cursor: pointer;
  transition: background 0.15s;
}
.cookie-modal .cookie-toggle[aria-checked="true"] {
  background: #4FA585;
}
.cookie-modal .cookie-toggle:before {
  content: '';
  display: block;
  position: absolute;
  left: 4px;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  transition: left 0.15s, background 0.15s;
}
.cookie-modal .cookie-toggle[aria-checked="true"]:before {
  left: 24px;
  background: #AF753C;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
  margin-top: 18px;
}
.cookie-modal .cookie-modal-close {
  background: transparent;
  border: none;
  color: #AF753C;
  font-size: 1.5rem;
  align-self: flex-end;
  cursor: pointer;
  margin-right: -15px;
  margin-top: -22px;
  margin-bottom: 8px;
}
.cookie-modal .cookie-modal-close:hover {
  color: #4FA585;
}

/* RESPONSIVE DESIGN */
@media (max-width:1200px){
  .container {
    max-width: 98vw;
    padding-left: 10px;
    padding-right: 10px;
  }
}
@media (max-width:900px){
  h1 {font-size: 2rem;}
  h2 {font-size: 1.3rem;}
  .footer-brand img {
    width: 30px;
    height: 30px;
  }
  .footer-menu {
    font-size: 0.98rem;
  }
  .content-wrapper {
    gap: 20px;
  }
}
@media (max-width: 768px) {
  .container {
    max-width: 100vw;
    padding-left: 7px;
    padding-right: 7px;
  }
  header .container {
    flex-direction: row;
    justify-content: space-between;
    gap: 7px;
    height: 58px;
  }
  header nav {
    display: none;
  }
  .btn.btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .content-wrapper {
    gap: 18px;
    padding: 0;
  }
  .section {
    margin-bottom: 38px;
    padding: 24px 0;
    border-radius: 15px;
  }
  .card, .trend-cards article, .trend-articles article, .inspiration-cards article, .resource-list article, .testimonial-card, .analysis-snippets > div, .analysis-list article {
    min-width: 165px;
    flex: 1 1 95vw;
    padding: 16px 10px;
    border-radius: 10px;
  }
  .trend-cards, .trend-articles, .analysis-snippets, .analysis-list, .inspiration-cards, .resource-list, .faq-accordion, .testimonial-slider {
    gap: 14px;
  }
  .content-grid {
    flex-direction: column;
    gap: 13px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
  }
  .testimonial-card {
    min-width: 155px;
    flex: 1 1 93vw;
    padding: 16px 9px;
  }
  footer .container {
    flex-direction: column;
    gap: 19px;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 21px 9px 12px 9px;
  }
  .cookie-banner p {
    font-size: 0.98rem;
  }
  .cookie-modal {
    padding: 23px 8px 18px 8px;
    border-radius: 15px;
  }
}

@media (max-width: 530px) {
  .faq-accordion > div {
    font-size: 0.97rem;
    padding: 10px 7px;
    border-radius: 8px;
  }
  .section {
    padding-left: 2px;
    padding-right: 2px;
  }
  section:first-of-type {
    border-radius: 0 0 12px 12px;
    padding-left: 2px;
    padding-right: 2px;
  }
}

/* PRINT OVERRIDE */
@media print {
  .mobile-menu, .cookie-banner, .cookie-modal-overlay { display: none !important; }
}

/* MARGIN BETWEEN ALL MAJOR COMPONENTS */
main > section {
  margin-bottom: 60px;
}
main > section:last-of-type {
  margin-bottom: 30px;
}

/* INPUTS/FORM SIMULATED BUTTONS */
input, textarea, select {
  font-family: 'Open Sans', Arial, sans-serif;
  border-radius: 10px;
  border: 1.6px solid #F5EDD8;
  background: #FFF7F2;
  padding: 10px 14px;
  font-size: 1rem;
  color: #29313A;
  outline: none;
  margin-bottom: 14px;
  transition: border-color 0.12s;
}
input:focus, textarea:focus, select:focus {
  border-color: #AF753C;
}

/* MICRO INTERACTIONS/ANIMATIONS */
.btn, .card, .testimonial-card, .trend-cards article, .trend-articles article, .analysis-list article, .inspiration-cards article, .resource-list article, .faq-accordion > div, .cookie-banner button, .cookie-modal .cookie-modal-close, .category-filters li, .difficulty-filters li {
  transition: box-shadow 0.16s, background 0.13s, color 0.15s, transform 0.14s;
}

.btn:active {
  transform: scale(0.97);
}

/* AVATAR IMAGE ROUNDING - IF NEEDED */
.avatar, .testimonial-card img {
  border-radius: 50%;
}

/* ACCESSIBILITY: FOCUS VISIBLE */
a:focus, button:focus {
  outline: 2px solid #4FA585;
  outline-offset: 2px;
}

/* ENSURE NO ABSOLUTE FOR CONTENT CARDS */
.card, .trend-cards article, .trend-articles article, .analysis-list article, .inspiration-cards article, .resource-list article, .testimonial-card {
  position: relative;
}

/* UTILITY: DISPLAY NONE */
.hide { display: none !important; }

/*___________ END OF STYLE ____________*/