/* 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;
  box-sizing: border-box;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #fff;
  color: #2B3D54;
  font-family: 'Roboto', Arial, 'Helvetica Neue', Helvetica, sans-serif;
  font-size: 16px;
  min-height: 100vh;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
ul, ol {
  margin-left: 1.25em;
  margin-bottom: 16px;
}
li {
  margin-bottom: 8px;
}
a {
  color: #2B3D54;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus, a:hover {
  color: #206F36;
  outline: none;
}
strong, b {
  font-weight: 600;
}
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

/* TYPOGRAPHY ================================ */
h1, .hero h1 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}
h2 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}
h3 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.15rem;
  font-weight: 500;
  margin-bottom: 10px;
}
h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
}
p, ul, ol {
  font-size: 1rem;
  margin-bottom: 10px;
  color: #222936;
}
small {
  font-size: 0.95rem;
  color: #8992A3;
}

/* BUTTONS =================================== */
.btn-primary {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  background: #206F36;
  color: #fff;
  border: none;
  padding: 12px 28px;
  border-radius: 26px;
  cursor: pointer;
  box-shadow: 0 2px 16px rgba(43,61,84,0.04);
  transition: background 0.2s, box-shadow 0.2s, color 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 16px;
  letter-spacing: 0.01em;
}
.btn-primary:hover, .btn-primary:focus {
  background: #2B3D54;
  color: #fff;
  box-shadow: 0 4px 18px 0 rgba(43,61,84,0.08);
}
.btn-secondary {
  background: #fff;
  color: #206F36;
  border: 1px solid #206F36;
  padding: 10px 22px;
  border-radius: 26px;
  font-weight: 600;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  margin-right: 12px;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #D4E6F1;
  color: #2B3D54;
}

/* HEADER & NAVIGATION ======================= */
header {
  background: #fff;
  border-bottom: 1px solid #F3F6F9;
  box-shadow: 0 2px 10px rgba(43,61,84,0.03);
  position: relative;
  z-index: 20;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: 24px;
}
header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
}
header nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: #2B3D54;
  padding: 6px 2px;
}
header nav a:hover, header nav a.active {
  color: #206F36;
}
header a.btn-primary {
  margin-left: 20px;
  margin-top: 0;
}

/* MOBILE BURGER BUTTON */
.mobile-menu-toggle {
  display: none;
  background: none;
  font-size: 2rem;
  color: #2B3D54;
  border: none;
  cursor: pointer;
  outline: none;
  margin-left: 8px;
}

/* MOBILE MENU ================================= */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(43,61,84,0.94);
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(.8,0,.2,1);
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding-top: 40px;
  overflow-y: auto;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  align-self: flex-end;
  margin: 12px 22px 4px 0;
  cursor: pointer;
  opacity: 0.85;
  transition: opacity 0.2s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  opacity: 1;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 12px;
  padding: 10px 32px;
}
.mobile-nav a {
  color: #fff;
  padding: 14px 0;
  font-size: 1.2rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: background 0.18s, color 0.2s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #D4E6F1;
  background: rgba(255,255,255, 0.03);
}

/* HERO SECTION ============================= */
.hero {
  background: #F9FBFC;
  padding: 80px 0 50px 0;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero .content-wrapper {
  align-items: flex-start;
  padding: 0;
}
.hero h1 {
  color: #2B3D54;
  font-size: 2.5rem;
  margin-bottom: 18px;
}
.hero p {
  color: #263142;
  font-size: 1.2rem;
  margin-bottom: 18px;
}

/* SECTION SPACING */
.section,
.features,
.about,
.services,
.testimonials,
.cta,
.contact,
.legal {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* FEATURE GRID & ITEMS ===================== */
.features .content-wrapper,
.about .content-wrapper,
.services .content-wrapper {
  align-items: flex-start;
}
.feature-grid, .service-cards, .service-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 22px;
}
.feature-item, .service-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(43,61,84,.05);
  padding: 28px 20px 24px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  max-width: 300px;
  min-width: 220px;
  min-height: 200px;
  transition: box-shadow 0.17s, transform 0.17s;
  margin-bottom: 20px;
}
.feature-item:hover, .service-card:hover {
  box-shadow: 0 8px 28px rgba(32,111,54,0.08);
  transform: translateY(-4px) scale(1.03);
}
.feature-item img, .service-card img {
  width: 42px;
  height: 42px;
  margin-bottom: 10px;
}
.feature-icons {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-bottom: 18px;
}
.feature-icons img {
  width: 38px; height: 38px;
}

/* TESTIMONIALS ============================= */
.testimonials .content-wrapper {
  gap: 27px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 22px 26px 22px 26px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 18px rgba(43,61,84,0.07);
  min-width: 240px;
  margin-bottom: 20px;
  margin-top: 10px;
  transition: box-shadow 0.19s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 28px rgba(32,111,54,0.12);
}
.testimonial-card p {
  color: #2B3D54;
  font-size: 1.07rem;
  font-style: italic;
  margin: 0 0 6px 0;
}
.testimonial-info {
  display: flex;
  align-items: center;
  gap: 16px;
}
.testimonial-info strong {
  color: #206F36;
  font-weight: 600;
}
.testimonial-info span {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #E6B400;
  font-size: 1.1rem;
}
.testimonial-info img {
  width: 20px;
  height: 20px;
  filter: grayscale(0);
}

/* CTA SECTION =============================== */
.cta {
  background: #D4E6F1;
  border-radius: 24px;
  box-shadow: 0 2px 16px rgba(43,61,84,0.03);
  margin: 50px 0 40px 0;
  text-align: left;
}
.cta .btn-primary {
  margin-top: 22px;
}

/* CARD/LIST CONTAINERS ====================== */
.card-container,
.card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(43,61,84,0.06);
  padding: 20px 18px;
  transition: box-shadow 0.15s;
}
.card:hover {
  box-shadow: 0 8px 24px rgba(32,111,54,.11);
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: flex-start;
  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: 14px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* COMPARISON/CHARTS ========================= */
.comparison-chart {
  background: #F9FBFC;
  border-radius: 10px;
  padding: 18px 16px;
  margin-top: 22px;
  margin-bottom: 16px;
  box-shadow: 0 1px 7px rgba(43,61,84,0.07);
}
.comparison-chart h4 {
  margin-bottom: 12px;
}

/* LEGAL/PRIVACY PAGES ====================== */
.legal {
  background: #F9FBFC;
  border-radius: 20px;
  box-shadow: 0 1px 6px rgba(43,61,84,0.03);
  margin-top: 40px;
  margin-bottom: 60px;
  padding: 38px 20px 34px 20px;
}

/* FOOTER =================================== */
footer {
  background: #fff;
  border-top: 1px solid #F3F6F9;
  margin-top: 80px;
  padding-top: 48px;
  font-size: 1rem;
}
.footer-main {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
}
.footer-brand {
  flex: 1 1 230px;
  min-width: 200px;
}
.footer-brand img {
  width: 145px;
  margin-bottom: 12px;
}
.footer-contact {
  flex: 1 1 210px;
  min-width: 180px;
}
.footer-contact ul, .footer-contact li {
  list-style: none;
  margin: 0; padding: 0;
  color: #2B3D54;
}
.footer-contact li {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  font-size: 1rem;
}
.footer-contact li img {
  width: 18px; height: 18px;
}
.footer-links {
  flex: 1 1 190px;
  min-width: 160px;
}
.footer-links a {
  color: #2B3D54;
  display: block;
  margin-bottom: 8px;
  font-size: 1rem;
  transition: color 0.2s;
}
.footer-links a:hover, .footer-links a:focus {
  color: #206F36;
  text-decoration: underline;
}
.footer-bottom {
  text-align: center;
  padding-bottom: 16px;
}

/* COOKIE CONSENT BANNER ===================== */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #fff;
  border-top: 1px solid #EAEDED;
  box-shadow: 0 -2px 18px rgba(43,61,84,0.07);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 22px 14px 22px 14px;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.3s, transform 0.3s;
}
.cookie-banner.hide {
  opacity: 0;
  transform: translateY(100%);
  pointer-events: none;
}
.cookie-banner-content {
  max-width: 930px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.cookie-banner p {
  font-size: 1rem;
  color: #24374b
}
.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
  align-items: center;
}
.cookie-banner .btn-primary, .cookie-banner .btn-secondary {
  min-width: 120px;
}
.cookie-settings-link {
  color: #206F36;
  text-decoration: underline;
  font-size: 1rem;
  cursor: pointer;
}
.cookie-settings-link:hover, .cookie-settings-link:focus {
  color: #2B3D54;
}

/* COOKIE SETTINGS MODAL ===================== */
.cookie-modal {
  position: fixed;
  z-index: 3000;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  background: rgba(43,61,84,0.25);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.cookie-modal.active {
  display: flex;
  animation: fadeInModal 0.22s cubic-bezier(.8,0,.2,1);
}
@keyframes fadeInModal {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal-content {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 6px 36px rgba(43,61,84,0.14);
  max-width: 410px;
  width: 100%;
  padding: 32px 26px 26px 26px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  animation: slideUpModal 0.27s cubic-bezier(.44,0,.26,1);
}
@keyframes slideUpModal {
  from {transform: translateY(60px) scale(0.97); opacity:0;}
  to   {transform: translateY(0) scale(1); opacity:1;}
}
.cookie-modal-close {
  background: none;
  border: none;
  color: #2B3D54;
  font-size: 2rem;
  cursor: pointer;
  position: absolute;
  right:18px; top:8px;
  opacity: 0.7;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  opacity: 1;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.cookie-category input[type=checkbox] {
  accent-color: #206F36;
  width: 18px; height: 18px;
}
.cookie-category input[disabled] {
  opacity: 0.5;
}
.cookie-modal .btn-primary, .cookie-modal .btn-secondary {
  margin-top: 14px;
  padding: 10px 24px;
}

/* ACCESSIBILITY FOCUS VISIBLE HACK ========== */
:focus-visible {
  outline: 2px solid #2B3D54;
  outline-offset: 2px;
  transition: none;
}

/* RESPONSIVE (MOBILE FIRST) ================= */
@media (max-width: 1050px) {
  .footer-main { gap: 24px; }
}
@media (max-width: 900px) {
  h1, .hero h1 { font-size: 2rem; }
  .cta { padding: 30px 12px; }
  .footer-main { flex-direction: column; gap:30px; }
}
@media (max-width: 768px) {
  h1, .hero h1 { font-size: 1.42rem; }
  h2 { font-size: 1.13rem; }
  .hero {
    padding: 34px 0 30px 0;
  }
  .section, .features, .about, .services, .testimonials, .cta, .contact, .legal {
    margin-bottom: 36px;
    padding: 28px 6px;
  }
  .footer-main { flex-direction: column; gap:28px; padding:0 3px 7px 3px; }
  .content-wrapper {
    padding: 0; gap: 16px;
  }
  .feature-grid, .service-cards, .service-grid, .card-container, .card-grid, .content-grid {
    flex-direction: column!important;
    gap: 20px;
    align-items: stretch;
  }
  .testimonial-card, .feature-item, .service-card, .card {
    min-width: unset;
    max-width: 100%;
    width: 100%;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  header .container {
    gap: 12px; height: 60px;
  }
  header nav, header .btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .mobile-menu {
    padding-top: 12px;
  }
  .cookie-modal-content {
    padding: 22px 8px 18px 8px;
    max-width: 97vw;
    font-size: 1rem;
  }
}
@media (max-width: 440px) {
  .cookie-banner {
    padding: 11px 2px 14px 2px;
    font-size: 1rem;
  }
  .cookie-modal-content {
    font-size: 1rem;
  }
  .feature-item, .service-card {
    padding: 14px 6px 13px 10px;
  }
  .testimonial-card {
    padding: 10px 8px 10px 8px;
  }
}

/* MICRO-INTERACTIONS / ANIMATIONS =============== */
.btn-primary, .btn-secondary, a, button, .service-card, .feature-item, .testimonial-card {
  transition: box-shadow 0.15s, background 0.18s, color 0.18s, transform 0.14s;
}
.card:hover, .service-card:hover, .feature-item:hover {
  transform: translateY(-2px) scale(1.012);
}
a:active, .btn-primary:active, .btn-secondary:active {
  filter: brightness(0.95) contrast(1.05);
}

/* Utility classes =============================== */
.mt-0 { margin-top: 0!important; }
.mt-16 { margin-top: 16px; }
.mb-24 { margin-bottom: 24px; }
.text-center { text-align: center!important; }
.text-left { text-align: left!important; }
.bg-secondary { background: #F9FBFC!important; }
.color-accent { color: #206F36!important; }
