/* --- 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,
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;
  scroll-behavior: smooth;
}
*, *:before, *:after { box-sizing: inherit; }
body {
  background: #F8FAFC;
  color: #181C22;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
}
a { color: #0D223A; text-decoration: none; transition: color 0.2s; }
a:hover, a:focus { color: #7EA1C3; text-decoration: underline; }
ul, ol { padding-left: 1.5em; margin-bottom: 1rem; }
strong, b { font-weight: 600; }
img { max-width: 100%; display: block; height: auto; }
h1, h2, h3, h4 { font-family: 'Montserrat', Arial, sans-serif; font-weight: 700; line-height: 1.17; }
h1 { font-size: 2rem; color: #0D223A; margin-bottom: 16px; }
h2 { font-size: 1.5rem; color: #0D223A; margin-bottom: 12px; }
h3 { font-size: 1.125rem; color: #181C22; margin-bottom: 10px; }
h4 { font-size: 1rem; color: #181C22; margin-bottom: 6px; }
p { margin-bottom: 16px; }
blockquote {
  font-size: 1.125rem;
  color: #24344d;
  font-style: italic;
  margin: 0 0 8px 0;
}
cite {
  font-size: 0.95rem;
  color: #0D223A;
  font-style: normal;
}
button, .cta-button, .primary-cta {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 12px 28px;
  color: #fff;
  background-color: #0D223A;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(13,34,58,0.04);
  transition: all 0.19s cubic-bezier(.73,.06,.25,1);
  outline: none;
  display: inline-block;
  text-decoration: none;
  margin-right: 10px;
}
button:disabled, .cta-button:disabled, .primary-cta:disabled { opacity: 0.6; cursor: not-allowed; }
.cta-button:hover, .cta-button:focus, .primary-cta:hover, .primary-cta:focus, button:hover, button:focus {
  background-color: #7EA1C3;
  color: #0D223A;
  box-shadow: 0 6px 24px rgba(13,34,58,0.09);
  text-decoration: none;
}

/* --- CONTAINER AND SECTION STYLES --- */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding-left: 18px;
  padding-right: 18px;
  display: flex;
  flex-direction: column;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 18px rgba(13,34,58,0.035);
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.text-section {
  max-width: 780px;
}

/* FLEX LAYOUT PATTERNS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border: 1px solid #E3E8F0;
  border-radius: 10px;
  padding: 24px;
  box-shadow: 0 2px 10px rgba(13,34,58,0.04);
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 300px;
  min-width: 280px;
  transition: box-shadow 0.17s;
}
.card:hover {
  box-shadow: 0 6px 32px rgba(13,34,58,0.08);
}
.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;
  background: #F6F8FB;
  border: 1px solid #E3E8F0;
  border-radius: 10px;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  max-width: 600px;
  box-shadow: 0 1px 6px rgba(13,34,58,0.04);
}
.testimonial-card blockquote {
  color: #182549;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}


/* --- HERO SECTION --- */
.hero {
  background: linear-gradient(110deg, #F8FAFC 70%, #E3E8F0 100%);
  border-radius: 0 0 32px 32px;
  margin-bottom: 60px;
  padding: 68px 0 0 0;
  min-height: 320px;
}
.hero .container {
  align-items: flex-start;
  justify-content: center;
  min-height: 260px;
}
.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 12px;
  color: #0D223A;
}
.hero .cta-button {
  margin-top: 20px;
  font-size: 1.12rem;
}

/* --- NAVIGATION BAR --- */
header {
  background: #fff;
  box-shadow: 0 3px 18px rgba(13,34,58,0.08);
  position: sticky;
  top: 0;
  z-index: 90;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 18px;
  height: 70px;
}
.main-nav a {
  color: #0D223A;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 8px 10px;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: 4px;
  transition: background 0.15s, color 0.15s;
  line-height: 1.15;
  display: flex;
  align-items: center;
}
.main-nav a img {
  height: 40px; width: auto;
  margin-right: 12px;
}
.main-nav a.active, .main-nav a:hover, .main-nav a:focus {
  background: #F3F8FC;
  color: #0D223A;
}
.primary-cta {
  background: #7EA1C3;
  color: #fff !important;
  border-radius: 8px;
  padding: 12px 16px;
  margin-left: 16px;
  font-size: 1rem;
  font-weight: 700;
  transition: background 0.19s,color 0.15s;
}
.primary-cta:hover, .primary-cta:focus {
  background: #0D223A;
  color: #fff;
}
.mobile-menu-toggle {
  display: none;
  background: none;
  color: #0D223A;
  font-size: 2.1rem;
  border: none;
  cursor: pointer;
  margin-left: auto;
  z-index: 150;
}

/* --- MOBILE NAVIGATION --- */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  box-shadow: 0 4px 24px rgba(13,34,58,.11);
  z-index: 999;
  transform: translateX(-100vw);
  transition: transform 0.33s cubic-bezier(.7,.21,.74,.93);
  display: flex;
  flex-direction: column;
  padding: 32px 24px 24px 24px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  color: #0D223A;
  font-size: 2rem;
  cursor: pointer;
  margin-bottom: 32px;
  transition: color 0.18s;
}
.mobile-menu-close:hover { color: #7EA1C3; }
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 10px;
}
.mobile-nav a {
  color: #0D223A;
  font-size: 1.13rem;
  padding: 14px 8px;
  border-radius: 8px;
  font-weight: 600;
  transition: background 0.12s, color 0.12s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F3F8FC;
  color: #7EA1C3;
}

/* Hide mobile menu on desktop, show burger icon on mobile */
@media (max-width: 1060px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 1061px) {
  .mobile-menu { display: none !important; }
}

/* --- FEATURE GRID / SERVICE GRID --- */
.feature-grid, .service-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: flex-start;
}
.feature, .service-grid > div {
  background: #F6F8FB;
  border-radius: 10px;
  box-shadow: 0 1px 8px rgba(13,34,58,0.04);
  padding: 28px 20px;
  flex: 1 1 220px;
  min-width: 220px;
  max-width: 300px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  border: 1px solid #E3E8F0;
  transition: box-shadow 0.18s, background 0.16s;
}
.feature:hover, .service-grid > div:hover {
  box-shadow: 0 6px 32px rgba(13,34,58,0.08);
  background: #EAF1F7;
}
.feature img, .service-grid img {
  height: 40px;
  width: 40px;
  margin-bottom: 6px;
}

/* --- LISTINGS --- */
.listing-overview {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 18px;
  justify-content: stretch;
}
.listing-overview li {
  flex: 1 1 330px;
  border: 1px solid #E3E8F0;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 1px 8px rgba(13,34,58,0.03);
  padding: 22px 18px;
  margin-bottom: 20px;
  transition: box-shadow 0.15s;
}
.listing-overview li:hover {
  box-shadow: 0 8px 40px rgba(13,34,58,0.07);
}
.listing-overview h3 {
  color: #0D223A;
  margin-bottom: 7px;
}
.listing-overview ul {
  margin: 0.5em 0 0 0.5em;
  color: #425670;
  font-size: 1rem;
}
.sorting-options {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.96rem;
  color: #7EA1C3;
  margin-top: 6px;
  margin-bottom: 10px;
}

/* --- SERVICE OVERVIEW --- */
.service-overview li,
.faq-list li {
  margin-bottom: 17px;
  padding-left: 0.2em;
}
.faq-list h3 {
  font-size: 1.12rem;
  margin-bottom: 6px;
}
.faq-list p {
  font-size: 1rem;
}

/* --- CONTACT SECTION --- */
.contact-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  list-style: none;
  margin-top: 16px;
  margin-bottom: 12px;
  font-size: 1.09rem;
}
.contact-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #182549;
}
.contact-list img {
  width: 22px;
  height: 22px;
}

/* --- FOOTER --- */
footer {
  padding: 36px 0 0 0;
  background: #fff;
  border-top: 1px solid #E3E8F0;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  margin-bottom: 16px;
}
.footer-nav a {
  color: #425670;
  font-size: 0.96rem;
  padding: 7px 8px;
  border-radius: 4px;
  transition: background 0.12s, color 0.13s;
}
.footer-nav a:hover {
  background: #F3F8FC;
  color: #0D223A;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  font-size: 0.97rem;
  color: #425670;
  margin-bottom: 20px;
}
.footer-contact a {
  color: #7EA1C3;
  font-weight: 500;
}
.footer-contact a:hover { color: #4287b8; }

/* --- INFOGRAPHIC AND ICON ROWS --- */
.infographic {
  display: flex;
  justify-content: center;
  margin: 24px 0 6px 0;
}
.infographic img { max-width: 240px; height: auto; }

/* --- ANIMATIONS & MICRO-INTERACTIONS --- */
.cta-button, .primary-cta, button, .feature, .testimonial-card, .card {
  transition: box-shadow 0.19s, background 0.17s, color 0.19s, transform 0.21s;
}
.cta-button:active, .primary-cta:active, button:active {
  transform: translateY(1.5px) scale(0.98);
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #F3F8FC;
  border-top: 1px solid #E3E8F0;
  box-shadow: 0 -4px 24px rgba(13,34,58,0.11);
  z-index: 2000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 24px 16px;
  gap: 32px;
  font-size: 1rem;
  transition: transform 0.27s cubic-bezier(.62,.3,.86,.34);
  transform: translateY(0);
}
.cookie-banner.hidden {
  transform: translateY(150%);
  pointer-events: none;
  opacity: 0;
}
.cookie-banner .cookie-banner-actions {
  display: flex;
  gap: 10px;
}
.cookie-banner .cookie-accept, .cookie-banner .cookie-reject, .cookie-banner .cookie-settings {
  background: #0D223A;
  color: #fff;
  padding: 10px 18px;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  cursor: pointer;
  margin-right: 5px;
  transition: background 0.15s, color 0.15s;
}
.cookie-banner .cookie-settings {
  background: #fff;
  color: #0D223A;
  border: 1px solid #0D223A;
}
.cookie-banner .cookie-accept:hover, .cookie-banner .cookie-reject:hover {
  background: #7EA1C3;
  color: #fff;
}
.cookie-banner .cookie-settings:hover {
  background: #E3E8F0;
}
/* Cookie modal */
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(13,34,58, 0.32);
  z-index: 2200;
  display: flex;
  justify-content: center;
  align-items: center;
}
.cookie-modal {
  background: #fff;
  border-radius: 12px;
  max-width: 400px;
  width: 92vw;
  box-shadow: 0 10px 44px rgba(13,34,58,0.12);
  padding: 32px 28px 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  animation: cookieModalSlideIn 0.33s cubic-bezier(.82,.03,.43,1) both;
}
@keyframes cookieModalSlideIn {
  from { transform: translateY(24px) scale(0.97); opacity: 0; }
  to   { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal-header {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.22rem;
  color: #0D223A;
  margin-bottom: 2px;
  text-align: left;
}
.cookie-modal-close {
  position: absolute; top: 16px; right: 18px;
  background: none; border: none; font-size: 1.6rem;
  color: #0D223A; cursor: pointer;
  transition: color 0.16s;
}
.cookie-modal-close:hover { color: #7EA1C3; }
.cookie-settings-list {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-bottom: 12px;
}
.cookie-setting-row {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 1.03rem;
}
.cookie-switch {
  width: 36px;
  height: 20px;
  background: #E3E8F0;
  border-radius: 12px;
  position: relative;
  transition: background 0.14s;
  margin-left: 6px;
}
.cookie-switch input {
  display: none;
}
.cookie-switch-slider {
  position: absolute;
  left: 2px;
  top: 2px;
  width: 16px;
  height: 16px;
  background: #0D223A;
  border-radius: 50%;
  transition: left 0.14s, background 0.14s;
}
.cookie-switch input:checked + .cookie-switch-slider {
  left: 18px;
  background: #7EA1C3;
}
.cookie-switch.disabled {
  opacity: 0.65;
  pointer-events: none;
}
.cookie-modal-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}
.cookie-modal-actions button {
  min-width: 90px;
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 900px) {
  .feature-grid, .service-grid, .listing-overview, .footer-nav {
    gap: 14px;
  }
  .feature, .service-grid > div, .listing-overview li { min-width: 170px; }
  .main-nav { gap: 11px; }
  .card-container, .content-grid {
    gap: 12px;
  }
}
@media (max-width: 768px) {
  .container {
    padding-left: 8px;
    padding-right: 8px;
  }
  .section {
    margin-bottom: 30px;
    padding: 28px 6px;
    border-radius: 7px;
  }
  .hero {
    padding-top: 40px;
    border-radius: 0 0 13px 13px;
    min-height: 180px;
  }
  h1 {
    font-size: 1.5rem;
  }
  h2 {
    font-size: 1.16rem;
  }
  .feature-grid, .service-grid, .listing-overview {
    flex-direction: column;
    gap: 15px;
  }
  .feature, .service-grid > div, .listing-overview li {
    max-width: initial;
    min-width: 0;
    width: 100%;
  }
  .content-wrapper {
    gap: 10px;
    padding: 0;
  }
  .text-image-section {
    flex-direction: column;
    gap: 17px;
  }
  .testimonial-card { padding: 15px; }
  .infographic { margin: 12px 0 3px 0; }
}

@media (max-width: 540px) {
  .footer-contact, .text-section { font-size: 0.96rem; }
  header { padding-bottom: 8px; }
  .cookie-banner { flex-direction: column; gap: 18px; padding: 17px 7px; font-size: 0.98rem; }
  .main-nav { padding: 0 6px; }
  footer { padding: 20px 0 0 0; }
  .hero { padding-top: 19px; min-height: 81px; }
}

/* --- PRINT STYLES (basic) --- */
@media print {
  .mobile-menu, .mobile-menu-toggle, .cookie-banner, .cookie-modal-overlay { display: none !important; }
  header, footer { background: none; box-shadow: none; }
}
