/* ----------------------------------------------------
   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,
menu,
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,
main,
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;
  -webkit-text-size-adjust: 100%;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  line-height: 1.5;
  background: #F7F9F5;
  color: #25332B;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
ul, ol {
  list-style: none;
}
a {
  text-decoration: none;
  color: #285C3C;
  transition: color 0.18s;
}
a:hover, a:focus {
  color: #89A44E;
}
img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}
button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
  padding: 0;
}

/* ----------------------------------------------------
   SOFT PASTEL COLOR PALETTE (using brand + pastels)
---------------------------------------------------- */
:root {
  --primary: #285C3C;
  --secondary: #89A44E;
  --accent: #F5F5EB;
  --pastel-green: #c1e3c0;
  --pastel-yellow: #fff7c9;
  --pastel-pink: #fddcdc;
  --pastel-blue: #d7eafc;
  --pastel-violet: #ece6fb;
  --pastel-light: #f7f9f5;
  --font-display: 'Montserrat', Arial, sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;
  --shadow: 0 4px 20px 0 rgba(45, 72, 51, 0.08);
  --radius: 18px;
}

/* ----------------------------------------------------
   TYPOGRAPHY
---------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.8rem;
  line-height: 1.18;
  margin-bottom: 18px;
}
h2 {
  font-size: 2rem;
  line-height: 1.2;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.35rem;
  line-height: 1.22;
  margin-bottom: 10px;
}
h4 {
  font-size: 1rem;
  margin-bottom: 8px;
}
p, ul, li {
  font-family: var(--font-body);
  font-size: 1rem;
  color: #333;
}
p {
  margin-bottom: 16px;
  letter-spacing: 0.01em;
}
strong {
  color: var(--primary);
  font-weight: 700;
}

/* ----------------------------------------------------
   LAYOUT: SPACING & CONTAINER
---------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1190px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--pastel-light);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  position: relative;
}

/* ----------------------------------------------------
   HEADER & NAVIGATION (Desktop + Mobile)
---------------------------------------------------- */
header {
  background: linear-gradient(90deg, #f7f9f5 96%, #fddcdc 100%);
  box-shadow: 0 3px 24px 0 rgba(40, 92, 60, 0.05);
  z-index: 999;
  position: relative;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
}
.main-nav a {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  color: var(--primary);
  padding: 8px 18px;
  border-radius: 10px;
  transition: background 0.23s, color 0.18s;
}
.main-nav a:hover:not(.btn-primary),
.main-nav a:focus:not(.btn-primary) {
  background: var(--pastel-green);
  color: var(--secondary);
}
.main-nav img {
  height: 46px;
  width: auto;
  margin-right: 12px;
}
.btn-primary {
  font-family: var(--font-display);
  color: #fff !important;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  padding: 10px 32px;
  border-radius: 32px;
  font-size: 1.05rem;
  margin-left: 8px;
  transition: background 0.18s, box-shadow 0.2s, transform 0.15s;
  box-shadow: 0 2px 12px 0 rgba(137, 164, 78, 0.10);
  border: none;
  outline: none;
  font-weight: 700;
  position: relative;
}
.btn-primary:hover,
.btn-primary:focus {
  background: linear-gradient(90deg, var(--secondary), var(--primary));
  color: #ffffff;
  box-shadow: 0 8px 18px 0 rgba(137,164,78,0.15);
  transform: translateY(-2px) scale(1.04);
}

/* MOBILE NAV: Hamburger */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 2.3rem;
  background: var(--pastel-green);
  border-radius: 50%;
  padding: 6px 16px 8px 16px;
  color: var(--primary);
  z-index: 1111;
  border: none;
  box-shadow: 0 2px 10px 0 rgba(137, 164, 78, 0.1);
  line-height: 1;
  transition: background 0.2s, color 0.2s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: var(--secondary);
  color: #fff;
}

/* MOBILE NAV OVERLAY */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(242,247,241,0.97);
  box-shadow: 0 3px 40px 0 rgba(40,92,60,0.12);
  z-index: 9999;
  transform: translateX(-100%);
  transition: transform 0.40s cubic-bezier(.87,-0.15,.38,1.21);
  flex-direction: column;
  align-items: flex-start;
  padding-top: 18px;
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2.3rem;
  color: var(--primary);
  background: var(--pastel-pink);
  border-radius: 50%;
  padding: 7px 19px 10px 19px;
  margin-left: auto;
  margin-right: 20px;
  margin-top: 10px;
  border: none;
  transition: background 0.2s, color 0.2s;
  z-index: 10001;
}
.mobile-menu-close:focus,
.mobile-menu-close:hover {
  background: var(--secondary);
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: flex-start;
  width: 100%;
  padding: 32px 24px 0 28px;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.18rem;
  color: var(--primary);
  font-weight: 500;
  border-radius: 12px;
  padding: 12px 0;
  transition: background 0.18s, color 0.18s;
  width: 100%;
  display: block;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: var(--pastel-green);
  color: var(--secondary);
}

@media (max-width: 992px) {
  .main-nav {
    gap: 10px;
    padding-top: 8px;
    padding-bottom: 8px;
  }
}
@media (max-width: 850px) {
  .main-nav a:not(:first-child),
  .main-nav .btn-primary {
    font-size: 0.97rem;
    padding: 8px 10px;
  }
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* ----------------------------------------------------
   GENERAL FLEXBOX UTILITIES
---------------------------------------------------- */
.content-wrapper {
  width: 100%;
  max-width: 970px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}

.feature-grid,
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 20px;
  width: 100%;
  align-items: stretch;
}
.card {
  margin-bottom: 20px;
  position: relative;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--pastel-violet);
  padding: 30px 22px 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 260px;
  flex: 1 1 260px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}
.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;
  width: 100%;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 6px 32px 0 rgba(40,92,60,0.07);
  font-style: italic;
  color: #233529;
  border-left: 7px solid var(--primary);
  transition: box-shadow 0.23s, transform 0.15s;
}
.testimonial-card:hover {
  box-shadow: 0 12px 32px 0 rgba(40,92,60,0.18);
  transform: scale(1.012);
}
.testimonial-card strong {
  color: var(--secondary);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Accent Pastel Cards (Features/highlights) */
.feature-grid>div {
  background: var(--pastel-blue);
  border-radius: var(--radius);
  padding: 28px 19px 22px 19px;
  min-width: 210px;
  box-shadow: var(--shadow);
  flex: 1 1 210px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  transition: box-shadow 0.22s, transform 0.13s;
  position: relative;
}
.feature-grid>div:hover {
  box-shadow: 0 8px 32px 0 rgba(137, 164, 78, 0.14);
  background: var(--pastel-green);
  transform: translateY(-2px);
}
.feature-grid img {
  width: 36px; height: 36px; object-fit: contain; margin-bottom: 6px;
}

/* Content Lists w/ Icons */
.text-section ul,
.content-wrapper > ul {
  margin-top: 8px;
  margin-bottom: 18px;
}
.text-section ul li,
.content-wrapper > ul li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 9px;
}
.text-section ul li:before,
.content-wrapper > ul li:before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--pastel-green);
  border: 2px solid var(--secondary);
}
.content-wrapper > ul li img {
  width: 16px;
  margin-right: 9px;
  vertical-align: text-bottom;
  display: inline-block;
}

/* ----------------------------------------------------
   FOOTER
---------------------------------------------------- */
footer {
  background: linear-gradient(90deg, var(--pastel-violet) 90%, var(--accent) 100%);
  box-shadow: 0 -3px 24px 0 rgba(40,92,60,0.06);
  padding: 38px 0 20px 0;
}
.footer-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-wrapper > div {
  flex: 1 1 210px;
  min-width: 210px;
}
.footer-wrapper img {
  height: 44px;
  margin-bottom: 10px;
}
.footer-wrapper p {
  color: var(--primary);
  font-family: var(--font-body);
  font-size: 1rem;
  margin-top: 5px;
}
.footer-wrapper h4 {
  font-family: var(--font-display);
  color: var(--primary);
  font-size: 1.07rem;
  margin-bottom: 7px;
}
.footer-wrapper li {
  font-size: 0.99rem;
  color: #333;
  margin-bottom: 9px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-wrapper nav {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 15px;
}
.footer-wrapper nav a {
  color: var(--primary);
  font-size: 0.98rem;
  padding: 3px 0;
  border-radius: 6px;
  transition: background 0.15s, color 0.13s;
}
.footer-wrapper nav a:hover {
  background: var(--pastel-green);
  color: var(--secondary);
}
.social-links {
  display: flex;
  gap: 14px;
}
.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--pastel-green);
  height: 32px;
  width: 32px;
  border-radius: 50%;
  transition: background 0.18s;
}
.social-links a:hover {
  background: var(--secondary);
}

/* ----------------------------------------------------
   COOKIE CONSENT BANNER (AND MODAL)
---------------------------------------------------- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  background: linear-gradient(90deg, var(--pastel-yellow) 92%, var(--accent) 100%);
  color: #3D3D36;
  padding: 22px 16px 22px 16px;
  box-shadow: 0 -2px 24px 0 rgba(40,92,60,0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 12000;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 1rem;
  transition: transform 0.28s cubic-bezier(.76,-0.14,.45,1.18);
}
.cookie-banner p {
  margin: 0;
  font-size: 1rem;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 12px;
}
.cookie-btn-accept,
.cookie-btn-reject,
.cookie-btn-settings {
  font-family: var(--font-display);
  border-radius: 18px;
  padding: 8px 22px;
  font-weight: 600;
  font-size: 1rem;
  transition: background 0.18s, color 0.18s, box-shadow 0.19s;
  box-shadow: 0 1px 9px 0 rgba(40, 92, 60, 0.08);
  border: none;
  outline: none;
}
.cookie-btn-accept {
  background: var(--secondary);
  color: #fff;
}
.cookie-btn-accept:hover,
.cookie-btn-accept:focus {
  background: var(--primary);
  color: #fff;
}
.cookie-btn-reject {
  background: var(--pastel-pink);
  color: var(--primary);
}
.cookie-btn-reject:hover,
.cookie-btn-reject:focus {
  background: var(--primary);
  color: #fff;
}
.cookie-btn-settings {
  background: var(--accent);
  color: var(--primary);
}
.cookie-btn-settings:hover,
.cookie-btn-settings:focus {
  background: var(--primary);
  color: #fff;
}

/* Cookie Modal Overlay */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  z-index: 13000;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(37, 51, 43, 0.40);
  align-items: center;
  justify-content: center;
  transition: background 0.22s;
}
.cookie-modal-overlay.open { display: flex; }
.cookie-modal {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 44px 0 rgba(40, 92, 60, 0.15);
  max-width: 420px;
  width: 94vw;
  padding: 38px 26px 28px 26px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: fadeInModal 0.28s cubic-bezier(.26,.61,.54,1.39);
}
@keyframes fadeInModal {
  from {transform: translateY(32px) scale(0.97); opacity: 0; }
  to {transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal h3 {
  color: var(--primary);
  margin-bottom: 6px;
  font-size: 1.38rem;
  font-family: var(--font-display);
}
.cookie-modal-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--pastel-green);
  padding: 14px 14px;
  margin-bottom: 10px;
  border-radius: 14px;
}
.cookie-modal-category.essential {
  background: var(--pastel-blue);
}
.cookie-modal-category label {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  color: #25332B;
}
.cookie-switch {
  appearance: none;
  width: 38px; height: 22px;
  border-radius: 11px;
  background: var(--secondary);
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background 0.18s;
}
.cookie-switch:checked {
  background: var(--primary);
}
.cookie-switch:disabled {
  background: var(--pastel-violet);
  cursor: not-allowed;
}
.cookie-switch:before {
  content: '';
  display: block;
  position: absolute;
  left: 3px; top: 3px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 8px 0 rgba(137,164,78,0.14);
  transition: left 0.19s;
}
.cookie-switch:checked:before {
  left: 19px;
}
.cookie-modal-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 18px;
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  top: 12px; right: 15px;
  font-size: 1.6rem;
  background: transparent;
  color: var(--primary);
  border: none;
}
.cookie-modal .cookie-modal-close:hover,
.cookie-modal .cookie-modal-close:focus {
  color: var(--secondary);
}

/* ----------------------------------------------------
   RESPONSIVE DESIGN
---------------------------------------------------- */
@media (max-width: 1200px) {
  .container {max-width: 96vw;}
  .footer-wrapper {gap: 20px;}
}
@media (max-width: 1100px) {
  .feature-grid, .card-container, .footer-wrapper, .content-grid {
    gap: 14px;
  }
}
@media (max-width: 900px) {
  .container {max-width: 99vw;}
  .section {padding: 32px 10px; margin-bottom: 40px;}
  .feature-grid,
  .card-container,
  .footer-wrapper,
  .content-grid {
    gap: 10px;
  }
}
@media (max-width: 768px) {
  h1 {font-size:2.1rem;}
  h2 {font-size:1.34rem;}
  .section {padding: 23px 5px; border-radius: 14px;}
  .footer-wrapper {flex-direction: column; gap:22px; align-items: flex-start;}
  .feature-grid, .card-container, .content-grid {
    flex-direction: column;
    gap: 16px;
  }
  .testimonials {flex-direction: column;}
  .testimonial-card {margin-bottom: 14px;}
}
@media (max-width: 600px) {
  h1 {font-size:1.4rem;}
  h3 {font-size:1.05rem;}
}
@media (max-width: 540px) {
  .container {padding-left:6px; padding-right:6px;}
  .section {padding: 12px 2px;}
  .btn-primary {font-size:0.93rem; padding: 8px 17px;}
  .mobile-menu-close {
    padding: 4px 13px 6px 13px;
    font-size: 2rem;
  }
}
@media (max-width: 420px) {
  .section {padding: 6px 0;}
  .cookie-banner {flex-direction: column; gap: 10px; font-size: 0.95rem;}
}

/* KEY FLEXBOX LAYOUTS (DO NOT USE GRID) */
/* Already applied above to .feature-grid, .card-container, .footer-wrapper, etc. */

/* ----------------------------------------------------
   ANIMATIONS & MICRO-INTERACTIONS
---------------------------------------------------- */
.btn-primary, .cookie-btn-accept, .cookie-btn-reject, .cookie-btn-settings, .feature-grid>div, .testimonial-card {
  transition: box-shadow 0.22s, transform 0.13s, background 0.19s, color 0.15s;
}

/* ----------------------------------------------------
   DREAMY SOFT DECORATIVE ELEMENTS
---------------------------------------------------- */
.section:before {
  content: '';
  position: absolute;
  z-index: 0;
  top: -28px; left: -36px;
  width: 84px; height: 84px;
  border-radius: 50%;
  background: linear-gradient(130deg, var(--pastel-green) 43%, var(--pastel-yellow) 73%);
  opacity: 0.16;
  filter: blur(4px);
  pointer-events: none;
  display: block;
}
.section:after {
  content: '';
  position: absolute;
  z-index: 0;
  bottom: -44px; right: -42px;
  width: 66px; height: 66px;
  border-radius: 50%;
  background: linear-gradient(120deg, var(--pastel-pink) 54%, var(--pastel-blue) 100%);
  opacity: 0.17;
  filter: blur(6px);
  pointer-events: none;
  display: block;
}

/* For sections with backgrounds, move decorative circles out */
.section {
  overflow: hidden;
}

/* Layer content above decorative circles */
.section > *,
.section > .container > * {
  position: relative;
  z-index: 2;
}

/* ----------------------------------------------------
   MISC (Error states, modals, focus outlines, etc.)
---------------------------------------------------- */
:focus-visible {
  outline: 2px dashed var(--secondary);
  outline-offset: 2px;
}
::-webkit-input-placeholder { color: #888; opacity: 1; }
::-moz-placeholder { color: #888; opacity: 1; }
:-ms-input-placeholder { color: #888; opacity: 1; }
::placeholder { color: #888; opacity: 1; }

/* ----------------------------------------------------
   END OF STYLE FILE
---------------------------------------------------- */
