/* RESET + BASE TYPOGRAPHY */
html { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; margin: 0; padding: 0; }
body {
  font-family: 'Open Sans', Arial, sans-serif;
  color: #1A3555;
  background: linear-gradient(135deg, #E8EAF1 0%, #ffffff 100%);
  min-height: 100vh;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #297B3E; text-decoration: none; transition: color 0.2s; }
a:hover, a:focus { color: #1A3555; text-decoration: underline; }
ul, ol { padding-left: 24px; margin-bottom: 16px; }
li { margin-bottom: 8px; }
eh1, h2, h3, h4 { font-family: 'Montserrat', Arial, sans-serif; font-weight: 700; color: #1A3555; margin-bottom: 16px; line-height: 1.2; }
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-top:32px; margin-bottom: 20px; }
h3 { font-size: 1.3rem; margin-bottom: 12px; }
h4 { font-size: 1.1rem; margin-bottom: 10px; }
p, dd { margin-bottom: 18px; }
dt { font-weight: 700; margin-top:16px; }
dd { margin-bottom:8px; }

body, input, button { font-family: 'Open Sans', Arial, sans-serif; }
button { font-family: inherit; cursor: pointer; border: none; }

/* LAYOUT CONTAINER */
.container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

/* HEADER/NAVIGATION */
header {
  background: #fff;
  border-bottom: 1px solid #E8EAF1;
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 24px;
}
header img { height: 42px; width: auto; }
.main-nav {
  display: flex;
  flex-direction: row;
  gap: 18px;
  align-items: center;
}
.main-nav a {
  color: #1A3555;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.01em;
  padding: 8px 6px;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #E8EAF1;
  color: #217137;
  text-decoration: none;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  padding: 0.75em 2em;
  font-size: 1.1rem;
  background: linear-gradient(100deg, #297B3E 0%, #217137 100%);
  color: #fff;
  border-radius: 38px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 0.03em;
  box-shadow: 0 3px 24px 0 rgba(41, 123, 62, 0.09);
  border: none;
  outline: none;
  margin-left: 12px;
  transition: background 0.2s, box-shadow 0.05s, transform 0.1s;
  text-align: center;
  cursor: pointer;
}
.btn-primary:hover, .btn-primary:focus {
  background: linear-gradient(100deg, #217137 0%, #297B3E 100%);
  color: #E8EAF1;
  box-shadow: 0 8px 28px 0 rgba(41, 123, 62, 0.14);
  transform: translateY(-2px) scale(1.03);
}

/* Mobile NAV */
.mobile-menu-toggle {
  display: none;
  background: none;
  font-size: 2rem;
  color: #1A3555;
  margin-left: 20px;
  transition: color 0.2s;
  position: relative;
  z-index: 110;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #297B3E;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(26,53,85,0.97);
  color: #fff;
  z-index: 150;
  transform: translateX(-100vw);
  transition: transform 0.35s cubic-bezier(.61,0,.15,1);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 22px 22px 0 0;
  background: none;
  font-size: 2.2rem;
  color: #fff;
  cursor: pointer;
  z-index: 200;
  transition: color 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #E8EAF1;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  margin: 40px 0 0 40px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.3rem;
  padding: 7px 0;
  border-radius: 3px;
  transition: background 0.19s, color 0.16s;
  min-width: 140px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #297B3E;
  color: #fff;
  text-decoration: none;
}

@media (max-width: 1024px) {
  header .container {
    gap: 12px;
  }
  .main-nav a, .footer-nav a { font-size: 14px; }
}
@media (max-width: 900px) {
  .main-nav { gap: 6px; }
  .main-nav a { padding: 7px 2px; }
}
@media (max-width: 850px) {
  .main-nav { display: none; }
  .mobile-menu-toggle { display: inline-block; }
  .btn-primary { padding: 0.55em 1.6em; font-size: 0.96rem; margin-left: 0; }
  header .container { gap: 8px; }
}
@media (max-width: 600px) {
  .mobile-menu {
    padding: 0;
    background: rgba(26,53,85,0.99);
  }
  .mobile-nav {
    margin: 28px 0 0 20px;
    gap: 18px;
  }
}

/* MAIN - SECTION SPACING/LAYOUT PATTERNS */
section { margin-bottom: 60px; padding: 40px 20px; }
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: flex-start;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 5px 18px rgba(26,53,85,0.06);
  padding: 30px 24px;
  min-width: 260px;
  flex: 1 1 320px;
  transition: box-shadow 0.16s, transform 0.2s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 10px 28px rgba(26,53,85,0.10);
  transform: translateY(-2px) scale(1.01);
}
.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-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: flex-start;
  margin-top: 12px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 20px 28px;
  border-radius: 16px;
  background: #F6F7FB;
  color: #1A3555;
  min-width: 260px;
  max-width: 390px;
  box-shadow: 0 3px 12px rgba(41,123,62,0.05);
}
.testimonial-card p {
  font-size: 1.1rem;
  font-style: italic;
  color: #1A3555;
}
.testimonial-card span {
  font-size: 1rem;
  color: #297B3E;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature-grid > div {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 18px rgba(26,53,85,0.06);
  flex: 1 1 240px;
  min-width: 220px;
  max-width: 280px;
  padding: 26px 18px 18px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  transition: box-shadow 0.13s, transform 0.17s;
}
.feature-grid > div:hover {
  box-shadow: 0 8px 24px rgba(41,123,62,0.10);
  transform: translateY(-2px) scale(1.012);
}
.feature-grid > div img {
  width: 40px; height: 40px; margin-bottom: 5px;
}
.step-flow {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.step-flow > div {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 18px rgba(26,53,85,0.06);
  padding: 28px 20px;
  min-width: 200px;
  max-width: 240px;
  flex: 1 1 200px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  transition: box-shadow 0.13s, transform 0.17s;
}
.step-flow > div:hover {
  box-shadow: 0 8px 26px rgba(41,123,62,0.13);
  transform: translateY(-1.5px) scale(1.007);
}
.step-flow > div img {
  width: 36px; height: 36px; margin-bottom: 5px;
}
.text-section {
  background: #fff;
  border-radius: 14px;
  padding: 28px 24px;
  box-shadow: 0 2px 10px rgba(41,123,62,0.06);
  color: #1A3555;
  font-size: 1.06rem;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Responsive Layout */
@media (max-width: 1020px) {
  .container { padding: 0 10px; }
  .feature-grid, .step-flow, .testimonial-list {
    gap: 15px;
  }
}
@media (max-width: 900px) {
  .feature-grid > div, .step-flow > div, .card {
    min-width: 160px;
    max-width: 100%;
    padding: 18px 10px;
  }
  .testimonial-card { min-width: 180px; }
}
@media (max-width: 768px) {
  .content-wrapper, .container { padding: 0 4px; }
  section { padding: 30px 5px; margin-bottom: 44px; }
  .feature-grid, .step-flow, .testimonial-list, .card-container, .content-grid {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .text-image-section { flex-direction: column; gap: 16px; }
  .testimonial-card { max-width: 100%; min-width: 0; padding: 20px 10px; }
  .feature-grid > div, .step-flow > div { max-width: 100%; }
}
@media (max-width: 600px) {
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.24rem; }
  .btn-primary { font-size: 0.93rem; }
  section { padding: 22px 2px; margin-bottom: 28px; }
}

/* --- FORMS (contact form if any in the future) --- */
input[type], textarea, select {
  font-size: 1rem;
  padding: 8px 12px;
  border-radius: 6px;
  border: 1px solid #E8EAF1;
  margin-bottom: 16px;
  width: 100%;
}

/* FOOTER */
footer {
  background: linear-gradient(100deg, #E8EAF1 0%, #fff 100%);
  box-shadow: 0 -1px 8px rgba(26,53,85,0.04);
  color: #1A3555;
  padding: 28px 0 15px 0;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  justify-content: center;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.footer-nav a {
  color: #1A3555;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 14px;
  padding: 4px 6px;
  border-radius: 2px;
  transition: background 0.13s, color 0.12s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #297B3E;
  background: #E8EAF1;
  text-decoration: none;
}
.footer-contact {
  font-size: 0.97rem;
  color: #1A3555;
  text-align: center;
  margin-bottom: 5px;
}
footer small {
  color: #777;
  font-size: 0.85rem;
  margin-top: 10px;
}
@media (max-width: 600px) {
  .footer-nav { flex-direction: column; align-items: center; gap: 8px; }
  .footer-contact { font-size: 0.9rem; padding: 6px 0; }
  footer { padding: 18px 0 10px 0; }
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #1A3555;
  color: #fff;
  padding: 22px 12px;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  box-shadow: 0 -2px 14px rgba(26,53,85,0.12);
  transition: transform 0.32s cubic-bezier(.7,0,.13,1);
  transform: translateY(100%);
}
.cookie-banner.visible {
  transform: translateY(0);
}
.cookie-banner .cookie-text {
  font-size: 1rem;
  margin-right: 18px;
  margin-bottom: 8px;
  color: #E8EAF1;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}
.cookie-btn {
  background: #297B3E;
  color: #fff;
  border-radius: 24px;
  padding: 8px 22px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  margin: 0 5px;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.18s, color 0.17s, box-shadow 0.15s;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #217137;
  box-shadow: 0 3px 16px rgba(41,123,62,0.07);
}
.cookie-btn.reject {
  background: #fff;
  color: #1A3555;
  border: 1px solid #E8EAF1;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #E8EAF1;
  color: #297B3E;
}
.cookie-btn.settings {
  background: transparent;
  color: #fff;
  border: 1px solid #297B3E;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #297B3E;
  color: #fff;
}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(26,53,85,0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10001;
}
.cookie-modal.open {
  display: flex;
  animation: fadeInModal 0.3s ease;
}
@keyframes fadeInModal {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal-content {
  background: #fff;
  color: #1A3555;
  border-radius: 18px;
  box-shadow: 0 8px 40px rgba(26,53,85,0.18);
  padding: 32px 24px;
  max-width: 380px;
  min-width: 270px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
}
.cookie-modal-title {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.cookie-category label {
  font-size: 1.05rem;
  font-weight: 500;
}
.cookie-category input[type='checkbox'] {
  accent-color: #297B3E;
  width: 18px;
  height: 18px;
}
.cookie-modal-close-btn {
  position: absolute;
  right: 18px; top: 18px;
  background: none;
  border: none;
  color: #1A3555;
  font-size: 1.5rem;
  cursor: pointer;
  transition: color 0.17s;
}
.cookie-modal-close-btn:hover, .cookie-modal-close-btn:focus {
  color: #297B3E;
}
.cookie-modal .cookie-btn {
  margin: 14px 0 0 0;
  width: 100%;
}

/* Hide banners/modals on print */
@media print {
  .cookie-banner, .cookie-modal { display: none !important; }
}

/* --- ANIMATIONS + INTERACTIONS --- */
section, .card, .testimonial-card, .feature-grid > div, .step-flow > div, .btn-primary, .cookie-banner, .cookie-modal-content {
  transition: box-shadow 0.16s, background 0.2s, color 0.16s, transform 0.14s;
}

/* ACCESSIBILITY (focus outlines) */
a:focus, button:focus, .btn-primary:focus, .cookie-btn:focus, .cookie-modal-close-btn:focus {
  outline: 2px solid #297B3E;
  outline-offset: 2px;
  z-index: 1;
}

/* CUSTOM UTILITIES */
.mt-32 { margin-top: 32px; }
.mt-16 { margin-top: 16px; }
.mb-32 { margin-bottom: 32px; }
.mb-16 { margin-bottom: 16px; }

/* ------------- END ------------- */
