/* RESET & NORMALIZE */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Open Sans', Arial, sans-serif;
  background: #F9F6F2;
  color: #24334C;
  line-height: 1.6;
  min-height: 100vh;
}
img, svg {
  max-width: 100%;
  height: auto;
  display: block;
  vertical-align: middle;
  border: none;
}
a {
  color: #24334C;
  text-decoration: none;
  transition: color 0.2s;
  font-weight: 600;
}
a:hover, a:focus {
  color: #0066C8;
  outline: none;
}
ul, ol {
  list-style: none;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  color: #24334C;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.5rem;
}
/* CONTAINER */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/********************** HEADER & NAVIGATION **********************/
header {
  background: #fff;
  box-shadow: 0 2px 12px 0 rgba(36,51,76,0.07);
  margin-bottom: 8px;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: 24px;
}
header a img {
  height: 42px;
  width: auto;
  margin-right: 28px;
}
nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #24334C;
  font-size: 1rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 7px;
  transition: background 0.2s, color 0.15s;
  position: relative;
}
nav a:hover, nav a:focus {
  background: #B7D2E7;
  color: #24334C;
}
.mobile-menu-toggle {
  display: none;
  background: #24334C;
  color: #fff;
  border: none;
  font-size: 2rem;
  padding: 8px 14px;
  border-radius: 9px;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
  margin-left: 18px;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: #B7D2E7;
  color: #24334C;
}
/********************** MOBILE MENU **********************/
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background: #24334C;
  z-index: 1100;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.8,0,.2,1);
  display: flex;
  flex-direction: column;
  padding: 24px 0 0 0;
  pointer-events: none;
  opacity: 0.97;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: all;
  box-shadow: -2px 0 20px rgba(36,51,76,0.14);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  align-self: flex-end;
  margin: 0 24px 24px 0;
  cursor: pointer;
  transition: color 0.15s, transform 0.15s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #B7D2E7;
  transform: scale(1.16);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  padding: 30px 32px;
  font-size: 1.25rem;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  border-radius: 7px;
  padding: 10px 12px;
  width: 100%;
  display: flex;
  align-items: center;
  transition: background 0.2s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #B7D2E7;
  color: #24334C;
}

/* ====== RESPONSIVE NAVIGATION ====== */
@media (max-width: 980px) {
  nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 981px) {
  .mobile-menu {
    display: none !important;
  }
}
/**************** MAIN CONTENT STRUCTURE ****************/
main {
  margin-bottom: 64px;
}
.section,
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 4px 32px rgba(36,51,76,0.10);
}
.content-wrapper {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.subheadline {
  font-size: 1.25rem;
  color: #24334C;
  background: #B7D2E7;
  padding: 8px 20px;
  border-radius: 8px;
  display: inline-block;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: .03em;
}
/********* FLEXBOX PATTERNS & STRUCTURAL CLASSES *********/
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 15px 0 rgba(36,51,76,0.07);
  margin-bottom: 20px;
  padding: 28px 24px;
  flex: 1 1 220px;
  min-width: 250px;
  transition: box-shadow 0.2s, transform 0.2s;
  position: relative;
  z-index: 1;
}
.card:hover {
  box-shadow: 0 6px 40px 0 rgba(36,51,76,0.17);
  transform: translateY(-3px) 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;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #B7D2E7;
  border-radius: 14px;
  box-shadow: 0 2px 12px 0 rgba(36,51,76,0.09);
  color: #24334C;
  font-size: 1.13rem;
  margin-bottom: 24px;
  max-width: 560px;
  transition: box-shadow 0.17s, transform 0.18s;
}
.testimonial-card p {
  font-style: italic;
  font-weight: 600;
}
.testimonial-card strong {
  font-weight: 900;
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: .02em;
  color: #24334C;
}
.testimonial-card:hover {
  box-shadow: 0 10px 38px 0 rgba(36,51,76,0.19);
  transform: translateY(-2px) scale(1.01);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
/*********** FEATURE & SERVICE LISTS ***********/
.feature-grid,
.feature-list,
.trend-list,
.service-list,
.service-cards,
.team-values,
.how-to-guides {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 18px;
  align-items: stretch;
}
.feature-grid li,
.feature-list li,
.trend-list li,
.service-list li,
.service-cards li,
.team-values li,
.how-to-guides li {
  background: #F9F6F2;
  border-radius: 14px;
  box-shadow: 0 2px 9px 0 rgba(36,51,76,0.06);
  padding: 18px 16px 18px 18px;
  min-width: 220px;
  flex: 1 1 220px;
  font-size: 1.07rem;
  margin-bottom: 0;
  transition: box-shadow 0.16s, transform .15s;
}
.feature-grid li img {
  width: 48px; height: 48px; margin-bottom: 12px;
}
.feature-grid li strong {
  display: block;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.13rem;
  color: #24334C;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 6px;
}
.feature-list li strong, .trend-list li strong {
  color: #24334C;
  font-weight: 800;
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: .01em;
}
.feature-grid li:hover,
.feature-list li:hover,
.service-cards li:hover,
.team-values li:hover {
  box-shadow: 0 6px 22px 0 rgba(36,51,76,0.10);
  transform: translateY(-2px) scale(1.01);
}
.team-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
  align-items: flex-start;
}
.team-grid > div {
  background: #B7D2E7;
  border-radius: 13px;
  padding: 18px 16px;
  min-width: 200px;
  flex: 1 1 200px;
  font-weight: 600;
  font-size: 1.02rem;
  color: #24334C;
  box-shadow: 0 2px 12px 0 rgba(36,51,76,.07);
  margin-bottom: 0;
}
/********* TAGS & SOCIAL LINKS *********/
.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}
.feature-tags li a {
  display: inline-block;
  background: #fff;
  color: #24334C;
  border: 2px solid #24334C;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  padding: 7px 20px;
  border-radius: 30px;
  font-size: 1rem;
  transition: background 0.15s, color 0.13s, border-color 0.19s;
}
.feature-tags li a:hover {
  background: #B7D2E7;
  color: #24334C;
  border-color: #B7D2E7;
}
.social-links {
  display: flex;
  gap: 28px;
  align-items: center;
  flex-wrap: wrap;
}
.social-links li a {
  display: flex;
  align-items: center;
  font-weight: 700;
  color: #24334C;
  font-family: 'Montserrat', Arial, sans-serif;
  border-radius: 7px;
  padding: 6px 14px;
  background: #B7D2E7;
  transition: background 0.13s, color 0.15s;
}
.social-links li a img {
  margin-right: 9px;
  width: 22px;
}
.social-links li a:hover, .social-links li a:focus {
  background: #24334C;
  color: #fff;
}
/********** BUTTONS & CTA **********/
.cta-primary {
  background: #24334C;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.18rem;
  font-weight: 800;
  padding: 15px 40px;
  border-radius: 50px;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 18px 0 rgba(36,51,76,0.09);
  transition: background 0.17s, box-shadow 0.18s, transform 0.18s;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-top: 8px;
  cursor: pointer;
}
.cta-primary:hover, .cta-primary:focus {
  background: #B7D2E7;
  color: #24334C;
  box-shadow: 0 6px 28px rgba(36,51,76,0.13);
  transform: translateY(-2px) scale(1.03);
}
.cta-box {
  margin-top: 22px;
  display: flex;
  align-items: center;
  gap: 18px;
}
/********* FOOTER *********/
footer {
  background: #24334C;
  color: #fff;
  padding: 48px 0 24px 0;
  margin-top: 40px;
  box-shadow: 0 -3px 22px 0 rgba(36,51,76,0.11);
  font-size: 1rem;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  justify-content: flex-start;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 16px;
}
footer nav a {
  color: #B7D2E7;
  background: none;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 7px;
  padding: 6px 12px;
  transition: background 0.15s, color 0.14s;
}
footer nav a:hover, footer nav a:focus {
  background: #B7D2E7;
  color: #24334C;
  text-decoration: none;
}
footer address {
  font-style: normal;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
footer address img {
  width: 18px;
  vertical-align: middle;
  margin: 0 6px 0 0;
}
footer p {
  font-size: 0.96rem;
  margin-top: 6px;
}

/************************ COOKIE BANNER *************************/
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1200;
  background: #24334C;
  color: #fff;
  padding: 28px 18px 24px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  box-shadow: 0 -2px 20px 0 rgba(36,51,76,0.15);
  font-size: 1rem;
  transition: transform 0.32s cubic-bezier(.8,0,.2,1), opacity 0.17s;
}
.cookie-banner.hide {
  transform: translateY(110%);
  opacity: 0;
}
.cookie-banner .cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 7px;
}
.cookie-banner button {
  border: none;
  border-radius: 37px;
  padding: 10px 28px;
  font-size: 1rem;
  font-weight: 800;
  font-family: 'Montserrat', Arial, sans-serif;
  background: #B7D2E7;
  color: #24334C;
  cursor: pointer;
  transition: background 0.14s, color 0.14s, transform .11s;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #fff;
  color: #24334C;
  transform: scale(1.05);
}
.cookie-banner button.cookie-settings-btn {
  background: transparent;
  border: 2px solid #B7D2E7;
  color: #B7D2E7;
}
.cookie-banner button.cookie-settings-btn:hover {
  color: #24334C;
  background: #fff;
  border-color: #fff;
}
/***** COOKIE SETTINGS MODAL *****/
.cookie-modal {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  z-index: 1300;
  background: rgba(36,51,76,0.70);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.22s;
}
.cookie-modal.open {
  pointer-events: all;
  opacity: 1;
}
.cookie-modal .modal-content {
  background: #fff;
  color: #24334C;
  border-radius: 20px;
  padding: 40px 24px 30px 24px;
  min-width: 320px;
  max-width: 98vw;
  box-shadow: 0 7px 40px 0 rgba(36,51,76,0.21);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  position: relative;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 17px; right: 20px;
  background: none;
  border: none;
  font-size: 1.7rem;
  color: #24334C;
  cursor: pointer;
  transition: color 0.2s, transform 0.15s;
  z-index: 3;
  line-height: 1;
}
.cookie-modal .close-modal:hover, .close-modal:focus {
  color: #B7D2E7;
  transform: scale(1.14);
}
.cookie-modal h2 {
  font-size: 1.18rem;
  margin-bottom: 8px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 1rem;
  font-weight: 600;
}
.cookie-category input[type="checkbox"] {
  accent-color: #24334C;
  width: 21px;
  height: 21px;
  border-radius: 4px;
}
.cookie-category .label {
  color: #24334C;
}
.cookie-category .essential {
  color: #7E95B7;
  font-size: .95rem;
  font-weight: 700;
}
.cookie-modal .save-pref-btn {
  background: #24334C;
  color: #fff;
  border: none;
  border-radius: 44px;
  padding: 13px 32px;
  font-size: 1.08rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  margin-top: 20px;
  transition: background 0.16s, color 0.14s, transform .11s;
  cursor: pointer;
}
.cookie-modal .save-pref-btn:hover, .cookie-modal .save-pref-btn:focus {
  background: #B7D2E7;
  color: #24334C;
  transform: scale(1.03);
}

/*************************** GENERAL UTILITY ***************************/
.mt-20 { margin-top: 20px; }
.mt-32 { margin-top: 32px; }
.text-center { text-align: center; }
.bold { font-weight: 800; }
.flex { display: flex; }
.gap-20 { gap: 20px; }
.gap-24 { gap: 24px; }
/***************** RESPONSIVE DESIGN *****************/
@media (max-width: 1100px) {
  .container {
    max-width: 96vw;
    padding: 0 16px;
  }
  section,
  .section {
    padding: 32px 8px;
  }
}
@media (max-width: 900px) {
  header .container {
    min-height: 50px;
    padding: 0 9px;
    gap: 10px;
  }
  .team-grid, .feature-grid, .content-grid, .service-cards, .feature-list, .service-list {
    gap: 14px;
  }
}
@media (max-width: 768px) {
  .content-wrapper {
    gap: 18px;
    max-width: 100vw;
  }
  section, .section {
    padding: 22px 4vw;
    margin-bottom: 38px;
    border-radius: 16px;
  }
  .card-container, .content-grid, .testimonials, .feature-grid, .service-cards, .team-grid, .feature-list {
    flex-direction: column !important;
    gap: 20px !important;
    align-items: stretch;
  }
  .testimonial-card {
    max-width: 100vw;
    border-radius: 9px;
    font-size: 1rem;
  }
  .feature-grid li, .feature-list li, .trend-list li, .service-list li, .service-cards li, .team-grid > div {
    min-width: 0;
    padding-left: 10px;
    padding-right: 10px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 17px;
    align-items: flex-start;
  }
}
@media (max-width: 480px) {
  h1 {
    font-size: 1.6rem;
  }
  h2 {
    font-size: 1.18rem;
  }
  .cta-primary {
    font-size: 0.98rem;
    padding: 11px 22px;
  }
  .feature-tags li a {
    font-size: 0.96rem;
    padding: 7px 10px;
  }
  .cookie-modal .modal-content {
    padding: 20px 8px;
    min-width: 95vw;
  }
}
/**** Miscellaneous: tab selector for trends page ****/
.feature-tabs {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
}
.feature-tabs button {
  background: #B7D2E7;
  color: #24334C;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  border: none;
  border-radius: 7px;
  padding: 10px 22px;
  font-size: 1.08rem;
  letter-spacing: .03em;
  cursor: pointer;
  transition: background 0.13s, color 0.13s;
}
.feature-tabs button:hover, .feature-tabs button.active {
  background: #24334C;
  color: #fff;
}
/**** THANK YOU PAGE SPECIAL ****/
.thank-you {
  margin: 64px 0 40px 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
/**** GLOBAL FOCUS OUTLINE ACCESSIBILITY ****/
:focus-visible {
  outline: 3px solid #B7D2E7 !important;
  outline-offset: 2px;
}
/**** HOVER ANIMATION FOR ALL BUTTONS ****/
button, .cta-primary, .feature-tags li a, .social-links li a, nav a, footer nav a {
  transition: background 0.15s, color 0.17s, box-shadow 0.13s, transform 0.15s;
}
