/* ====================== Reset & Base ====================== */
html {
  box-sizing: border-box;
  font-size: 16px;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Source Sans Pro', Arial, sans-serif;
  color: #222E3A;
  background: #F8FAFC;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  height: auto;
  border: 0;
}
a {
  color: #274E13;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #A3622B;
  text-decoration: underline;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #274E13;
  margin-bottom: 16px;
  font-weight: 700;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.5rem; margin-bottom: 16px; }
h4 { font-size: 1.25rem; margin-bottom: 12px; }

p, ul, ol, blockquote, address, dl {
  margin-bottom: 16px;
  font-size: 1rem;
}
ul, ol {
  padding-left: 24px;
}
li {
  margin-bottom: 8px;
  font-size: 1rem;
}
blockquote {
  font-style: italic;
  border-left: 4px solid #274E13;
  background: #F3E7D2;
  padding: 16px 20px;
  margin: 24px 0;
  color: #274E13;
}
strong {
  font-weight: 600;
}

/* ====================== Containers & Layout ====================== */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
/* Spacing for all main sections */
.section, section {
  margin-bottom: 60px;
  padding: 40px 20px 40px 20px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(39,78,19,0.10);
  margin-bottom: 20px;
  position: relative;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 280px;
  flex: 1 1 320px;
  transition: box-shadow 0.18s;
}
.card:hover {
  box-shadow: 0 4px 18px rgba(163,98,43,0.12);
}
.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;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(39,78,19,0.07);
  margin-bottom: 20px;
  flex-direction: column;
}
.testimonial-card p {
  color: #222E3A;
  font-size: 1.125rem;
  margin-bottom: 10px;
}
.testimonial-card span {
  font-size: 0.95rem;
  color: #274E13;
  font-style: italic;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ====================== Header & Navigation ====================== */
header {
  background: #fff;
  border-bottom: 1px solid #DFDFDF;
  padding: 0 0 0 0;
  position: sticky;
  top: 0;
  z-index: 110;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
  gap: 5px;
}
header nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #274E13;
  letter-spacing: 0.02em;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 5px;
  transition: background 0.18s;
}
header nav a.cta,
header nav a.primary {
  background: #274E13;
  color: #fff;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: 22px;
  box-shadow: 0 2px 6px rgba(39,78,19,0.07);
  margin-left: 6px;
  transition: background 0.16s, color 0.16s;
}
header nav a.cta:hover,
header nav a.primary:hover,
header nav a.cta:focus {
  background: #A3622B;
  color: #fff;
}
header nav a:hover, header nav a:focus {
  background: #F3E7D2;
  color: #A3622B;
}

/* Hamburger Button */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.1rem;
  cursor: pointer;
  color: #274E13;
  margin-left: 6px;
  padding: 4px 12px;
  border-radius: 8px;
  transition: background 0.1s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #F3E7D2;
}

/* ---------------------- Mobile Menu ------------------ */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(39,78,19, 0.96);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.7,0,.3,1);
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  padding: 18px 22px;
  cursor: pointer;
  margin-right: 16px;
  margin-top: 10px;
  align-self: flex-end;
  transition: background 0.14s;
  border-radius: 10px;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: rgba(170,148,105,0.18);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  padding: 40px 0 0 36px;
  width: 100%;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.25rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  background: none;
  padding: 8px 14px;
  border-radius: 6px;
  min-width: 180px;
  transition: background 0.15s, color 0.15s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #A3622B;
  color: #fff;
}
@media (max-width: 1060px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
}
@media (min-width: 1061px) {
  .mobile-menu {
    display: none!important;
  }
}

/* ====================== Hero Section ====================== */
.hero {
  background: linear-gradient(94deg,#F3E7D2,#fff 75%);
  border-radius: 0 0 28px 28px;
  box-shadow: 0 3px 32px rgba(39,78,19,0.07);
  padding-bottom: 54px;
  margin-bottom: 30px;
}
.hero .content-wrapper {
  align-items: flex-start;
  max-width: 780px;
  padding-top: 24px;
}
.hero h1 {
  color: #274E13;
}
.hero p {
  font-size: 1.25rem;
  color: #444E5B;
}
.hero .cta.primary {
  margin-top: 30px;
}

/* ====================== Buttons & CTAs ====================== */
.cta, .cta.primary {
  display: inline-block;
  background: #274E13;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  border-radius: 23px;
  border: none;
  font-size: 1.08rem;
  line-height: 1.3;
  padding: 11px 32px;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(39,78,19,0.11);
  text-align: center;
  transition: background 0.17s, color 0.17s, box-shadow 0.14s;
}
.cta:hover, .cta:focus {
  background: #A3622B;
  color: #fff;
  box-shadow: 0 4px 16px rgba(163,98,43,0.13);
}

/* ====================== Feature & Service Sections ====================== */
.features ul, .services ul, .regions ul, .values ul, .about ul, .team ul, .usps, .faq dl {
  list-style: disc outside;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0 0 24px 0;
}
.usps {
  list-style: none;
  gap: 10px;
}
.usps li {
  padding-left: 18px;
  position: relative;
}
.usps li:before {
  content: '•';
  color: #A3622B;
  font-size: 1.2em;
  left: 0;
  position: absolute;
}
.services ul span {
  color: #A3622B;
  font-weight: 600;
  font-size: 1rem;
  margin-left: 10px;
}

/* ========================= Card Designs & Info Cards ===================== */
.info-card {
  background: #F3E7D2;
  color: #274E13;
  border-radius: 12px;
  padding: 28px 26px;
  box-shadow: 0 2px 12px rgba(247,212,142,0.09);
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 20px;
}
.info-card .cta {
  margin-top: 4px;
}
.region-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.region-grid ul {
  flex: 1 1 300px;
  min-width: 260px;
}

/* ====================== Table (Comparison Table) ====================== */
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
}
thead {
  background: #F3E7D2;
}
th, td {
  padding: 14px 14px;
  text-align: left;
  border-bottom: 1px solid #E3E3E3;
  font-size: 1rem;
  color: #222E3A;
}
th {
  font-weight: 700;
  color: #274E13;
}
tr:last-child td {
  border-bottom: none;
}

/* ====================== Footer ====================== */
footer {
  margin-top: 40px;
  padding: 28px 0 16px 0;
  background: #F3E7D2;
  color: #274E13;
  border-top: 1px solid #DEDEDE;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
footer a {
  color: #274E13;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  transition: color 0.15s;
}
footer a:hover {
  color: #A3622B;
}
footer small {
  font-size: 0.96rem;
  margin-top: 12px;
}

/* =================== Cookie Consent Banner & Modal =================== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #fff;
  color: #222E3A;
  border-top: 1px solid #D7D7D7;
  box-shadow: 0 -2px 18px rgba(39,78,19,0.07);
  z-index: 12000;
  padding: 22px 18px 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
  transition: transform 0.32s cubic-bezier(.75,0,.3,1);
  font-size: 1rem;
  max-width: 750px;
  width: calc(100vw - 32px);
  margin: 0 auto;
}
.cookie-banner.hide {
  transform: translateY(120%);
  pointer-events: none;
}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 6px;
}
.cookie-banner button,
.cookie-banner .cta-btn {
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  background: #274E13;
  color: #fff;
  padding: 9px 24px;
  border-radius: 18px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.97rem;
  transition: background 0.15s, color .1s;
  min-width: 120px;
}
.cookie-banner button.secondary {
  background: #F3E7D2;
  color: #274E13;
  border: 1px solid #A3622B;
}
.cookie-banner button.secondary:hover,
.cookie-banner button.secondary:focus {
  background: #A3622B;
  color: #fff;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #A3622B;
  color: #fff;
}

/* --- Cookie Modal --- */
.cookie-modal-backdrop {
  position: fixed;top:0;left:0;width:100vw;height:100vh;
  background: rgba(34,46,58,0.32);
  z-index: 12500;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.25s;
}
.cookie-modal-backdrop.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #fff;
  border-radius: 14px;
  max-width: 450px;
  min-width: 290px;
  padding: 30px 24px 22px 24px;
  box-shadow: 0 8px 42px rgba(39,78,19,0.15);
  z-index: 13000;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: appearCookieModal 0.28s cubic-bezier(.66,0,.22,1);
}
@keyframes appearCookieModal {
  from { transform: translateY(30px) scale(0.92); opacity: 0; }
  to { transform: none; opacity: 1; }
}
.cookie-modal h3 {
  font-size: 1.3rem;
  color: #274E13;
  margin-bottom: 10px;
}
.cookie-modal ul {
  list-style: none;
  margin: 0 0 10px 0;
  padding: 0;
}
.cookie-modal ul li {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 1rem;
  margin-bottom: 10px;
}
.cookie-modal label {
  font-weight: 500;
}
.cookie-modal input[type="checkbox"] {
  accent-color: #274E13;
  width: 18px; height: 18px;
}
.cookie-modal .actions {
  display: flex;
  gap: 15px;
  justify-content: flex-end;
  margin-top: 6px;
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  top: 12px; right: 14px;
  background: none;
  border: none;
  color: #A3622B;
  font-size: 1.7rem;
  cursor: pointer;
  z-index: 1;
}
.cookie-modal .cookie-modal-close:hover,
.cookie-modal .cookie-modal-close:focus {
  color: #274E13;
}
.cookie-modal .always-on {
  color: #888;
  font-size: 0.98rem;
  margin-left: 6px;
}

/* =================== Forms, Address, FAQ, Legal =================== */
address {
  font-style: normal;
  color: #274E13;
  font-weight: 500;
  line-height: 1.6;
  margin-bottom: 12px;
}
dl {
  margin: 0 0 24px 0;
}
dt {
  color: #274E13;
  font-weight: 600;
  margin-bottom: 4px;
  font-size: 1.13rem;
}
dd {
  margin-bottom: 14px;
}
.legal h1, .legal h2, .legal h3 {
  margin-top: 0;
  color: #274E13;
}
.legal ul {
  padding-left: 18px;
  margin-bottom: 20px;
}
.legal ul li {
  margin-bottom: 10px;
}

/* =================== Confirmation/Thank You =================== */
.confirmation {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 3px 18px rgba(39,78,19,0.09);
  margin-top: 32px;
  padding: 50px 32px 54px 32px;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}
.confirmation h1 {
  color: #274E13;
  margin-bottom: 18px;
}
.confirmation ul {
  margin-bottom: 24px;
}

/* ====================== Misc ====================== */
.bio {
  background: #F3E7D2;
  border-radius: 10px;
  padding: 18px 20px;
  margin-bottom: 22px;
  color: #274E13;
}

/* ====================== Responsive ====================== */
@media (max-width: 1023px) {
  .card-container, .content-grid, .region-grid {
    gap: 14px;
  }
  section, .section {
    margin-bottom: 32px;
    padding: 28px 8px;
  }
  .hero {
    border-radius: 0 0 18px 18px;
    padding-bottom: 28px;
    box-shadow: 0 3px 16px rgba(39,78,19,0.06);
  }
  .confirmation {
    padding: 30px 9px 32px 9px;
  }
}

@media (max-width: 768px) {
  html { font-size: 15px; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.45rem; }
  h3 { font-size: 1.1rem; }
  .container {
    padding: 0 8px;
  }
  .content-wrapper {
    gap: 12px;
  }
  .card-container, .content-grid, .region-grid {
    flex-direction: column;
    gap: 12px;
  }
  .card {
    min-width: 0;
    width: 100%;
    padding: 15px 10px;
  }
  .info-card {
    padding: 18px 10px;
  }
  .testimonials .testimonial-card {
    padding: 14px 8px;
    margin-bottom: 12px;
  }
  .region-grid ul {
    min-width: 0;
  }
  .confirmation {
    border-radius: 9px;
    padding: 18px 4px 22px 4px;
  }
  .hero .content-wrapper,
  .about .content-wrapper {
    padding-top: 14px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
  .cookie-modal {
    max-width: 96vw;
    padding: 18px 5vw 18px 5vw;
  }
}

/* Hamburger always on mobile */
@media (max-width: 768px) {
  header .container {
    gap: 7px;
  }
}

/* ====================== Transitions & Micro-interaction ====================== */
.card, .testimonial-card, .info-card, .cookie-modal, .cta {
  transition: box-shadow 0.21s, background 0.16s, color .14s;
}

/* =========== Prevent Overlapping and Spacing Consistency =========== */
section > * + *,
.about .content-wrapper > * + *,
.region-grid > * + *,
.content-wrapper > * + *,
.card-container > * + *,
.card > * + *,
.testimonial-card > * + * {
  margin-top: 0px;
}

/* Guarantee min spacing between cards/sections */
.card-container > *, .card, .content-grid > *, .region-grid > *, .info-card,
.testimonial-card, .section, section {
  margin-bottom: 20px;
}

/* Flex Cards Equal Height */
.card-container, .region-grid, .content-grid {
  align-items: stretch;
}

/* ====================== Font Face (Fallbacks) ====================== */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  src: local('Montserrat'), local('Montserrat-Regular'), url('https://fonts.googleapis.com/css?family=Montserrat:400,600,700&display=swap');
}
@font-face {
  font-family: 'Source Sans Pro';
  font-style: normal;
  font-weight: 400;
  src: local('Source Sans Pro'), local('SourceSansPro-Regular'), url('https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,600,700&display=swap');
}
