/* ====================
   RESET & BASE STYLES
==================== */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  background: #F5F3E7;
  color: #222E37;
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 400;
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: #215C3A;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #154126;
  text-decoration: underline;
  outline: none;
}
ul, ol {
  margin: 16px 0 16px 24px;
  padding: 0;
}
ul li, ol li {
  margin-bottom: 8px;
  font-size: 1rem;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 700;
  color: #215C3A;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.25rem;
  margin-bottom: 25px;
  line-height: 1.15;
}
h2 {
  font-size: 1.6rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}
p {
  margin: 0 0 16px 0;
  font-size: 1.05rem;
}
strong {
  font-family: inherit;
  font-weight: 700;
  color: #215C3A;
}
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 8px rgba(34,46,55,0.08);
}
/* ===============
  HEADER/NAV STYLES
================== */
header {
  background: #fff;
  box-shadow: 0 2px 12px rgba(34,46,55,0.05);
  position: sticky;
  top: 0;
  z-index: 100;
}
.main-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  padding: 20px 16px;
}
.main-nav img {
  height: 40px;
  width: auto;
  margin-right: 18px;
}
.main-nav > a:not(.cta) {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: #233949;
  padding: 4px 10px;
  border-radius: 6px;
  transition: background 0.17s, color 0.17s;
}
.main-nav > a:not(.cta):hover,
.main-nav > a:not(.cta):focus {
  background: #eaeff0;
  color: #215C3A;
}
.main-nav > .cta {
  margin-left: auto;
  padding: 8px 22px;
  background: #215C3A;
  color: #fff;
  border-radius: 6px;
  font-weight: 700;
  font-size: 1.1rem;
  transition: background 0.2s, box-shadow 0.2s;
  box-shadow: 0 1px 8px rgba(33,92,58,0.08);
  border: none;
  cursor: pointer;
  outline: none;
}
.main-nav > .cta:hover,
.main-nav > .cta:focus {
  background: #183B27;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 2px 12px rgba(33,92,58,0.18);
}
/* ================
    HERO SECTION
================= */
.hero {
  background: linear-gradient(90deg, #E9F6ED 0%, #F5F3E7 100%);
  padding: 48px 0 48px 0;
  margin-bottom: 0;
}
.hero .container {
  padding-top: 0;
  padding-bottom: 0;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 18px;
}
.hero h1 {
  color: #215C3A;
  margin-bottom: 10px;
}
.hero p {
  color: #233949;
}
.hero .cta {
  margin-top: 16px;
}
/* ============
    BUTTONS
============= */
.cta, .button, button, input[type="submit"] {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.07rem;
  font-weight: 700;
  padding: 10px 28px;
  background: #215C3A;
  border-radius: 8px;
  color: #fff;
  border: none;
  text-align: center;
  transition: background 0.2s, box-shadow 0.17s, color 0.13s, transform 0.15s;
  box-shadow: 0 2px 6px rgba(33,92,58,0.08);
  cursor: pointer;
  outline: none;
  display: inline-block;
}
.cta:hover, .cta:focus, .button:hover, .button:focus, button:hover, button:focus, input[type="submit"]:hover, input[type="submit"]:focus {
  background: #183B27;
  color: #fff;
  box-shadow: 0 3px 14px rgba(33,92,58,0.14);
  transform: translateY(-2px) scale(1.02);
  text-decoration: none;
}
/* ================
 FLEX UTILITIES
================= */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(34,46,55,0.12);
  padding: 30px;
  min-width: 250px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.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;
  background: #f7fafc;
  border-radius: 14px;
  margin-bottom: 20px;
  box-shadow: 0 1px 6px rgba(34,46,55,0.08);
  color: #1b2d3a;
}
.testimonial-card strong {
  color: #215C3A;
  font-weight: 600;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.services-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.service-item {
  background: #E9F6ED;
  border: 1px solid #89C19B;
  border-radius: 14px;
  padding: 26px 22px;
  min-width: 230px;
  flex: 1 1 230px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 1px 5px rgba(137,193,155,0.04);
}
.service-item h3 {
  margin-bottom: 8px;
  color: #215C3A;
}
.service-item strong {
  font-size: 1.02rem;
  color: #233949;
}
.service-item p {
  color: #233949;
  margin-bottom: 6px;
}
.text-section {
  margin-bottom: 24px;
  color: #222E37;
}
.text-section p,
.text-section ul{
  margin-bottom: 14px;
}
/* ================
  FOOTER
================ */
footer {
  background: #215C3A;
  color: #fff;
  padding: 30px 0 16px 0;
  font-size: 1rem;
  text-align: center;
  margin-top: 40px;
}
footer a {
  color: #fff;
  transition: color 0.17s;
  font-weight: 400;
  margin: 0 8px;
}
footer a:hover, footer a:focus {
  color: #89C19B;
  text-decoration: underline;
}
footer div:last-child {
  margin-top: 10px;
  font-size: 0.97rem;
  color: #cfe4da;
}
/* ===============
  MOBILE NAV
================ */
.mobile-menu-toggle {
  background: #215C3A;
  color: #fff;
  font-size: 2rem;
  border: none;
  border-radius: 6px;
  width: 46px;
  height: 46px;
  display: none;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 102;
  cursor: pointer;
  transition: background 0.16s, box-shadow 0.14s;
  box-shadow: 0 1px 5px rgba(33,92,58,0.08);
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #183B27;
  outline: none;
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #215C3A;
  color: #fff;
  z-index: 200;
  display: flex;
  flex-direction: column;
  transform: translateX(-100vw);
  transition: transform 0.35s cubic-bezier(.87,.01,.33,1.1);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: all;
  opacity: 1;
  box-shadow: 0 4px 24px rgba(33,92,58,0.29);
}
.mobile-menu-close {
  background: none;
  color: #fff;
  font-size: 2rem;
  border: none;
  position: absolute;
  top: 22px;
  right: 28px;
  cursor: pointer;
  padding: 0;
  z-index: 202;
  transition: color 0.17s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #89C19B;
}
.mobile-nav {
  margin-top: 90px;
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding-left: 24px;
  padding-right: 24px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  color: #fff;
  font-size: 1.3rem;
  padding: 16px 0;
  border-radius: 7px;
  transition: background 0.19s, color 0.13s;
  width: 100%;
  display: block;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #154126;
  color: #89C19B;
  text-decoration: underline;
}
/* Responsive hiding/displaying main nav */
@media (max-width: 1020px) {
  .main-nav > a {
    font-size: 0.98rem;
  }
}
@media (max-width: 900px) {
  .main-nav {
    gap: 14px;
    padding: 14px 8px;
  }
  .main-nav > a {
    padding: 3px 6px;
    font-size: 0.93rem;
  }
  .main-nav img {
    height: 32px;
    margin-right: 9px;
  }
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .hero .container {
    padding: 0 8px;
  }
}
@media (max-width: 550px) {
  .mobile-nav {
    gap: 22px;
    padding-left: 14px;
    padding-right: 14px;
  }
  .mobile-menu-close {
    top: 10px;
    right: 15px;
  }
}
/* ================
  RESPONSIVE FLEX
================= */
@media (max-width: 990px) {
  .services-list {
    gap: 18px;
  }
}
@media (max-width: 820px) {
  .services-list, .card-container, .content-grid {
    flex-direction: column;
    gap: 20px;
  }
  .service-item {
    min-width: unset;
  }
}
@media (max-width: 768px) {
  .section { padding: 24px 4px; margin-bottom: 32px; }
  .container { padding: 0 8px; }
  .content-wrapper { gap: 14px; }
  h1 { font-size: 1.58rem; }
  h2 { font-size: 1.18rem; }
  .testimonial-card, .card, .service-item { padding: 15px 10px; font-size: 1rem; }
  .hero { padding-top: 32px; padding-bottom: 32px; }
  .hero h1 { font-size: 1.35rem; }
  .hero p { font-size: 0.98rem; }
  .card-container, .content-grid {
    flex-direction: column;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .services-list {
    gap: 14px;
  }
}
/* ================
  PAGE SECTION SPACING (MANDATORY)
================= */
/* Provided flex-class spacing rule already above for section, card-container, etc. */
/* =================
  TABLES & FORMS
================== */
table {
  border-collapse: collapse;
  width: 100%;
  background: #fff;
  box-shadow: 0 1px 5px rgba(34,46,55,0.10);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 24px;
}
th, td {
  text-align: left;
  padding: 12px 10px;
  border-bottom: 1px solid #e7ebec;
}
th {
  background: #e9f6ed;
  color: #215C3A;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
}
tr:last-child td {
  border-bottom: none;
}
input, select, textarea {
  font-family: inherit;
  font-size: 1rem;
  padding: 10px;
  border-radius: 7px;
  border: 1.5px solid #bdd7c7;
  background: #fbfbfb;
  margin-bottom: 20px;
  transition: border-color 0.16s;
  width: 100%;
}
input:focus, textarea:focus, select:focus {
  border-color: #215C3A;
  outline: none;
}
/* ===================
  COOKIE CONSENT BANNER
=================== */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  background: #233949;
  color: #fff;
  z-index: 5010;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 22px 12px 22px 12px;
  box-shadow: 0 -4px 18px rgba(34,46,55,0.13);
  gap: 14px;
  font-size: 1rem;
  animation: banner-slidein 0.7s cubic-bezier(.68,-0.55,.27,1.55) both;
}
@keyframes banner-slidein {
  from { transform: translateY(120%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner__buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin: 0;
}
.cookie-banner__btn {
  padding: 10px 22px;
  font-weight: 600;
  border-radius: 7px;
  border: none;
  cursor: pointer;
  background: #89C19B;
  color: #233949;
  font-family: 'Montserrat', Arial, sans-serif;
  transition: background 0.18s, color 0.15s, box-shadow 0.13s;
  box-shadow: 0 1px 6px rgba(137,193,155,0.08);
  margin-bottom: 0;
}
.cookie-banner__btn.accept {
  background: #215C3A;
  color: #fff;
}
.cookie-banner__btn.reject {
  background: #e45050;
  color: #fff;
}
.cookie-banner__btn:hover, .cookie-banner__btn:focus {
  background: #154126;
  color: #fff;
}
.cookie-banner__btn.reject:hover, .cookie-banner__btn.reject:focus {
  background: #c12d2d;
}
.cookie-banner__btn.settings {
  background: #f5f3e7;
  color: #215C3A;
}
.cookie-banner__btn.settings:hover,.cookie-banner__btn.settings:focus {
  background: #eaeff0;
  color: #154126;
}
/* Cookie Modal */
.cookie-modal {
  display: none;
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(33,44,44,0.24);
  z-index: 5020;
  justify-content: center;
  align-items: center;
  animation: fadein .23s ease-in;
}
@keyframes fadein {
  from{ opacity: 0; } to{ opacity:1; }
}
.cookie-modal.active {
  display: flex;
}
.cookie-modal__box {
  background: #fff;
  border-radius: 18px;
  max-width: 420px;
  width: 96vw;
  padding: 32px 22px;
  box-shadow: 0 4px 28px rgba(34,46,55,0.21);
  color: #233949;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  animation: modalfadein .34s cubic-bezier(.81,-0.24,.01,1.08) both;
}
@keyframes modalfadein {
  from{ transform:translateY(40px); opacity: 0; }
  to{ transform:translateY(0); opacity: 1; }
}
.cookie-modal__close {
  position: absolute;
  right: 18px;
  top: 16px;
  background: none;
  font-size: 1.6rem;
  color: #215C3A;
  border: none;
  cursor: pointer;
}
.cookie-modal__close:hover, .cookie-modal__close:focus {
  color: #233949;
}
.cookie-modal__title {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #215C3A;
}
.cookie-modal__category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 0;
  border-bottom: 1px solid #E9F6ED;
}
.cookie-modal__category:last-child {
  border-bottom: none;
}
.cookie-modal__category label {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  color: #233949;
}
.cookie-modal__switch {
  display: flex;
  align-items: center;
  gap: 5px;
}
.cookie-modal__switch input[type="checkbox"] {
  width: 36px;
  height: 18px;
  accent-color: #215C3A;
}
/* Essential always enabled */
.cookie-modal__category.essential label {
  color: #215C3A;
  font-weight: 600;
}
.cookie-modal__category.essential input {
  display: none;
}
.cookie-modal__actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 12px;
}
/* ================
  MICRO-INTERACTIONS
================= */
.cta, .button, button, input[type="submit"] {
  transition: background 0.2s, box-shadow 0.18s, color 0.17s, transform 0.16s;
}
.card, .testimonial-card, .service-item {
  transition: box-shadow 0.2s, transform 0.12s;
}
.card:hover, .testimonial-card:hover, .service-item:hover {
  box-shadow: 0 4px 18px rgba(33,92,58,0.13);
  transform: translateY(-4px) scale(1.01);
}
.service-item:hover {
  border-color: #215C3A;
}
/* ===========
  MISC STYLES
============ */
::-webkit-scrollbar {
  width: 12px;
  background: #e9f6ed;
}
::-webkit-scrollbar-thumb {
  background: #bdd7c7;
  border-radius: 7px;
}
::selection {
  background: #c5ecd6;
}
/* ============
  ACCESSIBILITY
============= */
:focus-visible {
  outline: 2px solid #215C3A;
  outline-offset: 2px;
}
/* ==============
  PRINT (for legal pages)
============== */
@media print {
  .main-nav, .mobile-menu-toggle, .cookie-banner, .cookie-modal { display:none !important; }
  footer {
    background: none !important;
    color: #215C3A !important;
  }
}
