/* 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 { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }
body {
  background: #f9fafb;
  color: #385b3b;
  font-family: 'Open Sans', Arial, sans-serif;
  line-height: 1.7;
  font-size: 16px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; height: auto; }
ul, ol { padding-left: 28px; }
b, strong { font-weight: 700; }
a {
  color: #385b3b;
  text-decoration: underline;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #a77641;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #385b3b;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-bottom: 16px;
  line-height: 1.18;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 1.75rem; margin-bottom: 18px; }
h3 { font-size: 1.25rem; margin-bottom: 12px; }
h4 { font-size: 1.05rem; margin-bottom: 8px; }
.section h2 { margin-top: 0; }

/* BRAND COLORS (paste-inspired soft palette) */
:root {
  --primary: #385b3b;
  --secondary: #d8b67d;
  --accent: #f3eedc;

  --pastel-mint: #e2f4de;
  --pastel-peach: #ffe7ce;
  --pastel-lavender: #ede7f6;
  --pastel-pink: #feeef7;
  --pastel-blue: #e6eefb;
  --border-soft: #ebebeb;
  --shadow-soft: 0 6px 24px 0 rgba(56,91,59,0.08), 0 1.5px 6px 0 rgba(70,59,91,0.04);
}

/* === LAYOUT CONTAINERS === */
.container {
  width: 100%;
  max-width: 1024px;
  margin: auto;
  padding-left: 20px;
  padding-right: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

/* === HEADER & NAVIGATION === */
header {
  background: linear-gradient(90deg, #e6eefb 30%, #f9fafb 100%);
  box-shadow: 0 3px 12px 0 rgba(56,91,59,0.06);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 20;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 24px;
}
header img { height: 51px; margin-right: 32px; }
nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  color: var(--primary);
  background: transparent;
  border-radius: 16px;
  padding: 8px 16px;
  text-decoration: none;
  transition: background 0.18s, color 0.16s;
}
nav a:hover, nav a:focus {
  background: var(--secondary);
  color: #fff;
}

/* === BURGER MENU === */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 20px;
  right: 22px;
  z-index: 41;
  background: var(--secondary);
  color: var(--primary);
  border: none;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  font-size: 2rem;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  transition: background 0.16s, color 0.16s;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: var(--primary);
  color: #fff;
  outline: none;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(100deg,#f3eedc 75%,#ede7f6 100%);
  z-index: 40;
  transform: translateX(-100vw);
  transition: transform 0.32s cubic-bezier(.6,.01,.41,1.01), box-shadow 0.24s;
  box-shadow: 0 0 0 0 rgba(56,91,59,0.1);
  overflow-y: auto;
  padding: 0 0 80px 0;
}
.mobile-menu.open {
  transform: translateX(0);
  box-shadow: 0 4px 32px 0 rgba(56,91,59,0.14);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 18px 24px 0 0;
  background: none;
  border: none;
  color: var(--primary);
  font-size: 2.2rem;
  cursor: pointer;
  padding: 2px 10px;
  border-radius: 8px;
  transition: background 0.13s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--secondary);
  color: #fff;
}
.mobile-nav {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: flex-start;
  padding: 24px 32px 0 36px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--primary);
  padding: 10px 0;
  border-radius: 10px;
  width: 100%;
  background: none;
  text-decoration: none;
  transition: background 0.17s, color 0.15s;
}
.mobile-nav a:active, .mobile-nav a:focus, .mobile-nav a:hover {
  background: var(--secondary);
  color: #fff;
}

@media (max-width: 1024px) {
  header .container { flex-direction: row; gap: 14px; }
}
@media (max-width: 820px) {
  header img { height: 40px; margin-right: 14px; }
}
@media (max-width: 768px) {
  nav { display: none; }
  .mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  header .container {
    padding-left: 14px; padding-right: 14px;
    min-height: 56px;
  }
}

/* === HERO SECTION === */
.hero {
  background: linear-gradient(120deg, #e2f4de 0%, #ffe7ce 60%, #ede7f6 100%);
  border-bottom-left-radius: 40px;
  border-bottom-right-radius: 40px;
  box-shadow: 0 4px 32px rgba(220,193,104,0.05);
  padding: 0 0 24px 0;
}
.hero .container {
  min-height: 320px;
  align-items: flex-start;
  justify-content: center;
  padding-top: 40px;
  padding-bottom: 32px;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 18px;
}
.hero h1 {
  font-size: 2.8rem;
  color: #385b3b;
  margin-bottom: 12px;
  line-height: 1.09;
}
.hero p {
  font-size: 1.25rem;
  color: #385b3b;
  opacity: .90;
  margin-bottom: 16px;
}
@media (max-width: 660px) {
  .hero .container { min-height: auto; }
  .hero h1 { font-size: 2rem; }
  .hero p { font-size: 1.02rem; }
}

/* === SECTIONS & CARD CONTAINERS === */
section {
  width: 100%;
  background: transparent;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--pastel-blue);
  border-radius: 32px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.card {
  min-width: 260px;
  max-width: 360px;
  background: var(--accent);
  margin-bottom: 20px;
  border-radius: 26px;
  box-shadow: var(--shadow-soft);
  position: relative;
  padding: 24px 24px 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: box-shadow 0.18s, transform 0.17s;
}
.card:hover {
  box-shadow: 0 8px 38px rgba(56,91,59,0.14);
  transform: translateY(-3px) scale(1.015);
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-section {
  margin-bottom: 28px;
  color: #385b3b;
  opacity: .96;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
@media (max-width: 768px) {
  .section {
    margin-bottom: 38px;
    padding: 24px 6px;
    border-radius: 14px;
  }
  .card-container, .content-grid {
    gap: 14px;
  }
  .text-image-section { flex-direction: column; gap: 20px; }
}

/* === TESTIMONIALS === */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 24px 26px;
  margin-bottom: 20px;
  background: #fff;
  color: #243424;
  border-radius: 24px;
  box-shadow: 0 4px 18px 0 rgba(56,91,59,0.07);
  font-size: 1.1rem;
  position: relative;
  transition: box-shadow 0.15s, background 0.15s;
}
.testimonial-card p {
  font-style: italic;
  color: #3f6143;
}
.testimonial-card span {
  color: #786344;
  font-size: 0.97rem;
  letter-spacing: 0.01em;
  margin-top: 4px;
}
.testimonial-card:hover {
  background: #f3eedc;
  box-shadow: 0 12px 28px rgba(56,91,59,0.13);
}

/* === BUTTONS & CALL TO ACTIONS === */
.cta, .cta.primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1.13rem;
  padding: 12px 34px;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 9px rgba(56,91,59,0.09);
  letter-spacing: .03em;
  background: var(--primary);
  color: #fff;
  margin-top: 14px;
  margin-bottom: 6px;
  transition: background 0.16s, color 0.13s, box-shadow 0.18s, transform 0.09s;
  text-decoration: none;
}
.cta.primary {
  background: var(--primary);
  color: #fff;
  border: 2px solid var(--primary);
}
.cta.primary:hover, .cta.primary:focus {
  background: var(--secondary);
  color: var(--primary);
  border: 2px solid var(--secondary);
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(56,91,59,0.13);
  transform: translateY(-1px) scale(1.02);
}
.cta.secondary {
  background: var(--secondary);
  color: var(--primary);
  border: 2px solid var(--secondary);
}
.cta.secondary:hover, .cta.secondary:focus {
  background: #fff;
  color: var(--secondary);
  border: 2px solid var(--secondary);
}
button:focus-visible, a:focus-visible {
  outline: 2px solid var(--secondary);
  outline-offset: 2px;
}

/* === FOOTER === */
footer {
  background: linear-gradient(94deg, #f9fafb 70%, #f3eedc 100%);
  border-top-left-radius: 34px;
  border-top-right-radius: 34px;
  padding: 24px 0 0 0;
  margin-top: 44px;
  box-shadow: 0 -3px 14px 0 rgba(56,91,59,0.05);
}
footer .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  gap: 24px;
}
footer nav {
  display: flex;
  gap: 11px;
  flex-wrap: wrap;
}
footer nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 0.98rem;
  padding: 6px 10px;
  background: none;
  border-radius: 9px;
  color: #6a5768;
  text-decoration: none;
  opacity: 0.79;
  transition: background 0.13s, color 0.13s;
}
footer nav a:hover, footer nav a:focus {
  background: var(--pastel-peach);
  color: var(--primary);
  opacity: 1;
}
footer .text-section {
  color: #756b64;
  font-size: 0.98rem;
  opacity: 0.89;
}
@media (max-width: 680px) {
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
  }
  footer nav {
    gap: 6px;
  }
}

/* === FORMS (if present) === */
input, textarea, select {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1em;
  padding: 10px 14px;
  border-radius: 9px;
  border: 1.4px solid #c6d0c1;
  background: #fff;
  margin-bottom: 18px;
  width: 100%;
  transition: border 0.13s, box-shadow 0.13s;
}
input:focus, textarea:focus, select:focus {
  border: 1.5px solid var(--secondary);
  outline: none;
  box-shadow: 0 2px 7px 0 rgba(56,91,59,0.07);
}

/* === COOKIE CONSENT BANNER === */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  background: #fffbe7;
  box-shadow: 0 -4px 22px 0 rgba(56,91,59,.08);
  border-top: 2px solid var(--pastel-peach);
  padding: 22px 12px 18px 12px;
  z-index: 500;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-size: 1.05rem;
  animation: cookie-slide-in 0.48s cubic-bezier(.73,.38,.53,1.01);
}
@keyframes cookie-slide-in {
  from { transform: translateY(48px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner span {
  color: #524929;
  margin-bottom: 4px;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 13px;
  flex-wrap: wrap;
  margin-top: 2px;
}
.cookie-banner button {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 10px 24px;
  border-radius: 14px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  margin: 0;
  transition: background 0.16s, color 0.13s, box-shadow 0.18s;
}
.cookie-banner button.accept {
  background: var(--primary);
  color: #fff;
}
.cookie-banner button.reject {
  background: #eea0a0;
  color: #8b2323;
}
.cookie-banner button.settings {
  background: var(--secondary);
  color: #4a3e30;
}
.cookie-banner button:active, .cookie-banner button:focus {
  box-shadow: 0 2px 8px #e2f4de;
  outline: none;
}

/* === COOKIE SETTINGS MODAL === */
.cookie-modal-backdrop {
  display: none;
  position: fixed;
  z-index: 560;
  left: 0; top: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(165, 154, 161, 0.22);
  align-items: center;
  justify-content: center;
}
.cookie-modal-backdrop.open { display: flex; animation: fadeIn .3s; }
@keyframes fadeIn {
  from { opacity: 0; } to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  width: 95vw;
  max-width: 400px;
  border-radius: 20px;
  box-shadow: 0 10px 36px 0 rgba(56,91,59,.15);
  padding: 32px 22px 24px 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  animation: modalPopIn .35s cubic-bezier(.71,.21,.37,1.06);
}
@keyframes modalPopIn {
  from { opacity: 0; transform: scale(.89) translateY(30px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.cookie-modal h3 {
  font-size: 1.27rem;
  margin-bottom: 8px;
  color: #385b3b;
}
.cookie-modal .cookie-category {
  width: 100%;
  padding: 10px 0 8px 0;
  border-bottom: 1px solid var(--border-soft);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  font-size: 1rem;
}
.cookie-modal .cookie-category:last-child { border-bottom: none; }
.cookie-modal label {
  display: flex;
  align-items: center;
  font-size: 1rem;
  gap: 7px;
}
.cookie-modal input[type="checkbox"] {
  transform: scale(1.3);
  accent-color: var(--primary);
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  width: 100%;
  margin-top: 12px;
}
.cookie-modal button {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  background: var(--primary);
  color: #fff;
  padding: 8px 22px;
  border-radius: 12px;
  border: none;
  font-size: 1rem;
  cursor: pointer;
  margin: 2px 0;
  transition: background 0.13s;
}
.cookie-modal button.secondary {
  background: var(--secondary);
  color: #3c3c25;
}
.cookie-modal button:active, .cookie-modal button:focus {
  background: #3c6952;
}

/* === RESPONSIVE TYPOGRAPHY === */
@media (max-width: 568px) {
  h1 { font-size: 1.55rem; }
  h2 { font-size: 1.18rem; }
  .container { padding-left: 8px; padding-right: 8px; }
  .testimonial-card { padding: 14px 10px; }
  .card { padding: 12px 10px; }
}

/* === LISTS && UL STYLING === */
ul, ol {
  margin-bottom: 16px;
}
ul li, ol li {
  margin-bottom: 8px;
  padding-left: 0;
}
ul li strong {
  font-weight: 700;
}

/* === MISC SPACING CLASSES / HELPERS === */
.mb-2 { margin-bottom: 8px; } .mb-3 { margin-bottom: 18px; } .mb-4 { margin-bottom: 28px; }
.mt-2 { margin-top: 8px; } .mt-3 { margin-top: 18px; } .mt-4 { margin-top: 28px; }

/* === VISUAL ENHANCEMENTS === */
.card, .testimonial-card, .section {
  box-shadow: var(--shadow-soft);
  border: none;
}
.section {
  background: var(--pastel-blue);
}
.card {
  background: var(--pastel-pink);
}
.testimonial-card {
  background: #fff;
}
@media (max-width: 500px) {
  .card, .testimonial-card, .section { border-radius: 9px; }
}

/* === TRANSITIONS & MICRO-INTERACTIONS === */
a, button, .card, .cta, .testimonial-card {
  transition: background 0.14s, color 0.13s, box-shadow 0.17s, transform 0.18s;
}

/* === FLEXBOX LAYOUT CLASSES === */
/* Already above: .section, .card-container, .content-grid, .text-image-section, .feature-item, .testimonial-card */

/* === PREVENT ABSOLUTE/CARD OVERLAP & ADEQUATE SPACING === */
.card, .testimonial-card, .section { margin-bottom: 20px; }
@media (max-width: 680px) {
  .card, .testimonial-card, .section { margin-bottom: 13px; }
}

/* === DARK TEXT ON LIGHT BG FOR TESTIMONIALS/REVIEWS === */
.testimonial-card, .testimonial-card * { color: #32412e !important; }

/* === TABLES (for legal pages/info) === */
table { width: 100%; border-collapse: collapse; margin-bottom: 20px; }
th, td { padding: 10px 12px; border: 1px solid #e5e5e5; }
th { background: #e6eefb; color: #385b3b; text-align: left; }

/* === SELECTION COLORS === */
::selection { background: #fbecc8; color: #385b3b; }

/* === SCROLLBAR (for nice pastel touch) === */
::-webkit-scrollbar { width: 10px; background: #f3eedc; }
::-webkit-scrollbar-thumb { background: #d8b67d; border-radius: 5px; }

/* END CSS */
