/* CSS RESET & NORMALIZE */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  min-height: 100vh;
  color: #314055;
  background: linear-gradient(135deg, #e4f2f0 0%, #e7eaf6 100%);
  font-family: 'Roboto', Arial, sans-serif;
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: #314055;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #77BFA3;
  outline: none;
}
ul, ol {
  margin-left: 1.25em;
  margin-bottom: 14px;
  padding-left: 0.7em;
}
li {
  margin-bottom: 8px;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #314055;
  margin-bottom: 18px;
  line-height: 1.15;
}
h1 {
  font-size: 2.4rem;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
}
h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
}
section {
  width: 100%;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 18px 0 rgba(49,64,85,0.06);
  margin-bottom: 60px;
  padding: 40px 20px;
  transition: box-shadow 0.3s;
}
section:hover {
  box-shadow: 0 8px 32px 0 rgba(49,64,85,0.13);
}
.container {
  width: 100%;
  max-width: 1190px;
  margin: 0 auto;
  padding: 0 16px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 340px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px 0 rgba(49, 64, 85, 0.07);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.27s, transform 0.27s;
}
.card:hover {
  box-shadow: 0 6px 30px 0 rgba(49, 64, 85, 0.17);
  transform: translateY(-2px) scale(1.015);
}
.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 24px 22px;
  margin-bottom: 20px;
  background: #f4faf7;
  border-radius: 12px;
  box-shadow: 0 2px 10px 0 rgba(49,64,85,0.06);
  font-size: 1.07rem;
  font-family: 'Roboto', Arial, sans-serif;
}
.testimonial-card p {
  color: #222;
  margin-bottom: 8px;
}
.testimonial-card span {
  font-weight: 500;
  color: #77BFA3;
  font-size: 0.98rem;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.blog-teaser {
  background: #eef7f2;
  border-radius: 10px;
  box-shadow: 0 1px 6px 0 rgba(49,64,85,0.04);
  padding: 20px 16px;
  margin-bottom: 14px;
  transition: box-shadow 0.2s;
}
.blog-teaser:hover {
  box-shadow: 0 4px 24px 0 rgba(49,64,85,0.13);
}
.map-box {
  background: #f8fafc;
  border: 1.5px solid #77BFA3;
  border-radius: 10px;
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  margin-top: 8px;
}
.search-bar {
  margin-top: 18px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}
.search-bar input[type="text"] {
  width: 100%;
  max-width: 380px;
  padding: 11px 14px;
  border: 1.5px solid #c0e5d3;
  border-radius: 8px;
  font-size: 1rem;
  background: #fff;
  outline: none;
  font-family: 'Roboto', sans-serif;
  transition: border-color 0.2s;
}
.search-bar input[type="text"]:focus {
  border-color: #77BFA3;
}

/* BUTTONS AND CTAs */
.cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.82em 2.4em;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1.08rem;
  letter-spacing: 0.02em;
  line-height: 1.2;
  color: #fff;
  background: linear-gradient(90deg, #77BFA3 0%, #314055 100%);
  border: none;
  border-radius: 30px;
  box-shadow: 0 1px 8px 0 rgba(49,64,85,0.09);
  cursor: pointer;
  margin-top: 8px;
  margin-bottom: 8px;
  transition: background 0.22s, transform 0.22s, box-shadow 0.26s;
  outline: none;
}
.cta-primary:hover,
.cta-primary:focus {
  background: linear-gradient(90deg, #314055 0%, #77BFA3 100%);
  transform: translateY(-1px) scale(1.035);
  box-shadow: 0 4px 18px 0 rgba(49, 64, 85, 0.17);
  color: #fff;
}
button {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}

/* NAVIGATION */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 1px 10px rgba(49,64,85,0.04);
  padding-top: 0.5rem;
  position: sticky;
  top: 0;
  z-index: 25;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 18px 0 12px 0;
  justify-content: flex-start;
  flex-wrap: wrap;
}
.main-nav > a {
  padding: 8px 14px;
  font-size: 1rem;
  border-radius: 8px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #314055;
  font-weight: 500;
  transition: color 0.14s, background 0.18s;
}
.main-nav > a.cta-primary {
  margin-left: auto;
  box-shadow: none;
  padding: 0.7em 2em;
}
.main-nav > a:not(.cta-primary):hover {
  background: #e0f7ee;
  color: #77BFA3;
}
.main-nav img {
  height: 38px;
  margin-right: 12px;
}
/* mobile hamburger */
.mobile-menu-toggle {
  display: none;
}
.mobile-menu {
  display: none;
}
@media (max-width: 1050px) {
  .main-nav {
    gap: 16px;
    padding: 14px 0 10px 0;
  }
  .main-nav > a {
    font-size: 0.98rem;
    padding: 6px 7px;
  }
  .main-nav img {
    height: 32px;
    margin-right: 8px;
  }
}
@media (max-width: 900px) {
  .main-nav > a {
    font-size: 0.95rem;
    padding: 6px 3px;
  }
  .main-nav {
    gap: 9px;
  }
}
@media (max-width: 820px) {
  .main-nav > a.cta-primary {
    padding: 0.55em 1.6em;
    font-size: 0.98rem;
  }
}
@media (max-width: 770px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    position: absolute;
    right: 22px;
    top: 19px;
    background: none;
    border: none;
    font-size: 2.2em;
    color: #314055;
    z-index: 40;
    cursor: pointer;
    transition: color 0.16s;
    width: 44px;
    height: 44px;
  }
  .mobile-menu-toggle:focus,
  .mobile-menu-toggle:hover {
    color: #77BFA3;
    outline: none;
  }
  .mobile-menu {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #fff;
    z-index: 99;
    box-shadow: 0 2px 44px 0 rgba(49,64,85,0.22);
    transform: translateX(100%);
    transition: transform 0.34s cubic-bezier(.7,.2,.17,1);
  }
  .mobile-menu.open {
    transform: translateX(0);
  }
  .mobile-menu-close {
    align-self: flex-end;
    background: none;
    border: none;
    font-size: 2.4em;
    color: #314055;
    margin: 18px 22px 12px 0;
    cursor: pointer;
    transition: color 0.14s;
    z-index: 101;
  }
  .mobile-menu-close:focus,
  .mobile-menu-close:hover {
    color: #77BFA3;
    outline: none;
  }
  .mobile-nav {
    display: flex;
    flex-direction: column;
    margin-top: 12px;
    gap: 22px;
    padding: 12px 45px 24px 45px;
  }
  .mobile-nav a {
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    font-size: 1.2rem;
    color: #314055;
    font-weight: 500;
    padding: 12px 2px;
    border-radius: 9px;
    transition: background 0.17s, color 0.17s;
  }
  .mobile-nav a:hover, .mobile-nav a:focus {
    background: #e0f7ee;
    color: #77BFA3;
    outline: none;
  }
}
@media (max-width: 500px) {
  .mobile-nav {
    padding: 6px 20px 16px 20px;
    gap: 13px;
  }
  .mobile-nav a {
    font-size: 1.02rem;
    padding: 9px 2px;
  }
}

/* FOOTER */
footer {
  background: linear-gradient(90deg, #314055 50%, #77BFA3 100%);
  padding: 40px 0 17px 0;
  color: #fff;
  width: 100%;
  margin-top: 70px;
}
.footer-nav {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.footer-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.01rem;
  padding: 6px 14px;
  border-radius: 7px;
  font-weight: 500;
  transition: background 0.13s, color 0.13s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #e0f7ee;
  color: #314055;
}
.footer-info {
  text-align: center;
  color: #d9f4ec;
  font-size: 0.99rem;
  margin-top: 7px;
  letter-spacing: 0.02em;
}

/* RESPONSIVE & FLEX LAYOUTS */
@media (max-width: 1100px) {
  .container {
    max-width: 980px;
  }
}
@media (max-width: 980px) {
  .container {
    max-width: 90vw;
  }
  section {
    padding: 38px 8px;
  }
}
@media (max-width: 768px) {
  h1 {
    font-size: 1.65rem;
  }
  h2 {
    font-size: 1.28rem;
  }
  section {
    padding: 22px 4px;
    margin-bottom: 34px;
  }
  .content-wrapper, .content-grid, .text-image-section {
    gap: 17px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
  }
  .testimonial-card {
    padding: 14px 10px;
  }
  .blog-teaser {
    padding: 15px 8px;
    margin-bottom: 8px;
  }
}
@media (max-width: 520px) {
  .container {
    padding: 0 6px;
  }
  .footer-nav {
    gap: 10px;
  }
  .footer-info {
    font-size: 0.89rem;
  }
}

/* GENERAL SPACING PATTERNS */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.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;
}

/* MICRO-INTERACTIONS and TRANSITIONS */
button, .cta-primary, .main-nav > a, .footer-nav a, .mobile-menu-toggle, .mobile-menu-close, .mobile-nav a {
  transition: background 0.22s, color 0.2s, transform 0.18s, box-shadow 0.21s;
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #314055;
  color: #fff;
  padding: 22px 12px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  z-index: 120;
  box-shadow: 0 -2px 18px 0 rgba(49,64,85,0.12);
  gap: 16px;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  opacity: 1;
  transform: translateY(0);
  transition: transform 0.35s cubic-bezier(0.7,0.2,0.25,1), opacity 0.18s;
}
.cookie-banner.hide {
  opacity: 0;
  transform: translateY(100%);
  pointer-events: none;
}
.cookie-banner .cookie-banner-message {
  flex: 1 0 230px;
  max-width: 540px;
  margin-right: 22px;
}
.cookie-banner .cookie-btn {
  padding: 0.62em 1.4em;
  margin: 0 5px;
  border: none;
  border-radius: 24px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  background: #fff;
  color: #314055;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 1px 7px 0 rgba(49,64,85,0.07);
  font-size: 1rem;
  transition: background 0.16s, color 0.18s, transform 0.18s;
  outline: none;
}
.cookie-banner .cookie-btn:hover, .cookie-banner .cookie-btn:focus {
  background: #77BFA3;
  color: #fff;
  transform: scale(1.045);
}
.cookie-banner .cookie-settings-btn {
  background: #77BFA3;
  color: #fff;
  margin-left: 5px;
}
.cookie-banner .cookie-settings-btn:hover, .cookie-banner .cookie-settings-btn:focus {
  background: #314055;
  color: #77BFA3;
}
@media (max-width: 670px) {
  .cookie-banner {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
    text-align: left;
    padding: 16px 7px;
  }
  .cookie-banner .cookie-banner-message {
    margin-right: 0;
    margin-bottom: 7px;
    max-width: 99vw;
  }
}

/* COOKIE PREFERENCES MODAL */
.cookie-modal-overlay {
  position: fixed;
  z-index: 130;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(49,64,85,0.54);
  display: flex;
  align-items: center;
  justify-content: center;
}
.cookie-modal {
  background: #fff;
  color: #314055;
  border-radius: 16px;
  box-shadow: 0 4px 44px 0 rgba(49,64,85,0.23);
  width: 94vw;
  max-width: 410px;
  padding: 34px 27px 23px 27px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: fadein 0.21s;
  font-family: 'Roboto', Arial, sans-serif;
}
@keyframes fadein {
  from { opacity: 0; transform: scale(0.93); }
  to   { opacity: 1; transform: scale(1); }
}
.cookie-modal h3 {
  font-size: 1.2rem;
  color: #314055;
  margin-bottom: 8px;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 1rem;
}
.cookie-modal input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #77BFA3;
}
.cookie-modal-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 10px;
}
.cookie-modal .modal-btn {
  padding: 0.55em 1.6em;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  border-radius: 24px;
  border: none;
  color: #fff;
  background: #77BFA3;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.16s, color 0.18s;
}
.cookie-modal .modal-btn.reject {
  background: #314055;
  color: #fff;
}
.cookie-modal .modal-btn.accept {
  background: #77BFA3;
  color: #fff;
}
.cookie-modal .modal-btn:focus,
.cookie-modal .modal-btn:hover {
  background: #314055;
  color: #77BFA3;
}

/* MISC STYLES */
dt {
  font-weight: 600;
}
dd {
  margin-bottom: 12px;
  margin-left: 14px;
}

/* ICONS IN LISTS */
ul li img,
li img {
  height: 22px;
  width: 22px;
  margin-right: 9px;
  vertical-align: middle;
  display: inline-block;
}

/* VISUAL HIERARCHY & TYPOGRAPHY */
.text-section ul, .text-section ol {
  margin-bottom: 11px;
}
.text-section strong {
  color: #314055;
  font-weight: 700;
}
strong {
  font-weight: 600;
}

/* FORMS */
input, textarea, select {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  border-radius: 7px;
  border: 1.5px solid #c0e5d3;
  padding: 9px 13px;
  outline: none;
  background: #fcfaf6;
  transition: border-color 0.2s;
}
input:focus, textarea:focus {
  border-color: #77BFA3;
}

/* PRINT/ACCESSIBILITY */
@media print {
  * {
    color: #333 !important;
    background: #fff !important;
    box-shadow: none !important;
  }
  body, html, .container, section, main {
    width: 100%;
    padding: 0 !important;
    margin: 0 !important;
  }
  header, footer, .main-nav, .footer-nav, .mobile-menu, .cookie-banner, .cookie-modal, .mobile-menu-toggle {
    display: none !important;
  }
}

/* REMOVE SPACING FOR LAST ELEMENTS */
.content-wrapper > :last-child, .section > :last-child {
  margin-bottom: 0 !important;
}

/* SCROLLBAR MODERNIZATION */
::-webkit-scrollbar {
  width: 11px;
  background: #e0f7ee;
}
::-webkit-scrollbar-thumb {
  background: #a6e5cf;
  border-radius: 8px;
}
::-webkit-scrollbar-thumb:hover {
  background: #77BFA3;
}

/* HIDE SCROLL ON OVERLAY */
body.menu-open {
  overflow: hidden;
}
