/* RESET & BASELINE ---------------------------------------------*/

html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  color: #3A4D2C;
  background: #F8EFE0;
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: #3A4D2C;
  text-decoration: none;
  transition: color 0.18s;
}
a:hover,
a:focus {
  color: #557e57;
  text-decoration: underline;
}
ul, ol {
  list-style: disc inside;
  margin-bottom: 20px;
}

::-webkit-input-placeholder { color: #7e8982; opacity: 1; }
::-moz-placeholder { color: #7e8982; opacity: 1; }
:-ms-input-placeholder { color: #7e8982; opacity: 1; }
::placeholder { color: #7e8982; opacity: 1; }

/* TYPE SCALE ---------------------------------------------------*/
h1, .h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 2.5rem;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
  color: #3A4D2C;
}
h2, .h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 2rem;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
  color: #3A4D2C;
}
h3, .h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: #3A4D2C;
}
h4, .h4 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1.125rem;
  margin-bottom: 10px;
}
p, li, span, label {
  font-size: 1rem;
  color: #495d43;
}

strong {
  font-weight: 600;
}

/* CONTAINERS & LAYOUT ------------------------------------------*/
.container {
  width: 100%;
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.content-wrapper {
  background: white;
  border-radius: 20px;
  box-shadow: 0 4px 24px rgba(120,160,120,0.06);
  padding: 40px 28px;
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.text-section {
  background: #FAF7EC;
  border-left: 6px solid #98C2A7;
  box-shadow: 0 2px 10px rgba(120,160,120,0.03);
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #FFF;
  border-radius: 18px;
  box-shadow: 0 2px 10px rgba(180,180,150,0.08);
  padding: 24px 20px;
  transition: box-shadow 0.2s, transform 0.17s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 24px rgba(120,160,120,0.14);
  transform: translateY(-3px) scale(1.018);
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

.features-grid, .features {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
}
.features-grid > div, .feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  flex: 1 1 220px;
  min-width: 220px;
  background: #F6F9F5;
  padding: 28px 18px;
  border-radius: 16px;
  box-shadow: 0 1px 6px rgba(152,194,167,0.09);
  transition: box-shadow 0.19s;
}
.features-grid > div:hover {
  box-shadow: 0 6px 18px rgba(152, 194, 167, 0.20);
  background: #F3FAEF;
}
.features-grid img, .feature-item img {
  width: 42px;
  height: 42px;
  margin-bottom: 4px;
  filter: drop-shadow(0 1px 2px rgba(152,194,167,0.09));
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* TESTIMONIALS -----------------------------------*/
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  background: #F4Fbfa;
  border-radius: 18px;
  box-shadow: 0 1px 8px rgba(120,160,120,0.10);
  border: 1px solid #d7e7dd;
}
.testimonial-card p {
  color: #3A4D2C;
  font-size: 1.08rem;
  flex: 1;
}
.testimonial-card span {
  color: #56745c;
  font-size: 1rem;
  font-style: italic;
  min-width: 135px;
  text-align: right;
}

/* CONTACT ---------------------------------------*/
.contact-info {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 16px 0 20px;
}
.contact-info > div {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  background: #F4F6F2;
  border-radius: 14px;
  padding: 12px 18px 12px 12px;
  min-width: 220px;
}
.contact-info img {
  width: 24px;
  height: 24px;
  opacity: 0.75;
}

/* BUTTONS AND CTA --------------------------------*/
.cta-btn {
  display: inline-block;
  background: linear-gradient(90deg, #b9dfc3 0%, #98C2A7 100%);
  color: #3A4D2C;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  border: none;
  border-radius: 28px;
  box-shadow: 0 2px 12px rgba(152,194,167,0.14);
  padding: 12px 36px;
  cursor: pointer;
  margin: 8px 0 0 0;
  transition: background 0.18s, color 0.16s, box-shadow 0.16s, transform 0.12s;
  outline: none;
}
.cta-btn:hover,
.cta-btn:focus {
  background: linear-gradient(90deg, #8ecfa9 0%, #82b593 100%);
  color: #2b3526;
  box-shadow: 0 6px 20px rgba(120,160,120,0.20);
  transform: scale(1.025);
}

button,
input[type="submit"] {
  font-family: inherit;
  cursor: pointer;
  border: none;
  border-radius: 28px;
  background: #98C2A7;
  color: #fff;
  font-weight: 500;
  font-size: 1rem;
  padding: 8px 26px;
  transition: background 0.16s, color 0.12s, box-shadow 0.14s, transform 0.13s;
}
button:hover, button:focus, input[type="submit"]:hover {
  background: #70A486;
  color: #fff;
  box-shadow: 0 4px 13px rgba(120,160,120,0.11);
  transform: scale(1.02);
}

/* HEADER & NAVIGATION ----------------------------*/
header {
  background: #F7F6F1;
  box-shadow: 0 2px 12px rgba(170,170,120,0.03);
  padding: 0;
}
header .container {
  flex-direction: row;
  align-items: center;
  height: 80px;
  gap: 24px;
}
header a img {
  height: 46px;
  width: auto;
  margin-right: 18px;
}

nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  margin-left: 32px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  flex: 1 1 auto;
}
nav a {
  font-size: 1.03rem;
  color: #3A4D2C;
  text-shadow: 0 1px 0 rgba(248,239,224,0.7);
  padding: 6px 12px;
  border-radius: 5px;
  transition: background 0.12s, color 0.13s, box-shadow 0.2s;
}
nav a.selected, nav a.active {
  background: #E3F2EA;
  color: #316030;
}
nav a:hover,
nav a:focus {
  background: #cee6db;
  color: #264321;
}
header .cta-btn {
  margin-left: 40px !important;
}

/* Mobile menu button */
.mobile-menu-toggle {
  display: none;
  background: linear-gradient(90deg, #deeaea, #C6E3D2);
  color: #3A4D2C;
  font-size: 2rem;
  padding: 8px 20px 8px 16px;
  border-radius: 20px;
  margin-left: auto;
  border: none;
  z-index: 1201;
  transition: background 0.16s, color 0.13s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #CEE6DB;
  color: #264321;
  outline: 2px solid #98C2A7;
}

/* MOBILE MENU ---------------------------------------*/
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(245,255,245,0.91);
  box-shadow: 0 2px 24px rgba(58, 77, 44, 0.24);
  transform: translateX(-100vw);
  transition: transform 0.35s cubic-bezier(.7,.1,.27,1.1);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2.1rem;
  background: none;
  color: #3A4D2C;
  border: none;
  margin: 24px 30px 0 0;
  z-index: 2100;
  padding: 2px 12px;
  border-radius: 12px;
  transition: background 0.14s, color 0.12s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #FAF7EC;
  color: #6D8F7B;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  padding: 16px 36px 0 44px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.2rem;
}
.mobile-nav a {
  padding: 20px 0;
  width: 100%;
  color: #3A4D2C;
  border-bottom: 1px dashed #dedcd2;
  transition: background 0.18s, color 0.18s;
  border-radius: 7px;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F6F9F5;
  color: #7FA187;
  outline: none;
}

/* Hide desktop nav on mobile and show mobile menu toggle */
@media (max-width: 992px) {
  header nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* Hide mobile menu by default on desktop */
@media (min-width: 993px) {
  .mobile-menu,
  .mobile-menu.active {
    display: none !important;
  }
}

/* MAIN & SECTIONS -----------------------------------------------*/
main {
  width: 100%;
  margin-top: 10px;
}
section {
  margin-bottom: 60px;
  padding: 40px 0;
  display: flex;
  justify-content: center;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* FOOTER -----------------------------------------------------*/
footer {
  background: #F8EFE0;
  box-shadow: 0 -2px 12px rgba(170,170,120,0.04);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  margin-top: 60px;
}
footer .container {
  flex-direction: row;
  align-items: center;
  gap: 28px;
  justify-content: space-between;
  padding: 32px 18px 18px 18px;
}
footer nav {
  gap: 18px;
  margin-left: 0;
  font-size: 1rem;
}
footer a img {
  height: 36px;
  width: auto;
}
.footer-social {
  display: flex;
  align-items: center;
  gap: 18px;
}
.footer-social a {
  display: flex;
  align-items: center;
  padding: 5px;
  border-radius: 12px;
}
.footer-social a:hover { background: #e3f2ea; }
footer p {
  margin-top: 10px;
  color: #86886D;
  font-size: 0.96rem;
}

/* COOKIE BANNER ----------------------------------------------*/
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 5000;
  width: 100vw;
  background: #FFFFFF;
  border-top: 2px solid #98C2A7;
  box-shadow: 0 -4px 26px rgba(152,194,167,0.09);
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 22px;
  padding: 20px 16px;
  font-size: 1rem;
  transition: transform 0.35s, opacity 0.28s;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
}
.cookie-banner p {
  margin: 0;
  color: #3A4D2C;
}
.cookie-banner .cookie-btn {
  margin-right: 14px;
  padding: 8px 26px;
  background: #98C2A7;
  color: #fff;
  border: none;
  border-radius: 24px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  transition: background 0.14s, color 0.1s, transform 0.10s;
  box-shadow: 0 1px 6px rgba(120,160,120,0.08);
}
.cookie-banner .cookie-btn:last-child {
  background: #b9dfc3;
  color: #3A4D2C;
}
.cookie-banner .cookie-btn:hover,
.cookie-banner .cookie-btn:focus {
  background: #70A486;
  color: #fff;
  transform: scale(1.03);
}

/* COOKIE MODAL ----------------------------------------------*/
.cookie-modal {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 6500;
  background: rgba(248,239,224,0.90);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.cookie-modal.active {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal .modal-content {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(152,194,167,0.16);
  padding: 36px 28px;
  min-width: 320px;
  max-width: 90vw;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.cookie-modal h2 {
  font-size: 1.4rem;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 10px 0;
  font-size: 1.1rem;
}
.cookie-modal input[type=checkbox] {
  accent-color: #98C2A7;
}
.cookie-modal .modal-actions {
  display: flex;
  flex-direction: row;
  gap: 18px;
  margin-top: 12px;
}
.cookie-modal .modal-actions .cookie-btn {
  min-width: 110px;
  border-radius: 24px;
}

.cookie-modal .close-modal {
  align-self: flex-end;
  background: none;
  color: #3A4D2C;
  font-size: 1.8rem;
  padding: 2px 12px;
  border: none;
  border-radius: 14px;
  transition: background 0.13s, color 0.1s;
  margin-bottom: -8px;
}
.cookie-modal .close-modal:hover, .cookie-modal .close-modal:focus {
  background: #F8EFE0;
  color: #6D8F7B;
}

/* ANIMATIONS & MICRO-INTERACTIONS ----------------------------*/
.cta-btn, button, .cookie-btn {
  transition: box-shadow 0.12s, background 0.16s, color 0.13s, transform 0.13s;
}

.features-grid > div, .testimonial-card, .card {
  transition: box-shadow 0.15s, background 0.18s, transform 0.14s;
}

a,
nav a,
.cta-btn,
button,
.card,
.feature-item,
.testimonial-card {
  transition: background 0.16s, color 0.13s, box-shadow 0.12s, transform 0.13s;
}

/* INPUT, FORMS -----------------------------------*/
input, textarea, select {
  font-size: 1rem;
  border: 1px solid #CEE6DB;
  border-radius: 12px;
  padding: 10px 16px;
  outline: none;
  width: 100%;
  background: #F8EFE0;
  box-shadow: 0 1px 6px rgba(152,194,167,0.05);
  transition: border 0.18s, box-shadow 0.13s;
}
input:focus, textarea:focus, select:focus {
  border-color: #98C2A7;
  background: #FFF;
  box-shadow: 0 4px 18px rgba(120,160,120,0.11);
}

label {
  margin-bottom: 6px;
  font-weight: 500;
  color: #4e6644;
}

/* RESPONSIVE DESIGN ------------------------------------------*/
@media (max-width: 1160px) {
  .container {
    max-width: 100%;
    padding-left: 8px;
    padding-right: 8px;
  }
  footer .container {
    padding-left: 8px;
    padding-right: 8px;
  }
}

@media (max-width: 850px) {
  .content-wrapper {
    padding: 30px 10px;
  }
  .features-grid > div {
    min-width: 180px;
    font-size: 0.98rem;
  }
}

@media (max-width: 768px) {
  h1, .h1 {
    font-size: 2rem;
  }
  h2, .h2 {
    font-size: 1.5rem;
  }
  .content-wrapper {
    padding: 22px 6px 24px 6px;
    border-radius: 16px;
  }
  header .container, footer .container {
    flex-direction: column;
    align-items: flex-start;
    height: auto;
    gap: 18px;
    padding: 16px;
  }
  section {
    padding: 22px 0;
  }
  .features-grid, .card-container, .content-grid {
    flex-direction: column;
    gap: 20px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
    padding: 18px 10px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .card {
    padding: 18px 10px;
    min-width: 0;
  }
  .contact-info {
    flex-direction: column;
    gap: 12px;
  }
  .cookie-modal .modal-content {
    padding: 20px 8px;
  }
}

@media (max-width: 500px) {
  .content-wrapper, .section { padding: 8px 2px 16px 2px; }
  .cookie-banner { flex-direction: column; align-items: flex-start; gap: 8px; padding: 14px 3px; font-size: 0.97rem; }
}

/* ACCESSIBILITY ENHANCEMENTS ---------------------*/
:focus-visible {
  outline: 2px solid #98C2A7;
  outline-offset: 2px;
}

/* SPACING - UL/OL/LIST ITEMS */
ul, ol {
  margin-left: 20px;
  margin-bottom: 20px;
  padding-left: 10px;
}
ul li, ol li { margin-bottom: 8px; }
ul li:last-child, ol li:last-child { margin-bottom: 0; }

/* TABLE UTILS (if any tables, style softly) */
table {
  border-collapse: collapse;
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 12px rgba(152,194,167,0.05);
  border-radius: 12px;
  overflow: hidden;
}
th, td {
  padding: 12px 10px;
  text-align: left;
}
th {
  background: #E3F2EA;
  font-weight: 600;
}
td {
  border-bottom: 1px solid #f4f3e5;
}

/* VISUAL ELEMENTS ----------------------------------------------*/
hr {
  border: none;
  border-top: 1px solid #e3f2ea;
  margin: 32px 0 24px 0;
}

/* OVERRIDES FOR SCALING, MARGINS */
.mb-0 { margin-bottom: 0 !important; }
.mb-20 { margin-bottom: 20px !important; }
.mb-32 { margin-bottom: 32px !important; }
.mt-20 { margin-top: 20px !important; }
.mt-32 { margin-top: 32px !important; }
.gap-24 { gap: 24px !important; }
.flex-center { justify-content: center; align-items: center; }

/* Hide elements (with .hidden class) */
.hidden { display: none !important; }
