/* --- CSS RESET & BASE TYPOGRAPHY (Mobile-first) --- */
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 {
  box-sizing: border-box; 
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  vertical-align: baseline;
}
html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  background-color: #F5F7FB;
  color: #2B3657;
  min-height: 100vh;
  line-height: 1.6;
  letter-spacing: 0.01em;
  font-size: 1rem;
  font-weight: 400;
  transition: background 0.3s, color 0.3s;
}
img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #2B3657;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #A2C3A4;
}
strong, b {
  font-weight: 600;
}
ul, ol {
  padding-left: 20px;
}
article, aside, section, nav, footer, header, main {
  display: block;
}

/* --- TYPOGRAPHY SCALE & HEADINGS --- */
h1, .section h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: #2B3657;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}
h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: #2B3657;
  margin-bottom: 16px;
}
h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.125rem;
  font-weight: 500;
  color: #2B3657;
  margin-bottom: 10px;
}
h4,h5,h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #2B3657;
}
p, li {
  font-size: 1rem;
  color: #313C5F;
  margin-bottom: 10px;
}
blockquote {
  font-style: italic;
  color: #222B44;
  background: #fff;
  padding: 14px 22px;
  border-left: 4px solid #A2C3A4;
  border-radius: 8px;
  margin-bottom: 12px;
}
cite {
  font-size: 0.95rem;
  color: #819091;
  display: block;
  margin-top: 6px;
}

/* --- BUTTONS --- */
.btn-primary, .btn-secondary {
  display: inline-block;
  text-align: center;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 32px;
  padding: 14px 32px;
  min-width: 170px;
  border: none;
  box-shadow: 0 2px 12px 0 rgba(66,79,82,0.04);
  cursor: pointer;
  transition: background 0.18s, box-shadow 0.2s, color 0.15s, border 0.15s;
  outline: none;
}
.btn-primary {
  background: #2B3657;
  color: #fff;
  border: 2px solid #2B3657;
}
.btn-primary:hover, .btn-primary:focus {
  background: #A2C3A4;
  color: #2B3657;
  border-color: #A2C3A4;
  box-shadow: 0 4px 24px 0 rgba(162,195,164,0.10);
}
.btn-secondary {
  background: #fff;
  color: #2B3657;
  border: 2px solid #A2C3A4;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #A2C3A4;
  color: #fff;
  border-color: #A2C3A4;
}
.btn-primary:active,.btn-secondary:active {
  opacity: 0.85;
}

/* --- LAYOUT & CONTAINER --- */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 18px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Card container & card */
.card-container,.feature-grid,.feature-list,.service-listing,.service-categories,.testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card,.feature-block, .step, .faq-item {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 13px 0 rgba(33, 53, 65, 0.04);
  padding: 26px 24px 24px 24px;
}
.card:last-child, .feature-block:last-child, .step:last-child, .faq-item:last-child {
  margin-bottom: 0;
}
/* Cards inside listing containers, allow flexible min-width for responsiveness */
.card-container > *,
.feature-grid > *,
.feature-list > *,
.service-listing > *,
.service-categories > *,
.testimonial-list > * {
  flex: 1 1 260px;
  min-width: 250px;
}

.content-grid, .article-list, .next-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 18px 0;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 13px 0 rgba(33,53,65,.07);
  flex: 1 1 320px;
  max-width: 480px;
  min-width: 240px;
  margin-bottom: 20px;
}

.rating-overview {
  margin-top: 24px;
  margin-bottom: 24px;
  padding: 18px 24px;
  background: #fff;
  border: 1.5px solid #A2C3A4;
  border-radius: 14px;
  box-shadow: 0 2px 9px 0 rgba(33,53,65,0.04);
  text-align: center;
}

.success-stories ul {
  margin-left: 22px;
}

/* --- HEADER & NAV --- */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 1px 12px 0 rgba(43,54,87,0.03);
  position: relative;
  z-index: 10;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  padding-top: 8px;
  padding-bottom: 8px;
  gap: 16px;
}
.logo img {
  height: 44px;
  width: auto;
  object-fit: contain;
  margin-right: 0;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: #2B3657;
  padding: 6px 12px;
  border-radius: 8px;
  transition: background 0.15s, color 0.2s;
}
.main-nav a.active,
.main-nav a:hover,
.main-nav a:focus {
  background: #A2C3A4;
  color: #fff;
}

header .btn-primary {
  margin-left: 12px;
  /* for spacing right on desktop */
}

/* --- MOBILE NAVIGATION --- */
.mobile-menu-toggle {
  display: none;
  background: #2B3657;
  color: #fff;
  font-size: 2rem;
  border: none;
  border-radius: 8px;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: pointer;
  transition: background 0.15s;
  z-index: 122;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #A2C3A4;
  color: #2B3657;
}
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  box-shadow: -8px 0 42px 0 rgba(43,54,87,0.11);
  z-index: 130;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 38px 28px 28px 28px;
  transform: translateX(100%);
  transition: transform 0.33s cubic-bezier(.77,0,.18,1);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 16px;
  right: 22px;
  background: none;
  color: #2B3657;
  font-size: 2.3rem;
  border: none;
  cursor: pointer;
  z-index: 132;
  transition: color 0.1s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #A2C3A4;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  margin-top: 28px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.2rem;
  color: #2B3657;
  padding: 16px 8px;
  border-radius: 10px;
  transition: background 0.18s, color 0.13s;
}
.mobile-nav a:active,
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #A2C3A4;
  color: #fff;
}

/* Hide main menu on mobile and show toggle */
@media (max-width: 992px) {
  .main-nav, header .btn-primary {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: flex !important;
  }
}

@media (max-width: 992px) {
  header .container {
    justify-content: space-between;
  }
}

/* --- FOOTER --- */
footer {
  margin-top: 50px;
  background: #fff;
  border-top: 1.5px solid #E5EAF4;
  padding: 38px 0 18px 0;
  font-size: 0.95rem;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
  min-width: 210px;
}
.footer-brand img {
  margin-bottom: 6px;
  height: 32px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-nav a {
  color: #2B3657;
  border-radius: 8px;
  padding: 5px 8px;
  transition: background 0.15s, color 0.15s;
}
.footer-nav a:hover,
.footer-nav a:focus {
  background: #A2C3A4;
  color: #fff;
}
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  font-size: 0.98rem;
  color: #313C5F;
}
.footer-contact img {
  width: 19px;
  height: 19px;
  margin-right: 3px;
  opacity: 0.84;
}

/* --- SPECIFIC SECTION & COMPONENT STYLES --- */
/* Features */
.feature-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 1.5px 9px 0 rgba(43, 54, 87, 0.07);
  padding: 24px 18px;
  min-width: 220px;
  flex: 1 1 220px;
}
.feature-block img {
  height: 38px;
  width: 38px;
  margin-bottom: 6px;
}

.service-categories > div, .service-listing > div {
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 1.5px 9px 0 rgba(43, 54, 87, 0.04);
  padding: 24px 15px;
  flex: 1 1 210px;
}

.article-list {
  flex-direction: column;
  gap: 20px;
}
.article-list article {
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 1.5px 9px 0 rgba(43,54,87,.03);
  padding: 18px 16px 18px 18px;
  margin-bottom: 0;
}
.downloadable-resources {
  margin-top: 30px;
  background: #ECF2F6;
  border-radius: 11px;
  padding: 30px 18px 30px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.testimonial-slider, .testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 18px;
}
.star-rating {
  color: #A2C3A4;
  font-size: 1.25rem;
}

.cta-block, .confirmation {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 24px 12px;
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 2px 12px 0 rgba(33,53,65,0.04);
}
.cta-block p, .confirmation p {
  text-align: center;
  color: #313C5F;
}

.process-timeline {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.process-timeline .step {
  flex: 1 1 220px;
  min-width: 200px;
  align-items: flex-start;
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 1.5px 9px 0 rgba(43,54,87,.03);
  padding: 22px 17px 18px 17px;
  margin-bottom: 0;
}
.process-timeline .step img {
  height: 34px;
  width: 34px;
  margin-bottom: 8px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.faq-item {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1.2px 5px 0 rgba(43,54,87,0.05);
  padding: 18px 17px;
}

.contact-info-block, .faq-mini {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1.5px 9px 0 rgba(43, 54, 87, 0.04);
  padding: 18px 16px;
  margin-bottom: 20px;
  flex: 1 1 280px;
  min-width: 200px;
}
.contact-info-block ul {
  list-style: none;
}
.contact-info-block li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #2B3657;
  margin-bottom: 7px;
}
.contact-info-block li img {
  opacity: 0.78;
  height: 18px;
}
.contact-info-block a {
  color: #2B3657;
  text-decoration: underline;
  transition: color 0.16s;
}
.contact-info-block a:hover,
.contact-info-block a:focus {
  color: #A2C3A4;
}
.social-links {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}
.social-links a img {
  width: 28px;
  height: 28px;
  transition: filter 0.13s;
}
.social-links a:hover img,
.social-links a:focus img {
  filter: brightness(0.7) saturate(1.8) hue-rotate(85deg);
}

.faq-mini {
  background: #F5F7FB;
  box-shadow: none;
}
.faq-mini ul {
  list-style: none;
  margin-top: 10px;
}
.faq-mini ul li strong {
  display: block;
  color: #2B3657;
}

.next-steps {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.policy-text ul {
  margin-bottom: 16px;
  margin-left: 18px;
}
.policy-text a {
  color: #2B3657;
  text-decoration: underline;
}
.policy-text a:hover,
.policy-text a:focus {
  color: #A2C3A4;
}

/* --- COOKIES BANNER --- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100%;
  z-index: 260;
  background: #fff;
  border-top: 2px solid #A2C3A4;
  box-shadow: 0 -2px 24px 0 rgba(33,53,65,.07);
  padding: 22px 16px 22px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  animation: cookiebanner-slidein 0.5s cubic-bezier(.5,0,.3,1);
}
@keyframes cookiebanner-slidein {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  font-size: 1.06rem;
  color: #2B3657;
}
.cookie-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  border: none;
  padding: 10px 22px;
  border-radius: 25px;
  font-size: 1rem;
  font-weight: 500;
  margin-right: 0;
  cursor: pointer;
  transition: background 0.13s, color 0.14s;
}
.cookie-accept {
  background: #2B3657;
  color: #fff;
}
.cookie-btn.cookie-accept:hover, .cookie-btn.cookie-accept:focus {
  background: #A2C3A4;
  color: #2B3657;
}
.cookie-reject {
  background: #fff;
  color: #2B3657;
  border: 2px solid #A2C3A4;
}
.cookie-btn.cookie-reject:hover, .cookie-btn.cookie-reject:focus {
  background: #A2C3A4;
  color: #fff;
}
.cookie-settings {
  background: #A2C3A4;
  color: #fff;
}
.cookie-btn.cookie-settings:hover, .cookie-btn.cookie-settings:focus {
  background: #2B3657;
  color: #fff;
}

/* Cookie modal */
.cookie-modal-overlay {
  position: fixed;
  left: 0; right: 0; top:0; bottom:0;
  width: 100vw; height: 100vh;
  background: rgba(43,54,87,0.22);
  z-index: 265;
  display: flex;
  align-items: center; justify-content: center;
  animation: cookiemodal-fadein 0.30s cubic-bezier(.47,0,.34,1);
}
@keyframes cookiemodal-fadein {
  from { opacity: 0; } to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 17px;
  box-shadow: 0 4px 32px 0 rgba(33,53,65,0.13);
  width: 90vw; max-width: 390px;
  padding: 34px 22px 28px 22px;
  position: relative;
  z-index: 266;
  display: flex;
  flex-direction: column;
  gap: 21px;
  animation: cookiemodal-slidein 0.3s cubic-bezier(.47,0,.34,1);
}
@keyframes cookiemodal-slidein {
  from { transform: translateY(22%); opacity:0; }
  to { transform: translateY(0); opacity:1; }
}
.cookie-modal h3 {
  font-size: 1.22rem;
  margin-bottom: 10px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.cookie-category .switch {
  position: relative;
  display: inline-block;
  width: 38px;
  height: 22px;
}
.cookie-category .switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-category .slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #ECF2F6;
  border-radius: 12px;
  transition: background 0.16s;
}
.cookie-category .switch input:checked + .slider {
  background: #A2C3A4;
}
.cookie-category .slider:before {
  content: '';
  position: absolute;
  left: 3px;
  top: 3px;
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.21s cubic-bezier(.46,0,.61,1), background 0.13s;
}
.cookie-category .switch input:checked + .slider:before {
  transform: translateX(16px);
  background: #F5F7FB;
}
/* Always on for essential */
.cookie-category.essential .slider {
  background: #A2C3A4!important;
  cursor: not-allowed;
}
.cookie-category.essential .slider:before {
  background: #F5F7FB;
}
.cookie-modal .cookie-actions {
  margin-top: 8px;
  justify-content: flex-end;
}

@media (max-width: 600px) {
  .cookie-modal {
    width: 98vw;
    padding: 22px 7px 18px 7px;
  }
}

/* --- MICRO-INTERACTIONS & HOVER EFFECTS --- */
.card, .feature-block, .testimonial-card, .faq-item, .step, .service-categories > div, .service-listing > div, .article-list article {
  transition: box-shadow .19s, transform .19s;
}
.card:hover, .feature-block:hover, .testimonial-card:hover, .faq-item:hover, .step:hover, .service-categories > div:hover, .service-listing > div:hover, .article-list article:hover {
  box-shadow: 0 7px 26px 0 rgba(43,54,87,0.09);
  transform: translateY(-2px) scale(1.013);
}

/* --- VISIBILITY UTILITIES --- */
.hide { display: none!important; }

/* --- SPACING CORRECTIONS --- */
.section > .container > h1,
.section > .container > h2,
.section > .container > h3 {
  margin-top: 0;
  margin-bottom: 26px;
}
.section:last-child { margin-bottom: 0; }

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 1280px) {
  .container { max-width: 1000px; }
}
@media (max-width: 1100px) {
  .container { max-width: 890px; }
}
@media (max-width: 900px) {
  .container { max-width: 97vw; }
  .footer-contact {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px 0;
  }
}
@media (max-width: 768px) {
  h1, .section h1 {
    font-size: 1.32rem;
  }
  h2 {
    font-size: 1.11rem;
  }
  .container {
    padding: 0 8px;
  }
  .section {
    padding: 24px 8px;
  }
  .content-wrapper, .card-container, .feature-grid, .feature-list,
  .service-listing, .service-categories, .testimonial-list,
  .content-grid, .article-list, .process-timeline, .faq-list {
    flex-direction: column;
    gap: 16px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
  .feature-block, .step, .card, .testimonial-card,
  .service-categories > div, .service-listing > div, .faq-item {
    min-width: 0;
    padding: 16px 11px;
  }
  footer .container {
    flex-direction: column;
    gap: 22px;
  }
  .cta-block, .confirmation {
    padding: 14px 5px;
  }
  .downloadable-resources { padding: 18px 8px; }
}
@media (max-width: 500px) {
  .section { padding: 12px 2px; }
  .container { padding: 0 2px; }
  .footer-brand img { height: 24px; }
  .feature-block img, .process-timeline .step img { height: 25px; width: 25px; }
  .mobile-menu { padding: 20px 7px 14px 7px; }
}

/* --- PRINT FRIENDLY --- */
@media print {
  header, footer, .cookie-banner, .mobile-menu { display: none !important; }
  body { background: #fff; color: #21273D; }
}
