/* =============================
   CSS RESET & NORMALIZATION
   ============================= */
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;
  box-sizing: border-box;
}
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  line-height: 1.6;
  background: #fff;
  color: #1d2a20;
  min-height: 100vh;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
}
a {
  color: #205E38;
  text-decoration: none;
  transition: color .2s;
}
a:hover,
a:focus {
  color: #47A68D;
  text-decoration: underline;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
ul,
ol {
  list-style: none;
}
button, input[type=button], input[type=submit] {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

/* =============================
   VARIABLES (with Fallbacks)
   ============================= */
:root {
  --brand-primary: #205E38;
  --brand-secondary: #47A68D;
  --brand-accent: #F3F3F3;
  --brand-text: #222;
  --brand-bg: #fff;
  --brand-danger: #d32d2f;
  --brand-info: #205E38;

  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Open Sans', Arial, Helvetica, sans-serif;

  --shadow-card: 0 6px 32px 0 rgba(32,94,56,0.09);
  --shadow-elevate: 0 2px 12px 0 rgba(32,94,56,0.12);
  --radius-md: 18px;
  --radius-lg: 24px;
  --radius-sm: 8px;

  --spacing-xs: 8px;
  --spacing-sm: 16px;
  --spacing-md: 24px;
  --spacing-lg: 32px;
  --spacing-xl: 40px;
}

/* =============================
   LAYOUT & CONTAINERS
   ============================= */
.container {
  width: 100%;
  max-width: 1150px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  width: 100%;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}
/* Card containers and flex layouts */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--brand-accent);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  transition: transform .19s cubic-bezier(.43,.21,.2,1), box-shadow .18s;
  padding: 32px;
  flex: 1 1 265px;
  display: flex;
  flex-direction: column;
  min-width: 240px;
}
.card:hover {
  transform: translateY(-6px) scale(1.025);
  box-shadow: 0 12px 32px 0 rgba(32,94,56,0.16);
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  margin-bottom: 32px;
}
.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;
  box-shadow: var(--shadow-card);
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  flex-direction: column;
  transition: box-shadow .18s;
}
.testimonial-card p {
  color: #1e2636;
  font-weight: 600;
  font-size: 1.01rem;
  letter-spacing: 0.01em;
}
.testimonial-card span {
  color: var(--brand-info);
  font-size: 0.97rem;
  text-align: right;
  margin-top: 10px;
  font-weight: bold;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.text-section {
  margin-bottom: 24px;
}
.text-section ul li {
  margin-bottom: 12px;
  position: relative;
  padding-left: 24px;
}
.text-section ul li:before {
  content: "";
  display: inline-block;
  width: 12px;
  height: 12px;
  background: var(--brand-secondary);
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 7px;
}
.features, .features-benefits, .features-articles, .features-location, .features-success {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* =============================
   TYPOGRAPHY (Bold, Hierarchies)
   ============================= */
h1,h2,h3,h4,h5 {
  font-family: var(--font-display);
  letter-spacing: -1px;
  font-weight: 800;
  color: var(--brand-primary);
  margin-bottom: 12px;
}
h1 {
  font-size: 2.75rem;
  line-height: 1.13;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.4rem;
  letter-spacing: 0;
  color: var(--brand-secondary);
  margin-bottom: 10px;
}
h4, h5 {
  font-size: 1.15rem;
  color: #222;
}
p, li {
  font-family: var(--font-body);
  font-size: 1.06rem;
  color: var(--brand-text);
  line-height: 1.7;
  margin-bottom: 12px;
  font-weight: 500;
}
strong {
  font-weight: bold;
  color: var(--brand-primary);
}
.text-section p {
  margin-bottom: 8px;
}

/* Subtle geometric accent for bold look */
.section {
  position: relative;
}
.section:before {
  content: '';
  position: absolute;
  top: 0;
  left: -60px;
  width: 100px;
  height: 80px;
  background: rgba(71,166,141,0.16);
  border-radius: 36px 6px 60px 26px;
  z-index: 0;
  pointer-events: none;
  transform: rotate(-7deg);
  display: none;
}
.hero .section:before,
.section.hero:before {
  display: block;
}

/* =============================
   HEADER & NAVIGATION
   ============================= */
header {
  background: var(--brand-accent);
  box-shadow: 0 4px 16px rgba(32,94,56,0.06);
  position: sticky;
  top: 0;
  z-index: 50;
}
header nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 15px 0;
}
header nav a img {
  height: 52px;
  width: auto;
}
header ul {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-left: 18px;
}
header ul li {
  margin: 0 0 0 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.07rem;
}
header ul li a {
  color: var(--brand-primary);
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  transition: background .13s, color .18s;
}
header ul li a:hover,
header ul li a:focus {
  background: var(--brand-secondary);
  color: #fff;
}
.cta-primary, .cta-secondary {
  font-family: var(--font-display);
  font-weight: 800;
  border-radius: var(--radius-md);
  padding: 14px 32px;
  letter-spacing: 0.04em;
  font-size: 1.14rem;
  display: inline-block;
  cursor: pointer;
  margin: 6px 0 6px 12px;
  text-align: center;
  box-shadow: var(--shadow-elevate);
  transition: background .17s, color .15s, box-shadow .18s, transform .2s;
}
.cta-primary {
  background: var(--brand-primary);
  color: #fff;
  border: 2px solid var(--brand-primary);
}
.cta-primary:hover,
.cta-primary:focus {
  background: var(--brand-secondary);
  color: #fff;
  transform: scale(1.045);
  box-shadow: 0 12px 32px 0 rgba(32,94,56,0.19);
}
.cta-secondary {
  background: #fff;
  color: var(--brand-primary);
  border: 2px solid var(--brand-secondary);
}
.cta-secondary:hover, .cta-secondary:focus {
  background: var(--brand-secondary);
  color: #fff;
  border-color: var(--brand-secondary);
  transform: scale(1.03);
}

/* =============================
   HERO SECTION & SECTIONS
   ============================= */
.hero, .hero-thanks {
  background: linear-gradient(90deg, #f2f6f5 60%, #fff 100%);
  padding: 60px 0 48px 0;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  min-height: 350px;
  justify-content: center;
  align-items: flex-start;
}
.hero .content-wrapper, .hero-thanks .content-wrapper {
  max-width: 650px;
  position: relative;
  z-index: 1;
}

/* =============================
   SERVICE & FEATURE CARDS
   ============================= */
.service-card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 30px 25px 23px 25px;
  margin-bottom: 20px;
  transition: transform .16s, box-shadow .16s;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 225px;
}
.service-card:hover {
  transform: translateY(-7px) scale(1.045);
  box-shadow: 0 14px 42px 0 rgba(32,94,56,0.17);
  background: var(--brand-accent);
}
.service-card h3 {
  color: var(--brand-primary);
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.service-card strong {
  margin-top: 16px;
  color: var(--brand-secondary);
  font-size: 1.01rem;
}
/* Lists of cards */
.services-cards ul,
.features ul,
.about-short ul,
.features-benefits ul,
.features-success ul,
.features-articles ul,
.services-overview ul,
.text-section ul {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 0;
}
.services-cards ul li,
.features ul li,
.about-short ul li,
.features-benefits ul li,
.features-success ul li,
.features-articles ul li,
.services-overview ul li,
.text-section ul li {
  flex: 1;
  min-width: 220px;
}

/* =============================
   FOOTER
   ============================= */
footer {
  background: var(--brand-primary);
  color: #fff;
  padding: 36px 0 18px 0;
  margin-top: 60px;
  box-shadow: 0 -8px 32px -10px rgba(32,94,56,0.08);
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
  margin-bottom: 14px;
}
footer nav a {
  color: #fff;
  opacity: 0.92;
  padding: 6px 10px;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.01em;
  font-size: 1.04rem;
  border-radius: var(--radius-sm);
  transition: background .13s, color .18s;
}
footer nav a:hover,
footer nav a:focus {
  background: var(--brand-secondary);
  color: #fff;
  opacity: 1;
}
footer .text-section {
  text-align: center;
  color: #e6ffe1;
  margin-bottom: 8px;
  font-size: .93rem;
  letter-spacing: .01em;
}

/* =============================
   MOBILE NAVIGATION
   ============================= */
.mobile-menu-toggle {
  display: none;
  background: var(--brand-primary);
  color: #fff;
  border-radius: 50%;
  font-size: 2rem;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border: none;
  margin-left: auto;
  z-index: 102;
  transition: background .15s, color .15s, box-shadow .17s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: var(--brand-secondary);
  color: #fff;
  outline: 2px solid #fff;
  box-shadow: 0 0 0 4px #caf2e6;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 90vw;
  max-width: 360px;
  background: #fff;
  box-shadow: -2px 0 25px rgba(32,94,56,.26);
  transform: translateX(100%);
  transition: transform .33s cubic-bezier(.8, .11, .38, 1);
  z-index: 101;
  padding: 40px 22px 32px 22px;
  opacity: 1;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  color: var(--brand-primary);
  font-size: 2.2rem;
  background: none;
  border: none;
  cursor: pointer;
  margin-bottom: 18px;
  transition: color .14s;
  border-radius: 50%;
  width: 40px; height: 40px;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: var(--brand-secondary);
  background:#e8f8f3;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 12px;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--brand-primary);
  font-size: 1.18rem;
  padding: 12px 10px;
  border-radius: 9px;
  background: none;
  transition: background .11s, color .14s;
  letter-spacing: .01em;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: var(--brand-secondary);
  color: #fff;
}

/* Hide desktop nav on mobile, show burger */
@media (max-width: 990px) {
  header nav ul { display: none; }
  .mobile-menu-toggle { display: flex; }
}
@media (min-width: 991px) {
  .mobile-menu { display: none !important; }
}

/* =============================
   COOKIE CONSENT BANNER & MODAL
   ============================= */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 120;
  background: #fff;
  border-top: 4px solid var(--brand-secondary);
  box-shadow: 0 -1px 24px rgba(32,94,56,.17);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 20px;
  width: 100vw;
  max-width: 100vw;
  font-family: var(--font-body);
  font-size: 1.04rem;
  color: #141f19;
  animation: cookie-slideup .6s cubic-bezier(.7,.14,.41,1);
  box-sizing: border-box;
}
@keyframes cookie-slideup {
  0% { transform: translateY(90px); opacity: 0; }
  80% { opacity: 1; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}
.cookie-btn, .cookie-btn-settings {
  font-family: var(--font-display);
  font-weight: 700;
  border-radius: 50px;
  padding: 12px 28px;
  border: none;
  background: var(--brand-secondary);
  color: #fff;
  font-size: 1.00rem;
  cursor: pointer;
  transition: background .17s, box-shadow .14s, color .15s;
  box-shadow: 0 1.5px 7px rgba(32,94,56,.13);
}
.cookie-btn:hover,
.cookie-btn:focus,
.cookie-btn-settings:hover,
.cookie-btn-settings:focus {
  background: var(--brand-primary);
  color: #fff;
}
.cookie-btn-reject {
  background: var(--brand-danger);
  color: #fff;
  margin-left: 2px;
}
.cookie-btn-reject:hover,
.cookie-btn-reject:focus {
  background: #910000;
}
.cookie-btn-settings {
  background: #fff;
  color: var(--brand-primary);
  border: 2px solid var(--brand-secondary);
  margin-left: 2px;
}
.cookie-btn-settings:hover,
.cookie-btn-settings:focus {
  background: #caf2e6;
  color: var(--brand-primary);
  border-color: var(--brand-secondary);
}

.cookie-modal-backdrop {
  position: fixed;
  left: 0; right:0; top:0; bottom:0;
  background: rgba(32,94,56,.28);
  z-index: 129;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.cookie-modal-backdrop.open { display: flex; }
.cookie-modal {
  background: #fff;
  box-shadow: 0 6px 34px rgba(32,94,56,0.18);
  border-radius: var(--radius-lg);
  padding: 38px 28px 28px 28px;
  min-width: 270px;
  max-width: 98vw;
  width: 400px;
  position: relative;
  z-index: 130;
  animation: fadeIn .37s cubic-bezier(.42,.2,.4,1);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
@keyframes fadeIn {
  from { opacity: 0; transform: scale(.95); }
  to   { opacity: 1; transform: scale(1); }
}
.cookie-modal h3 {
  font-size: 1.25rem; font-weight: 800; margin-bottom: 12px;
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  font-size: 1.7rem;
  color: var(--brand-secondary);
  cursor: pointer;
  border-radius: 50%;
  width: 34px; height: 34px;
  transition: background .11s;
}
.cookie-modal .cookie-modal-close:hover,
.cookie-modal .cookie-modal-close:focus {
  background: #e8f8f3;
  color: var(--brand-primary);
}
.cookie-modal-category {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-family: var(--font-body);
}
.cookie-toggle {
  position: relative;
  width: 46px;
  height: 26px;
  background: #ececec;
  border-radius: 22px;
  transition: background .13s;
  margin-left: 18px;
}
.cookie-toggle input {
  display: none;
}
.cookie-toggle-slider {
  position: absolute;
  left: 2px; top: 2px;
  width: 22px;
  height: 22px;
  background: var(--brand-secondary);
  border-radius: 50%;
  transition: left .14s cubic-bezier(.51,.14,.27,1), background .13s;
}
.cookie-toggle input:checked + .cookie-toggle-slider {
  background: var(--brand-primary);
  left: 22px;
}
.cookie-toggle.disabled {
  background: #d4e9db;
  opacity: 0.6;
  pointer-events: none;
}

/* =============================
   RESPONSIVE DESIGN
   ============================= */
@media (max-width: 1020px) {
  .container {
    max-width: 94vw;
    padding-left: 14px; padding-right: 14px;
  }
  .section, .hero, .hero-thanks {
    padding-left: 12px; padding-right: 12px;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 2.08rem; }
  h2 { font-size: 1.45rem; }
  .section,.hero,.hero-thanks {
    padding: 22px 10px;
  }
  .card, .service-card { padding: 20px 13px 19px 13px; }
  .card-container, .card-grid, .features ul, .services-cards ul, .features-benefits ul, .features-success ul {
    gap: 14px;
  }
  .testimonial-card,
  .card {
    padding: 15px 8px 14px 14px;
    min-width: 140px;
  }
}
@media (max-width: 670px) {
  .content-grid, .card-container, .features ul, .services-cards ul {
    flex-direction: column;
    gap: 12px;
  }
  header nav {
    flex-direction: row;
    gap: 5vw;
  }
}
@media (max-width: 520px) {
  .container { padding-left: 6px; padding-right: 6px; }
  .hero, .hero-thanks, .section { padding: 16px 4px; }
  .cookie-banner { flex-direction: column; gap: 14px; text-align: left; padding: 18px 4px; font-size: 0.95rem; }
  .cookie-modal { width: 97vw; min-width: 0; padding: 16px 7px 11px 7px; }
}

/* =============================
   VISUAL SPACING & EFFECTS
   ============================= */
.section, .card, .service-card, .testimonial-card {
  box-sizing: border-box;
  margin-bottom: 32px;
  position: relative;
}
.section:last-child, .card:last-child, .service-card:last-child {
  margin-bottom: 0;
}
.card:last-child, .testimonial-card:last-child {
  margin-bottom: 0;
}
.features,
.features-benefits,
.features-articles,
.services-cards,
.features-success {
  gap: 30px;
}

/* subtle geom. shadow for accent */
.card:before {
  content: '';
  position: absolute;
  right: -24px; bottom: -20px;
  width: 58px;
  height: 34px;
  background: rgba(71,166,141,0.13);
  border-radius: 18px 62px 24px 44px;
  z-index: 0;
  pointer-events: none;
  display: block;
}

/* =============================
   FORM ELEMENTS & BUTTONS
   ============================= */
input, textarea, select {
  font-family: var(--font-body);
  font-size: 1rem;
  border: 2px solid #c2e3d3;
  border-radius: 12px;
  padding: 13px;
  margin-bottom: 18px;
  outline: none;
  background: #f6faf9;
  color: var(--brand-primary);
  width: 100%;
  box-sizing: border-box;
  transition: border-color .17s;
}
input:focus, textarea:focus {
  border-color: var(--brand-secondary);
}
::-webkit-input-placeholder { color: #a3b4a8; }
::-moz-placeholder { color: #a3b4a8; }
:-ms-input-placeholder { color: #a3b4a8; }
::placeholder { color: #a3b4a8; }

/* =============================
   PAGE-SPECIFIC
   ============================= */
.hero-thanks .content-wrapper {
  text-align: center;
  margin: 0 auto;
}

.features-articles span {
  display: inline-block;
  background: #caf2e6;
  color: var(--brand-primary);
  border-radius: 12px;
  padding: 2px 12px;
  margin-left: 5px;
  font-weight: 700;
  font-family: var(--font-display);
}

@media (max-width: 520px) {
  .testimonial-card { padding: 9px 4px; font-size: 0.95rem; }
}

/* =============================
   ACCESSIBILITY/MICRO-INTERACTIONS
   ============================= */
:focus-visible {
  outline: 3px solid var(--brand-secondary);
  outline-offset: 2px;
  transition: outline .09s;
}
.cta-primary:active, .cta-secondary:active {
  transform: scale(.99);
}

/* =============================
   NO GRID/COLUMN LAYOUTS USED!
   ============================= */
/* (No display:grid, columns, break-inside or related properties are in use) */
