/* --- 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,
ul, ol, 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: inherit;
  font-size: 100%;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  box-sizing: border-box;
  font-size: 16px;
}
*, *::before, *::after {
  box-sizing: inherit;
}
body {
  line-height: 1.6;
  background: #FBFAFA;
  color: #3C4A36;
  font-family: 'Roboto', Arial, sans-serif;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: #3C4A36;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #F5A623;
}
ul, ol {
  padding-left: 1.5em;
  margin-bottom: 1rem;
}
li+li {
  margin-top: 0.3em;
}

/* --- TYPOGRAPHY --- */
h1, .h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 2.5rem;
  color: #314029;
  letter-spacing: 0.01em;
  margin-bottom: 16px;
}
h2, .h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 2rem;
  color: #314029;
  letter-spacing: 0.01em;
  margin-bottom: 16px;
}
h3, .h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1.3rem;
  margin-bottom: 12px;
}
h4, .h4 {
  font-weight: 500;
  font-size: 1.1rem;
  margin-bottom: 10px;
}
p, .p {
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 400;
  font-size: 1rem;
  color: #355B49;
  margin-bottom: 1.25em;
}
strong {
  font-weight: 600;
}

/* --- BRAND COLORS --- */
:root {
  --brand-primary: #3C4A36;
  --brand-secondary: #CEF0D4;
  --brand-accent: #F5A623;
  --pastel-bg1: #F6F5F9;
  --pastel-bg2: #E4F1F7;
  --pastel-bg3: #F6ECE7;
  --pastel-bg4: #FFE4E1;
  --pastel-green: #D4F3DF;
  --pastel-blue: #DAF0FA;
  --pastel-yellow: #FFF8DE;
  --pastel-pink: #FFE9F3;
  --text-main: #3C4A36;
  --text-soft: #628A6A;
  --box-shadow: 0 4px 16px rgba(60,74,54,0.07);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
}

/* --- LAYOUT UTILITY CLASSES --- */
.container {
  width: 100%;
  max-width: 1216px;
  margin: 0 auto;
  padding: 0 16px;
  /* no flex here, used as outer wrapper */
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--pastel-bg1);
  border-radius: var(--radius-lg);
  box-shadow: var(--box-shadow);
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 40px;
}
.card {
  margin-bottom: 20px;
  background: var(--pastel-bg2);
  border-radius: var(--radius-md);
  box-shadow: 0 2px 8px rgba(60,74,54,0.05);
  padding: 24px 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 260px;
  transition: box-shadow .18s, transform .18s;
}
.card:hover {
  box-shadow: 0 6px 24px rgba(60,74,54,0.11);
  transform: translateY(-2px) scale(1.015);
}
.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: flex-start;
  gap: 20px;
  padding: 20px;
  margin-bottom: 24px;
  background: var(--pastel-yellow);
  border-radius: var(--radius-md);
  box-shadow: 0 2px 14px rgba(84,116,89,0.14);
  color: #3C4A36;
  font-size: 1.04rem;
  position: relative;
  min-width: 260px;
}
.testimonial-card p {
  margin-bottom: 0;
}
.testimonial-card span {
  font-size: 0.97em;
  color: var(--text-soft);
  font-style: italic;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.text-section {
  background: none;
  box-shadow: none;
  border-radius: 0;
}

/* --- HEADER, MAIN, FOOTER --- */
header {
  background: var(--pastel-bg2);
  padding-top: 14px;
  padding-bottom: 14px;
  box-shadow: 0 1px 12px 0 rgba(222,222,222,0.04);
}
.header-container {
  display: flex;
  align-items: center;
  gap: 24px;
  justify-content: space-between;
  min-height: 60px;
}
.logo-link {
  display: flex;
  align-items: center;
  height: 46px;
  margin-right: 22px;
}
.logo-link img {
  height: 44px;
  width: auto;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
}
.main-nav a {
  font-size: 1.01rem;
  color: var(--brand-primary);
  padding: 8px 10px;
  border-radius: 7px;
  transition: background 0.15s, color 0.18s;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--pastel-green);
  color: var(--brand-accent);
}
.footer-container {
  display: flex;
  gap: 22px;
  align-items: center;
  justify-content: space-between;
  padding: 32px 0 24px 0;
  border-top: 1.2px solid #e2e7e1;
  background: var(--pastel-bg1);
}
.footer-nav {
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
}
.footer-nav a {
  color: var(--brand-primary);
  font-size: 0.97rem;
  transition: color .15s;
  opacity: 0.75;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--brand-accent);
  text-decoration: underline;
  opacity: 1;
}

/* --- HERO --- */
.hero-section {
  background: var(--pastel-bg4);
  background-image: linear-gradient(150deg, var(--pastel-pink) 33%, var(--pastel-bg3) 100%);
  border-radius: var(--radius-lg);
  box-shadow: 0 3px 20px -7px rgba(60,74,54,0.10);
  margin-bottom: 40px;
  padding: 60px 0 54px 0;
  display: flex;
  align-items: center;
  width: 100%;
}
.hero-section .content-wrapper {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}
.hero-section h1 {
  font-size: 2.8rem;
  background: linear-gradient(90deg, var(--brand-primary) 47%, var(--brand-accent) 83%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
  letter-spacing: 0.01em;
}
.hero-section p {
  font-size: 1.19rem;
  color: #4e5c50;
  margin-bottom: 20px;
}

/* --- BUTTONS --- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.08rem;
  background: var(--brand-accent);
  color: #fff;
  border: none;
  border-radius: var(--radius-md);
  padding: 14px 30px;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(245,166,35,0.10);
  transition: background .16s, transform .18s, box-shadow .16s;
  margin-top: 8px;
  margin-bottom: 8px;
}
.btn-primary:hover, .btn-primary:focus {
  background: #E58B03;
  color: #fff;
  transform: translateY(-1.5px) scale(1.035);
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  background: var(--pastel-green);
  color: var(--brand-primary);
  border: none;
  border-radius: var(--radius-sm);
  padding: 12px 18px;
  cursor: pointer;
  transition: background .16s, color .16s;
  margin-top: 4px; margin-bottom: 4px;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: var(--brand-secondary);
  color: var(--brand-primary);
}

/* --- CARDS --- */
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.card-title {
  font-size: 1.35rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  color: var(--brand-primary);
  margin-bottom: 10px;
}

/* --- GENERAL FLEX UTILITIES --- */
.flex-col {
  display: flex;
  flex-direction: column;
}
.flex-row {
  display: flex;
  flex-direction: row;
}
.align-center {
  align-items: center;
}
.align-start {
  align-items: flex-start;
}
.justify-between {
  justify-content: space-between;
}
.gap-20 { gap: 20px; }
.gap-24 { gap: 24px; }

/* --- SPACING AND WHITE SPACE --- */
.content-wrapper {
  margin: 0 auto;
  padding: 30px 0;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.content-wrapper > h2, .content-wrapper > h1 {
  margin-bottom: 6px;
}
.content-wrapper > ul {
  margin-bottom: 8px;
}
section + section {
  margin-top: 20px;
}

/* --- LIST STYLING --- */
ul {
  color: var(--text-main);
}
ul li {
  margin-bottom: 0.45em;
  padding-left: 0.2em;
  font-size: 1em;
}
.text-section ul li {
  font-size: 1em;
}

/* --- RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 1024px) {
  .container {
    max-width: 96vw;
    padding: 0 9px;
  }
  .hero-section {
    padding: 32px 0 32px 0;
  }
}
@media (max-width: 768px) {
  h1, .h1 { font-size: 2.1rem; }
  h2, .h2 { font-size: 1.42rem; }
  .hero-section {
    padding: 23px 0 28px 0;
    border-radius: var(--radius-md);
  }
  .header-container, .footer-container {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
    padding: 18px 0 10px 0;
  }
  .main-nav {
    display: none;
  }
  .btn-primary {
    font-size: 1rem;
    padding: 12px 22px;
  }
  .content-wrapper {
    padding: 16px 0;
    gap: 18px;
  }
  .section {
    margin-bottom: 36px;
    padding: 22px 9px;
    border-radius: var(--radius-md);
  }
  .card-container, .content-grid {
    gap: 16px;
  }
  .testimonial-card {
    padding: 14px;
    gap: 8px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 20px;
  }
}
@media (max-width: 520px) {
  .hero-section {
    border-radius: var(--radius-sm);
  }
  .card {
    min-width: 0;
    font-size: 0.98rem;
    padding: 16px 8px;
    border-radius: var(--radius-sm);
  }
  footer .footer-container {
    padding: 14px 0 9px 0;
  }
}

/* -- MOBILE MENU -- */
.mobile-menu-toggle {
  display: none;
  position: relative;
  z-index: 1102;
  background: var(--brand-accent);
  color: #fff;
  border: none;
  border-radius: 7px;
  font-size: 2.2rem;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s, color 0.12s;
  box-shadow: 0 2px 10px rgba(245,166,35,0.08);
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #E58B03;
  outline: 2px solid var(--brand-primary);
  color: #fff;
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(255, 249, 246, 0.97);
  z-index: 2100;
  box-shadow: 0 8px 40px rgba(160, 152, 130, 0.10);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 32px 32px 18px 32px;
  transform: translateX(-102vw);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.33s cubic-bezier(.7,.2,.32,1.45), opacity 0.22s;
}
.mobile-menu.open {
  transform: translateX(0vw);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  background: none;
  color: var(--brand-primary);
  border: none;
  font-size: 2.2rem;
  align-self: flex-end;
  margin-bottom: 28px;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity .18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  opacity: 1;
  color: var(--brand-accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100%;
}
.mobile-nav a {
  color: var(--brand-primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1.22rem;
  padding: 14px 10px;
  border-radius: 7px;
  transition: background .16s, color .16s;
  text-align: left;
  outline: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--brand-secondary);
  color: var(--brand-accent);
}
@media (max-width: 970px) {
  .mobile-menu-toggle {
    display: flex;
    margin-left: auto;
  }
}
@media (min-width: 971px) {
  .mobile-menu { display: none !important; }
  .mobile-menu-toggle { display: none !important; }
}

/* Mobile: Hide desktop nav, show burger */
@media (max-width:970px) {
  .main-nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2500;
  background: #fff9f4;
  border-top: 2px solid var(--pastel-bg3);
  box-shadow: 0 -2px 22px 0 rgba(140,140,90,0.08);
  padding: 26px 16px 18px 16px;
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  font-size: 0.99rem;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
  transition: transform 0.32s cubic-bezier(0.66,0.32,0.3,1.15), opacity 0.26s;
}
.cookie-banner.visible {
  display: flex;
  opacity: 1;
  pointer-events: all;
  transform: translateY(0%);
}
.cookie-banner-message {
  color: #473214;
  padding: 2px 6px;
  font-size: 1.03em;
  text-align: center;
}
.cookie-banner-actions {
  display: flex;
  gap: 16px;
  margin-top: 6px;
  flex-wrap: wrap;
  justify-content: center;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  border: none;
  border-radius: var(--radius-sm);
  padding: 11px 22px;
  margin: 2px;
  font-size: 1.05em;
  cursor: pointer;
  transition: background .14s, color .14s, box-shadow .18s;
}
.cookie-btn.accept {
  background: var(--brand-accent);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 2px 10px rgba(245,166,35,0.09);
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #E58B03;
}
.cookie-btn.reject {
  background: var(--pastel-pink);
  color: var(--brand-primary);
  font-weight: 600;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: var(--pastel-bg4);
}
.cookie-btn.settings {
  background: var(--pastel-bg2);
  color: var(--brand-primary);
  font-weight: 500;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: var(--pastel-green);
}

/* COOKIE MODAL */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-54%) scale(1.035);
  background: #fff;
  z-index: 2900;
  min-width: 320px;
  max-width: 97vw;
  width: 420px;
  max-height: 98vh;
  padding: 32px 20px 24px 23px;
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 48px 0 rgba(180,166,90,0.19);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .24s, transform .27s;
}
.cookie-modal.visible {
  opacity: 1;
  pointer-events: all;
  transform: translate(-50%,-50%) scale(1);
}
.cookie-modal h2 {
  font-size: 1.22rem;
  font-weight: bold;
  margin-bottom: 9px;
}
.cookie-modal-list {
  width: 100%;
  list-style: none;
  margin: 0 0 10px 0;
  padding: 0;
}
.cookie-modal-list li {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1.01em;
}
.cookie-modal .cookie-toggle {
  appearance: none;
  height: 22px;
  width: 42px;
  background: var(--brand-secondary);
  border-radius: 14px;
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background .13s;
}
.cookie-modal .cookie-toggle:checked {
  background: var(--brand-accent);
}
.cookie-modal .cookie-toggle::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 2.5px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(80,70,12,0.05);
  transition: left .16s;
}
.cookie-modal .cookie-toggle:checked::before {
  left: 22px;
}
.cookie-modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}
.cookie-modal .close-modal {
  background: none;
  border: none;
  position: absolute;
  top: 13px;
  right: 18px;
  font-size: 1.5em;
  color: #bbbcaf;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity .18s, color .16s;
}
.cookie-modal .close-modal:hover {
  color: var(--brand-accent);
  opacity: 1;
}
@media (max-width: 600px) {
  .cookie-modal {
    min-width: 90vw;
    width: 95vw;
    padding: 17px 8px 17px 9px;
    border-radius: var(--radius-md);
  }
}

/* --- MICRO-INTERACTION ANIMATION KEYFRAMES --- */
@keyframes subtlePop {
  from { transform: scale(0.96); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.btn-primary, .btn-secondary, .cookie-banner {
  animation: subtlePop 0.43s cubic-bezier(.6,.42,.23,1.25) 1 both;
}

/* --- MISC --- */
::-webkit-scrollbar {
  width: 8px;
  background: var(--pastel-bg2);
}
::-webkit-scrollbar-thumb {
  background: var(--pastel-bg4);
  border-radius: 5px;
}

/* For cookie-modal backdrop (JS creates element .cookie-backdrop) */
.cookie-backdrop {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(50,50,50,0.21);
  z-index: 2600;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s;
}
.cookie-backdrop.visible {
  opacity: 1;
  pointer-events: all;
}

/* --- MAKE SURE FLEXBOX LAYOUTS --- */
/* Already ensured: all container classes use display: flex + proper gap/margins, no grid/columns used anywhere. */

/* ========== END OF CSS ========== */
