/* RESET & BASE STYLES -------------------------------------------------- */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  min-height: 100vh;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #17375E;
  background: #fff;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0.01em;
}
img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #17375E;
  text-decoration: none;
  transition: color 0.15s;
}
a:hover, a:focus {
  color: #F5CF48;
  outline: none;
}
ul, ol {
  padding-left: 1.4em;
  margin-top: 1em;
  margin-bottom: 1em;
}
li + li {
  margin-top: 0.5em;
}
strong, b {
  font-weight: 700;
}

/* TYPOGRAPHY SCALE ------------------------------------------------------ */
h1, .h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 24px;
  line-height: 1.1;
}
h2, .h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 18px;
  line-height: 1.18;
}
h3, .h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 14px;
  line-height: 1.2;
}
h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
}
h4 { font-size: 1.125rem; }
h5 { font-size: 1rem; }
h6 { font-size: 0.9rem; }

p, ul, ol {
  font-size: 1rem;
  margin-bottom: 1.2em;
}
.mb { margin-bottom: 16px !important; }

/* CONTAINER & LAYOUT ---------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  background: #fff;
}
@media (max-width: 768px) {
  .section {
    padding: 28px 8px;
    margin-bottom: 36px;
  }
}

/* FLEXBOX COMPONENTS / LAYOUTS ------------------------------------------ */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 14px rgba(23, 55, 94, 0.07);
  padding: 28px 24px;
  transition: box-shadow 0.2s;
}
.card:hover {
  box-shadow: 0 6px 32px 0 rgba(23, 55, 94, 0.14);
}
.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;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #f9fafb;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(23, 55, 94, 0.0705);
  margin-bottom: 20px;
  color: #17375E;
  transition: box-shadow 0.18s, transform 0.18s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 22px 0 rgba(23, 55, 94, 0.14);
  transform: translateY(-2px) scale(1.02);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

/* HERO SECTION ---------------------------------------------------------- */
.hero {
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 340px;
  padding: 60px 0 40px;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 16px;
}
.hero h1 {
  color: #17375E;
}
.hero p {
  font-size: 1.18rem;
  color: #17375E;
  margin-bottom: 12px;
}

/* SERVICE CARDS --------------------------------------------------------- */
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.service-card {
  flex: 1 1 250px;
  background: #fff;
  border: 1px solid #EEF2F6;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(23, 55, 94, 0.06);
  padding: 28px 20px 20px 20px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow 0.2s, border-color 0.18s;
}
.service-card:hover {
  box-shadow: 0 7px 28px 0 rgba(23, 55, 94, 0.16);
  border-color: #8199AF44;
}
.service-card h3 {
  margin-bottom: 10px;
}

@media (max-width: 900px) {
  .service-list {
    flex-direction: column;
    gap: 18px;
  }
  .service-card {
    min-width: 0;
  }
}

/* BUTTONS -------------------------------------------------------------- */
.cta-btn, .btn, button, .cookie-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 500;
  color: #17375E;
  background: #F5CF48;
  border: none;
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(23,55,94,0.07);
  padding: 13px 30px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.18s, color 0.18s, box-shadow 0.2s, transform 0.12s;
}
.cta-btn:hover,
.cta-btn:focus {
  background: #ffd52c;
  color: #17375E;
  box-shadow: 0 6px 18px rgba(130,153,175,0.09);
  transform: translateY(-1px) scale(1.025);
  outline: none;
}
button:active, .cta-btn:active { filter: brightness(0.97); }

.btn-secondary {
  background: #17375E;
  color: #fff;
}
.btn-secondary:hover,
.btn-secondary:focus {
  background: #8199AF;
  color: #17375E;
}
.btn-ghost {
  background: transparent;
  color: #17375E;
  border: 1px solid #17375E55;
  padding: 11px 26px;
}
.btn-ghost:hover,
.btn-ghost:focus {
  background: #f5f6f8;
  border-color: #8199AF99;
  color: #17375E;
}

/* MAIN HEADER ---------------------------------------------------------- */
header {
  width: 100%;
  background: #fff;
  border-bottom: 1px solid #EEF2F6;
  box-shadow: 0 1px 10px rgba(23, 55, 94, 0.01);
  position: sticky;
  top: 0;
  z-index: 30;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: 70px;
  gap: 22px;
}
.logo {
  margin-right: 36px;
  display: flex;
  align-items: center;
  height: 48px;
  min-width: 60px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  flex: 1;
}
.main-nav a {
  font-size: 1rem;
  color: #17375ECC;
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: 0.01em;
  padding: 7px 5px;
  border-radius: 4px;
  transition: background 0.16s, color 0.2s;
}
.main-nav a:hover, .main-nav a.active {
  background: #F5CF4840;
  color: #17375E;
}

header .cta-btn {
  margin-left: 24px;
  padding: 9px 24px;
  font-size: 1rem;
}

.mobile-menu-toggle {
  display: none;
  background: #fff;
  border: none;
  color: #17375E;
  font-size: 2rem;
  margin-left: 16px;
  cursor: pointer;
  border-radius: 6px;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  transition: background .15s;
  z-index: 55;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #f5f6f8;
}

/* MOBILE MENU OVERLAY -------------------------------------------------- */
.mobile-menu {
  position: fixed;
  z-index: 100;
  left: 0; top: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  box-shadow: 0 0 0 9999px rgba(23, 55, 94, 0.18);
  display: flex;
  flex-direction: column;
  transform: translateX(-100vw);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.33s cubic-bezier(.77,0,.18,1), opacity 0.23s;
}
.mobile-menu.open {
  transform: translateX(0vw);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #17375E;
  font-size: 2.1rem;
  align-self: flex-end;
  margin: 22px 24px 0 0;
  cursor: pointer;
  border-radius: 6px;
  width: 44px;
  height: 44px;
  transition: background 0.13s;
  z-index: 110;
}
.mobile-menu-close:focus,
.mobile-menu-close:hover {
  background: #f3f3f7;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 32px 32px 32px 32px;
  flex: 1;
}
.mobile-nav a {
  width: 100%;
  color: #17375E;
  font-size: 1.18em;
  padding: 13px 0;
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: 0.01em;
  border-radius: 4px;
  transition: background 0.13s, color 0.14s;
  outline: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F5CF4840;
  color: #17375E;
}

/* Hide main nav/show burger on mobile */
@media (max-width: 900px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
/* Hide burger on desktop */
@media (min-width: 901px) {
  .mobile-menu {
    display: none !important;
  }
}

/* CONTENT SECTION SPACING ----------------------------------------------- */
section {
  margin-bottom: 60px;
  padding: 40px 0 0 0;
}
section:last-child, main > section:last-of-type {
  margin-bottom: 0;
}
@media (max-width: 768px) {
  section {
    padding: 24px 0 0 0;
    margin-bottom: 36px;
  }
}

.text-section {
  margin-bottom: 24px;
}

/* FOOTER --------------------------------------------------------------- */
footer {
  background: #f3f6fa;
  border-top: 1px solid #EEF2F6;
  color: #17375e;
  font-size: 0.96rem;
  padding: 36px 0 22px 0;
  width: 100%;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.footer-nav, .legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 8px;
}
.legal-links {
  font-size: 0.98rem;
  color: #17375ECC;
  margin-bottom: 14px;
}
.footer-nav a, .legal-links a {
  transition: color 0.16s;
}
.footer-nav a:hover,
.legal-links a:hover { color: #8199AF; }
.footer-social {
  display: flex;
  gap: 14px;
  margin-bottom: 8px;
  align-items: center;
}
.footer-copy {
  color: #8199AF;
  margin-top: 4px;
  font-size: 0.93em;
}
@media (max-width: 768px) {
  footer .container {
    padding-left: 8px;
    padding-right: 8px;
  }
  .footer-nav, .legal-links {
    flex-direction: column;
    gap: 7px;
  }
}

/* MISC --------------------------------------------------------------- */
hr {
  border: none;
  border-top: 1px solid #eef2f6;
  margin: 30px 0;
}
::selection {
  background: #F5CF48;
  color: #17375E;
}

/* FORM INPUTS ---------------------------------------------------------- */
input, textarea, select {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  border: 1px solid #8199AF33;
  border-radius: 6px;
  padding: 10px 14px;
  background: #fafdff;
  margin-bottom: 22px;
  max-width: 480px;
  width: 100%;
  transition: border-color 0.17s, box-shadow 0.2s;
}
input:focus, textarea:focus, select:focus {
  border-color: #17375E;
  outline: none;
  box-shadow: 0 0 0 2px #F5CF4877;
}
label {
  display: block;
  font-size: 1.02rem;
  margin-bottom: 7px;
  color: #17375E;
}

/* RESPONSIVE DESIGN ---------------------------------------------------- */
@media (max-width: 600px) {
  body { font-size: 15px; }
  h1, .h1 { font-size: 1.65rem; }
  h2, .h2 { font-size: 1.32rem; }
}

/* ADDITIONAL SPACING --------------------------------------------------- */
main > section:not(:first-child) {
  margin-top: 24px;
}

/* Focus OUTLINE -------------------------------------------------------- */
a:focus, button:focus, .cta-btn:focus, input:focus, textarea:focus {
  outline: 2px solid #F5CF48;
  outline-offset: 2px;
}

/* ACCESSIBLE VISUAL HIDING --------------------------------------------- */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
  border: 0 !important;
}

/* COOKIE CONSENT BANNER ------------------------------------------------ */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #fff;
  color: #17375E;
  border-top: 1px solid #8199af30;
  box-shadow: 0 -3px 24px 0 rgba(23,55,94,0.12);
  z-index: 20000;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 18px 8px 16px 8px;
  transition: transform 0.33s cubic-bezier(.66,0,.34,1), opacity 0.2s;
  font-size: 1rem;
}
.cookie-banner.hide {
  opacity: 0;
  transform: translateY(120%);
  pointer-events: none;
}
.cookie-banner .cookie-btn {
  margin-left: 12px;
  margin-right: 4px;
  min-width: 115px;
  font-size: 0.98rem;
  padding: 8px 20px;
}
.cookie-banner .cookie-btn.reject {
  background: #f9fafb;
  color: #17375E;
  border: 1px solid #8199af55;
}
.cookie-banner .cookie-btn.reject:hover {
  background: #f5cf48;
  color: #17375E;
  border-color: #f5cf48;
}
.cookie-banner .cookie-btn.settings {
  background: #17375E;
  color: #fff;
  border: none;
}
.cookie-banner .cookie-btn.settings:hover {
  background: #8199AF;
  color: #17375E; 
}

/* COOKIE PREFERENCES MODAL ---------------------------------------------- */
.cookie-modal {
  position: fixed;
  z-index: 21000;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(23,55,94,0.29);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .23s;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal-dialog {
  background: #fff;
  color: #17375E;
  border-radius: 14px;
  box-shadow: 0 8px 50px rgba(23,55,94,0.15);
  padding: 36px 30px 30px 30px;
  min-width: 330px;
  max-width: 98vw;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 23px;
  animation: cookieModalPopIn .45s cubic-bezier(.31,1.58,.6,1.19);
}
@keyframes cookieModalPopIn {
  0% { transform: scale(.85) translateY(55px); opacity: 0; }
  80% { transform: scale(1.04) translateY(-8px); opacity: 1; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.18rem;
  margin-bottom: 7px;
}
.cookie-modal-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 9px;
  font-size: 1rem;
}
.cookie-modal-category .switch {
  display: inline-flex;
  align-items: center;
}
.switch input[type="checkbox"] {
  display: none;
}
.switch-label {
  font-weight: 500;
  margin-right: 8px;
}
.switch-slider {
  display: inline-block;
  width: 38px;
  height: 22px;
  background: #EEF2F6;
  border-radius: 14px;
  position: relative;
  cursor: pointer;
  transition: background .18s;
}
.switch-slider:before {
  content: '';
  position: absolute;
  left: 4px; top: 4px;
  width: 14px; height: 14px;
  background: #8199af;
  border-radius: 50%;
  transition: transform 0.2s, background .18s;
}
.switch input:checked + .switch-slider {
  background: #F5CF48;
}
.switch input:checked + .switch-slider:before {
  transform: translateX(14px);
  background: #17375E;
}
.switch input:disabled + .switch-slider {
  opacity: 0.6;
  cursor: not-allowed;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 18px;
  margin-top: 16px;
  align-items: center;
  justify-content: flex-end;
}
.cookie-modal .modal-actions .btn {
  min-width: 120px;
  font-size: 1rem;
  padding: 10px 22px;
}
.cookie-modal .modal-close {
  position: absolute;
  top: 18px; right: 18px;
  background: none;
  border: none;
  font-size: 1.75rem;
  color: #8199af;
  cursor: pointer;
  transition: background .13s;
  border-radius: 8px;
  width: 36px;
  height: 36px;
  z-index: 1;
}
.cookie-modal .modal-close:hover {
  background: #F5CF48;
  color: #17375E;
}
@media (max-width: 500px) {
  .cookie-modal-dialog {
    min-width: 0;
    padding: 18px 6vw;
  }
}

/* SUCCESS MESSAGES ------------------------------------------------------ */
.success-msg {
  background: #F5CF48;
  color: #17375E;
  padding: 15px 24px;
  border-radius: 8px;
  margin-bottom: 12px;
  font-weight: 500;
  font-size: 1.07em;
  box-shadow: 0 1px 9px rgba(130,153,175,0.045);
}

/* RESPONSIVE ADJUSTMENTS ------------------------------------------------ */
@media (max-width: 600px) {
  .hero {
    min-height: 160px;
    padding: 32px 0 18px;
  }
  .container {
    padding-left: 8px;
    padding-right: 8px;
  }
}

/* SCROLLBAR ------------------------------------------------------------- */
::-webkit-scrollbar {
  width: 9px;
  background: #fafbfc;
}
::-webkit-scrollbar-thumb {
  background: #EEF2F6;
  border-radius: 15px;
}
::-webkit-scrollbar-thumb:hover {
  background: #b8c7d8;
}

/* UTILITY --------------------------------------------------------------- */
.mt-2 { margin-top: 16px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mt-0 { margin-top: 0 !important; }
gap-24 { gap: 24px !important; }

/* TRANSITIONS / MICRO-INTERACTIONS -------------------------------------- */
[data-appear] {
  opacity: 0;
  transform: translateY(22px) scale(.98);
  transition: opacity 0.34s, transform 0.34s;
}
[data-appear].visible {
  opacity: 1;
  transform: none;
}

/* END OF CSS */
