/* ================= 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; }
*, *:before, *:after { box-sizing: inherit; }
body {
  background: #fff;
  color: #232946;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  display: block;
}
input, button, textarea, select {
  font-family: inherit;
  font-size: 100%;
  outline: none;
  border: none;
  background: none;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
ul, ol { list-style: none; }

/* ================= BRAND FONTS =================== */
h1, h2, h3, h4, h5, h6, .cta-button {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: #232946;
}
h1 { font-size: 2.5rem; font-weight: 700; margin-bottom: 24px; letter-spacing: -0.5px; }
h2 { font-size: 2rem; font-weight: 600; margin-bottom: 20px; letter-spacing: -0.5px; }
h3 { font-size: 1.25rem; font-weight: 500; margin-bottom: 12px; }
h4 { font-size: 1.1rem; font-weight: 500; margin-bottom: 10px; }
p, li, label{
  color: #232946;
  font-size: 1rem;
  margin-bottom: 10px;
}
strong, b {
  font-weight: 600;
}

/* =============== GENERAL LAYOUTS =============== */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.text-section {
  max-width: 670px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* =============== FLEXBOX UTILITY CLASSES =============== */
.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;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(35,41,70,.07);
  min-width: 0;
  flex: 1 1 280px;
  border: 1px solid #ececec;
  margin-bottom: 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* =============== HEADER & NAVIGATION =============== */
header {
  background: #fff;
  border-bottom: 1px solid #ececec;
  position: sticky;
  top: 0;
  z-index: 1000;
}
header .container {
  padding-top: 16px;
  padding-bottom: 16px;
}
header .content-wrapper {
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 28px;
}
nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #232946;
  padding: 6px 0;
  font-weight: 500;
  transition: color 0.2s;
  border-bottom: 2px solid transparent;
}
nav a:hover, nav a:focus {
  color: #f4d35e;
  border-bottom: 2px solid #f4d35e;
}
.cta-button {
  background: #232946;
  color: #fff !important;
  padding: 10px 24px;
  border-radius: 32px;
  font-size: 1rem;
  font-weight: 600;
  margin-left: 12px;
  box-shadow: 0 2px 8px rgba(35,41,70,.07);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.13s;
  border: none;
  outline: none;
  display: inline-block;
}
.cta-button:hover, .cta-button:focus {
  background: #f4d35e;
  color: #232946 !important;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 5px 20px rgba(244,211,94,0.09);
}

/* =============== MOBILE NAVIGATION =============== */
.mobile-menu-toggle {
  background: #232946;
  color: #fff;
  font-size: 2rem;
  border: none;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  display: none;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 1021;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(35,41,70,.12);
  transition: background 0.2s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #f4d35e;
  color: #232946;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(35,41,70, 0.98);
  z-index: 1020;
  transform: translateX(-100vw);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s cubic-bezier(.74,.34,.22,.89), opacity 0.2s;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: none;
  color: #fff;
  font-size: 2.2rem;
  font-weight: 400;
  border: none;
  align-self: flex-end;
  margin: 24px 32px 0 0;
  cursor: pointer;
  z-index: 1022;
  transition: color 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #f4d35e;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  margin: 50px 0 0 42px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.35rem;
  font-weight: 500;
  border-bottom: none;
  transition: color 0.2s;
  padding: 8px 0;
  border-radius: 2px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #f4d35e;
  background: rgba(244,211,94,0.09);
}

/* =============== HERO, FEATURES, CTA =============== */
section {
  margin-bottom: 60px;
  padding: 40px 0;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
}
.feature-grid > div {
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(35,41,70,.06);
  flex: 1 1 230px;
  min-width: 210px;
  max-width: 295px;
  padding: 32px 24px 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  transition: box-shadow .2s, border-color .18s, transform .08s;
}
.feature-grid > div img {
  width: 48px;
  height: 48px;
  margin-bottom: 4px;
}
.feature-grid > div:hover, .feature-grid > div:focus-within {
  box-shadow: 0 8px 36px 0 rgba(35,41,70,.09);
  border-color: #d2d8f0;
  transform: translateY(-3px) scale(1.022);
}

/* =============== TESTIMONIALS =============== */
.testimonial-slider, .testimonial-grid { 
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.testimonial-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(35,41,70,0.09);
  border: 1px solid #ececec;
  padding: 22px 24px 18px;
  min-width: 240px;
  max-width: 360px;
  color: #232946;
  transition: box-shadow .22s, border-color .15s, transform .10s;
  margin-bottom: 20px;
  flex-direction: column;
  align-items: flex-start;
}
.testimonial-card p {
  font-size: 1.09rem;
  font-style: italic;
  margin-bottom: 10px;
}
.testimonial-card strong {
  color: #232946;
  font-size: 1rem;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 8px 36px rgba(244,211,94,0.10);
  border-color: #f4d35e;
  transform: translateY(-2px) scale(1.015);
}
.testimonial-highlight {
  margin: 36px 0 0 0;
  background: #fdfcf8;
  border: 1.5px solid #f4d35e;
  border-radius: 14px;
  padding: 28px 40px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(244,211,94,0.045);
  color: #232946;
}
.testimonial-highlight h2 {
  color: #232946;
}

/* ========== BLOG SEARCH, FILTERS, ARTICLE LIST ============ */
.blog-search {
  display: flex;
  flex-direction: row;
  gap: 16px;
  margin-bottom: 16px;
}
.blog-search input[type="search"] {
  width: 100%;
  border: 1px solid #ececec;
  background: #fff;
  border-radius: 16px;
  padding: 13px 16px;
  font-size: 1rem;
  outline: none;
  transition: box-shadow .13s, border-color .12s;
}
.blog-search input[type="search"]:focus {
  border-color: #f4d35e;
  box-shadow: 0 0 0 2px #f4d35e22;
}
.blog-filters {
  display: flex;
  flex-direction: row;
  gap: 20px;
  align-items: center;
  margin-bottom: 18px;
}
.blog-filters button {
  padding: 8px 22px;
  background: #f4d35e;
  color: #232946;
  border-radius: 32px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(244,211,94,0.08);
  border: none;
  transition: background 0.20s, color 0.18s, box-shadow 0.14s;
}
.blog-filters button:hover, .blog-filters button:focus {
  background: #232946;
  color: #fff;
}
.blog-filters ul {
  display: flex;
  gap: 12px;
}
.blog-filters li {
  background: #e9eaf3;
  color: #232946;
  border-radius: 16px;
  padding: 4px 14px;
  font-size: .98rem;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 0;
}
.blog-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 10px;
}
.blog-list article {
  background: #fff;
  border-radius: 14px;
  border: 1px solid #ececec;
  box-shadow: 0 2px 8px rgba(35,41,70,.06);
  flex: 1 1 270px;
  min-width: 230px;
  max-width: 335px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow .15s, border-color .1s, transform .09s;
}
.blog-list article h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 6px 0;
}
.blog-list article a {
  color: #232946;
  font-weight: 500;
  font-family: "Roboto", Arial, sans-serif;
  font-size: 1rem;
  margin-top: 6px;
  transition: color 0.2s;
}
.blog-list article a:hover, .blog-list article a:focus {
  color: #f4d35e;
  text-decoration: underline;
}
.blog-list article:hover, .blog-list article:focus-within {
  box-shadow: 0 8px 24px rgba(244,211,94,0.13);
  border-color: #f4d35e;
  transform: translateY(-2px) scale(1.012);
}

/* =============== FOOTER =============== */
footer {
  background: #fff;
  padding: 40px 0 26px;
  border-top: 1px solid #ececec;
}
footer .container {
  padding-top: 0;
  padding-bottom: 0;
}
footer .content-wrapper {
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px 64px;
}
footer nav {
  gap: 16px;
  flex-wrap: wrap;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.97rem;
  color: #232946;
}
.footer-contact img {
  width: 18px;
  height: 18px;
  margin-right: 8px;
  vertical-align: middle;
}
footer p {
  font-size: 1rem;
  margin-bottom: 3px;
}

/* =============== FORMS (if present) =============== */
input, textarea, select {
  border: 1px solid #ececec;
  background: #fff;
  border-radius: 8px;
  padding: 10px 15px;
  font-size: 1rem;
  margin-bottom: 12px;
  width: 100%;
  transition: border-color 0.16s, box-shadow 0.15s;
}
input:focus, textarea:focus, select:focus {
  border-color: #f4d35e;
  box-shadow: 0 2px 12px #f4d35e21;
}
label {
  margin-bottom: 6px;
  font-weight: 500;
}

/* =============== BUTTONS =============== */
button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  border: none;
  cursor: pointer;
  background: transparent;
  transition: background 0.2s, color 0.2s;
}

/* =============== COOKIE CONSENT BANNER =============== */
#cookie-banner {
  position: fixed;
  bottom: 0; left: 0;
  width: 100vw;
  background: #232946;
  color: #fff;
  z-index: 2000;
  box-shadow: 0 -3px 24px rgba(35,41,70,0.11);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 28px 20px;
  gap: 24px;
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.32s cubic-bezier(.83,.27,.28,.9), opacity 0.22s;
}
#cookie-banner.show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
#cookie-banner .cookie-banner-msg {
  font-size: 1.07rem;
  line-height: 1.7;
  max-width: 640px;
  flex: 1 1 auto;
}
#cookie-banner .cookie-banner-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
  flex-shrink: 0;
}
#cookie-banner .cookie-btn {
  background: #f4d35e;
  color: #232946;
  border-radius: 24px;
  padding: 9px 22px;
  font-weight: 600;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  border: none;
  margin-right: 0;
  transition: background 0.17s, color 0.16s, box-shadow 0.13s;
}
#cookie-banner .cookie-btn:hover, #cookie-banner .cookie-btn:focus {
  background: #232946;
  color: #f4d35e;
}
#cookie-banner .cookie-btn.secondary {
  background: #ececec;
  color: #232946;
}
#cookie-banner .cookie-btn.secondary:hover, #cookie-banner .cookie-btn.secondary:focus {
  background: #d2d8f0;
}

/* ----- Cookie Modal ------ */
#cookie-modal {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 2200;
  background: rgba(35,41,70, 0.82);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s;
}
#cookie-modal.show {
  opacity: 1;
  pointer-events: auto;
}
#cookie-modal .cookie-modal-content {
  background: #fff;
  color: #232946;
  padding: 42px 32px 30px 32px;
  border-radius: 18px;
  max-width: 440px;
  width: 96vw;
  box-shadow: 0 8px 48px rgba(35,41,70,0.19);
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
}
#cookie-modal .cookie-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: none;
  color: #232946;
  font-size: 2rem;
  border: none;
  cursor: pointer;
  z-index: 1;
  transition: color 0.14s;
}
#cookie-modal .cookie-modal-close:hover {
  color: #f4d35e;
}
#cookie-modal h2 {
  font-size: 1.32rem;
  margin-bottom: 6px;
  font-weight: 600;
}
.cookie-category {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 13px;
}
.cookie-category label {
  font-weight: 500;
  margin-bottom: 0;
}
.cookie-category input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 2px 0 0 0;
  accent-color: #f4d35e;
}
.cookie-category input[disabled] {
  accent-color: #232946;
  opacity: 0.6;
}

/* =============== LISTS & TEXT STYLES =============== */
ul, ol {
  margin-left: 26px;
  margin-bottom: 18px;
  color: #232946;
  font-size: 1rem;
}
ul li, ol li {
  margin-bottom: 7px;
  line-height: 1.7;
}
ul li strong {
  font-weight: 600;
  color: #232946;
}

/* =============== RESPONSIVE DESIGN =============== */
@media (max-width: 1100px) {
  .container { max-width: 94vw; }
  .feature-grid { justify-content: flex-start; }
}
@media (max-width: 900px) {
  .feature-grid > div, .blog-list article {
    min-width: 190px;
    flex-basis: 45%;
  }
  footer .content-wrapper {
    gap: 24px 16px;
  }
}
@media (max-width: 768px) {
  .container { padding: 0 10px; }
  .content-wrapper {
    flex-direction: column;
    gap: 24px;
  }
  header .content-wrapper, footer .content-wrapper {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }
  nav, footer nav {
    flex-direction: column;
    gap: 12px;
    align-items: center;
    justify-content: flex-start;
  }
  .feature-grid, .blog-list, .testimonial-slider, .testimonial-grid {
    gap: 20px;
    flex-direction: column;
    align-items: stretch;
  }
  .feature-grid > div, .blog-list article, .testimonial-card {
    max-width: 100%;
    min-width: 0;
    flex-basis: 100%;
  }
  .section {
    padding: 30px 0;
    margin-bottom: 40px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }
  .testimonial-highlight {
    padding: 18px 8px;
  }
  #cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 19px 10px;
    gap: 12px;
  }
  #cookie-banner .cookie-banner-actions {
    width: 100%;
    gap: 10px;
    justify-content: flex-start;
  }
}
@media (max-width: 600px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.35rem; }
  .feature-grid > div,
  .blog-list article,
  .testimonial-card {
    padding: 16px 8px;
    border-radius: 12px;
  }
}
@media (max-width: 540px) {
  header .container, footer .container {
    padding: 0 8px;
  }
  .cta-button {
    padding: 8px 10px;
    font-size: 0.99rem;
  }
}

/* =============== MOBILE ONLY NAVIGATION =============== */
@media (max-width: 1000px) {
  nav { display: none; }
  .mobile-menu-toggle { display: flex; }
}
@media (min-width: 1001px) {
  .mobile-menu, .mobile-menu-toggle { display: none !important; }
}

/* =============== MISC. =============== */
::-webkit-input-placeholder { color: #b2b6c0; }
::-moz-placeholder { color: #b2b6c0; }
:-ms-input-placeholder { color: #b2b6c0; }
::placeholder { color: #b2b6c0; }

hr { border: 0; border-bottom: 1px solid #ececec; margin: 30px 0; }

/* =============== ACCESSIBILITY OUTLINES =============== */
a:focus, button:focus, .cta-button:focus, input:focus, .cookie-btn:focus, .mobile-menu-toggle:focus {
  outline: 2px solid #f4d35e;
  outline-offset: 2px;
}

/* =============== MINIMALIST CARD EMBELLISHMENTS =============== */
.card {
  background: #fff;
  border-radius: 14px;
  border: 1px solid #ececec;
  box-shadow: 0 2px 14px rgba(35,41,70,.09);
  padding: 24px 20px;
  transition: box-shadow .18s, border-color .12s;
}
.card:hover {
  box-shadow: 0 6px 24px rgba(244,211,94,0.10);
  border-color: #f4d35e;
}

/* =============== UTILITY SPACING =============== */
.mb-20 { margin-bottom: 20px !important; }
.mb-24 { margin-bottom: 24px !important; }
.mt-24 { margin-top: 24px !important; }
.mt-32 { margin-top: 32px !important; }
.pt-20 { padding-top: 20px !important; }
.pb-20 { padding-bottom: 20px !important; }

/* ======= PRINT BRAND COLORS AS CSS VARIABLES FOR JS ======= */
:root {
  --primary: #232946;
  --secondary: #d2d8f0;
  --accent: #f4d35e;
}
