/* --- 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,
main, 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 {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
}
body {
  line-height: 1.6;
  background: #F4F4F8;
  color: #212D40;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
}

ol, ul {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: 100%;
  background: none;
  border: none;
  outline: none;
  margin: 0;
  padding: 0;
  color: inherit;
}
button:hover, button:focus {
  cursor: pointer;
}

/* --- BASE STRUCTURE --- */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 16px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* --- TYPOGRAPHY: Vibrant & Bold --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Arial', sans-serif;
  font-weight: 800;
  color: #212D40;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.1;
  margin-bottom: 16px;
  color: #F95738;
  text-shadow: 0 4px 24px rgba(249, 87, 56, 0.08);
}
h2 {
  font-size: 2rem;
  margin-bottom: 12px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}
.subheadline {
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 400;
  font-size: 1.125rem;
  color: #393F73;
  margin-bottom: 24px;
}
strong, b {
  font-weight: 700;
  color: #F95738;
}
small {
  font-size: 0.95rem;
}

/* --- BRAND COLOR PALETTE & VIBRANT ENERGETIC COLORS --- */
:root {
  --primary: #212D40;
  --secondary: #F4D35E;
  --accent: #F4F4F8;
  --electric-orange: #F95738;
  --electric-cyan: #22D4FD;
  --electric-magenta: #BA1F7F;
  --shadow: 0 4px 14px 0 rgba(33, 45, 64, 0.14);
}

body {
  background: var(--accent);
}

/* --- NAVIGATION (Desktop & Mobile) --- */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 6px 16px 0 rgba(33,45,64,0.04);
  position: sticky;
  top: 0;
  z-index: 40;
}
header nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  padding: 14px 0;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--primary);
  border-radius: 8px;
  padding: 7px 17px;
  position: relative;
  transition: all 0.19s;
  margin-right: 4px;
}
header nav a:hover, header nav a:focus {
  background: var(--electric-cyan);
  color: #fff;
  outline: none;
}

header nav a.cta-primary {
  background: var(--electric-orange);
  color: #fff;
  box-shadow: 0 2px 12px 0 rgba(249, 87, 56, 0.08);
  font-weight: 800;
  margin-left: auto;
  margin-right: 0;
  transition: box-shadow 0.25s, background 0.22s;
  border-radius: 32px;
  padding-left: 32px;
  padding-right: 32px;
}
header nav a.cta-primary:hover, header nav a.cta-primary:focus {
  background: var(--electric-magenta);
  box-shadow: 0 6px 20px 0 rgba(186,31,127,0.26);
}

.mobile-menu-toggle {
  background: var(--electric-cyan);
  color: #fff;
  border-radius: 8px;
  font-size: 2.1rem;
  display: none;
  margin-left: auto;
  width: 48px;
  height: 48px;
  justify-content: center;
  align-items: center;
  border: none;
  outline: none;
  transition: background 0.17s;
  z-index: 101;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: var(--electric-orange);
}

/* --- MOBILE MENU --- */
.mobile-menu {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: #212D40f2;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  transform: translateX(100%);
  transition: transform 0.33s cubic-bezier(.7,.25,.2,1);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: all;
  opacity: 1;
}
.mobile-menu-close {
  background: var(--electric-magenta);
  color: #fff;
  border: none;
  outline: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 2rem;
  margin: 20px 24px 28px;
  align-self: flex-end;
  transition: background 0.17s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--secondary);
  color: #212D40;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: flex-start;
  width: 100%;
  padding: 0 32px;
}
.mobile-nav a {
  font-size: 1.35rem;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  padding: 11px 0;
  border-radius: 8px;
  width: 100%;
  transition: background 0.17s, color 0.2s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--electric-cyan);
  color: #212D40;
}

/* --- HERO/SECTION --- */
section {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 8px 32px 0 rgba(33,45,64,0.05);
  margin-bottom: 60px;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
section > .container {
  display: flex;
  flex-direction: column;
  gap: 0;
}
/* --- FEATURE GRID --- */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 24px;
}
.feature-grid li {
  background: #F4F4F8;
  box-shadow: 0 2px 16px 0 rgba(33,45,64,0.09);
  border-radius: 20px;
  flex: 1 1 210px;
  min-width: 210px;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 28px 20px 20px 20px;
  border-left: 6px solid var(--electric-cyan);
  transition: box-shadow 0.2s, border-color 0.22s;
  margin-bottom: 20px;
}
.feature-grid li:hover {
  border-left: 6px solid var(--electric-orange);
  box-shadow: 0 8px 32px 0 rgba(39, 205, 255, 0.13);
}
.feature-grid img {
  width: 44px;
  height: 44px;
  margin-bottom: 9px;
}

/* --- POST LIST --- */
.post-list,
.faq-list,
.service-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 16px;
}
.post-list li, .faq-list li, .service-list li {
  background: var(--accent);
  border-radius: 14px;
  box-shadow: 0 2px 14px 0 rgba(33,45,64,0.06);
  padding: 22px 18px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow 0.22s, border-color 0.18s;
  border-left: 5px solid var(--electric-magenta);
}
.post-list li:hover, .faq-list li:hover, .service-list li:hover {
  border-left: 5px solid var(--electric-cyan);
  box-shadow: 0 6px 24px 0 rgba(249, 87, 56, 0.10);
}

/* --- SERVICE SIMPLE LIST ON HOMEPAGE --- */
ul.service-list:not(.service-list li > ul) {
  flex-direction: column;
  gap: 16px;
  margin: 16px 0 14px 0;
  padding-left: 0;
}
.service-list li {
  font-weight: 600;
  border-left: none;
  box-shadow: none;
  background: transparent;
  border-radius: 0;
  margin-bottom: 8px;
  padding: 0;
  color: var(--electric-magenta);
}
ul.service-list li h3 {
  color: var(--electric-cyan);
  font-size: 1.1rem;
}

/* --- CTA STYLES --- */
.cta-primary, .cta-secondary {
  display: inline-block;
  padding: 14px 34px;
  border-radius: 28px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.13rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin-top: 24px;
  transition: background 0.19s, color 0.19s, transform 0.19s, box-shadow 0.2s;
  cursor: pointer;
  margin-bottom: 0;
}
.cta-primary {
  background: var(--electric-orange);
  color: #fff;
  box-shadow: 0 4px 20px 0 rgba(249, 87, 56, .13);
  border: none;
}
.cta-primary:hover, .cta-primary:focus {
  background: var(--electric-cyan);
  color: #212D40;
  transform: translateY(-2px) scale(1.07);
  box-shadow: 0 8px 32px 0 rgba(33,45,64,0.25);
}
.cta-secondary {
  background: #fff;
  border: 2px solid var(--electric-magenta);
  color: var(--electric-magenta);
}
.cta-secondary:hover, .cta-secondary:focus {
  background: var(--electric-magenta);
  color: #fff;
  border-color: var(--electric-cyan);
  transform: translateY(-1px) scale(1.05);
}

/* --- TESTIMONIALS --- */
.testimonial-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 26px;
  justify-content: flex-start;
}
.testimonial-card {
  background: #fff;
  color: #232A40;
  border-left: 5px solid var(--electric-cyan);
  border-radius: 20px;
  box-shadow: 0 4px 24px 0 rgba(33,45,64,0.08);
  padding: 24px 24px 20px 21px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  min-width: 230px;
  max-width: 340px;
  margin-bottom: 20px;
  transition: box-shadow 0.19s, border-color 0.19s;
}
.testimonial-card:hover {
  border-left: 5px solid var(--electric-magenta);
  box-shadow: 0 8px 32px 0 rgba(34,212,253,0.09);
}
.testimonial-card p {
  color: #232A40;
  font-size: 1.15rem;
  font-weight: 700;
  font-family: 'Montserrat', Arial, sans-serif;
}
.testimonial-card span {
  color: var(--electric-magenta);
  font-size: 1.01rem;
  font-weight: 600;
}

/* --- FAQ section --- */
.faq-list li h3 {
  color: var(--electric-cyan);
}

/* --- TEXT-IMAGE FLEX SECTIONS --- */
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

/* --- FOOTER --- */
footer {
  background: #212D40;
  color: #fff;
  padding: 42px 0 28px 0;
  width: 100%;
  border-top-left-radius: 30px;
  border-top-right-radius: 30px;
  box-shadow: 0 -10px 32px 0 rgba(33,45,64,0.07);
  margin-top: 50px;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: center;
}
footer nav a {
  color: var(--secondary);
  font-weight: 700;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  transition: color 0.18s;
  border-radius: 6px;
  padding: 5px 12px;
}
footer nav a:hover, footer nav a:focus {
  color: var(--electric-orange);
  background: #fff1;
}
footer .text-section small {
  color: #fff;
  opacity: 0.7;
}


/* --- COOKIES BANNER --- */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #232A40;
  color: #fff;
  box-shadow: 0 -4px 32px rgba(33,45,64,0.10);
  border-top: 8px solid var(--electric-cyan);
  z-index: 1500;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 24px 38px;
  font-size: 1.04rem;
  transition: transform 0.4s, opacity 0.27s;
  opacity: 1;
  transform: translateY(0);
}
.cookie-banner.hidden {
  opacity: 0;
  transform: translateY(120%);
  pointer-events: none;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.cookie-banner button {
  border: none;
  padding: 11px 19px;
  border-radius: 21px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  margin: 0 0 0 7px;
  transition: background 0.14s, color 0.16s, box-shadow 0.19s;
}
.cookie-banner .accept {
  background: var(--electric-cyan);
  color: #232A40;
}
.cookie-banner .accept:hover {
  background: var(--electric-orange);
  color: #fff;
}
.cookie-banner .reject {
  background: #fff;
  color: var(--electric-magenta);
  border: 2px solid var(--electric-magenta);
}
.cookie-banner .reject:hover {
  background: var(--electric-magenta);
  color: #fff;
}
.cookie-banner .settings {
  background: var(--secondary);
  color: #232A40;
}
.cookie-banner .settings:hover {
  background: #fff;
  color: var(--primary);
}

/* --- COOKIES PREFERENCES MODAL --- */
.cookie-modal-backdrop {
  position: fixed;
  left: 0;top: 0;
  width: 100vw;
  height: 100vh;
  background: #232A40e6;
  z-index: 2500;
  display: none;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s;
}
.cookie-modal-backdrop.open {
  display: block;
  pointer-events: all;
  opacity: 1;
}
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -48%) scale(1);
  background: #fff;
  color: #232A40;
  min-width: 324px;
  width: 90vw;
  max-width: 410px;
  box-shadow: 0 10px 60px 0 rgba(33,45,64,0.20);
  border-radius: 24px;
  z-index: 2550;
  padding: 32px 30px 26px 30px;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s, transform 0.23s;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: all;
  transform: translate(-50%, -50%) scale(1.01);
}
.cookie-modal h2 {
  font-size: 1.32rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--electric-cyan);
  margin-bottom: 8px;
}
.cookie-modal ul {
  display: flex;
  flex-direction: column;
  gap: 13px;
  font-size: 1.07rem;
  margin-bottom: 19px;
}
.cookie-modal li {
  display: flex;
  align-items: center;
  gap: 9px;
}
.cookie-modal label {
  font-weight: 600;
}
.cookie-modal input[type=checkbox], .cookie-modal input[type=radio] {
  accent-color: var(--electric-cyan);
  width: 20px;
  height: 20px;
  margin-right: 5px;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 14px;
}
.cookie-modal button {
  border: none;
  border-radius: 18px;
  padding: 10px 18px;
  font-weight: 700;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  transition: background 0.15s, color 0.15s;
}
.cookie-modal .save {
  background: var(--electric-cyan);
  color: #fff;
}
.cookie-modal .save:hover {
  background: var(--electric-magenta);
}
.cookie-modal .close {
  background: #F4F4F8;
  color: var(--electric-magenta);
}
.cookie-modal .close:hover {
  background: var(--secondary);
  color: #212D40;
}

/* --- RESPONSIVENESS --- */
@media (max-width: 1200px) {
  .container {
    max-width: 95vw;
    padding: 0 8px;
  }
  .testimonial-wrap, .feature-grid {
    gap: 16px;
  }
}
@media (max-width: 990px) {
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.4rem; }
  .testimonial-wrap,
  .feature-grid {
    flex-direction: column;
    align-items: stretch;
  }
  .feature-grid li, .testimonial-card {
    min-width: 180px;
    max-width: 100%;
  }
}
@media (max-width: 768px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
    position: absolute;
    top: 18px;
    right: 24px;
  }
  .testimonial-wrap,
  .feature-grid {
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
  }
  .section, section {
    padding: 25px 5px;
    margin-bottom: 36px;
    border-radius: 13px;
  }
  .content-wrapper {
    gap: 20px;
  }
  .post-list li, .faq-list li, .service-list li {
    padding: 14px 9px;
    margin-bottom: 16px;
  }
  .testimonial-card, .feature-grid li {
    padding: 19px 11px;
    margin-bottom: 15px;
    min-width: 0;
    max-width: 100%;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 17px 10px 17px 14px;
    gap: 20px;
    font-size: 0.99rem;
  }
  .cookie-banner .cookie-actions {
    gap: 7px;
  }
  .cookie-modal {
    min-width: 200px;
    max-width: 98vw;
    padding: 24px 10px 18px 10px;
  }
  .mobile-menu {
    padding-top: 2.8rem;
  }
}
@media (max-width: 520px) {
  h1 { font-size: 1.25rem; }
  h2 { font-size: 1.05rem; }
  .cta-primary, .cta-secondary {
    padding: 12px 16px;
    font-size: 0.98rem;
  }
}

/* --- INTERACTIVE MICRO-ANIMATIONS --- */
.cta-primary, .cta-secondary, .mobile-menu-toggle, .mobile-menu-close, .cookie-banner button, .cookie-modal button {
  transition: background 0.16s, color 0.17s, box-shadow 0.19s, transform 0.18s;
}
.cta-primary:active, .cta-secondary:active {
  transform: scale(0.97);
}
.mobile-nav a:active, header nav a:active {
  transform: scale(0.97);
}
input[type="checkbox"]:focus, input[type="radio"]:focus {
  outline: 2px solid var(--electric-magenta);
  outline-offset: 2px;
}

/* --- UTILITIES --- */
.m-0 { margin: 0 !important; }
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }

/* --- Hide scroll on mobile menu open (managed via body class JS) --- */
body.menu-open {
  overflow: hidden;
}

/* --- Z-INDEX LAYERS (mobile nav, cookie etc) --- */
header { z-index: 40; }
.mobile-menu { z-index: 200; }
.cookie-banner { z-index: 1500; }
.cookie-modal-backdrop { z-index: 2500; }
.cookie-modal { z-index: 2550; }

/* --- END --- */
