/*-----------------------------------------
  CSS RESET & ELEGANT CLASSIC BASELINE
------------------------------------------*/
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
  border: 0;
}
body {
  background-color: #F5F5F2;
  color: #1C5232;
  font-family: 'Open Sans', 'Georgia', serif;
  line-height: 1.7;
  letter-spacing: 0.01em;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  font-size: 1rem;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: #1060AA;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #1C5232;
  text-decoration: underline;
}
ul, ol {
  margin-left: 1.2em;
  margin-bottom: 1.2em;
}
li {
  margin-bottom: 0.5em;
  font-size: 1rem;
}
strong, b {
  font-family: 'Montserrat', 'Georgia', serif;
  font-weight: 700;
  color: #1C5232;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Georgia', serif;
  font-weight: 700;
  color: #1C5232;
  margin-bottom: 0.6em;
  line-height: 1.18;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.8rem; margin-bottom: 0.5em; }
h2 { font-size: 2rem; margin-bottom: 0.4em; }
h3 { font-size: 1.45rem; margin-bottom: 0.25em; }
h4 { font-size: 1.18rem; }
h5 { font-size: 1rem; }
h6 { font-size: 0.9rem; }
p {
  margin-bottom: 1.2em;
  font-size: 1.08rem;
}
.container {
  max-width: 1120px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 24px 0 rgba(28, 82, 50, 0.07);
  display: flex;
  flex-direction: column;
}

/*----------------------------
  HEADER & NAVIGATION
-----------------------------*/
header {
  width: 100%;
  background-color: #fff;
  box-shadow: 0 2px 16px 0 rgba(28,82,50,0.06);
  border-bottom: 1px solid #E3E1DF;
  position: relative;
  z-index: 20;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 28px;
}
header img {
  height: 48px;
  width: auto;
  margin-right: 30px;
  margin-bottom: 0;
}
header nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
}
header nav a {
  font-family: 'Montserrat', 'Georgia', serif;
  font-size: 1.02rem;
  color: #1C5232;
  padding: 5px 12px;
  border-radius: 6px;
  transition: background 0.18s, color 0.18s;
}
header nav a:hover, header nav a:focus {
  color: #1060AA;
  background-color: #F5F5F2;
}
.cta-btn {
  font-family: 'Montserrat', 'Georgia', serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
  background-color: #1C5232;
  padding: 12px 32px;
  border-radius: 28px;
  box-shadow: 0 1px 10px 0 rgba(28, 82, 50, 0.06);
  transition: background 0.15s, color 0.15s, box-shadow 0.18s;
  margin-left: 20px;
  border: none;
  cursor: pointer;
  display: inline-block;
}
.cta-btn:hover, .cta-btn:focus {
  background: #1060AA;
  color: #fff;
  box-shadow: 0 6px 24px 0 rgba(16, 96, 170, 0.11);
}

/* Hamburger button for mobile */
.mobile-menu-toggle {
  display: none;
  position: relative;
  background: none;
  color: #1C5232;
  font-size: 2rem;
  padding: 8px 14px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  z-index: 60;
  transition: background 0.18s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #e5ebea;
  outline: none;
}

/*-------------------
  MOBILE NAVIGATION
--------------------*/
.mobile-menu {
  display: none;
  flex-direction: column;
  align-items: flex-start;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(245,245,242,0.98);
  box-shadow: 0 6px 32px 0 rgba(28, 82, 50, 0.15);
  z-index: 100;
  padding: 28px 24px 24px 24px;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(.4,0,.2,1);
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  color: #1C5232;
  font-size: 2.1rem;
  padding: 8px 13px;
  border-radius: 8px;
  border: none;
  margin-bottom: 24px;
  cursor: pointer;
  transition: background 0.17s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: #E3E1DF;
  outline: none;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Montserrat', 'Georgia', serif;
  font-size: 1.2rem;
  color: #1C5232;
  padding: 14px 0 8px 0;
  width: 100%;
  border-radius: 8px;
  transition: background .16s, color .16s;
  margin-left: 4px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #1060AA18;
  color: #1060AA;
  outline: none;
}

/* Hide desktop nav & show mobile button on mobile */
@media (max-width: 1020px) {
  header nav {
    display: none;
  }
  .cta-btn {
    margin-left: 0;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
}
@media (max-width: 768px) {
  .container {
    padding: 0 12px;
  }
  header .container {
    flex-direction: row;
    gap: 12px;
  }
}

/*----------------------
  SECTIONS & LAYOUTS
----------------------*/
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 16px 0 rgba(28,82,50,0.08);
  margin-bottom: 20px;
  position: relative;
  padding: 28px 22px 22px 22px;
  min-width: 220px;
  flex: 1 1 300px;
  display: flex;
  flex-direction: column;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
.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: 16px;
  background: #F5F5F2;
  border-radius: 14px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 1px 12px 0 rgba(16,96,170,0.06);
  border: 1px solid #e1e1df;
}
.testimonial-card p {
  font-size: 1.18rem;
  color: #1C5232;
  font-family: 'Georgia', serif;
  margin-bottom: 0.5em;
  margin-top: 0;
  letter-spacing: 0.01em;
}
.testimonial-card div {
  font-size: 1rem;
  color: #1060AA;
  font-family: 'Montserrat', 'Georgia', serif;
  letter-spacing: 0.03em;
}
.testimonial-card span {
  font-size: 1.22em;
  color: #DDC543;
  font-family: 'Montserrat', 'Georgia', serif;
  margin-right: 7px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.features ul {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  list-style: none;
  margin-bottom: 0;
}
.features ul li {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 14px 0 rgba(28, 82, 50, 0.075);
  padding: 24px 28px;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  flex: 1 1 240px;
  position: relative;
  margin-bottom: 20px;
  border: 1px solid #ebeae8;
  transition: box-shadow .2s;
}
.features ul li:hover {
  box-shadow: 0 6px 26px 0 rgba(16, 96, 170, 0.13);
}
.features ul img {
  height: 38px;
  width: auto;
  margin-bottom: 7px;
}
.features ul strong {
  font-size: 1.06em;
  margin-bottom: 0.1em;
}

.services ul {
  display: flex;
  flex-direction: column;
  gap: 18px;
  list-style: none;
}
.services ul li {
  font-size: 1.1em;
  padding: 0;
  background: none;
  border: none;
  margin-bottom: 16px;
  color: #196543;
  display: flex;
  flex-direction: column;
}
.services ul li strong {
  margin-bottom: 0.18em;

}
.services ul li span {
  font-family: 'Open Sans', 'Georgia', serif;
  font-size: 1rem;
  color: #234c36;
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 0;
}
.text-section ul {
  margin-bottom: 0.6em;
}
.text-section li {
  margin-bottom: 0.4em;
}

.cta {
  background: #F5F5F2;
  border-radius: 16px;
  text-align: center;
  justify-content: center !important;
}
.cta h2 {
  color: #1C5232;
}
.cta a.cta-btn {
  margin-left: 0;
  margin-top: 24px;
  font-size: 1.13rem;
  padding: 14px 34px;
}

.confirmation {
  text-align: center;
  padding: 54px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 3px 32px 0 rgba(16, 96, 170, 0.12);
  margin-top: 44px;
}
.confirmation a.cta-btn {
  margin-top: 26px;
}

.legal {
  background: #fff;
  border-radius: 16px;
  padding: 40px 20px;
  box-shadow: 0 2px 18px 0 rgba(28,82,50,0.10);
}
.legal a { color: #1060AA; }
.legal a:hover { text-decoration: underline; }

/* FAQ Accordion */
.faq details {
  margin-bottom: 18px;
  background: #F5F5F2;
  border-radius: 8px;
  padding: 10px 16px;
  border: 1px solid #ecebe8;
  transition: box-shadow .14s;
}
.faq details[open] {
  box-shadow: 0 2px 12px 0 rgba(28,82,50,0.05);
}
.faq summary {
  font-family: 'Montserrat', 'Georgia', serif;
  font-weight: 600;
  cursor: pointer;
  font-size: 1rem;
  color: #1C5232;
  margin-bottom: 0.2em;
  outline: none;
}
.faq p {
  margin-top: 0.62em;
  margin-bottom: .2em;
}

/*----------------------
  FOOTER
----------------------*/
footer {
  width: 100%;
  background: #1C5232;
  color: #fff;
  padding: 38px 0 20px 0;
  margin-top: 50px;
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0;
}
footer img {
  height: 42px;
  margin-bottom: 12px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
footer nav a {
  color: #fff;
  font-family: 'Montserrat', 'Georgia', serif;
  font-size: 1.08em;
  padding: 2px 0;
  border-radius: 5px;
  transition: background 0.13s, color 0.13s;
}
footer nav a:hover, footer nav a:focus {
  color: #DDC543;
  background: rgba(255,255,255,0.09);
}
footer p {
  font-family: 'Open Sans', 'Georgia', serif;
  font-size: 0.97em;
  color: #ecede8;
  margin-top: 10px;
}


/*----------------------
  SPACING AND FLEXB0X
----------------------*/
section {
  margin-bottom: 60px;
  padding: 0;
}
@media (min-width: 1000px) {
  .features ul { gap: 36px; }
  .services ul { gap: 26px; }
  .card-container, .content-grid { gap: 28px; }
}
@media (max-width: 820px) {
  .features ul { flex-wrap: wrap; gap: 18px; }
  .card-container, .content-grid { gap: 14px; }
  .card { min-width: 160px; }
}
@media (max-width: 600px) {
  .features ul { flex-direction: column; align-items: stretch; gap: 12px; }
}

/* Align items flexbox patterns */
.section, .container, .card-container, .content-grid, .text-image-section, .testimonial-card, .feature-item {
  display: flex;
}
.section, .testimonial-card, .feature-item {
  flex-direction: column;
}
.text-image-section {
  flex-direction: row;
  align-items: center;
  gap: 30px;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
}

/*---------------------------
  BUTTONS, TRANSITIONS
----------------------------*/
button, .cta-btn {
  cursor: pointer;
  outline: none;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
}
button:active, .cta-btn:active {
  transform: scale(.97) translateY(1.5px);
}

/* General button */
button, input[type="button"], input[type="submit"] {
  font-family: inherit;
  font-size: 1rem;
  color: #fff;
  background: #1C5232;
  border-radius: 24px;
  border: none;
  padding: 10px 28px;
  font-weight: 700;
  box-shadow: 0 1px 7px 0 rgba(28,82,50,0.05);
}
button:hover, button:focus {
  background: #1060AA;
}

/*----------------------
  COOKIE CONSENT BANNER
-----------------------*/
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; width: 100vw;
  background: #fff;
  color: #1C5232;
  font-size: 1.02rem;
  font-family: 'Open Sans', 'Georgia', serif;
  border-top: 2px solid #19654322;
  box-shadow: 0 -3px 36px 0 rgba(28,82,50,.06);
  padding: 16px 14px 14px 14px;
  z-index: 1000;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: center;
  gap: 16px;
  animation: cookieEnter .42s cubic-bezier(.4,0,.2,1);
}
@keyframes cookieEnter {
  from { transform: translateY(70px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner__text {
  flex: 1 1 300px;
  max-width: 740px;
  color: #196543;
}
.cookie-banner__actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
  flex-shrink: 0;
}
.cookie-btn {
  border-radius: 22px;
  padding: 9px 26px;
  font-family: 'Montserrat', 'Georgia', serif;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  background: #1C5232;
  transition: background .12s, color .12s;
  border: none;
}
.cookie-btn:focus, .cookie-btn:hover {
  background: #1060AA;
  color: #fff;
}
.cookie-btn.cookie-settings {
  background: #fff;
  color: #1C5232;
  border: 1.5px solid #1C5232;
}
.cookie-btn.cookie-settings:focus, .cookie-btn.cookie-settings:hover {
  background: #F5F5F2;
  color: #1060AA;
  border: 1.5px solid #1060AA;
}
@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    font-size: .98rem;
    padding: 10px 6px;
  }
  .cookie-banner__actions {
    flex-direction: column;
    gap: 10px;
  }
}

/* COOKIE MODAL/POPUP */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(28,82,50,0.10);
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn .22s cubic-bezier(.4,0,.2,1);
}
@keyframes fadeIn {
  from { opacity: 0; } to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 18px;
  max-width: 430px;
  width: 92vw;
  box-shadow: 0 6px 44px 0 rgba(16,96,170,0.15);
  padding: 34px 28px 26px 28px;
  z-index: 1300;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 17px;
  animation: modalIn .28s cubic-bezier(.4,0,.2,1);
}
@keyframes modalIn {
  0%   { opacity: 0; transform: translateY(36px) scale(.97); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
.cookie-modal__header {
  font-family: 'Montserrat', 'Georgia', serif;
  font-size: 1.3rem;
  color: #1C5232;
  font-weight: 700;
  margin-bottom: 7px;
}
.cookie-modal__desc {
  font-size: 1rem;
  color: #234C36;
  margin-bottom: 7px;
}
.cookie-modal__close {
  position: absolute;
  top: 14px; right: 19px;
  background: none;
  color: #1C5232;
  font-size: 1.6rem;
  border: none;
  cursor: pointer;
  border-radius: 6px;
  padding: 2px 7px;
  transition: background .11s;
}
.cookie-modal__close:focus, .cookie-modal__close:hover {
  background: #F5F5F2;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 11px;
  margin-bottom: 0;
}
.cookie-category label {
  flex: 1 1;
  font-size: 1.03em;
  color: #234c36;
  font-family: 'Open Sans', 'Georgia', serif;
}
.cookie-category input[type="checkbox"] {
  accent-color: #1C5232;
  width: 19px;
  height: 19px;
  border-radius: 4px;
  margin-right: 6px;
}
.cookie-category .cookie-category-essential {
  font-weight: 700;
  color: #1060AA;
}
.cookie-category input[disabled] {
  accent-color: #a8b0ac;
}
.cookie-modal__actions {
  display: flex;
  flex-direction: row;
  gap: 17px;
  flex-wrap: wrap;
  margin-top: 10px;
}

/*-------------------
RESPONSIVE TYPOGRAPHY
-------------------*/
@media (max-width: 1020px) {
  h1 { font-size: 2.12rem; }
  h2 { font-size: 1.62rem; }
  .cta h2, .cta h1 { font-size: 1.54rem; }
}
@media (max-width: 700px) {
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.18rem; }
  p, ul, ol {
    font-size: 0.96rem;
  }
  .confirmation section, .section { padding: 24px 5px;}
}

/*------------------------
  ADAPTIVE SECTION SPACING
------------------------*/
@media (max-width: 1000px){
  .section {
    margin-bottom: 37px;
    padding: 25px 4px;
  }
}
@media (max-width: 700px){
  section,.section {
    margin-bottom: 28px;
    padding: 13px 0px;
    border-radius: 8px;
  }
}

/*------------------
  MISCELLANEOUS
-------------------*/
::-webkit-input-placeholder { color: #a8b0ac; }
::-moz-placeholder { color: #a8b0ac; }
:-ms-input-placeholder { color: #a8b0ac; }
::placeholder { color: #a8b0ac; }

hr {
  margin: 24px 0;
  border: none;
  border-top: 1px solid #E3E1DF;
}
summary::-webkit-details-marker {
  display: none;
}

/*-------------------------
  PRINT STYLES
-------------------------*/
@media print {
  *, *:before, *:after { background: #fff !important; color: #1C5232 !important; box-shadow: none !important; text-shadow: none !important; }
  .mobile-menu, .cookie-banner, .cookie-modal-overlay, .cta-btn, .mobile-menu-toggle { display: none !important; }
  nav, header, footer { page-break-after: always; }
}

/*-------------------------------------
BRAND FONTS (Safe fallbacks in code)
-------------------------------------*/
@font-face {
  font-family: 'Montserrat';
  src: local('Montserrat'), local('Montserrat-Regular'),
    url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap') format('woff2');
  font-display: swap;
}
@font-face {
  font-family: 'Open Sans';
  src: local('Open Sans'), local('OpenSans-Regular'),
    url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;700&display=swap') format('woff2');
  font-display: swap;
}
