/* ========= CSS RESET & 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;
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1;
  background: #F6F6F3;
}
ol, ul {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
  transition: color .2s;
}
img {
  max-width: 100%;
  vertical-align: middle;
  border-style: none;
}
button, input, select, textarea {
  font: inherit;
  background: none;
  border: none;
  outline: none;
  color: inherit;
}

/* ========= CSS CUSTOM PROPERTIES FOR SOFT PASTEL PALETTE ========= */
:root {
  --color-primary: #365B48;
  --color-secondary: #F6F6F3;
  --color-accent: #B28C6E;
  --color-accent-contrast: #7A552F;
  --color-pastel-green: #B6D0C5;
  --color-pastel-pink: #FFEAE6;
  --color-pastel-lavender: #E5E4FA;
  --color-pastel-yellow: #FFF7E6;
  --color-pastel-blue: #DDEFFE;
  --color-pastel-beige: #F6EEE6;
  --color-white: #FFFFFF;
  --color-text-main: #253C2E;
  --color-text-dim: #617B64;
  --color-border: #E2DED8;
  --color-shadow: 0 10px 24px 0 rgba(33, 46, 35, 0.10);

  --font-display: 'Montserrat', Arial, sans-serif;
  --font-body: 'Open Sans', Arial, sans-serif;
}

/* ========= TYPOGRAPHY ========= */
html {
  font-size: 16px;
}
body {
  font-family: var(--font-body);
  color: var(--color-text-main);
  background: var(--color-secondary);
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--color-primary);
  letter-spacing: 0.01em;
  margin-bottom: 16px;
  font-weight: 700;
}
h1 {
  font-size: 2.25rem; /* 36px */
  line-height: 1.16;
  margin-bottom: 20px;
}
h2 {
  font-size: 1.75rem; /* 28px */
  margin-bottom: 18px;
}
h3 {
  font-size: 1.25rem; /* 20px */
}
h4 {
  font-size: 1.125rem; /* 18px */
}
p, ul, ol {
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 12px;
  color: var(--color-text-main);
}
ul, ol {
  padding-left: 1.1em;
}
strong {
  font-weight: 700;
  color: var(--color-primary);
}
.tagline {
  font-style: italic;
  color: var(--color-accent-contrast);
  font-family: var(--font-display);
}

/* ========= GENERAL CONTAINER ========= */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  margin: 0 auto;
  width: 100%;
  max-width: 900px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-white);
  box-shadow: var(--color-shadow);
  border-radius: 24px;
  transition: box-shadow .2s;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
@media (max-width: 768px) {
  .section {
    padding: 28px 6px;
    margin-bottom: 36px;
  }
  .content-wrapper {
    padding: 0 2px;
  }
}

/* ========= HEADER & NAVIGATION ========= */
header {
  background: linear-gradient(90deg, #B6D0C5 0%, #FFEAE6 100%);
  border-bottom: 2px solid var(--color-border);
  padding: 0 0 2px 0;
  box-shadow: 0 2px 12px 0 rgba(54,91,72,0.04);
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
  gap: 32px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 18px;
}
header nav a {
  font-family: var(--font-display);
  font-size: 1rem;
  padding: 8px 16px;
  border-radius: 16px;
  color: var(--color-primary);
  transition: background .18s, color .18s;
  background: transparent;
}
header nav a:hover, header nav a:focus {
  background: var(--color-pastel-beige);
}
.cta-primary {
  background: var(--color-accent);
  color: #fff;
  border-radius: 24px;
  padding: 10px 26px;
  font-weight: 700;
  font-family: var(--font-display);
  font-size: 1.06rem;
  letter-spacing: 0.02em;
  transition: background 0.18s, color 0.18s, box-shadow 0.22s;
  box-shadow: 0 1px 8px 0 rgba(178,140,110,0.09);
  margin-left: 12px;
  border: none;
  outline: none;
}
.cta-primary:hover, .cta-primary:focus {
  background: var(--color-accent-contrast);
  color: #FFF;
  box-shadow: 0 3px 12px 0 rgba(122,85,47,0.11);
}

/* ========= MOBILE MENU ========= */
.mobile-menu-toggle {
  display: none;
  background: var(--color-accent);
  color: #FFF;
  border-radius: 50%;
  width: 44px; height: 44px;
  font-size: 2rem;
  position: fixed;
  z-index: 101;
  top: 18px; right: 18px;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px 0 rgba(178,140,110,0.13);
  border: none;
  transition: background .2s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--color-accent-contrast);
}
@media (max-width: 1000px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: linear-gradient(120deg, #FFEAE6 0%, #B6D0C5 100%);
  z-index: 400;
  transform: translateX(-100%);
  transition: transform .38s cubic-bezier(.59,.09,.63,1);
  box-shadow: 0 0 0 8px rgba(246,246,243,.88);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 0;
  overflow-y: auto;
  opacity: 0.98;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  margin-top: 24px;
  margin-left: 24px;
  background: var(--color-accent-contrast);
  color: #FFF;
  border-radius: 50%;
  width: 38px; height: 38px;
  font-size: 1.6rem;
  border: none;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 7px 0 rgba(178,140,110,0.17);
  transition: background .2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--color-accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 38px;
  width: 100%;
  align-items: flex-start;
  padding-left: 44px;
}
.mobile-nav a {
  font-size: 1.4rem;
  font-family: var(--font-display);
  padding: 12px 12px 12px 6px;
  color: var(--color-primary);
  border-radius: 18px;
  transition: background .16s, color .16s;
  width: fit-content;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-pastel-beige);
  color: var(--color-accent-contrast);
}
@media (min-width: 1001px) {
  .mobile-menu {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* ========= MAJOR SECTION & FLEX LAYOUTS ========= */
/* MANDATORY LAYOUT PATTERNS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-white);
  border-radius: 18px;
  box-shadow: var(--color-shadow);
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px 22px 22px 22px;
  transition: box-shadow .2s, transform .19s;
}
.card:hover, .card:focus {
  box-shadow: 0 8px 32px 0 rgba(54, 91, 72, 0.13);
  transform: translateY(-3px) scale(1.014);
}
.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) {
  .content-grid,
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
}

/* Feature Grid on home/about/products/relax pages */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 12px;
}
.feature-grid > div {
  flex: 1 1 248px;
  min-width: 220px;
  background: var(--color-pastel-blue);
  border-radius: 18px;
  padding: 28px 18px 20px 18px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px 0 rgba(182,208,197,0.12);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  transition: box-shadow .15s, background .15s;
}
.feature-grid > div:hover {
  background: var(--color-pastel-yellow);
  box-shadow: 0 6px 20px 0 rgba(255,234,230,0.18);
}
.feature-grid img {
  width: 48px; height: 48px;
  margin-bottom: 6px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Blog List Flex Cards */
.blog-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.blog-item {
  background: var(--color-pastel-beige);
  border-radius: 16px;
  box-shadow: 0 1.5px 8px 0 rgba(182,208,197,0.10);
  padding: 26px 20px;
  margin-bottom: 20px;
  flex: 1 1 280px;
  min-width: 230px;
  transition: box-shadow .15s, background .18s;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.blog-item:hover,
.blog-item:focus {
  background: var(--color-pastel-lavender);
  box-shadow: 0 8px 28px 0 rgba(229,228,250,0.13);
}

/* ========= TESTIMONIALS ========= */
.testimonial-card {
  background: var(--color-pastel-pink);
  color: #263417;
  border-radius: 18px;
  box-shadow: 0 2.5px 9px 0 rgba(255,234,230,0.085), 0 0.5px 2.5px 0 rgba(0,0,0,0.07);
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  transition: box-shadow .19s, background .17s;
  min-width: 0;
}
.testimonial-card p {
  flex: 2 1 0;
  font-size: 1.1rem;
  color: #263417;
  font-style: italic;
}
.testimonial-card img {
  width: 64px; height: auto; margin-left: 8px;
  flex-shrink: 0;
}
.testimonial-card strong {
  color: var(--color-primary);
  font-size: 1rem;
  font-family: var(--font-display);
}
.testimonial-card:hover, .testimonial-card:focus {
  background: var(--color-pastel-yellow);
  box-shadow: 0 8px 36px 0 rgba(255,234,230,0.18);
}
@media (max-width: 650px) {
  .testimonial-card {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
    text-align: left;
  }
  .testimonial-card img {
    margin-left: 0;
    width: 54px;
  }
}

/* ========= BUTTONS & LINKS ========= */
button, .cta-primary {
  cursor: pointer;
  transition: background .16s, color .16s, box-shadow .18s, transform .1s;
  outline: none;
}
button:focus,
.cta-primary:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}
a {
  transition: color .16s;
}
a:hover, a:focus {
  color: var(--color-accent-contrast);
}

/* ========= FORMS (if any in future) ========= */
input, textarea, select {
  background: #FFF;
  border-radius: 14px;
  border: 1px solid var(--color-border);
  padding: 11px 15px;
  font-size: 1rem;
  width: 100%;
  margin-bottom: 16px;
  transition: border-color 0.15s, box-shadow 0.14s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--color-accent);
  box-shadow: 0 2px 8px 0 rgba(178,140,110,0.13);
}

/* ========= FOOTER ========= */
footer {
  margin-top: 54px;
  background: linear-gradient(90deg, #F6EEE6 0%, #E5E4FA 100%);
  padding: 0;
  border-top: 2px solid var(--color-border);
}
footer .container {
  padding-top: 36px;
  padding-bottom: 28px;
  flex-wrap: wrap;
  gap: 42px;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin: 0 22px;
}
footer nav a {
  color: var(--color-primary);
  font-family: var(--font-display);
  font-size: 1rem;
  padding: 5px 0;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 0.98rem;
  color: var(--color-text-dim);
}
.footer-contact img {
  width: 18px;
  vertical-align: middle;
  margin-right: 8px;
}
footer a:hover, footer a:focus {
  color: var(--color-accent-contrast);
}
@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
    padding: 20px 10px;
  }
}

/* ========= SPECIAL SECTIONS ========= */
.how-to-guides {
  background: var(--color-pastel-green);
  border-radius: 15px;
  padding: 20px 18px;
  margin-bottom: 18px;
  box-shadow: 0 1.5px 8px 0 rgba(182,208,197,0.10);
}
.how-to-guides h3 {
  margin-bottom: 10px;
}
.how-to-guides ol {
  padding-left: 18px;
  margin-bottom: 8px;
}

/* ========= UTILITY ========= */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-12 { margin-bottom: 12px !important; }
.gap-20 { gap: 20px !important; }
.rounded-16 { border-radius: 16px !important; }

@media (max-width: 600px) {
  .container, .content-wrapper {
    max-width: 100%;
    padding: 0 2px;
  }
  .section {
    padding: 16px 3px;
    margin-bottom: 21px;
    border-radius: 16px;
  }
  h1 { font-size: 1.47rem; }
  h2 { font-size: 1.19rem; }
}

/* ========= COOKIE CONSENT BANNER ========= */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 1002;
  width: 100vw;
  background: linear-gradient(90deg, #E5E4FA 0%, #FFF7E6 100%);
  box-shadow: 0 -4px 18px 0 rgba(54,91,72,0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 24px 10px 20px 10px;
  flex-wrap: wrap;
  font-size: 1rem;
  transition: transform 0.27s cubic-bezier(.5,.83,.62,1), opacity .21s;
}
.cookie-banner.hide {
  transform: translateY(110%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner p {
  color: var(--color-text-main);
  margin: 0;
  max-width: 460px;
}
.cookie-banner .cookie-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.cookie-btn {
  font-family: var(--font-display);
  border-radius: 24px;
  padding: 8px 22px;
  font-size: 1.04rem;
  border: none;
  background: var(--color-accent);
  color: #fff;
  margin-left: 6px;
  margin-right: 6px;
  box-shadow: 0 1px 5px 0 rgba(178,140,110,0.08);
  transition: background .17s, color .17s, box-shadow .15s;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--color-accent-contrast);
  color: #FFF;
}
.cookie-btn-secondary {
  background: var(--color-pastel-green);
  color: var(--color-primary);
}
.cookie-btn-secondary:hover, .cookie-btn-secondary:focus {
  background: var(--color-pastel-blue);
  color: var(--color-accent-contrast);
}

/* ========= COOKIE MODAL ========= */
.cookie-modal {
  display: none;
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(54,91,72,0.14);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}
.cookie-modal.open {
  display: flex;
  animation: fadeIn .25s;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal-content {
  background: var(--color-white);
  border-radius: 20px;
  max-width: 470px;
  width: 92%;
  box-shadow: 0 6px 32px 0 rgba(36,59,45,0.14);
  padding: 34px 22px 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.cookie-modal-close {
  align-self: flex-end;
  border: none;
  background: var(--color-accent-contrast);
  color: #FFF;
  border-radius: 50%;
  width: 33px; height: 33px;
  font-size: 1.15rem;
  margin-bottom: 6px;
  margin-right: -4px;
  transition: background .18s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: var(--color-accent);
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 16px 0;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 17px;
  font-size: 1.06rem;
  color: var(--color-primary);
}
.cookie-category input[type="checkbox"] {
  accent-color: var(--color-accent);
  width: 22px; height: 22px;
}
.cookie-category input[disabled] {
  opacity: 0.7;
}
.cookie-category .cat-label {
  color: var(--color-text-main);
}

/* ========= ANIMATIONS & MICRO-INTERACTIONS ========= */
.section,
.card,
.feature-grid > div,
.testimonial-card,
.blog-item {
  transition: box-shadow .18s, background .18s, transform .13s;
}
.card:active, .blog-item:active,
.feature-grid > div:active {
  transform: scale(0.99);
}
.cta-primary:active, .cookie-btn:active {
  transform: scale(0.96);
}
.testimonial-card:active {
  transform: scale(0.99);
}

/* ========= RICH LISTS & LINKS ========= */
ul li, ol li {
  margin-bottom: 8px;
  line-height: 1.65;
}
ul li a, ol li a {
  color: var(--color-accent-contrast);
  text-decoration: underline;
  transition: color .17s;
}
ul li a:hover, ol li a:hover {
  color: var(--color-accent);
}

/* ========= MISC RESPONSIVE ========= */
@media (max-width: 700px) {
  h1 { font-size: 1.3rem; }
  h2 { font-size: 1.05rem; }
  .feature-grid > div, .blog-item, .card {
    min-width: 0;
    width: 100%;
  }
  .container {
    padding: 0 4px;
  }
}

/* ========= END ========= */