/* ==== CSS RESET & NORMALIZE ==== */
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, main, 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;
}
html {
  scroll-behavior: smooth;
  background: #fff;
}
body {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  color: #223040;
  background: #fff;
  min-height: 100vh;
  line-height: 1.6;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #275686;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #17A276;
  outline: none;
}
ul, ol {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}
b, strong {
  font-weight: 700;
}
hr {
  border: none;
  border-top: 1px solid #ececec;
  margin: 32px 0;
}

/* ==== TYPOGRAPHY ==== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  color: #223040;
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
h1 {
  font-size: 2.4rem;
  margin-bottom: 16px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}
h4 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}
p, .subheadline {
  font-size: 1rem;
  margin-bottom: 16px;
}
.subheadline {
  color: #446487;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1.15rem;
}
small {
  font-size: 0.93rem;
  color: #7e8c9c;
}

/* ==== GENERAL LAYOUT ==== */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 0;
}

section {
  padding: 40px 0;
  background: #fff;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
/* Card containers and flex layouts */
.card-container, .feature-grid, .card-grid, .content-grid, .footer-nav, .footer-social, .footer-newsletter, .testimonial-slider, .testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card, .feature-item, .testimonial-card {
  margin-bottom: 20px;
  position: relative;
}
.feature-grid, .features .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.features .content-wrapper ul,
.services .content-wrapper ul {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.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;
  background: #F7F7F7;
  padding: 28px 28px 24px 32px;
  border-radius: 18px;
  border: 1px solid #ececec;
  box-shadow: 0 2px 12px rgba(60,80,100,0.05);
  margin-bottom: 20px;
  min-width: 220px;
  max-width: 360px;
  transition: box-shadow 0.2s, transform 0.18s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 28px rgba(39,86,134,0.08);
  transform: translateY(-2px) scale(1.01);
}
.testimonial-slider, .testimonial-list {
  justify-content: flex-start;
  gap: 24px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 24px 20px 22px 23px;
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(39,86,134,0.03);
  flex-basis: 250px;
  min-width: 210px;
  max-width: 300px;
  transition: box-shadow 0.2s, border-color 0.18s;
}
.feature-item:hover {
  border-color: #17A276;
  box-shadow: 0 4px 18px rgba(23,162,118,0.08);
}
.feature-item img {
  width: 34px;
  height: 34px;
  margin-bottom: 0;
}

.hero {
  background: #F7F7F7;
  min-height: 320px;
  display: flex;
  align-items: center;
}
.hero .container {
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero .content-wrapper {
  gap: 14px;
  align-items: flex-start;
}

/* ==== BUTTONS ==== */
.cta-btn,
.cta-btn-secondary,
button,
input[type="submit"] {
  appearance: none;
  outline: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 26px;
  min-height: 48px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.08rem;
  border-radius: 28px;
  border: none;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background 0.22s, color 0.18s, box-shadow 0.16s, border 0.16s;
  margin-top: 10px;
  text-align: center;
  text-decoration: none;
}
.cta-btn {
  background: #275686;
  color: #fff;
  box-shadow: 0 1px 6px rgba(39,86,134,0.08);
}
.cta-btn:hover, .cta-btn:focus {
  background: #17A276;
  color: #fff;
  box-shadow: 0 4px 14px rgba(23,162,118,0.10);
}
.cta-btn-secondary {
  background: #fff;
  color: #275686;
  border: 1.5px solid #17A276;
  font-weight: 700;
}
.cta-btn-secondary:hover, .cta-btn-secondary:focus {
  background: #17A276;
  color: #fff;
}
button {
  background: #275686;
  color: #fff;
  border: none;
}
button:hover, button:focus {
  background: #17A276;
  color: #fff;
}

/* ==== NAV ==== */
header {
  background: #fff;
  border-bottom: 1px solid #ececec;
  position: sticky;
  top: 0;
  z-index: 12;
}
header .container {
  min-height: 72px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  justify-content: space-between;
}
header a img {
  height: 44px;
  width: auto;
}
.main-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 22px;
}
.main-nav a {
  color: #223040;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  position: relative;
  padding: 4px 0;
  transition: color 0.17s;
}
.main-nav a:after {
  content: '';
  display: block;
  height: 2px;
  width: 0;
  background: #17A276;
  border-radius: 1px;
  transition: width 0.18s;
  margin-top: 2px;
}
.main-nav a:hover:after, .main-nav a:focus:after {
  width: 90%;
}
.main-nav a:hover, .main-nav a:focus {
  color: #17A276;
}
.mobile-menu-toggle {
  display: none;
  background: none;
  color: #275686;
  font-size: 2rem;
  border: none;
  margin-left: 6px;
  padding: 7px 14px;
  line-height: 1;
  cursor: pointer;
  border-radius: 8px;
  z-index: 41;
  transition: background 0.16s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #F7F7F7;
  color: #17A276;
  outline: none;
}

/* ==== MOBILE MENU ==== */
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #fff;
  z-index: 50;
  transform: translateX(-100%);
  transition: transform 0.33s cubic-bezier(.45,.01,.35,1);
  padding: 0;
  box-shadow: 0 18px 44px rgba(39,86,134,0.09);
  overflow-y: auto;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2.2rem;
  background: none;
  color: #223040;
  border: none;
  align-self: flex-end;
  margin: 16px 20px 0 0;
  cursor: pointer;
  padding: 6px 14px;
  border-radius: 8px;
  z-index: 61;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #F7F7F7;
  color: #17A276;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  margin: 40px 0 0 0;
  gap: 20px;
  align-items: flex-start;
  padding-left: 36px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.35rem;
  color: #223040;
  font-weight: 500;
  padding: 10px 0;
  transition: color 0.19s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #17A276;
}
/* ===== Banner & Modal ===== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  background: #fff;
  border-top: 1.5px solid #ececec;
  box-shadow: 0 -4px 12px rgba(39, 86, 134, 0.10);
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
  justify-content: center;
  width: 100vw;
  min-height: 64px;
  z-index: 99;
  padding: 17px 5vw 17px 5vw;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  color: #223040;
  opacity: 1;
  transition: opacity 0.22s, transform 0.27s;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(60px);
}
.cookie-banner .cookie-banner-content {
  flex: 1 1 400px;
  min-width: 170px;
}
.cookie-banner .cookie-btns {
  display: flex;
  flex-direction: row;
  gap: 18px;
}
.cookie-btn-accept {
  background: #17A276;
  color: #fff;
  border: none;
  padding: 0 22px;
  min-height: 42px;
  border-radius: 7px;
  font-weight: 600;
  font-size: 1rem;
  box-shadow: 0 1px 6px rgba(23,162,118,0.05);
  transition: background 0.18s;
}
.cookie-btn-accept:hover, .cookie-btn-accept:focus {
  background: #275686;
}
.cookie-btn-reject {
  background: #fff;
  color: #17A276;
  border: 1.2px solid #17A276;
  padding: 0 18px;
  min-height: 42px;
  border-radius: 7px;
  font-weight: 600;
  font-size: 1rem;
  transition: background 0.16s, color 0.16s;
}
.cookie-btn-reject:hover, .cookie-btn-reject:focus {
  background: #17A276;
  color: #fff;
}
.cookie-btn-settings {
  background: none;
  color: #275686;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  min-height: 42px;
  padding: 0 8px;
  border-radius: 5px;
  transition: background 0.12s;
}
.cookie-btn-settings:hover, .cookie-btn-settings:focus {
  background: #F7F7F7;
  color: #17A276;
}

/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed;
  left:0; top:0; right:0; bottom:0;
  background: rgba(39, 86, 134, 0.19);
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.21s;
  opacity: 1;
}
.cookie-modal-overlay.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #fff;
  border-radius: 15px;
  padding: 32px 24px 24px 28px;
  min-width: 300px;
  max-width: 400px;
  box-shadow: 0 8px 44px rgba(39,86,134,0.12);
  font-family: 'Open Sans', Arial, sans-serif;
  color: #223040;
  display: flex;
  flex-direction: column;
  gap: 18px;
  z-index: 130;
}
.cookie-modal h3 {
  font-size: 1.35rem;
  margin-bottom: 9px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.cookie-switch {
  width: 38px;
  height: 22px;
  background: #ececec;
  border-radius: 13px;
  position: relative;
  cursor: pointer;
  transition: background 0.17s;
}
.cookie-switch input[type="checkbox"] {
  visibility: hidden;
  width: 0; height: 0;
}
.cookie-switch-slider {
  position: absolute;
  left: 3px; top: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(39,86,134,0.04);
  transition: left 0.18s, background 0.18s;
}
.cookie-switch input:checked + .cookie-switch-slider {
  left: 19px;
  background: #17A276;
}
.cookie-category.essential {
  opacity: 0.6;
  font-style: italic;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 18px;
  margin-top: 6px;
  justify-content: flex-end;
}

/* ===== FOOTER ===== */
footer {
  background: #F7F7F7;
  padding: 44px 0 32px 0;
  border-top: 1.5px solid #ececec;
}
footer .container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
}
.footer-brand {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 13px;
  margin-bottom: 10px;
  min-width: 220px;
}
.footer-brand img {
  width: 38px;
  height: 38px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 180px;
  flex: 1 1 180px;
}
.footer-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #223040;
  font-weight: 500;
  opacity: 0.85;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #17A276;
}
.footer-social {
  display: flex;
  flex-direction: row;
  gap: 14px;
  align-items: center;
  margin-bottom: 2px;
}
.footer-social a img {
  width: 28px;
  height: 28px;
}
.footer-newsletter {
  display: flex;
  flex-direction: column;
  gap: 7px;
  align-items: flex-start;
  min-width: 200px;
}
.footer-newsletter p {
  margin-bottom: 0;
}

/* ===== CONTACT DETAILS ===== */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-size: 1.08rem;
}
.contact-details li {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 13px;
  color: #223040;
  font-weight: 500;
}
.contact-details li img {
  width: 22px; height: 22px;
}
.map-placeholder {
  margin-top: 26px;
  background: #F7F7F7;
  border: 1.2px solid #ececec;
  border-radius: 13px;
  padding: 18px 22px 13px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}

/* ===== LISTS ===== */
.features .content-wrapper ul,
.services .content-wrapper ul,
.legal .content-wrapper ul {
  padding-left: 0;
  font-size: 1rem;
}
.features .content-wrapper ul li,
.services .content-wrapper ul li,
.legal .content-wrapper ul li {
  margin-bottom: 13px;
  position: relative;
  padding-left: 0px;
  color: #223040;
  line-height: 1.5;
  background: none;
}
.features .content-wrapper ul li strong,
.services .content-wrapper ul li strong,
.legal .content-wrapper ul li strong {
  color: #223040;
  font-weight: 700;
}

/* ===== LEGAL PAGE ===== */
.legal {
  background: #fff;
  padding: 50px 0 50px 0;
}
.legal .container {
  max-width: 770px;
}
.legal h1, .legal h2 {
  color: #275686;
}
.legal .content-wrapper {
  gap: 18px;
}

/* ===== UTILITIES ===== */
@media (max-width: 1280px) {
  .container { max-width: 96vw; }
}
@media (max-width: 1024px) {
  .features .content-wrapper, .feature-grid, .testimonial-slider, .testimonial-list, .footer-nav {
    gap: 14px;
  }
  .feature-item {
    min-width: 180px;
    max-width: 48vw;
  }
  .testimonial-card {
    max-width: 340px;
  }
  .footer-nav {
    flex-direction: column;
    flex: 1 1 150px;
  }
  footer .container {
    flex-wrap: wrap;
    flex-direction: row;
    gap: 32px;
  }
}
@media (max-width: 900px) {
  .feature-item {
    min-width: 170px;
    max-width: 98vw;
    flex-basis: 48vw;
  }
  .testimonial-card {
    max-width: 320px; min-width: 170px;
  }
  .footer-nav, .footer-social, .footer-brand, .footer-newsletter {
    min-width: 140px;
  }
  .footer-brand img { height: 30px; width: 30px; }
}
@media (max-width: 768px) {
  .container {
    padding-left: 9px;
    padding-right: 9px;
  }
  .content-wrapper, .features .content-wrapper ul, .services .content-wrapper ul {
    gap: 13px;
  }
  .feature-grid, .features .content-wrapper {
    flex-direction: column;
    gap: 13px;
  }
  .feature-item {
    min-width: 120px;
    max-width: 97vw;
    width: 100%;
    padding: 18px 12px 14px 15px;
  }
  .feature-item img {
    width: 28px;
    height: 28px;
  }
  .testimonial-slider, .testimonial-list {
    flex-direction: column;
    gap: 14px;
  }
  .testimonial-card { max-width: 98vw; }
  header .container {
    flex-direction: row;
    gap: 7px;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-flex;
  }
  /* Footer */
  footer .container {
    flex-direction: column;
    gap: 18px;
  }
  .footer-brand, .footer-nav, .footer-social, .footer-newsletter {
    min-width: 0; max-width: 100vw;
  }
}
@media (max-width: 540px) {
  h1 { font-size: 1.65rem; }
  h2 { font-size: 1.25rem; }
  h3 { font-size: 1.05rem; }
  .hero { min-height: 180px; }
  .hero .container { min-height: 120px; }
  .cookie-banner {
    flex-direction: column;
    gap: 16px;
    padding: 15px 5vw 15px 5vw;
    font-size: 0.96rem;
  }
  .cookie-banner .cookie-btns {
    gap: 11px;
  }
  .cookie-modal {
    min-width: 90vw; max-width: 98vw;
    padding: 22px 7vw;
  }
  .footer-newsletter .cta-btn-secondary {
    width: 100%;
  }
}

/* ========= MICRO-INTERACTIONS ========= */
a, .cta-btn, .cta-btn-secondary, button, .feature-item, .testimonial-card, .mobile-menu-toggle, .cookie-btn-accept, .cookie-btn-reject, .cookie-btn-settings {
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, border-color 0.14s, transform 0.16s;
}
.cta-btn:active, .cta-btn-secondary:active, .feature-item:active, .testimonial-card:active, .mobile-menu-toggle:active, .cookie-btn-accept:active, .cookie-btn-reject:active, .cookie-btn-settings:active {
  transform: scale(0.98);
}

/* =================== END =================== */
/* All layout containers use flexbox only. No grid/columns used. */
