/*! RESET & BASELINE */
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 {
  box-sizing: border-box;
  height: 100%;
  scroll-behavior: smooth;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
}
*, *:before, *:after { box-sizing: inherit; }
body {
  min-height: 100vh;
  background: #F7F8FA;
  color: #232A34;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a {
  color: #1A3764;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #77B300;
  text-decoration: underline;
}
ul, ol {
  padding-left: 24px;
  margin-bottom: 16px;
}
li {
  margin-bottom: 8px;
}
h1, h2, h3, h4 {
  color: #1A3764;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  margin-bottom: 16px;
}
h1 {
  font-size: 32px;
  line-height: 1.2;
  margin-bottom: 20px;
}
h2 {
  font-size: 24px;
  line-height: 1.3;
}
h3 {
  font-size: 18px;
  font-weight: 600;
}
.subheadline {
  font-size: 18px;
  font-weight: 400;
  color: #31405B;
  margin-bottom: 24px;
}
p {
  margin-bottom: 16px;
}
strong, b {
  font-weight: 700;
}

/*! CONTAINERS & LAYOUT*/
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: white;
  border-radius: 14px;
  box-shadow: 0 2px 16px 0 rgba(26, 55, 100, 0.06);
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px 0 rgba(26, 55, 100, 0.09);
  padding: 24px;
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 calc(33.333% - 32px);
  min-width: 250px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 4px 20px 0 rgba(26, 55, 100, 0.16);
  transform: translateY(-4px);
}
.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;
  background: #E8EAF0;
  border-radius: 10px;
  box-shadow: 0 1px 6px rgba(26, 55, 100, 0.08);
  padding: 20px;
  margin-bottom: 20px;
  flex-direction: column;
  color: #232A34;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  list-style: none;
  margin-bottom: 8px;
}
.feature-grid li {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #F7F8FA;
  border-radius: 8px;
  padding: 14px 18px;
  font-size: 16px;
  font-weight: 500;
  color: #1A3764;
  min-width: 220px;
  margin-bottom: 0;
}
.feature-grid img {
  width: 32px;
  height: 32px;
}
.service-list, .service-overview-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  list-style: none;
}
.service-list li, .service-overview-cards li {
  background: #E8EAF0;
  border-radius: 10px;
  padding: 24px;
  flex: 1 1 calc(33.333% - 24px);
  min-width: 260px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 1px 8px rgba(26, 55, 100, 0.07);
  position: relative;
  margin-bottom: 0;
  transition: box-shadow 0.2s, transform 0.2s;
}
.service-list li:hover, .service-overview-cards li:hover {
  box-shadow: 0 6px 24px rgba(26, 55, 100, 0.15);
  transform: translateY(-4px);
}
.price {
  display: inline-block;
  background: #1A3764;
  color: #fff;
  padding: 4px 14px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 700;
  margin-top: 8px;
}

/*! BUTTONS */
.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  outline: none;
  border-radius: 8px;
  font-size: 18px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  padding: 12px 36px;
  min-width: 190px;
  min-height: 48px;
  text-align: center;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.2s, transform 0.2s;
  box-shadow: 0 1.5px 8px 0 rgba(26, 55, 100, 0.10);
}
.btn-primary {
  background: #1A3764;
  color: #fff;
}
.btn-primary:hover, .btn-primary:focus {
  background: #163059;
  color: #fff;
  box-shadow: 0 2.5px 16px 0 rgba(26,55,100,0.17);
  transform: translateY(-2px);
}
.btn-secondary {
  background: #E8EAF0;
  color: #1A3764;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #d6dae3;
  color: #1A3764;
  box-shadow: 0 2.5px 14px 0 rgba(26,55,100,0.12);
  transform: translateY(-2px);
}

/* Utility Classes */
.mt-24 { margin-top: 24px; }
.mb-24 { margin-bottom: 24px; }
.mt-32 { margin-top: 32px; }
.mb-32 { margin-bottom: 32px; }

/*! HEADER */
header {
  background: #fff;
  box-shadow: 0 2px 14px rgba(26, 55, 100, 0.07);
  position: relative;
  z-index: 90;
}
header .container {
  display: flex;
  align-items: center;
  gap: 32px;
  min-height: 82px;
  flex-wrap: wrap;
}
header img {
  height: 38px;
  margin-right: 24px;
}
.main-nav {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
  margin-right: auto;
  margin-left: 8px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #31405B;
  letter-spacing: 0.01em;
  padding: 8px 10px;
  border-radius: 5px;
  transition: background 0.17s, color 0.17s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #E8EAF0;
  color: #1A3764;
  text-decoration: none;
}
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 29px;
  color: #1A3764;
  margin-left: 16px;
  cursor: pointer;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  transition: background 0.18s;
  z-index: 140;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #E8EAF0;
}

/*! MOBILE NAV */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(26,55,100,0.92);
  z-index: 130;
  transform: translateX(100vw);
  transition: transform 0.33s cubic-bezier(.72,.11,.32,.97);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 42px;
  color: #fff;
  margin: 18px 28px 0 0;
  cursor: pointer;
  align-self: flex-end;
  z-index: 150;
  transition: color 0.16s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus { color: #77B300; }
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
  margin: 48px 0 0 38px;
  width: 100%;
}
.mobile-nav a {
  color: #fff;
  font-size: 20px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 8px 2px;
  border-radius: 5px;
  min-width: 90vw;
  transition: background 0.2s, color 0.2s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #223D69;
  color: #77B300;
  text-decoration: none;
}

/*! TABLES - PRICING */
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 1px 7px rgba(26,55,100,0.08);
}
.pricing-table th, .pricing-table td {
  padding: 16px 14px;
  font-size: 16px;
  text-align: left;
}
.pricing-table thead {
  background: #E8EAF0;
}
.pricing-table tbody tr:nth-child(even) {
  background: #F3F6FA;
}
.pricing-table tr td:last-child {
  text-align: right;
  font-weight: 700;
}
 .special-offer {
  background: #E8EAF0;
  color: #1A3764;
  padding: 16px 18px;
  border-radius: 7px;
  font-size: 16px;
  margin-top: 12px;
  font-weight: 500;
  box-shadow: 0 1px 5px rgba(26,55,100,0.08);
}

/*! FOOTER */
footer {
  background: #1A3764;
  color: #fff;
  font-size: 16px;
  padding-top: 40px;
  padding-bottom: 32px;
  margin-top: 60px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-brand {
  flex: 1 1 240px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.footer-brand img {
  height: 34px;
}
.footer-brand p {
  margin-bottom: 0;
  color: #BCC7DA;
  font-size: 15px;
}
.footer-nav,
.legal-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-nav a, .legal-nav a {
  color: #BCC7DA;
  font-size: 15px;
  transition: color 0.17s;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}
.footer-nav a:hover, .legal-nav a:hover, .footer-nav a:focus, .legal-nav a:focus {
  color: #77B300;
  text-decoration: underline;
}
.contact-info {
  flex: 1 1 240px;
  color: #D9E1EF;
  font-size: 15px;
}
.contact-info a { color: #fff; text-decoration: underline; }
.social-links {
  display: flex;
  gap: 12px;
  min-width: 72px;
  align-items: center;
}
.social-links a {
  background: #fff;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(26, 55, 100, 0.14);
  transition: background 0.16s, box-shadow 0.16s, transform 0.2s;
}
.social-links a:hover, .social-links a:focus {
  background: #E8EAF0;
  transform: scale(1.08);
}
.social-links img {
  width: 22px;
  height: 22px;
}

/*! FAQ ACCORDION (BASIC - ALWAYS EXPANDED) */
.faq-accordion-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.faq-accordion-list h2 {
  font-size: 18px;
  font-weight: 600;
  color: #1A3764;
  margin-bottom: 6px;
}

/*! MODAL/BANNER - COOKIE CONSENT */
.cookie-consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  color: #1A3764;
  border-top: 2px solid #E8EAF0;
  box-shadow: 0 -4px 16px 0 rgba(26, 55, 100, 0.15);
  padding: 28px 16px 19px 16px;
  z-index: 2220;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 32px;
  font-size: 15px;
  transition: transform 0.32s cubic-bezier(.66,.02,.35,1);
}
.cookie-consent-banner.hide {
  transform: translateY(100%);
}
.cookie-banner-actions {
  display: flex;
  gap: 14px;
}
.cookie-consent-banner button {
  border: none;
  background: #E8EAF0;
  color: #1A3764;
  font-size: 15px;
  padding: 9px 20px;
  border-radius: 6px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  transition: background 0.16s, color 0.16s, box-shadow 0.15s;
  cursor: pointer;
}
.cookie-consent-banner .btn-cookie-accept {
  background: #1A3764;
  color: #fff;
  box-shadow: 0 1.5px 8px 0 rgba(26, 55, 100, 0.11);
}
.cookie-consent-banner .btn-cookie-accept:hover {
  background: #163059;
  color: #fff;
}
.cookie-consent-banner .btn-cookie-reject {
  background: #E8EAF0;
  color: #1A3764;
}
.cookie-consent-banner .btn-cookie-reject:hover {
  background: #d6dae3;
}
.cookie-consent-banner .btn-cookie-settings {
  background: #BCC7DA;
  color: #1A3764;
}
.cookie-consent-banner .btn-cookie-settings:hover {
  background: #E8EAF0;
  color: #1A3764;
}

/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed;
  z-index: 2500;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(26, 55, 100, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.22s;
}
.cookie-modal-overlay.open {
  pointer-events: auto;
  opacity: 1;
}
.cookie-modal {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 32px rgba(26, 55, 100, 0.18);
  padding: 38px 22px 28px 34px;
  min-width: 320px;
  max-width: 98vw;
  width: 400px;
  color: #232A34;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  transform: translateY(42px) scale(0.97);
  transition: transform 0.28s cubic-bezier(.66,.02,.35,1);
}
.cookie-modal-overlay.open .cookie-modal {
  transform: translateY(0) scale(1);
}
.cookie-modal-close {
  background: none;
  border: none;
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 32px;
  color: #1A3764;
  cursor: pointer;
  z-index: 22;
  transition: color 0.16s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #77B300;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  padding: 11px 4px 10px 0;
  border-bottom: 1px solid #E8EAF0;
}
.cookie-category:last-child {
  border-bottom: none;
}
.cookie-category label {
  font-size: 16px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
}
.cookie-toggle {
  width: 48px;
  height: 26px;
  display: inline-block;
  position: relative;
}
.cookie-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0;
  right: 0; bottom: 0;
  background: #E8EAF0;
  transition: background 0.18s;
  border-radius: 15px;
}
.cookie-toggle input:checked + .cookie-slider {
  background: #77B300;
}
.cookie-slider:before {
  content: '';
  position: absolute;
  left: 4px; top: 3px;
  width: 20px; height: 20px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.18s;
  box-shadow: 0 1.5px 6px 0 rgba(26, 55, 100, 0.12);
}
.cookie-toggle input:checked + .cookie-slider:before {
  transform: translateX(20px);
}
.cookie-modal .cookie-category .category-desc {
  font-size: 13px;
  color: #31405B;
  font-weight: normal;
  margin-left: 5px;
}

/*! MEDIA QUERIES - Responsive Design */
@media (max-width: 1020px) {
  .container { max-width: 94vw; padding: 0 12px; }
}
@media (max-width: 900px) {
  .footer-nav, .legal-nav { gap: 8px; }
  .footer-brand img { height: 28px; }
  .footer-brand, .contact-info { font-size: 14px; }
  .section { padding: 32px 10px; }
}
@media (max-width: 768px) {
  h1 { font-size: 24px; }
  h2 { font-size: 19px; }
  .section { margin-bottom: 38px; padding: 22px 5px; }
  .content-wrapper, .content-grid, .service-list, .service-overview-cards, .feature-grid {
    flex-direction: column;
    gap: 16px;
  }
  .service-list li, .service-overview-cards li, .card {
    min-width: unset;
    width: 100%;
    flex: 1 1 100%;
    margin-bottom: 0;
  }
  .footer-brand, .contact-info { font-size: 13px; }
  .footer-brand img { height: 26px; }
  .testimonial-card { padding: 16px; font-size: 15px; gap: 12px; }
  .feature-grid li { font-size: 15px; padding: 10px 12px; }
  .pricing-table th, .pricing-table td { padding: 11px 7px; font-size: 14px; }
  .text-image-section { flex-direction: column; align-items: flex-start; gap: 18px; }
  .mobile-menu-toggle { display: inline-flex; }
  .main-nav { display: none !important; }
  header .btn-primary { display: none; }
  .container { max-width: 98vw; padding: 0 5px; }
  footer .container {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
}
@media (max-width: 500px) {
  h1 { font-size: 19px; margin-bottom: 10px; }
  h2 { font-size: 16px; }
  .btn-primary, .btn-secondary {
    min-width: 110px;
    padding: 9px 10px;
    font-size: 15px;
  }
  .section { padding: 13px 2vw; }
  .service-list li, .service-overview-cards li {
    padding: 12px 8px;
  }
  .testimonial-card { font-size: 13px; padding: 10px; }
  .footer-brand, .contact-info { font-size: 11.5px; }
  .pricing-table th, .pricing-table td { font-size: 12px; }
  .cookie-modal { width: 95vw; min-width: 80vw; padding: 19px 5vw; }
}

/*! MISC COMPONENTS */
.team-teaser, .faq-teaser {
  margin-top: 22px;
  background: #E8EAF0;
  border-radius: 8px;
  padding: 16px;
  color: #1A3764;
  font-weight: 500;
  box-shadow: 0 1px 8px rgba(26,55,100,0.06);
}
.address-map {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 10px 0;
}
.address-map img {
  width: 30px; height: 30px;
}
.direct-contact-info p {
  margin-bottom: 7px;
  font-size: 15px;
  color: #31405B;
}
.mail-link { margin-top: 16px; }

/*! LEGAL PAGE TEXT STYLING */
.text-section h1, .text-section h2, .text-section h3 {
  margin-bottom: 8px;
}
.text-section ul {
  margin-bottom: 15px;
}

/* Utility for clear breathing room */
.mb-32 { margin-bottom: 32px; }
.mt-32 { margin-top: 32px; }

/*! ANIMATIONS & MICRO-INTERACTIONS */
.btn-primary, .btn-secondary, .main-nav a, .mobile-nav a, .social-links a, .service-list li, .service-overview-cards li, .card {
  transition: box-shadow 0.2s, transform 0.2s, background 0.2s, color 0.16s;
}

/*! VISUAL SEPARATORS */
hr {
  border: none;
  border-top: 1px solid #E8EAF0;
  margin: 24px 0;
}

/* Hide elements visually but keep for screen readers */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
