/* RESET & BASE STYLES */
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;
}
body {
  background: #FFFFFF;
  color: #222;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.7;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  text-decoration: none;
  color: #21738C;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #155767;
  outline: none;
}
ul, ol {
  padding-left: 24px;
}
li {
  margin-bottom: 8px;
}
::-webkit-input-placeholder { color: #999; }
:-ms-input-placeholder { color: #999; }
::placeholder { color: #999; }

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #1B2831;
  margin-bottom: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
h1 { font-size: 2.5rem; margin-bottom: 20px; }
h2 { font-size: 2rem; margin-bottom: 18px; }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.15rem; }
h5, h6 { font-size: 1rem; }
.subheadline {
  color: #666;
  font-size: 1.22rem;
  margin-bottom: 24px;
}
p {
  font-size: 1rem;
  margin-bottom: 12px;
  color: #2D3740;
}
small {
  font-size: 0.93em;
  color: #435169;
}
strong {
  font-weight: 600;
  color: #21738C;
}

/* CONTAINER & LAYOUT */
.container {
  width: 100%;
  max-width: 1070px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 10px 0 rgba(30,60,78,0.06);
  margin-bottom: 20px;
  position: relative;
  padding: 28px 22px 24px 22px;
  display: flex;
  flex-direction: column;
  min-width: 220px;
  flex: 1 1 250px;
  transition: box-shadow 0.17s;
}
.card:hover {
  box-shadow: 0 4px 20px 0 rgba(30,60,78,0.12);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

.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;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #F7FBFC;
  border-radius: 12px;
  padding: 24px 18px;
  box-shadow: 0 2px 8px 0 rgba(33,115,140,0.03);
}

.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-top: 0;
}
.features-grid > div {
  background: #F7FBFC;
  border-radius: 12px;
  padding: 28px 18px 22px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  box-shadow: 0 1px 6px 0 rgba(33,115,140,0.05);
  min-width: 190px;
  flex: 1 1 200px;
  transition: box-shadow 0.15s;
}
.features-grid > div:hover {
  box-shadow: 0 3px 18px 0 rgba(33,115,140,0.11);
}
.features-grid img {
  width: 36px;
  height: 36px;
  margin-bottom: 10px;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  background: #F7FBFC;
  border-radius: 12px;
  box-shadow: 0 2px 8px 0 rgba(33,115,140,0.10);
  color: #19314b;
  font-size: 1.07rem;
  max-width: 480px;
  width: 100%;
}
.testimonial-card small {
  align-self: flex-end;
  color: #21738C;
  font-style: italic;
}

/* BUTTONS & CALL TO ACTION */
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #21738C;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding: 12px 30px;
  border: none;
  border-radius: 22px;
  box-shadow: 0 1px 10px 0 rgba(33,115,140,0.10);
  font-weight: bold;
  cursor: pointer;
  text-align: center;
  margin: 14px 0 0 0;
  transition: background 0.15s, box-shadow 0.15s, color 0.2s;
  outline: none;
  min-width: 140px;
}
.cta-btn:hover, .cta-btn:focus {
  background: #155767;
  color: #fff;
}
button, .button {
  font-family: inherit;
  font-size: 1rem;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
}

/* HEADER/NAVIGATION */
header {
  background: #ffffff;
  border-bottom: 1px solid #EFF4F7;
  position: relative;
  z-index: 100;
}
header .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  gap: 18px;
}
.logo img {
  height: 44px;
  width: auto;
  display: block;
}
nav {
  display: flex;
  flex-direction: row;
  gap: 24px;
}
nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #21738C;
  padding: 6px 8px;
  border-radius: 14px;
  transition: background 0.17s, color 0.17s;
}
nav a:hover, nav a:focus {
  background: #AEE6EF;
  color: #174D5C;
}
header .cta-btn, header .cta-btn:visited {
  margin-left: 14px;
}

/* MOBILE MENU */
.mobile-menu-toggle {
  background: #fff;
  color: #21738C;
  border: 1px solid #AEE6EF;
  border-radius: 50%;
  padding: 8px 15px;
  font-size: 1.5rem;
  display: none;
  margin-left: 18px;
  transition: background 0.15s, color 0.15s;
  z-index: 101;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #F7FBFC;
  color: #155767;
}
.mobile-menu {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  box-shadow: 0 0 42px rgba(33,115,140,0.11);
  z-index: 99999;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.66, 0, 0.19, 1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 24px;
  right: 26px;
  background: #AEE6EF;
  color: #155767;
  font-size: 2rem;
  border: none;
  padding: 6px 13px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 100;
  transition: background 0.12s, color 0.12s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #21738C;
  color: #fff;
}
.mobile-nav {
  margin-top: 80px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  align-items: flex-start;
  padding-left: 44px;
}
.mobile-nav a {
  font-family: 'Montserrat',Arial,sans-serif;
  font-size: 1.12rem;
  color: #21738C;
  padding: 10px 0;
  border-radius: 8px;
  width: 100%;
  transition: background 0.17s, color 0.17s;
}
.mobile-nav a:active, .mobile-nav a:focus, .mobile-nav a:hover {
  background: #AEE6EF;
  color: #155767;
}

/* FOOTER */
footer {
  background: #F7FBFC;
  padding: 32px 0 24px 0;
  border-top: 1px solid #EFF4F7;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
}
footer nav {
  display: flex;
  flex-direction: row;
  gap: 20px;
  margin-bottom: 8px;
}
footer nav a {
  color: #19314b;
  font-size: 0.98rem;
  padding: 2px 6px;
  border-radius: 12px;
  transition: background 0.14s, color 0.14s;
}
footer nav a:hover, footer nav a:focus {
  background: #AEE6EF;
  color: #21738C;
}
footer div {
  font-size: 0.95rem;
  color: #425468;
}

/* COOKIES BANNER */
.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 100%;
  max-width: 510px;
  background: #fff;
  border-radius: 20px 20px 0 0;
  box-shadow: 0 -2px 24px 0 rgba(33, 115, 140, 0.13);
  padding: 22px 24px 18px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  z-index: 1000000;
  animation: cookieSlideUp 0.7s cubic-bezier(0.67,0,0.19,1) 0.1s;
}
@keyframes cookieSlideUp {
  from { transform: translateY(140%) translateX(-50%); opacity: 0; }
  to   { transform: translateY(0) translateX(-50%); opacity: 1; }
}
.cookie-banner-buttons {
  display: flex;
  flex-direction: row;
  gap: 12px;
  margin-top: 6px;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.98rem;
  border: none;
  border-radius: 16px;
  padding: 8px 20px;
  cursor: pointer;
  margin: 0;
  min-width: 98px;
  transition: background 0.15s, color 0.15s;
}
.cookie-banner .cookie-accept {
  background: #21738C;
  color: #fff;
  font-weight: 600;
}
.cookie-banner .cookie-accept:hover, .cookie-banner .cookie-accept:focus {
  background: #155767;
}
.cookie-banner .cookie-reject {
  background: #EFF4F7;
  color: #155767;
}
.cookie-banner .cookie-reject:hover, .cookie-banner .cookie-reject:focus {
  background: #AEE6EF;
}
.cookie-banner .cookie-settings {
  background: transparent;
  color: #21738C;
  text-decoration: underline dotted;
}
.cookie-banner .cookie-settings:hover, .cookie-banner .cookie-settings:focus {
  color: #155767;
  text-decoration: underline solid;
}

/* COOKIE BANNER MODAL */
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0; width: 100vw; height:100vh;
  background: rgba(33, 115, 140, 0.15);
  z-index: 1000001;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cookie-modal {
  background: #fff;
  border-radius: 18px;
  padding: 34px 23px 26px 23px;
  min-width: 320px;
  max-width: 94vw;
  box-shadow: 0 14px 32px rgba(33,115,140,0.18);
  animation: cookieFadeIn 0.34s;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}
@keyframes cookieFadeIn {
  from { opacity: 0; transform: scale(0.97); }
  to { opacity: 1; transform: scale(1); }
}
.cookie-modal-header {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.18rem;
  font-weight: 600;
  color: #21738C;
  margin-bottom: 10px;
}
.cookie-modal-categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 14px;
}
.cookie-modal-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 0;
}
.cookie-modal-category label {
  font-size: 1.01rem;
  color: #19314b;
}
.cookie-modal-category input[type="checkbox"] {
  accent-color: #21738C;
  width: 18px;
  height: 18px;
}
.cookie-modal .essential {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #155767;
  font-weight: 500;
  opacity: 0.85;
}
.cookie-modal-buttons {
  display: flex;
  flex-direction: row;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 8px;
}
.cookie-modal .cookie-save-btn {
  background: #21738C;
  color: #fff;
  border-radius: 14px;
  border: none;
  font-size: 1rem;
  padding: 8px 22px;
  font-weight: 500;
  transition: background 0.13s;
}
.cookie-modal .cookie-save-btn:hover, .cookie-modal .cookie-save-btn:focus {
  background: #155767;
}
.cookie-modal .cookie-cancel-btn {
  background: #EFF4F7;
  color: #155767;
  border-radius: 14px;
  border: none;
  font-size: 1rem;
  padding: 8px 20px;
}
.cookie-modal .cookie-cancel-btn:hover, .cookie-modal .cookie-cancel-btn:focus {
  background: #AEE6EF;
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  top: 13px; right: 13px;
  font-size: 1.3rem;
  background: none;
  border: none;
  color: #19314b;
  cursor: pointer;
  padding: 3px 7px;
  border-radius: 50%;
  transition: background 0.14s;
}
.cookie-modal .cookie-modal-close:hover, .cookie-modal .cookie-modal-close:focus {
  background: #AEE6EF;
}

/* DL, FAQ STYLE */
dl {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 12px;
}
dt {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: #21738C;
  margin-bottom: 2px;
}
dd {
  padding-left: 8px;
  margin-bottom: 6px;
  color: #2D3740;
}

/* ARTICLE, BLOG */
article {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 1px 6px 0 rgba(33,115,140,0.07);
  padding: 24px 16px 18px 16px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 13px;
}
article h3 {
  margin-bottom: 7px;
  font-size: 1.18rem;
}
article a {
  align-self: flex-start;
  font-size: 0.98rem;
  color: #21738C;
  text-decoration: underline;
  margin-top: 2px;
}
article a:after { content: ''; }
article a:hover, article a:focus {
  color: #155767;
  text-decoration: underline solid;
}

/* UTILITIES & MICRO-INTERACTIONS */
@media (hover: hover) and (pointer: fine) {
  .card, .features-grid > div, .testimonial-card {
    transition: box-shadow 0.16s, transform 0.13s;
  }
  .card:hover, .features-grid > div:hover {
    transform: translateY(-3px) scale(1.015);
  }
  .testimonial-card:hover {
    box-shadow: 0 4px 20px 0 rgba(33,115,140,0.14);
  }
}

/* SPACING FOR SECTIONS & COMPONENTS */
section {
  margin-bottom: 40px;
}
section:last-child {
  margin-bottom: 0;
}
.content-wrapper > *:not(:last-child) {
  margin-bottom: 12px;
}

/* CUSTOM FLEX LAYOUTS */
.card-container, .card-grid, .features {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card-grid {
  justify-content: space-between;
}

/* RESPONSIVE DESIGN: MOBILE-FIRST */

@media (max-width: 1020px) {
  .container {
    max-width: 98vw;
  }
  .features-grid > div {
    min-width: 130px;
    flex: 1 1 40%;
  }
  .card {
    min-width: 160px;
    flex: 1 1 40%;
  }
}
@media (max-width: 870px) {
  .content-grid, .features-grid, .card-container, .card-grid {
    flex-wrap: wrap;
    gap: 18px;
    justify-content: flex-start;
  }
  nav, footer nav {
    gap: 16px;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.4rem; }
  .container {
    padding: 0 10px;
  }
  .section {
    padding: 32px 10px;
    margin-bottom: 36px;
  }
  .features-grid > div, .card {
    min-width: 100%;
    flex: 1 1 100%;
    padding: 20px 12px 16px 12px;
  }
  .features-grid { gap: 16px; }
  .card-container, .content-grid, .card-grid, .features {
    gap: 16px;
  }
  .testimonial-card {
    padding: 14px 10px;
    max-width: 97vw;
  }
  .mobile-menu-toggle {
    display: block;
  }
  nav {
    display: none;
  }
  header .cta-btn {
    display: none;
  }
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .text-image-section, .content-grid {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}
@media (max-width: 520px) {
  .section { padding: 22px 3vw; }
  h1 { font-size: 1.4rem; }
  .cookie-banner { padding: 17px 3vw 10px 3vw; }
  .cookie-modal { padding: 16px 4vw 14px 4vw; }
  .features-grid > div, .testimonial-card, .card {
    padding: 12px 6px 13px 6px;
  }
}

/* ACCESSIBILITY & FOCUS */
a, button, .cta-btn, .mobile-menu-toggle, .mobile-menu-close, .cookie-banner button {
  outline: none;
  box-shadow: none;
}
a:focus-visible, button:focus-visible, .cta-btn:focus-visible, .mobile-menu-toggle:focus-visible, .mobile-menu-close:focus-visible {
  outline: 2px solid #AEE6EF;
  outline-offset: 2px;
}

/* GENERAL FORM/INPUT (REQUIRED FOR COOKIES) */
input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #21738C;
  vertical-align: middle;
}
label { cursor: pointer; }

/* END */
