/* 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,
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;
  height: 100%;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  min-height: 100vh;
  background: #fff;
  color: #15151a;
  font-family: 'Lato', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #26324F;
  text-decoration: none;
  transition: color 0.15s cubic-bezier(.4,0,.2,1);
}
a:hover, a:focus {
  color: #15151a;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #111217;
  letter-spacing: 0.01em;
  margin-bottom: 16px;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.15;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.5rem;
  margin-bottom: 14px;
}
h4 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}
.subtitle {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 400;
  font-size: 1.125rem;
  color: #33353a;
  margin-bottom: 24px;
}
p {
  margin-bottom: 18px;
}
li {
  margin-bottom: 8px;
  list-style: none;
  position: relative;
  padding-left: 28px;
}
ul li:before {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d1d3d9;
  position: absolute;
  left: 0;
  top: 8px;
}
ul strong {
  color: #15151a;
}
ol {
  margin-bottom: 18px;
  padding-left: 1.5em;
}
ol li {
  padding-left: 0;
  margin-bottom: 10px;
  list-style: decimal inside;
}

/* CONTAINERS & SECTIONS */
.container {
  width: 100%;
  max-width: 1160px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
}
main {
  flex: 1 0 auto;
  background: #fff;
  min-height: 60vh;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 16px rgba(38,50,79,0.09), 0 0.5px 2px rgba(0,0,0,0.05);
  margin-bottom: 20px;
  position: relative;
  min-width: 240px;
  min-height: 180px;
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.18s cubic-bezier(.4,0,.2,1), transform 0.16s cubic-bezier(.38,0,.24,1);
}
.card:hover, .card:focus {
  box-shadow: 0 4px 32px rgba(38,50,79,.13), 0 1.5px 8px rgba(0,0,0,0.09);
  transform: translateY(-2px) scale(1.01);
}
.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;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 16px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  background: #f6f6f6;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 1px 4px rgba(38,50,79,0.05);
  color: #15151a;
  border: 1px solid #ececec;
  transition: box-shadow 0.16s;
}
.testimonial-card p {
  font-size: 1.17rem;
  font-family: 'Lato', Arial, sans-serif;
  color: #212226;
  margin: 0 0 6px 0;
}
.testimonial-card span {
  font-size: 1rem;
  color: #33353a;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
}

/* HEADER & NAV */
header {
  background: #fff;
  border-bottom: 1px solid #ececec;
  box-shadow: 0 2px 6px rgba(38,50,79,0.04);
  position: relative;
  z-index: 900;
}
header .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 14px;
  padding-bottom: 14px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #26324F;
  font-weight: 500;
  padding: 7px 0;
  position: relative;
  opacity: 0.92;
  transition: color .13s;
}
header nav a:hover, header nav a:focus {
  color: #15151a;
  opacity: 1.0;
}
header img {
  height: 38px;
  width: auto;
  margin-right: 18px;
}
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 24px;
  padding: 10px 28px;
  margin-left: 16px;
  border: none;
  outline: none;
  min-width: 160px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(38,50,79,0.10);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.16s, color 0.16s, box-shadow 0.22s;
}
.cta.primary {
  background: #26324F;
  color: #fff;
  border: 2px solid #26324F;
}
.cta.primary:hover, .cta.primary:focus {
  background: #fff;
  color: #26324F;
  box-shadow: 0 2px 16px rgba(38,50,79,0.15);
}
.cta.secondary {
  background: #fff;
  color: #26324F;
  border: 2px solid #26324F;
}
.cta.secondary:hover, .cta.secondary:focus {
  background: #26324F;
  color: #fff;
  box-shadow: 0 2px 12px rgba(38,50,79,0.10);
}

/* Hamburger menu - Mobile */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #26324F;
  cursor: pointer;
  margin-left: 14px;
  z-index: 1201;
  line-height: 1;
  border-radius: 8px;
  padding: 4px 10px;
  transition: background 0.13s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #ececec;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  min-height: 100vh;
  width: 100vw;
  max-width: 100vw;
  background: rgba(244, 249, 249, 0.98);
  box-shadow: 2px 0 16px rgba(38,50,79,0.14);
  transform: translateX(-110%);
  transition: transform 0.33s cubic-bezier(.56,-0.2,.32,1.2);
  z-index: 1200;
  padding: 0 0 0 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.1rem;
  color: #26324F;
  align-self: flex-end;
  margin: 24px 22px 8px 0;
  cursor: pointer;
  border-radius: 8px;
  padding: 0 14px;
  transition: background 0.14s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: #ececec;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  padding: 36px 22px 24px 32px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  color: #22232a;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 9px 0;
  border-radius: 6px;
  transition: background 0.17s, color 0.17s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #26324F;
  color: #fff;
  text-decoration: none;
}

/* SOCIAL */
.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
  transition: transform 0.13s;
  border-radius: 50%;
}
.social-link img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
}
.social-link:hover, .social-link:focus {
  transform: scale(1.08) rotate(-3deg);
  background: #ececec;
}

/* FOOTER */
footer {
  background: #fafbfd;
  color: #22232a;
  border-top: 1px solid #ececec;
  padding: 40px 0 28px 0;
  position: relative;
  font-size: 1rem;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 10px;
}
footer nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #33353a;
  font-weight: 500;
  opacity: 0.94;
  transition: color 0.15s;
}
footer nav a:hover, footer nav a:focus {
  color: #15151a;
}
.text-section {
  color: #5a5b60;
  font-size: 0.97rem;
}

/* BUTTONS */
button, .cta {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  outline: none;
  border: none;
}
button:focus-visible, .cta:focus-visible {
  outline: 2px solid #26324F;
  outline-offset: 2px;
}

/* SPECIFIC LAYOUTS */
.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;
}

/* RESPONSIVE DESIGN */
@media (max-width: 992px) {
  .container {
    max-width: 950px;
  }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
}
@media (max-width: 768px) {
  .container {
    max-width: 98vw;
    padding-left: 10px;
    padding-right: 10px;
  }
  header .container {
    flex-direction: row;
    gap: 10px;
  }
  header nav {
    display: none;
  }
  .cta.primary, .cta.secondary {
    min-width: 140px;
    padding: 8px 16px;
    margin-left: 0;
    font-size: 0.95rem;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .mobile-menu {
    display: flex;
  }
  .section {
    padding: 26px 5px;
    margin-bottom: 36px;
  }
  .content-wrapper {
    gap: 20px;
  }
  .card-container, .content-grid {
    flex-direction: column;
    gap: 16px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px;
    gap: 14px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
  footer .container {
    gap: 12px;
    padding: 0 2px;
  }
}
@media (max-width: 500px) {
  h1 { font-size: 1.45rem; }
  h2 { font-size: 1.11rem; }
  .container { padding-left: 4px; padding-right: 4px; }
  .cta {
    font-size: 0.93rem;
    min-width: 112px;
    padding: 7px 9px;
  }
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #ffffff;
  color: #15151a;
  box-shadow: 0 -2px 22px rgba(38,50,79,0.10), 0 -1px 4px rgba(38,50,79,0.08);
  z-index: 2500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 26px;
  gap: 16px;
  font-size: 1rem;
  transition: transform 0.34s;
}
.cookie-banner.hide {
  transform: translateY(130%);
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 13px;
  flex-wrap: wrap;
}
.cookie-btn {
  border-radius: 22px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 8px 24px;
  border: 2px solid #26324F;
  background: #26324F;
  color: #fff;
  margin-left: 0;
  transition: background 0.16s, color 0.16s, border 0.16s;
  outline: none;
}
.cookie-btn.settings {
  background: #fff;
  color: #26324F;
}
.cookie-btn.accept {
  background: #26324F;
  color: #fff;
}
.cookie-btn.reject {
  background: #fff;
  color: #26324F;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #15151a;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  border: 2px solid #15151a;
  color: #fff;
  background: #15151a;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  border-color: #15151a;
  background: #26324F;
  color: #fff;
}

/* COOKIE PREFERENCES MODAL */
.cookie-modal {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 120%);
  width: 98vw;
  max-width: 420px;
  background: #fff;
  box-shadow: 0 8px 44px rgba(38,50,79,0.21);
  border-radius: 19px 19px 0 0;
  z-index: 3000;
  transition: transform 0.34s;
  padding: 36px 28px 30px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-modal.open {
  transform: translate(-50%, 0);
}
.cookie-modal h3 {
  font-size: 1.17rem;
  margin-bottom: 12px;
}
.cookie-modal .cookie-category {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 18px;
}
.cookie-modal .cookie-toggle {
  appearance: none;
  width: 32px;
  height: 18px;
  border-radius: 20px;
  background: #ececec;
  outline: none;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
  transition: background .15s;
  cursor: pointer;
  position: relative;
}
.cookie-modal .cookie-toggle:checked {
  background: #26324F;
}
.cookie-modal .cookie-toggle:before {
  content: '';
  position: absolute;
  left: 2px;
  top: 2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  transition: left .15s;
  box-shadow: 0 1px 2px rgba(38,50,79,0.05);
}
.cookie-modal .cookie-toggle:checked:before {
  left: 16px;
}
.cookie-modal .cookie-actions {
  display: flex;
  gap: 8px;
}
@media (max-width: 768px) {
  .cookie-banner {
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 9px;
    font-size: 0.98rem;
  }
  .cookie-modal {
    left: 0;
    transform: translateY(120%);
    border-radius: 18px 18px 0 0;
    max-width: 98vw;
    padding: 26px 8px 24px 12px;
  }
  .cookie-modal.open {
    left: 0;
    transform: translateY(0);
  }
}

/* IMAGE ICONS in LISTS */
ul li img {
  width: 23px;
  height: 23px;
  vertical-align: middle;
  margin-right: 12px;
  border-radius: 6px;
  background: #f6f6f6;
  box-shadow: 0 1px 3px rgba(38,50,79,0.04);
}

/* MICRO-INTERACTIONS */
.card, .testimonial-card, .cta, button, .social-link, .mobile-nav a, .cookie-btn {
  transition: box-shadow 0.18s cubic-bezier(.44,.13,.32,1.07),
    background 0.16s, color 0.13s, transform 0.18s, border 0.16s;
}

/* OVERLAP PREVENTION: Consistent spacing */
.container, .content-wrapper, .card-container, .content-grid, .section {
  margin-bottom: 0;
  margin-top: 0;
}
main section {
  margin-bottom: 32px;
}
main section:last-child {
  margin-bottom: 0;
}

/* Extra: Prevent horizontal scrolling */
html, body {
  max-width: 100vw;
  overflow-x: hidden;
}

/* Utility: Hide visually but readable by screen readers */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* Hide mobile menu by default */
.mobile-menu {
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  pointer-events: all;
  opacity: 1;
}

/* Hide scroll when mobile menu open */
body.menu-open {
  overflow: hidden;
}

/* Hide no-JS message (if used) */
.noscript {
  display: none !important;
}
