/* 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;
}
article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  min-height: 100vh;
  background: #fff;
  color: #20243A;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
ul, ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
*, *::before, *::after {
  box-sizing: inherit;
}

/* TYPOGRAPHY ----------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #20243A;
  letter-spacing: -0.01em;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 18px;
}
h4 {
  font-size: 1.1rem;
  margin-bottom: 12px;
}
p, 
li, 
blockquote, 
select, input[type="search"] {
  font-size: 1rem;
  line-height: 1.7;
  color: #20243A;
}
p {
  margin-bottom: 20px;
}
blockquote {
  font-style: italic;
  background: #F7F7F7;
  border-left: 2px solid #C5C9D6;
  padding: 16px 24px;
  margin-bottom: 14px;
  border-radius: 6px;
}
strong { font-weight: 700; }
em { color: #555; letter-spacing: 0.01em; }
.small { font-size: 0.92em; color: #888; }

/* CONTAINER & LAYOUT --------------------------- */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* MANDATORY FLEXBOX SPACING & PATTERNS ---------- */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border: 1px solid #ECECEC;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(32,36,58,0.03);
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.23s;
}
.card:hover,
.card:focus-within {
  box-shadow: 0 4px 24px rgba(32,36,58,0.07);
  border-color: #C5C9D6;
}
.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: 20px;
  padding: 20px;
  background: #F7F7F7;
  border-radius: 10px;
  border: 1px solid #ECECEC;
  margin-bottom: 20px;
  box-shadow: 0 1px 4px rgba(32,36,58,0.05);
  position: relative;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* TESTIMONIALS - STRONG CONTRAST */
.testimonial-card,
.testimonial-card blockquote {
  background: #F7F7F7;
  color: #20243A;
}
.testimonial-card strong,
.testimonial-card p {
  color: #20243A;
}
.testimonial-card blockquote {
  border-left: 2px solid #C5C9D6;
  margin: 0 0 8px 0;
}
.testimonial-card p {
  margin: 0 0 0 0;
  font-size: 1rem;
}

/* NAVIGATION ----------------------------------- */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 14px rgba(32,36,58,0.06);
}
header nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0 18px 0;
}
header nav > a > img {
  height: 36px;
  margin-right: 18px;
  display: block;
}
header nav ul {
  display: flex;
  gap: 24px;
  align-items: center;
}
header nav ul li {
  list-style: none;
}
header nav ul li a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: #20243A;
  letter-spacing: 0.01em;
  padding: 6px 10px;
  border-radius: 4px;
  transition: background 0.18s, color 0.18s;
}
header nav ul li a:hover,
header nav ul li a:focus {
  background: #F7F7F7;
  color: #20243A;
}
.cta-button {
  display: inline-block;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  padding: 12px 34px;
  font-size: 1rem;
  background: #20243A;
  color: #fff;
  border-radius: 24px;
  border: none;
  outline: none;
  cursor: pointer;
  transition: background 0.15s, box-shadow 0.15s;
  box-shadow: 0 2px 8px rgba(32,36,58,0.07);
  margin-left: 18px;
  text-align: center;
}
.cta-button:hover,
.cta-button:focus {
  background: #444963;
  box-shadow: 0 4px 28px rgba(32,36,58,0.10);
}

/* BURGER MENU (Mobile) ------------------------- */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  top: 25px;
  right: 28px;
  background: none;
  border: none;
  font-size: 2rem;
  color: #20243A;
  cursor: pointer;
  z-index: 1051;
  transition: color 0.16s;
}
.mobile-menu-toggle:focus {
  color: #444963;
  outline: 2px solid #C5C9D6;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(32, 36, 58, 0.98);
  transform: translateX(-100vw);
  transition: transform 0.35s cubic-bezier(0.77, 0.2, 0.05, 1.0);
  z-index: 2000;
  padding: 36px 22px 22px 22px;
  box-sizing: border-box;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  color: #fff;
  font-size: 2.1rem;
  background: none;
  border: none;
  align-self: flex-end;
  margin-bottom: 24px;
  cursor: pointer;
  z-index: 2100;
  transition: color 0.13s;
}
.mobile-menu-close:focus {
  outline: 2px solid #C5C9D6;
  color: #C5C9D6;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #fff;
  font-weight: 500;
  font-size: 1.25rem;
  padding: 14px 12px;
  border-radius: 8px;
  background: none;
  transition: background 0.18s, color 0.18s;
  outline: none;
  text-align: left;
  min-width: 160px;
  min-height: 48px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #C5C9D6;
  color: #20243A;
}

@media (max-width: 1040px) {
  .container { max-width: 95vw; }
}
@media (max-width: 940px) {
  header nav ul { gap: 14px; }
}
@media (max-width: 868px) {
  header nav ul,
  .cta-button { display: none; }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (max-width: 868px) {
  header nav { padding-right: 70px; }
}


/* SECTION & CARD STYLES ------------------------ */
section {
  margin-bottom: 60px;
  padding: 40px 0;
  background: none;
}
section:nth-child(even) {
  background: #F7F7F7;
}

.card {
  padding: 28px 22px;
  min-width: 220px;
  min-height: 120px;
  box-shadow: 0 2px 10px rgba(16,20,34,0.04);
}

.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}

/* LISTS & ITEM STYLES -------------------------- */
ul li,
ol li {
  margin-bottom: 14px;
  padding-left: 0;
  line-height: 1.6;
}
ul li:last-child,
ol li:last-child {
  margin-bottom: 0;
}
ul li img {
  vertical-align: middle;
  margin-right: 10px;
  width: 28px;
  height: 28px;
}
ul {
  padding-left: 0;
  margin: 0 0 0 0;
  list-style: none;
}
.section ul {
  margin: 0 0 0 0;
}
.section ul li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
ol {
  padding-left: 20px;
  margin-bottom: 0;
}

/* FORM ELEMENTS (FOR SEARCH, FILTER, ETC.) ------------- */
input[type="search"], select {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  border: 1px solid #C5C9D6;
  border-radius: 5px;
  padding: 9px 12px;
  margin-right: 12px;
  margin-bottom: 12px;
  background: #fff;
  color: #20243A;
  transition: border 0.17s;
  min-width: 160px;
}
input[type="search"]:focus,
select:focus {
  border: 1px solid #20243A;
  outline: none;
}


/* FOOTER -------------------------------------- */
footer {
  background: #F7F7F7;
  padding: 48px 0 24px 0;
  border-top: 1px solid #ECECEC;
  margin-top: 60px;
}
footer nav {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  align-items: center;
  margin: 0 0 12px 0;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 0.97rem;
}
footer nav a {
  color: #20243A;
  padding: 2px 7px;
  border-radius: 4px;
  transition: background 0.15s, color 0.15s;
}
footer nav a:hover,
footer nav a:focus {
  background: #C5C9D6;
  color: #20243A;
}
footer .text-section {
  text-align: center;
  color: #888;
  font-size: 0.93rem;
}

/* BUTTONS & LINKS ----------------------------- */
button, .cta-button {
  border: none;
  outline: none;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  cursor: pointer;
  transition: box-shadow 0.14s, background 0.14s, color 0.14s;
}
button:focus, .cta-button:focus {
  outline: 2px solid #C5C9D6;
  box-shadow: 0 0 0 2px #C5C9D6;
}

/* SHADOWS & MICRO-INTERACTIONS --------------- */
.card, .cta-button, .testimonial-card, input[type="search"], select {
  transition: box-shadow 0.2s, border 0.16s, background 0.18s, color 0.18s;
}
.card:hover, .card:focus-within, input[type="search"]:focus, select:focus {
  box-shadow: 0 4px 22px rgba(32,36,58,0.08);
  border-color: #C5C9D6;
}
.cta-button:active {
  background: #20243A;
  color: #fff;
  box-shadow: 0 1px 2px rgba(32,36,58,0.07);
}

/* RESPONSIVE DESIGN --------------------------- */
@media (max-width: 768px) {
  .container {
    max-width: 98vw;
    padding: 0 12px;
  }
  .content-wrapper , .text-section {
    gap: 14px;
  }
  h1 { font-size: 2rem; margin-bottom: 18px; }
  h2 { font-size: 1.4rem; margin-bottom: 14px; }
  h3 { font-size: 1.1rem; }
  section { padding: 28px 0; margin-bottom: 38px; }
  .card { padding: 18px 8px; min-width: 130px; }
  .card-container, .content-grid {
    flex-direction: column;
    gap: 16px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
  .testimonial-card {
    padding: 14px;
    gap: 14px;
  }
  .feature-item {
    gap: 10px;
  }
  .cta-button {
    margin-left: 0;
    width: 100%;
    min-width: 0;
    text-align: center;
    padding: 12px 0;
  }
}

/* COOKIE CONSENT BANNER --------------------- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  background: #fff;
  border-top: 1px solid #ECECEC;
  box-shadow: 0 -2px 16px rgba(32,36,58,0.07);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 22px;
  font-size: 1rem;
  color: #20243A;
  transition: transform 0.34s cubic-bezier(0.77,0.2,0.05,1.0), opacity 0.21s;
}
.cookie-banner.hide {
  opacity: 0;
  transform: translateY(120%);
  pointer-events: none;
}
.cookie-banner .cookie-banner-buttons {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  border-radius: 18px;
  padding: 8px 22px;
  font-size: 15px;
  cursor: pointer;
  border: none;
  outline: none;
  margin: 0;
  transition: background 0.13s, color 0.15s, box-shadow 0.23s;
}
.cookie-banner .accept-all {
  background: #20243A;
  color: #fff;
}
.cookie-banner .accept-all:hover, .cookie-banner .accept-all:focus {
  background: #22263b;
}
.cookie-banner .reject-all {
  background: #ECECEC;
  color: #20243A;
}
.cookie-banner .reject-all:hover,
.cookie-banner .reject-all:focus {
  background: #C5C9D6;
}
.cookie-banner .cookie-settings {
  background: #fff;
  color: #20243A;
  border: 1px solid #C5C9D6;
}
.cookie-banner .cookie-settings:hover,
.cookie-banner .cookie-settings:focus {
  background: #F7F7F7;
  color: #20243A;
}

@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 9px 16px 9px;
    font-size: 0.99rem;
    gap: 14px;
  }
  .cookie-banner .cookie-banner-buttons { gap: 10px; }
}

/* COOKIE SETTINGS MODAL ---------------------- */
.cookie-modal-backdrop {
  position: fixed;
  z-index: 10001;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(32,36,58,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.24s;
}
.cookie-modal-backdrop.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #fff;
  border-radius: 14px;
  max-width: 99vw;
  min-width: 320px;
  width: 100%;
  max-width: 470px;
  box-shadow: 0 4px 42px rgba(32,36,58,0.16);
  padding: 32px 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: stretch;
  position: relative;
  animation: cookie-modal-in 0.32s cubic-bezier(0.77,0.2,0.05,1.0);
}
@keyframes cookie-modal-in {
  0% {
    opacity: 0;
    transform: translateY(40px) scale(0.98);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
.cookie-modal h2 {
  margin-bottom: 8px;
}
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 0 0 0;
}
.cookie-category label {
  font-size: 1rem;
  color: #20243A;
}
.cookie-category input[type=checkbox] {
  accent-color: #20243A;
  width: 18px;
  height: 18px;
}
.cookie-category.essential label {
  font-style: italic;
  color: #999;
}
.cookie-modal-footer {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  gap: 14px;
}
.cookie-modal button {
  padding: 8px 22px;
  font-size: 1rem;
  border-radius: 18px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.13s, color 0.13s, box-shadow 0.18s;
  border: none;
}
.cookie-modal .save-btn {
  background: #20243A;
  color: #fff;
}
.cookie-modal .save-btn:hover { background: #363b57; }
.cookie-modal .cancel-btn {
  background: #ECECEC;
  color: #20243A;
}
.cookie-modal .cancel-btn:hover {
  background: #C5C9D6;
}

/* Utility & Accessibility --------------------- */
.visually-hidden {
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

/* HTML5 structural tags for legacy browsers */
header, main, nav, footer, section, article, aside { display: flex; flex-direction: column; }

@media (max-width: 540px) {
  .cookie-modal {
    padding: 17px 8px 12px 8px;
  }
}

/* END OF STYLE -------------------------------- */
