/* === 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, 
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 {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  line-height: 1.5;
  background: #F2F2F2;
  color: #22577A;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* === BRAND FONTS === */
@import url('https://fonts.googleapis.com/css?family=Mulish:700,900|Open+Sans:400,600,700&display=swap');
h1, h2, h3, h4, h5, h6 {
  font-family: 'Mulish', Arial, sans-serif;
  color: #22577A;
  letter-spacing: -0.01em;
}
h1 {
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 16px;
}
h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 12px;
}
h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 10px;
}
h4, h5, h6 {
  font-weight: 700;
}
p, ul, ol, table, blockquote {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  color: #194965;
  margin-bottom: 16px;
}
strong {
  font-weight: 700;
}

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

section {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 14px 0 rgba(34,87,122,0.06);
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* === FLEXBOX LAYOUT PATTERNS === */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px 0 rgba(34,87,122,0.10);
  padding: 24px;
  min-width: 260px;
  flex: 1 1 300px;
}
.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;
  background: #F2F8FB;
  border-radius: 12px;
  box-shadow: 0 2px 10px 0 rgba(34,87,122,0.05);
  margin-bottom: 20px;
  position: relative;
  color: #18415B;
}
.testimonial-card blockquote {
  color: #17446D;
  font-size: 1.1rem;
  font-style: italic;
  margin: 0;
  line-height: 1.3;
}
.testimonial-card span {
  color: #22577A;
  font-size: 0.96rem;
  font-weight: 600;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* === BUTTONS & CALL-TO-ACTION === */
.cta-btn, .cta-btn:link, .cta-btn:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #299868;
  color: #fff;
  padding: 13px 32px;
  border-radius: 24px;
  font-family: 'Mulish', Arial, sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 12px 0 rgba(41,152,104,0.08);
  text-decoration: none;
  transition: background 0.18s, transform 0.18s, box-shadow 0.18s;
  margin: 10px 0 0 0;
}
.cta-btn:hover, .cta-btn:focus {
  background: #22577A;
  color: #fff;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 4px 16px 0 rgba(34,87,122,0.13);
}

/* === NAVIGATION === */
header {
  background: #fff;
  box-shadow: 0 2px 18px 0 rgba(34,87,122,0.04);
  border-bottom: 1px solid #EBEFF4;
  position: sticky;
  top: 0; left: 0; right: 0;
  z-index: 90;
}
.logo {
  display: flex;
  align-items: center;
  height: 58px;
}
.logo img {
  height: 40px;
  width: auto;
  display: block;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
}
.main-nav a {
  color: #22577A;
  font-family: 'Mulish', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 8px 10px;
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.17s, color 0.17s;
}
.main-nav a:hover, .main-nav a.active {
  background: #F2F8FB;
  color: #299868;
}
.main-nav .cta-btn {
  margin-left: 12px;
  font-size: 1rem;
}

/* === NAV AND MAIN HEADER LAYOUT === */
header .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 10px 20px;
  gap: 18px;
}

/* === MOBILE NAVIGATION === */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.0rem;
  color: #22577A;
  margin-left: 18px;
  cursor: pointer;
  transition: color 0.2s;
  z-index: 200;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  color: #299868;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  right: 0;
  background: rgba(34,87,122, 0.97);
  color: #fff;
  z-index: 200;
  transform: translateX(100%);
  transition: transform 0.36s cubic-bezier(.63,.01,.37,1.05);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 18px;
  right: 22px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  padding: 8px;
  z-index: 220;
  transition: color 0.19s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #57CC99;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 65px;
  width: 100%;
  padding-left: 28px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.24rem;
  font-family: 'Mulish', Arial, sans-serif;
  font-weight: 700;
  text-decoration: none;
  padding: 14px 0;
  margin-bottom: 6px;
  border-radius: 8px;
  min-width: 90vw;
  transition: background 0.17s, color 0.17s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #299868;
  color: #fff;
}

/* === FOOTER === */
footer {
  background: #fff;
  border-top: 1px solid #EBEFF4;
  margin-top: 80px;
  padding: 30px 0 10px 0;
  font-size: 1rem;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 10px;
  color: #22577A;
}
.footer-nav a {
  color: #17446D;
  text-decoration: underline dotted;
  font-family: 'Mulish', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  transition: color 0.16s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #299868;
  text-decoration: underline solid;
}
.contact-info {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  color: #194965;
  font-size: 0.98rem;
}

/* === TABLES FOR PRODUCT COMPARISON === */
table {
  width: 100%;
  border-collapse: collapse;
  background: #F2F8FB;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 28px;
  color: #215376;
}
thead {
  background: #22577A;
  color: #fff;
}
thead th {
  font-family: 'Mulish', Arial, sans-serif;
  font-weight: 800;
  padding: 14px 10px;
}
tbody td {
  padding: 13px 10px;
  border-top: 1px solid #e2e8ee;
  font-size: 1rem;
}
table tr:nth-child(even) td {
  background: #F6FAFD;
}

/* === LINKS === */
a {
  color: #22577A;
  text-decoration: underline dotted #299868 1.5px;
  transition: color 0.18s, text-decoration 0.15s;
}
a:hover, a:focus {
  color: #299868;
  text-decoration: underline solid #299868 2px;
}

/* === LISTS/STYLES === */
ul, ol {
  padding-left: 20px;
  margin-bottom: 18px;
}
li {
  margin-bottom: 8px;
  line-height: 1.55;
}

/* === GENERAL INTERACTION EFFECTS === */
button:focus,
a:focus {
  outline: 3px solid #57CC99;
  outline-offset: 2px;
}

/* === CARDS SPECIFIC === */
.card h3, .card h4 {
  margin-top: 4px;
}
.card span {
  color: #299868;
  font-weight: 700;
}

/* === RESPONSIVE BREAKPOINTS === */
@media (max-width: 1023px) {
  h1 { font-size: 2rem; }
  .container { max-width: 95vw; }
}
@media (max-width: 900px) {
  .main-nav { gap: 14px; }
  .testimonial-card { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 768px) {
  .container { max-width: 100vw; padding: 0 10px; }
  .section, section { padding: 28px 8px; margin-bottom: 38px; }
  .card { min-width: 100%; padding: 16px; margin-bottom: 16px; }
  .content-wrapper { gap: 16px; }
  .content-grid, .card-container { flex-direction: column; gap: 12px; }
  .footer-nav, .contact-info { flex-direction: column; gap: 10px; align-items: center; }
  .text-image-section { flex-direction: column; gap: 18px; }
  .main-nav { display: none; }
  .mobile-menu-toggle { display: inline-block; }
}
@media (max-width: 540px) {
  h1 { font-size: 1.4rem; }
  h2 { font-size: 1.2rem; }
}

/* === COOKIE CONSENT BANNER === */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  width: 100vw;
  background: #22405B;
  color: #fff;
  box-shadow: 0 -4px 24px 0 rgba(34,87,122,0.13);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  z-index: 500;
  padding: 22px 28px;
  font-size: 1rem;
  animation: cookieSlideIn 0.8s cubic-bezier(.7,1.5,.31,1) 1;
  gap: 24px;
}
@keyframes cookieSlideIn {
  0% { transform: translateY(120%); opacity: 0; }
  50% { opacity: 1; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner-message {
  flex: 1 1 230px;
  color: #fff;
  margin-right: 8px;
}
.cookie-banner-actions {
  display: flex; flex-direction: row; gap: 14px;
}
.cookie-btn {
  padding: 11px 26px;
  background: #299868;
  color: #fff;
  border: none;
  border-radius: 18px;
  font-family: 'Mulish', Arial, sans-serif;
  font-weight: bold;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, transform 0.15s;
  margin: 0;
}
.cookie-btn.reject {
  background: #E5E9EC;
  color: #22577A;
}
.cookie-btn.settings {
  background: #22577A;
  color: #fff;
  border: 2px solid #299868;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #194965;
  color: #fff;
  transform: scale(1.045);
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #D4D9DE;
  color: #22577A;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #299868;
  color: #fff;
}
@media (max-width: 650px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 10px;
    gap: 12px;
  }
  .cookie-banner-message { margin-right: 0; }
  .cookie-banner-actions {
    flex-direction: column;
    gap: 9px;
    width: 100%;
  }
}

/* === COOKIE PREFERENCES MODAL === */
.cookie-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 700;
  background: rgba(34,87,122,0.62);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cookieModalFadeIn 0.44s cubic-bezier(.51,1.2,.37,1.06) 1;
}
@keyframes cookieModalFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal-content {
  background: #fff;
  color: #17446D;
  padding: 40px 34px 28px 34px;
  border-radius: 20px;
  box-shadow: 0 6px 32px 0 rgba(34,87,122,0.27);
  max-width: 98vw; width: 360px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}
.cookie-modal-title {
  font-family: 'Mulish', Arial, sans-serif;
  font-size: 1.34rem;
  font-weight: 900;
  color: #22577A;
  margin-bottom: 7px;
}
.cookie-category {
  display: flex; flex-direction: row; align-items: center; justify-content: space-between;
  padding: 6px 0;
  font-size: 1rem;
  color: #194965;
  gap: 10px;
}
.cookie-category .cookie-toggle {
  appearance: none;
  width: 38px;
  height: 20px;
  background: #E5E9EC;
  border-radius: 10px;
  position: relative;
  outline: none;
  transition: background 0.14s;
  cursor: pointer;
  margin-left: 10px;
}
.cookie-category .cookie-toggle:checked {
  background: #299868;
}
.cookie-category .cookie-toggle:before {
  content: '';
  display: block;
  position: absolute;
  left: 3px; top: 3px;
  width: 14px; height: 14px;
  border-radius: 7px;
  background: #fff;
  transition: transform 0.16s;
}
.cookie-category .cookie-toggle:checked:before {
  transform: translateX(18px);
}
.cookie-category .cookie-required {
  color: #22577A; font-size: 0.98rem; font-weight: bold;
}
.cookie-modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.3rem;
  color: #299868;
  cursor: pointer;
  z-index: 720;
  padding: 4px;
  transition: color 0.15s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #22577A;
}

/* === SPACING GENERAL === */
.section, 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; }

/* === UTILITY CLASSES === */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-4 { margin-bottom: 4px !important; }
.mb-8 { margin-bottom: 8px !important; }
.mb-20 { margin-bottom: 20px !important; }

/* === MISC: SHADOWS, RADIUS === */
.rounded { border-radius: 12px; }
.shadow { box-shadow: 0 2px 10px 0 rgba(34,87,122,0.07); }

/* === ACCESSIBILITY === */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
  html { scroll-behavior: auto !important; }
}
