/* 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, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
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;
  font-size: 16px;
  background: #fff;
}
body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  color: #1A4469;
  background: #fff;
  line-height: 1.6;
  font-weight: 400;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #1A4469;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #6BBABF;
  outline: none;
}
ul, ol {
  margin-left: 1.5em;
  margin-bottom: 1.5em;
}
li + li {
  margin-top: 0.5em;
}
strong {
  font-weight: 700;
}
section, .section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: flex-start;
}

/* TYPOGRAPHY */
h1, .hero h1 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #1A4469;
  margin-bottom: 16px;
  line-height: 1.16;
}
h2 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: #1A4469;
}
h3 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 12px;
  color: #1A4469;
}
h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #1A4469;
}
p, ul, ol {
  color: #27364A;
  font-size: 1rem;
  margin-bottom: 1em;
}
p.subheadline {
  font-size: 1.25rem;
  color: #6BBABF;
}

/* BUTTONS */
.btn-primary, .btn-primary:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  background: #1A4469;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 12px 28px;
  font-size: 1rem;
  font-weight: 600;
  box-shadow: 0 2px 16px 0 rgba(26,68,105,0.07);
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s, transform 0.13s;
  margin-top: 12px;
}
.btn-primary:hover, .btn-primary:focus {
  background: #6BBABF;
  color: #1A4469;
  box-shadow: 0 4px 16px 0 rgba(107,186,191,0.09);
  transform: translateY(-1px) scale(1.03);
  outline: none;
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  background: #6BBABF;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 10px 20px;
  font-size: 1rem;
  font-weight: 500;
  box-shadow: 0 2px 8px 0 rgba(106,186,191,0.06);
  cursor: pointer;
  transition: background 0.2s, color 0.15s, transform 0.1s;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #1A4469;
  color: #fff;
  outline: none;
}

.btn-tertiary {
  background: #F2E9D8;
  color: #1A4469;
  border: 1px solid #1A4469;
  border-radius: 6px;
  padding: 10px 18px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 400;
  cursor: pointer;
  margin-left: 8px;
  transition: background 0.18s, color 0.15s;
}
.btn-tertiary:hover, .btn-tertiary:focus {
  background: #1A4469;
  color: #fff;
}

/* HEADER */
header {
  background: #fff;
  position: relative;
  z-index: 30;
  box-shadow: 0 2px 16px -12px rgba(26,68,105,0.05);
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 24px;
}
.logo {
  display: flex;
  align-items: center;
  height: 50px;
}
.logo img {
  height: 40px;
  width: auto;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #1A4469;
  padding: 8px 0;
  font-weight: 500;
  position: relative;
  transition: color 0.16s;
}
.main-nav a::after {
  content: "";
  display: block;
  height: 2px;
  width: 0%;
  background: #6BBABF;
  transition: width 0.2s;
  position: absolute;
  left: 0;
  bottom: 2px;
}
.main-nav a:hover, .main-nav a:focus {
  color: #6BBABF;
}
.main-nav a:hover::after, .main-nav a:focus::after {
  width: 90%;
}
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  color: #1A4469;
  cursor: pointer;
  transition: color 0.2s;
  z-index: 100;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #6BBABF;
}

/* MOBILE MENU */
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(26,68,105,0.97);
  box-shadow: 0 8px 40px 0 rgba(26,68,105,0.15);
  z-index: 9999;
  padding: 36px 28px 28px 28px;
  transform: translateX(-100vw);
  transition: transform 0.35s cubic-bezier(.9,.07,.41,.92);
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2rem;
  color: #fff;
  align-self: flex-end;
  margin-bottom: 24px;
  cursor: pointer;
  transition: color 0.18s;
}
.mobile-menu-close:focus {
  outline: 2px solid #6BBABF;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  width: 100%;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.25rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 18px 0 6px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: color 0.16s;
  outline: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #6BBABF;
}

/* HERO SECTION */
.hero {
  background: #F2E9D8;
  padding: 72px 0 56px 0;
  box-shadow: 0 8px 46px 0 rgba(26,68,105,0.08);
}
.hero .container {
  align-items: center;
  justify-content: center;
  min-height: 340px;
}
.hero .content-wrapper {
  align-items: flex-start;
  text-align: left;
  gap: 20px;
}
.hero h1 {
  color: #1A4469;
  font-size: 2.7rem;
  margin-bottom: 0;
  font-weight: 700;
}
.hero .subheadline {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  color: #6BBABF;
  font-size: 1.2rem;
  margin-bottom: 8px;
}

/* FEATURES FLEX-GRID */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: flex-start;
  align-items: stretch;
  margin-top: 12px;
}
.feature {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  flex: 1 1 220px;
  min-width: 220px;
  max-width: 290px;
  padding: 28px 20px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 24px 0 rgba(26,68,105,0.06);
  transition: box-shadow 0.19s, transform 0.12s;
  margin-bottom: 20px;
}
.feature img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  margin-bottom: 5px;
}
.feature h3 {
  font-size: 1.25rem;
  color: #1A4469;
  margin-bottom: 6px;
}
.feature p {
  font-size: 0.98rem;
  color: #27364A;
}
.feature:hover {
  box-shadow: 0 6px 36px 0 rgba(26,68,105,0.11);
  transform: translateY(-3px) scale(1.02);
}

/* CARD CONTAINER FLEX */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 18px -4px rgba(26,68,105,0.07);
  position: relative;
  margin-bottom: 20px;
  padding: 28px 22px;
  flex: 1 1 300px;
  transition: box-shadow 0.2s, transform 0.13s;
}
.card:hover {
  box-shadow: 0 8px 40px 0 rgba(26,68,105,0.12);
  transform: translateY(-4px);
}

/* FLEX LAYOUTS: CRITICAL REQUIREMENTS */
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 30px;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 16px 0 rgba(26,68,105,0.07);
  margin-bottom: 20px;
  max-width: 600px;
}
.testimonial-card p {
  color: #1A4469;
  font-size: 1.06rem;
  margin-right: 14px;
  line-height: 1.52;
}
.testimonial-card strong {
  color: #6BBABF;
  font-size: 1rem;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 16px;
}

/* LISTS, CONTACT ICONS, ETC */
ul li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  color: #27364A;
  font-size: 1rem;
}
ul li img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

/* FOOTER */
footer {
  background: #F2E9D8;
  padding: 36px 0 18px 0;
  font-size: 0.96rem;
  color: #1A4469;
  box-shadow: 0 -4px 28px 0 rgba(26,68,105,0.07);
}
footer .container {
  align-items: center;
  justify-content: center;
  gap: 18px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.footer-nav a {
  color: #1A4469;
  font-size: 1rem;
  transition: color 0.17s;
}
.footer-nav a:hover,
.footer-nav a:focus {
  color: #6BBABF;
}

footer p {
  color: #1A4469;
  font-size: 0.96rem;
  text-align: center;
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #fff;
  color: #1A4469;
  box-shadow: 0 -4px 40px 0 rgba(26,68,105,0.12);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 24px 16px;
  z-index: 10100;
  font-size: 1rem;
  animation: cookieSlideIn 0.8s cubic-bezier(.9,.07,.41,.92) 1;
}
@keyframes cookieSlideIn {
  from { transform: translateY(80px); opacity: 0.6; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  flex: 1 1 200px;
  margin-right: 20px;
  color: #27364A;
  font-size: 0.99rem;
}
.cookie-banner .cookie-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.cookie-banner .btn-primary {
  padding: 10px 22px;
  font-size: 1rem;
  border-radius: 5px;
}
.cookie-banner .btn-secondary,
.cookie-banner .btn-tertiary {
  border-radius: 5px;
  font-size: 1rem;
  padding: 8px 20px;
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  position: fixed;
  z-index: 10110;
  left: 0; top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(26,68,105,0.33);
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.19s;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 14px;
  max-width: 420px;
  width: 94vw;
  box-shadow: 0 6px 44px 0 rgba(26,68,105,0.17);
  padding: 36px 32px 28px 32px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.cookie-modal h3 {
  margin-bottom: 6px;
  font-size: 1.22rem;
  color: #1A4469;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 15px;
  font-size: 1rem;
  color: #27364A;
}
.cookie-category input[type="checkbox"] {
  accent-color: #6BBABF;
  width: 1.2em;
  height: 1.2em;
  transition: accent-color 0.18s;
}
.cookie-category .always-on {
  font-size: 0.985em;
  color: #6BBABF;
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
  margin-top: 16px;
  justify-content: flex-end;
}
.cookie-modal .btn-primary {
  font-size: 1rem;
  padding: 10px 24px;
}

/* MISC COMPONENTS: SPACING/PATTERN SUPPORT */
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 9px;
}

/* RESPONSIVE BREAKPOINTS (MOBILE-FIRST) */
@media (max-width: 1000px) {
  .container {
    max-width: 98vw;
    padding: 0 10px;
  }
  .content-wrapper {
    max-width: 100vw;
  }
}
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  .main-nav,
  .btn-primary {
    display: none;
  }
  header .container {
    flex-wrap: nowrap;
    gap: 8px;
  }
  .mobile-menu-toggle {
    display: block;
    margin-left: auto;
    background: none;
  }
  .hero {
    padding: 36px 0 16px 0;
  }
  .feature-grid {
    gap: 18px;
  }
  .feature {
    min-width: 96vw;
    max-width: 100vw;
    border-radius: 10px;
    padding: 20px 10px;
  }
  .card-container {
    gap: 14px;
  }
  .content-grid {
    gap: 13px;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 10px;
    padding: 13px;
    max-width: unset;
  }
  .section, section {
    margin-bottom: 38px;
    padding: 24px 4px;
  }
  .footer-nav {
    gap: 12px;
    margin-bottom: 10px;
    flex-wrap: wrap;
  }
  .content-wrapper {
    gap: 19px;
  }
  .cookie-banner {
    flex-direction: column;
    gap: 8px;
    padding: 16px 5px 16px 5px;
    font-size: 0.98rem;
  }
  .cookie-banner p { margin-right: 0; }
  .cookie-modal {
    padding: 24px 8px 18px 8px;
    max-width: 99vw;
    min-width: 0;
    border-radius: 9px;
    font-size: 0.99rem;
  }
  .cookie-modal h3 { font-size: 1.08rem; }
  .cookie-modal-actions {
    flex-direction: column;
    gap: 10px;
    align-items: stretch;
    margin-top: 10px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 15px;
  }
}
@media (max-width: 530px) {
  .hero h1 { font-size: 1.38rem; }
  h1 { font-size: 1.35rem; }
  h2 { font-size: 1.05rem; }
  .feature,
  .card {
    padding: 14px 6px;
    border-radius: 7px;
  }
  .testimonial-card {
    border-radius: 7px;
    padding: 6px;
    margin-bottom: 14px;
  }
  .mobile-menu {
    padding: 21px 5vw 10px 5vw;
  }
}

/* MICRO-INTERACTIONS & TRANSITIONS */
*:focus-visible {
  outline: 2px solid #6BBABF;
  outline-offset: 2px;
}
button, a.btn-primary, a.btn-secondary, a.btn-tertiary {
  transition: background 0.16s, color 0.14s, box-shadow 0.16s, border-color 0.18s, transform 0.1s;
}
input, textarea, select {
  font-family: inherit;
}

/* UTILITIES */
.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }
.mb-20 { margin-bottom: 20px; }
.mb-40 { margin-bottom: 40px; }
.text-center { text-align: center; }

/* HIDE ON MOBILE/Desktop */
@media (max-width: 768px) {
  .hide-mobile { display: none !important; }
}
@media (min-width: 769px) {
  .hide-desktop { display: none !important; }
}

/* Z-INDEXes */
header {
  z-index: 30;
}
.mobile-menu {
  z-index: 9999;
}
.cookie-banner {
  z-index: 10100;
}
.cookie-modal-overlay {
  z-index: 10110;
}

/* END */
