/* =================== CSS RESET & BASE ====================== */
html {
  box-sizing: border-box;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  min-height: 100vh;
  background: #fff;
  color: #215045;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #215045;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #F4D07A;
  outline: none;
}
ul, ol {
  list-style: none;
}
button {
  font-family: inherit;
  background: none;
  border: none;
  cursor: pointer;
  color: inherit;
  transition: background 0.2s, color 0.2s;
}
:focus {
  outline: 2px solid #F4D07A;
  outline-offset: 2px;
}

/* =================== TYPOGRAPHY ============================= */
h1, .h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -1px;
}
h2, .h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 20px;
}
h3, .h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: 16px;
}
h4, .h4 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 12px;
}
p, li, address {
  font-size: 1rem;
  margin-bottom: 16px;
  color: #215045;
}
.subheadline {
  font-size: 1.2rem;
  color: #215045;
  font-weight: 400;
  margin-bottom: 24px;
}

/* =================== LAYOUT STRUCTURE ======================= */
.container {
  width: 100%;
  max-width: 1020px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 18px;
  padding-right: 18px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px 0 rgba(33,80,69,0.06);
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: transparent;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(33,80,69,0.07);
  margin-bottom: 20px;
  padding: 28px 20px 24px 20px;
  flex: 1 1 240px;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: box-shadow 0.2s;
}
.card:hover {
  box-shadow: 0 4px 20px 0 rgba(33,80,69,0.11);
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  align-items: flex-start;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #DFE7D8;
  border-radius: 12px;
  box-shadow: 0 1px 7px rgba(33,80,69,0.09);
  margin-bottom: 20px;
  font-size: 1rem;
  flex-direction: column;
  transition: box-shadow 0.22s;
}
.testimonial-card p {
  color: #215045;
  font-style: italic;
  margin-bottom: 4px;
}
.testimonial-details {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  gap: 12px;
  color: #215045;
  font-size: 0.95rem;
  margin-bottom: 0;
}
.testimonial-details span {
  font-weight: 500;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 12px;
}
.features-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  color: #215045;
  background: #F7F9F6;
  border-radius: 9px;
  padding: 10px 15px;
  transition: background 0.22s;
}
.features-list li img {
  width: 28px;
  height: 28px;
}
.features-list li:hover {
  background: #DFE7D8;
}

/* ================= CTA & BUTTONS ============================ */
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', Arial, sans-serif;
  text-align: center;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 12px 30px;
  margin-top: 12px;
  background: #215045;
  color: #fff;
  border-radius: 30px;
  border: none;
  box-shadow: 0 2px 8px rgba(33,80,69,0.10);
  transition: background 0.22s, color 0.22s, box-shadow 0.18s, transform 0.15s;
  cursor: pointer;
}
.cta-btn:hover, .cta-btn:focus {
  background: #174033;
  color: #F4D07A;
  box-shadow: 0 6px 22px 0 rgba(33,80,69,0.13);
  transform: translateY(-2px) scale(1.02);
  text-decoration: none;
}

/* ================= HEADER & NAVIGATION ====================== */
header {
  background: #fff;
  box-shadow: 0 2px 10px rgba(33,80,69,0.06);
  position: sticky;
  top: 0;
  z-index: 20;
}
header nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  min-height: 80px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 18px;
}
header nav > a > img {
  height: 44px;
  width: auto;
}
header nav ul {
  display: flex;
  align-items: center;
  gap: 24px;
}
header nav ul li {
  list-style: none;
}
header nav ul li a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #215045;
  padding: 7px 16px;
  border-radius: 7px;
  transition: background 0.17s, color 0.17s;
}
header nav ul li a:hover, header nav ul li a:focus {
  background: #DFE7D8;
  color: #215045;
}
header .cta-btn {
  margin: 0 0 0 16px;
}

/* ================= MOBILE MENU / HAMBURGER ================== */
.mobile-menu-toggle {
  display: none;
  background: #215045;
  border: none;
  color: #fff;
  font-size: 2rem;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  margin-left: 16px;
  z-index: 51;
  transition: background 0.18s, color 0.18s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #174033;
  color: #F4D07A;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  box-shadow: 0 2px 20px rgba(33,80,69,0.15);
  z-index: 120;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateX(-100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.33s cubic-bezier(.8,0,.3,1), opacity 0.26s;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #215045;
  font-size: 2rem;
  align-self: flex-end;
  margin: 20px 24px 0 0;
  transition: color 0.2s, background 0.2s;
  border-radius: 50%;
  width: 44px;
  height: 44px;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #F4D07A;
  background: #DFE7D8;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  width: 100%;
  align-items: flex-start;
  padding: 24px 38px;
  margin-top: 12px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #215045;
  font-size: 1.25rem;
  padding: 8px 0;
  width: 100%;
  border-radius: 8px;
  transition: background 0.14s, color 0.14s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #fff;
  background: #215045;
}


/* ================= MAIN & CONTENT =========================== */
main {
  flex: 1 0 auto;
  background: #fff;
  padding-bottom: 60px;
}
section {
  margin-bottom: 60px;
}

/* ================= FOOTER ================================== */
footer {
  background: #F7F9F6;
  border-top: 1px solid #DFE7D8;
  padding: 36px 0 28px 0;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
}
footer img {
  width: 70px;
  height: auto;
  margin-bottom: 12px;
}
footer ul {
  display: flex;
  flex-direction: row;
  gap: 16px;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
footer ul li a {
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #215045;
  background: none;
  padding: 4px 11px;
  border-radius: 7px;
  transition: background 0.15s, color 0.15s;
}
footer ul li a:hover, footer ul li a:focus {
  background: #DFE7D8;
  color: #215045;
}
footer address {
  font-style: normal;
  color: #215045;
  font-size: 1rem;
  line-height: 1.4;
  text-align: center;
  margin-bottom: 0;
}
footer address img {
  display: inline-block;
  vertical-align: middle;
  width: 20px;
  margin: 0 7px 0 0;
}
footer address a {
  color: #215045;
  text-decoration: underline;
}
footer address a:hover {
  color: #F4D07A;
  text-decoration: underline;
}


/* ================ COOKIE BANNER ========================= */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  background: #fff;
  border-top: 1px solid #E8EEEA;
  box-shadow: 0 -2px 18px rgba(33,80,69,0.07);
  z-index: 130;
  padding: 24px 18px 24px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  transition: transform 0.3s, opacity 0.22s;
  font-size: 1rem;
}
.cookie-banner.hide {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner .cookie-banner-buttons {
  display: flex;
  flex-direction: row;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  background: #DFE7D8;
  color: #215045;
  border-radius: 8px;
  padding: 8px 22px;
  border: none;
  cursor: pointer;
  margin: 0;
  transition: background 0.16s, color 0.16s;
  box-shadow: 0 0px 4px rgba(33,80,69,0.07);
}
.cookie-banner button.accept {
  background: #215045;
  color: #fff;
}
.cookie-banner button.accept:hover {
  background: #174033;
  color: #F4D07A;
}
.cookie-banner button.reject {
  background: #fff;
  border: 1px solid #DFE7D8;
  color: #215045;
}
.cookie-banner button.reject:hover {
  background: #DFE7D8;
  color: #215045;
}
.cookie-banner button.settings {
  background: #F4D07A;
  color: #215045;
}
.cookie-banner button.settings:hover {
  background: #F2C249;
  color: #174033;
}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  z-index: 200;
  background: rgba(33,80,69,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s;
}
.cookie-modal.open {
  visibility: visible;
  opacity: 1;
  pointer-events: all;
}
.cookie-modal-content {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 40px rgba(33,80,69,0.15);
  max-width: 400px;
  width: 95vw;
  padding: 40px 24px 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  animation: popup-in 0.3s cubic-bezier(.8,0,.3,1);
}
@keyframes popup-in {
  from { transform: translateY(60px) scale(0.97); opacity: 0; }
  to { transform: none; opacity: 1; }
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cookie-categories label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  color: #215045;
}
.cookie-switch {
  width: 36px;
  height: 20px;
  border-radius: 10px;
  background: #DFE7D8;
  position: relative;
  transition: background 0.17s;
}
.cookie-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-switch span {
  display: block;
  position: absolute;
  left: 3px;
  top: 3px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #215045;
  transition: left 0.15s;
}
.cookie-switch input:checked + span {
  left: 19px;
  background: #F4D07A;
}
.cookie-categories .essential {
  font-weight: 600;
}
.cookie-modal-content .cookie-modal-actions {
  gap: 16px;
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
}
.cookie-modal-content button {
  font-family: 'Montserrat', Arial, sans-serif;
  background: #215045;
  color: #fff;
  border-radius: 8px;
  border: none;
  padding: 8px 20px;
  font-size: 1rem;
  margin-left: 12px;
  box-shadow: 0 1px 8px rgba(33,80,69,0.09);
  transition: background 0.13s, color 0.13s;
}
.cookie-modal-content button:hover, .cookie-modal-content button:focus {
  background: #174033;
  color: #F4D07A;
}

/* =============== RESPONSIVE BREAKPOINTS ==================== */
@media (max-width: 1000px) {
  .container {
    max-width: 97vw;
    padding-left: 10px;
    padding-right: 10px;
  }
  .content-wrapper {
    gap: 18px;
  }
}
@media (max-width: 768px) {
  body {
    font-size: 0.98rem;
  }
  h1, .h1 { font-size: 2rem; }
  h2, .h2 { font-size: 1.5rem; }
  h3, .h3 { font-size: 1.13rem; }
  .section, section { padding: 28px 7px; }
  .content-wrapper { gap: 13px; }
  .features-list {
    gap: 10px;
  }
}
@media (max-width: 650px) {
  header nav ul,
  header .cta-btn {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  header nav {
    padding: 0 9px;
    min-height: 62px;
  }
  .container {
    max-width: 99vw;
    padding-left: 5px;
    padding-right: 5px;
  }
  .section, section {
    margin-bottom: 38px;
    padding: 13px 0 18px 0;
    border-radius: 10px;
  }
  .content-wrapper, .text-section {
    gap: 7px;
  }
  .testimonial-card {
    gap: 11px;
    font-size: 0.96rem;
    padding: 13px;
  }
  .testimonial-details {
    gap: 7px;
    font-size: 0.9rem;
  }
  .features-list li {
    font-size: 0.98rem;
    padding: 6px 7px;
  }
  .footer address {
    font-size: 0.95rem;
  }
  .cookie-banner {
    font-size: 0.97rem;
    gap: 11px;
    padding: 10px 3vw 10px 3vw;
  }
  .cookie-modal-content {
    max-width: 95vw;
    padding: 22px 5vw 16px 5vw;
  }
}

@media (max-width: 600px) {
  .content-grid,
  .card-container {
    flex-direction: column;
    gap: 14px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 17px;
  }
  .card {
    min-width: 90vw;
    padding: 16px 9px 12px 9px;
  }
}

/* ================ UTILITIES =============================== */
.rounded {
  border-radius: 11px;
}
.shadow {
  box-shadow: 0 2px 10px rgba(33,80,69,0.08);
}
.flex-row {
  display: flex;
  flex-direction: row;
}
.flex-col {
  display: flex;
  flex-direction: column;
}
.gap-20 {
  gap: 20px;
}
.align-center {
  align-items: center;
}
.justify-center {
  justify-content: center;
}

/* ====== Ensure min. 20px margin between cards/sections ===== */
.section,
section:not(:last-child) {
  margin-bottom: 60px;
}
.card, .testimonial-card, .features-list li {
  margin-bottom: 20px;
}

/* =============== TRANSITIONS & HOVER STATES =============== */
.card, .testimonial-card, .features-list li, .cta-btn, .mobile-menu, .cookie-banner, .cookie-modal-content {
  transition: box-shadow 0.22s, background 0.18s, color 0.16s, border 0.16s;
}

/* ================ VISUAL HIERARCHY & SPACE ================= */
section, .section {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 14px 0 rgba(33,80,69,0.06);
}

/* ================ END OF CSS ============================== */
