/* CSS RESET & BASE STYLES */
html { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; margin: 0; padding: 0; border: 0; outline: none; font: inherit; vertical-align: baseline; }
html, body { height: 100%; min-height: 100%; }
body { font-family: 'Roboto', Arial, sans-serif; font-size: 16px; color: #22313f; background: #fff; -webkit-font-smoothing: antialiased; line-height: 1.6; }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: #22506C; text-decoration: none; transition: color 0.2s; }
a:hover, a:focus { color: #37883F; text-decoration: underline; }
ul, ol { padding-left: 22px; margin-bottom: 20px; }
li { margin-bottom: 8px; }

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 { font-family: 'Montserrat', Arial, sans-serif; font-weight: 700; color: #22506C; line-height: 1.18; margin-bottom: 16px; letter-spacing: -0.5px; }
h1 { font-size: 2.375rem; margin-bottom: 24px; } /* 38px */
h2 { font-size: 1.75rem; margin-bottom: 20px; } /* 28px */
h3 { font-size: 1.25rem; margin-bottom: 16px; } /* 20px */
h4 { font-size: 1.125rem; }
p { margin-bottom: 16px; font-size: 1rem; color: #2A3E4C; }
strong { font-weight: 700; }
blockquote { background: #F4F7FB; padding: 24px 28px; border-left: 4px solid #22506C; font-style: italic; color: #22506C; border-radius: 7px; margin-bottom: 24px; margin-top: 8px; }

/* LAYOUT STRUCTURE */
.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.content-wrapper { padding: 0; width: 100%; margin: 0 auto; }

.section { margin-bottom: 60px; padding: 40px 20px; display: flex; flex-direction: column; gap: 24px; background: transparent; }

/* HEADER */
header { width: 100%; background: #fff; box-shadow: 0 2px 12px rgba(50,58,69,0.04); position: sticky; top: 0; z-index: 1000; }
header .container { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 16px; }
header nav { display: flex; align-items: center; gap: 24px; }
header nav a { font-size: 1rem; color: #22506C; font-family: 'Montserrat', Arial, sans-serif; position: relative; padding: 6px 0; }
header nav a:after { content: ""; display: block; height: 2px; width: 0; background: #37883F; border-radius: 1px; margin-top: 4px; transition: width 0.2s; }
header nav a:hover:after, header nav a:focus:after { width: 70%; }
.cta-btn {
  display: inline-block;
  background: #37883F;
  color: #fff !important;
  padding: 12px 28px;
  border-radius: 32px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 8px rgba(55, 136, 63, 0.11);  
  transition: background 0.17s, box-shadow 0.2s, color 0.17s;
  border: 1.5px solid #37883F;
  margin-left: 16px;
  cursor: pointer;
}
.cta-btn:hover, .cta-btn:focus {
  background: #22506C;
  color: #fff !important;
  border-color: #22506C;
  box-shadow: 0 4px 18px rgba(34, 80, 108, 0.14);
}
header .mobile-menu-toggle {
  display: none;
  background: none;
  font-size: 2rem;
  color: #22506C;
  cursor: pointer;
  margin-left: 12px;
  padding: 8px 12px;
  border-radius: 8px;
  transition: background 0.18s;
}
header .mobile-menu-toggle:hover,
header .mobile-menu-toggle:focus { background: #F4F7FB; }

/* MOBILE MENU */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: #fff;
  z-index: 1110;
  display: flex; flex-direction: column; align-items: flex-start;
  transform: translateX(-100%);
  transition: transform 0.33s cubic-bezier(.5,.11,0,1);
  box-shadow: 2px 0 42px rgba(34,80,108,0.10);
  padding: 0;
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu-close {
  background: none;
  color: #22506C;
  font-size: 2rem;
  padding: 16px 24px 10px 4px;
  align-self: flex-end;
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus { background: #F4F7FB; }
.mobile-nav {
  display: flex; flex-direction: column; gap: 14px; padding: 24px 32px; align-items: flex-start;
  width: 100%;
}
.mobile-nav a {
  color: #22506C;
  font-size: 1.125rem;
  padding: 10px 0;
  width: 100%;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  border-radius: 7px;
  transition: background 0.15s, color 0.2s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F4F7FB;
  color: #37883F;
}

/* Hide mobile menu by default */
.mobile-menu { display: none; }
.mobile-menu.open { display: flex; }

/* MAIN & SECTION SPACING */
main { min-height: 60vh; width: 100%; }
section { margin-bottom: 60px; padding: 40px 20px; }

.text-section { margin-bottom: 24px; }
.text-section ul { margin-bottom: 14px; }
.text-section h3 { margin-top: 16px; margin-bottom: 10px; }

.card-container, .card-grid { display: flex; flex-wrap: wrap; gap: 24px; }
.card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(34,80,108,0.05);
  padding: 28px 20px;
  margin-bottom: 20px;
  min-width: 260px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: box-shadow 0.17s, transform 0.17s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 28px rgba(55,136,63,0.12);
  transform: translateY(-2px) scale(1.02);
}
.card-content { display: flex; flex-direction: column; justify-content: center; }
.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;
}

/* SERVICE CARDS */
.service-card {
  background: #F4F7FB;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(34,80,108,0.06);
  padding: 24px 20px 20px 24px;
  margin-bottom: 20px;
  display: flex; flex-direction: column; gap: 8px;
  min-width: 250px;
  border: 1.5px solid #E3E8F0;
  transition: background 0.14s, box-shadow 0.14s;
}
.service-card:hover, .service-card:focus-within {
  background: #eaf2f8;
  box-shadow: 0 6px 24px rgba(34,80,108,0.13);
}
.service-card h3 {
  color: #37883F;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.12rem;
  margin-bottom: 8px;
  font-weight: 700;
  display: flex; align-items: baseline; gap: 8px;
}
.service-card h3 span {
  color: #22506C;
  font-weight: 500;
  font-size: 0.98rem;
  margin-left: 4px;
}

/* TESTIMONIALS */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: #fff;
  border-radius: 9px;
  box-shadow: 0 4px 21px 0 rgba(34,80,108,0.10);
  padding: 24px 30px 22px 30px;
  margin-bottom: 20px;
  gap: 14px;
  border-left: 4px solid #37883F;
  color: #283a4c;
}
.testimonial-card p { font-size: 1.13rem; color: #283a4c; margin-bottom: 7px; }
.testimonial-card span, .testimonial-card strong { font-size: 1rem; color: #22506C; }
.testimonial-card strong { font-weight: 700; }

.card-grid .testimonial-card { min-width: 270px; }

/* FAQ ACCORDION */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.faq-item {
  background: #F4F7FB;
  border-radius: 8px;
  box-shadow: 0 2px 8px 0 rgba(34,80,108,0.06);
  padding: 20px 22px;
  transition: box-shadow 0.17s, background 0.12s;
}
.faq-item h3 {
  cursor: pointer;
  margin-bottom: 10px;
  color: #22506C;
  font-size: 1.09rem;
  font-weight: 600;
  font-family: 'Montserrat', Arial, sans-serif;
}
.faq-item > div {
  color: #2A3E4C;
  font-size: 1rem;
  margin-top: 4px;
  display: block;
}
.faq-item.open, .faq-item:focus-within { box-shadow: 0 8px 24px rgba(34,80,108,0.12); background: #eaf2f8; }

/* BUTTONS & LINKS */
button, .button, input[type="submit"], input[type="button"] {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 12px 28px;
  border-radius: 32px;
  border: none;
  background: #37883F;
  color: #fff;
  cursor: pointer;
  transition: background 0.17s, box-shadow 0.17s, color 0.14s;
  box-shadow: 0 2px 8px rgba(55, 136, 63, 0.13); 
}
button:hover, button:focus, .button:hover, .button:focus, input[type="submit"]:hover, input[type="submit"]:focus {
  background: #22506C;
  color: #fff;
  box-shadow: 0 4px 18px rgba(34, 80, 108, 0.13);
}

/* FOOTER */
footer { width: 100%; background: #F4F7FB; padding: 34px 0 32px 0; border-top: 1.5px solid #E3E8F0; }
footer .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  font-size: 1rem;
}
.footer-nav a { color: #22506C; font-weight: 400; transition: color 0.19s; }
.footer-nav a:hover, .footer-nav a:focus { color: #37883F; }
.footer-brand img { max-height: 44px; margin: 0 auto; }
.footer-cta .cta-btn { margin-left: 0; padding: 10px 24px; font-size: 1rem; }

/* THANK YOU PAGE */
.thank-you-message {
  background: #F4F7FB;
  border-radius: 9px;
  padding: 24px 20px;
  margin-bottom: 24px;
  box-shadow: 0 2px 12px rgba(34,80,108,0.05);
}

/* COOKIE CONSENT BANNER & MODAL */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0;
  width: 100vw;
  background: #fff;
  box-shadow: 0 -2px 32px rgba(34,80,108,0.14);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  justify-content: center;
  padding: 22px 18px;
  z-index: 1200;
  font-size: 1rem;
  color: #22506C;
}
.cookie-banner .cookie-action-btn {
  margin: 0 4px;
  background: #37883F;
  color: #fff;
  border-radius: 32px;
  border: none;
  padding: 7px 20px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(55, 136, 63, 0.09);
  transition: background 0.14s;
  cursor: pointer;
}
.cookie-banner .cookie-action-btn:hover, .cookie-banner .cookie-action-btn:focus { background: #22506C; }
.cookie-banner .cookie-settings-btn {
  background: #fff;
  color: #37883F;
  border: 1.5px solid #37883F;
  transition: background 0.14s, color 0.13s, border-color 0.13s;
}
.cookie-banner .cookie-settings-btn:hover, .cookie-banner .cookie-settings-btn:focus {
  background: #F4F7FB;
  color: #22506C;
  border-color: #22506C;
}

.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(34,80,108,0.16);
  z-index: 1300;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  animation: fadeIn 0.26s cubic-bezier(.5,.17,.7,.96);
}
@keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
.cookie-modal {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 8px 38px rgba(34,80,108,0.16);
  min-width: 320px;
  max-width: 96vw;
  padding: 38px 32px 32px 32px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
}
.cookie-modal h2 {
  font-size: 1.3rem;
  margin-bottom: 3px;
}
.cookie-modal .cookie-modal-close {
  position: absolute; top: 16px; right: 24px;
  background: none;
  color: #22506C;
  font-size: 2rem;
  padding: 2px 7px;
  border-radius: 7px;
  cursor: pointer;
  transition: background 0.17s;
}
.cookie-modal .cookie-modal-close:hover, .cookie-modal .cookie-modal-close:focus { background: #F4F7FB; }
.cookie-modal .cookie-category {
  display: flex; align-items: center; gap: 14px; margin-bottom: 15px;
}
.cookie-modal .cookie-category label {
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 500;
  color: #22506C;
  font-size: 1rem;
}
.cookie-modal .cookie-category input[type='checkbox'] {
  accent-color: #37883F;
  width: 19px; height: 19px;
  margin-right: 4px;
}
.cookie-modal .cookie-category .always-enabled {
  font-size: 0.98rem;
  color: #37883F;
  font-weight: 600;
  padding-left: 4px;
}
.cookie-modal .cookie-actions { margin-top: 10px; display: flex; gap: 12px; }

/* FORM (if present) */
input, textarea, select {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  border-radius: 8px;
  padding: 12px 14px;
  border: 1.5px solid #E3E8F0;
  width: 100%;
  box-shadow: none;
  margin-bottom: 16px;
  background: #fff;
  transition: border 0.15s;
}
input:focus, textarea:focus, select:focus { border: 1.5px solid #22506C; outline: none; }

/* CUSTOM FLEX LAYOUT HELPERS */
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; 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; align-items: center; gap: 20px; padding: 20px; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

/* RESPONSIVE DESIGN: MOBILE FIRST */
@media (max-width: 1023px) {
  .container { max-width: 98vw; padding: 0 10px; }
  .footer-cta { margin-top: 10px; }
}
@media (max-width: 900px) {
  .card-container, .content-grid { flex-direction: column; gap: 20px; }
  .footer-nav { gap: 12px; font-size: 0.98rem; }
}
@media (max-width: 768px) {
  header .container { flex-wrap: wrap; justify-content: flex-start; gap: 5px; }
  header nav { display: none; }
  header .cta-btn { display: none; }
  header .mobile-menu-toggle { display: inline-block; }
  .mobile-menu { display: none; flex-direction: column; }
  .mobile-menu.open { display: flex; }
  .footer-nav, .footer-cta, .footer-brand { justify-content: center; flex: 1 1 100%; }
  .container, .content-wrapper, .section { padding: 0 12px; }
  section { padding: 30px 9px; margin-bottom: 38px; }
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.16rem; }
  .text-image-section { flex-direction: column; align-items: flex-start; gap: 20px; }
  .testimonial-card { padding: 18px 10px; }
  .card, .service-card { padding: 16px 10px; }
  .cookie-modal { min-width: 95vw; padding: 27px 11px 19px 11px; }
}
@media (max-width: 500px) {
  .thank-you-message, .testimonial-card, .card, .service-card { padding: 14px 8px; }
  .footer-brand img { max-height: 34px; }
}

/* ANIMATIONS & MICRO-INTERACTIONS */
.card, .testimonial-card, .service-card, .faq-item {
  transition: box-shadow 0.17s, transform 0.17s, background 0.13s;
}
.cta-btn, button, .cookie-action-btn, .cookie-settings-btn {
  transition: background 0.15s, border-color 0.15s, color 0.13s, box-shadow 0.13s;
}

/* UTILITY */
.mt-16 { margin-top: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.pt-20 { padding-top: 20px; }
.pb-20 { padding-bottom: 20px; }

/* Z-INDEX LAYERING */
header { z-index: 1020; }
.mobile-menu { z-index: 1110; }
.cookie-banner { z-index: 1200; }
.cookie-modal-overlay { z-index: 1300; }

/* SPACING TWEAKS FOR CONSISTENCY */
main > section:last-child { margin-bottom: 0; }
.content-wrapper > *:last-child { margin-bottom: 0; }

/* FOCUS INDICATORS */
a, button, .cta-btn, input, select, textarea { outline: none; }
a:focus-visible, button:focus-visible, .cta-btn:focus-visible {
  outline: 2.5px solid #37883F; outline-offset: 1.7px;
  background: #F4F7FB;
}

/* CLEAR FLOATS & OTHER ACCESSIBLE PATTERNS */
.clearfix:after { content: ''; display: table; clear: both; }

/* PRINT UTILITY (optional) */
@media print { header, .cookie-banner, .cookie-modal-overlay, footer { display: none !important; } }
