/* ============================== */
/*         CSS RESET + BASE        */
/* ============================== */
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;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  background: #F7F7F7;
  color: #2A3C25;
  min-height: 100vh;
}
*, *:before, *:after {
  box-sizing: border-box;
}
a {
  color: #2D9C53;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #1A263A;
}
ul, ol {
  margin-left: 1.25em;
}
img {
  max-width: 100%;
  height: auto;
}

/* ============================== */
/*            COLORS              */
/* ============================== */
:root {
  --color-primary: #1A263A;
  --color-secondary: #2D9C53;
  --color-accent: #F7F7F7;
  --color-earth: #C8B89E;
  --color-leaf: #8BB174;
  --color-dark: #16251B;
  --color-highlight: #E9E6DE;
  --color-text: #2A3C25;
  --color-white: #fff;
  --color-warning: #9C6D36;
  --color-error: #CC2D2D;
}

/* ============================== */
/*         TYPOGRAPHY             */
/* ============================== */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  margin-bottom: 16px;
  color: var(--color-primary);
  letter-spacing: -0.5px;
}
h1 { font-size: 2.5rem; font-weight: 700; }
h2 { font-size: 2rem; font-weight: 700; }
h3 { font-size: 1.3rem; font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 500; }
h5, h6 { font-size: 1rem; font-weight: 500; }

@media (max-width: 450px) {
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.25rem; }
  h3 { font-size: 1.05rem; }
}

p, li, ul, ol, table, th, td {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: var(--color-text);
}
strong {
  font-weight: 700;
}

.text-section {
  margin-bottom: 20px;
}
.text-section h3 {
  margin-top: 18px;
  font-size: 1.05rem;
}

/* ============================== */
/*         FLEX LAYOUTS           */
/* ============================== */
.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 16px;
  width: 100%;
}

.header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
}

.footer-flex {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
  padding: 32px 0 16px 0;
  border-top: 2px solid var(--color-highlight);
  background: var(--color-highlight);
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.card {
  margin-bottom: 20px;
  background: var(--color-accent);
  border-radius: 20px;
  box-shadow: 0 2px 20px rgba(133, 137, 118, 0.12);
  padding: 32px 24px;
  position: relative;
  min-width: 240px;
  flex: 1 1 300px;
  max-width: 370px;
  transition: box-shadow 0.2s, transform 0.15s;
}
.card:hover, .card:focus {
  box-shadow: 0 8px 32px rgba(80, 100, 65, 0.15);
  transform: translateY(-3px) 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;
}

.testimonials-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 24px 24px 20px 24px;
  background: var(--color-white);
  border-radius: 18px;
  box-shadow: 0 2px 16px rgba(50, 65, 45, 0.10);
  margin-bottom: 20px;
  max-width: 370px;
  flex: 1 1 260px;
  min-width: 220px;
  border-left: 5px solid var(--color-leaf);
  transition: box-shadow 0.2s, transform 0.15s;
}
.testimonial-card:hover, .testimonial-card:focus {
  box-shadow: 0 12px 32px rgba(45, 156, 83, 0.10);
  transform: translateY(-2px) scale(1.01);
}
.testimonial-name {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--color-secondary);
}
.star-rating {
  color: #FDC012;
  font-size: 1.15rem;
  margin-top: 5px;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--color-earth);
  border-radius: 16px;
  padding: 20px 22px;
  min-width: 190px;
  flex: 1 1 230px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(60, 80, 45, 0.07);
  transition: box-shadow 0.18s, background 0.21s;
}
.feature-item:hover, .feature-item:focus {
  box-shadow: 0 6px 28px rgba(45, 156, 83, 0.13);
  background: var(--color-highlight);
}
.feature-item img {
  width: 38px;
  height: 38px;
  filter: grayscale(0.25);
}

/* ============================== */
/* HEADER & NAVIGATION            */
/* ============================== */
header {
  background: var(--color-accent);
  border-bottom: 2px solid var(--color-earth);
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: var(--color-primary);
  padding: 3px 8px 2px;
  border-radius: 7px;
  transition: background 0.18s, color 0.17s;
}
.main-nav a:hover, .main-nav a:focus, .main-nav a.active {
  background: var(--color-leaf);
  color: var(--color-white);
}

.btn-primary, .btn-secondary {
  display: inline-block;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  padding: 12px 28px;
  border-radius: 99px;
  box-shadow: 0 2px 16px rgba(92, 156, 83, 0.09);
  text-align: center;
  cursor: pointer;
  outline: none;
  transition: background 0.2s, color 0.2s, box-shadow 0.18s, transform 0.14s;
  margin-left: 18px;
  margin-right: 0;
}
.btn-primary {
  background: var(--color-secondary);
  color: var(--color-white);
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--color-primary);
  color: var(--color-leaf);
  transform: translateY(-2px) scale(1.04);
}
.btn-secondary {
  background: var(--color-leaf);
  color: var(--color-primary);
}
.btn-secondary:hover, .btn-secondary:focus {
  background: var(--color-secondary);
  color: var(--color-white);
  transform: translateY(-2px) scale(1.03);
}

/* Hamburger Icon */
.mobile-menu-toggle {
  display: none;
  background: var(--color-leaf);
  color: var(--color-primary);
  padding: 7px 19px 7px 15px;
  border: none;
  border-radius: 10px;
  font-size: 1.8rem;
  cursor: pointer;
  margin-left: 18px;
  transition: background 0.2s, color 0.17s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--color-primary);
  color: var(--color-white);
}

/* MOBILE OVERLAY MENU */
.mobile-menu {
  display: none;
  position: fixed;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(44, 66, 39, 0.93);
  z-index: 1200;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
  overflow: auto;
  transform: translateX(100%);
  transition: transform 0.34s cubic-bezier(0.6, 0, 0.17, 1);
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 16px 24px 0 0;
  background: var(--color-secondary);
  color: var(--color-white);
  border: none;
  border-radius: 50%;
  font-size: 2rem;
  padding: 6px 15px;
  cursor: pointer;
  transition: background 0.18s, color 0.17s;
  z-index: 1250;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--color-leaf);
  color: var(--color-primary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin: 40px 0 0 28px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--color-white);
  background: transparent;
  border-radius: 8px;
  padding: 12px 15px;
  transition: background 0.18s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-secondary);
  color: var(--color-accent);
}

/* ============================== */
/*      HERO/SECTION STYLES       */
/* ============================== */
.hero {
  background: linear-gradient(86deg, var(--color-highlight) 63%, var(--color-earth) 100%);
  padding: 56px 0 44px 0;
  position: relative;
  border-radius: 0 0 60px 0/0 0 180px 0;
  box-shadow: 0 2px 32px rgba(107, 128, 61, 0.08);
}
.hero h1 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-primary);
}
.hero p {
  font-size: 1.1rem;
  margin-bottom: 15px;
}

/* Mandatory Section Spacing */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
  border-radius: 40px 12px 80px 0/0 0 180px 0;
}
section:last-of-type {
  margin-bottom: 0;
}

/* Lists */
.service-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 10px 0 14px 0;
  font-size: 1.07rem;
}
.service-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  background: var(--color-highlight);
  border-radius: 14px;
  padding: 12px 18px;
  color: var(--color-primary);
  box-shadow: 0 1.5px 5px rgba(90,120,80,0.06);
}
.service-list span {
  margin-left: auto;
  color: var(--color-secondary);
  font-weight: 600;
  font-size: 1rem;
}

.features-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}
.features-table th, .features-table td {
  text-align: left;
  padding: 10px 14px;
}
.features-table th {
  background: var(--color-earth);
  color: var(--color-primary);
  font-weight: 700;
  font-size: 1rem;
}
.features-table td {
  background: #fff;
  border-bottom: 1px solid var(--color-highlight);
  color: var(--color-text);
}

/* Contact Details */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
}
.contact-details p {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
}
.contact-details img {
  width: 20px;
  height: 20px;
  margin-right: 3px;
}

/* ============================== */
/*        FOOTER STYLES           */
/* ============================== */
footer {
  background: var(--color-highlight);
  border-top: 1.8px solid var(--color-leaf);
  padding-top: 20px;
  margin-top: 32px;
  font-size: 0.99rem;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.footer-nav a {
  color: var(--color-primary);
  font-weight: 500;
  font-family: 'Montserrat';
  transition: color 0.17s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--color-secondary);
  text-decoration: underline;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 5px;
  color: var(--color-dark);
}
.footer-contact a {
  color: var(--color-secondary);
  font-weight: 500;
  transition: color 0.19s;
}
.footer-contact a:hover, .footer-contact a:focus {
  color: var(--color-primary);
}

/* ============================== */
/*         COOKIE BANNER          */
/* ============================== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  background: var(--color-highlight);
  border-top: 2px solid var(--color-leaf);
  box-shadow: 0 -2px 18px rgba(62, 75, 53, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  z-index: 2020;
  animation: cookieBannerFadeIn 0.55s cubic-bezier(0.75, 0.1, 0.5, 1);
}
@keyframes cookieBannerFadeIn {
  0% { transform: translateY(100%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner-text {
  font-size: 1rem;
  color: var(--color-primary);
  line-height: 1.55;
  margin-right: 12px;
}
.cookie-banner-btns {
  display: flex;
  gap: 14px;
  flex-shrink: 0;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 0.98rem;
  padding: 9px 16px;
  border-radius: 99px;
  background: var(--color-leaf);
  color: var(--color-white);
  border: none;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.17s, color 0.16s, box-shadow 0.16s;
  box-shadow: 0 1.5px 9px rgba(106, 156, 91, 0.08);
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--color-secondary);
  color: var(--color-highlight);
  box-shadow: 0 4px 18px rgba(45, 156, 83, 0.13);
}
.cookie-btn.settings {
  background: var(--color-earth);
  color: var(--color-primary);
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: var(--color-secondary);
  color: var(--color-white);
}

/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(34, 42, 23, 0.85);
  z-index: 2050;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cookieModalFadeIn 0.42s cubic-bezier(.75,.1,.5,1);
}
@keyframes cookieModalFadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal {
  background: var(--color-highlight);
  border-radius: 26px;
  padding: 34px 32px 28px 32px;
  box-shadow: 0 2px 44px rgba(60, 100, 60, 0.14);
  min-width: 270px;
  max-width: 97vw;
  width: 430px;
  z-index: 2052;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: cookieModalPopIn 0.43s cubic-bezier(.75,.1,.5,1);
}
@keyframes cookieModalPopIn {
  0% { transform: scale(0.8); opacity: 0; }
  80% { transform: scale(1.04); opacity: 1; }
  100% { transform: scale(1); }
}
.cookie-modal-close {
  background: var(--color-leaf);
  color: var(--color-white);
  border: none;
  border-radius: 50%;
  font-size: 1.45rem;
  padding: 4px 12px;
  position: absolute;
  top: 20px;
  right: 24px;
  cursor: pointer;
  z-index: 2055;
  transition: background 0.17s, color 0.16s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: var(--color-secondary);
  color: var(--color-highlight);
}
.cookie-modal-cats {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 8px;
}
.cookie-cat {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 500;
  color: var(--color-primary);
  font-size: 1rem;
}
.cookie-toggle {
  width: 35px;
  height: 20px;
  background: var(--color-earth);
  border-radius: 14px;
  border: none;
  cursor: pointer;
  position: relative;
  transition: background 0.18s;
}
.cookie-toggle[aria-checked="true"] {
  background: var(--color-leaf);
}
.cookie-toggle[aria-checked="false"] {
  background: var(--color-earth);
}
.cookie-toggle::before {
  content: "";
  display: block;
  position: absolute;
  left: 4px;
  top: 3px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--color-white);
  transition: left 0.18s;
}
.cookie-toggle[aria-checked="true"]::before {
  left: 18px;
}

.cookie-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

/* ============================== */
/*        RESPONSIVE STYLES       */
/* ============================== */
@media (max-width: 1120px) {
  .container {
    max-width: 96vw;
  }
}
@media (max-width: 920px) {
  .feature-grid,
  .testimonials-grid,
  .card-container,
  .footer-flex {
    flex-wrap: wrap;
    gap: 18px;
  }
  .main-nav {
    gap: 13px;
  }
}
@media (max-width: 768px) {
  .header-flex {
    gap: 13px;
  }
  .main-nav {
    display: none;
  }
  .btn-primary {
    margin-left: 0;
    margin-right: 0;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
  .feature-grid,
  .testimonials-grid,
  .card-container,
  .footer-flex,
  .content-grid  {
    flex-direction: column;
    gap: 16px;
  }
  .content-wrapper {
    gap: 16px;
  }
  section {
    padding: 24px 0;
    border-radius: 32px 12px 66px 0/0 0 100px 0;
  }
  .hero {
    padding: 34px 0 22px 0;
    border-radius: 0 0 36px 0/0 0 90px 0;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
}
@media (max-width: 530px) {
  .header-flex {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 11px 0;
  }
  .btn-primary, .btn-secondary {
    width: 100%;
    margin: 0 0 0 0;
  }
  .footer-flex {
    flex-direction: column;
    gap: 17px;
    padding-left: 0;
  }
}

@media (max-width: 460px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 6px 14px 10px;
    font-size: 0.99rem;
  }
  .cookie-banner-btns {
    width: 100%;
    justify-content: stretch;
  }
  .cookie-btn { width: 100%; }
}

/* ==============================
   Micro-interactions/Transitions
   ============================== */
button, .btn-primary, .btn-secondary, .cookie-btn {
  transition: background 0.17s, color 0.16s, box-shadow 0.14s, transform 0.12s;
}
a {
  transition: color 0.17s;
}

/* ============================== */
/*      Miscellaneous Styles      */
/* ============================== */
::-webkit-input-placeholder { color: #B0B49C; }
::-moz-placeholder { color: #B0B49C; }
:-ms-input-placeholder { color: #B0B49C; }
::placeholder { color: #B0B49C; }

hr {
  border: none;
  border-top: 1.5px solid var(--color-earth);
  margin: 28px 0;
}
/* End CSS */
