/* --- 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, dd, dt, 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 {
  scroll-behavior: smooth;
}
body {
  line-height: 1.5;
  background: #F7FAFC;
  color: #224769;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 400;
  min-height: 100vh;
}
*, *::before, *::after {
  box-sizing: inherit;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
ul, ol {
  list-style: none;
}
img {
  max-width: 100%;
  display: block;
}
:focus {
  outline: 2px solid #F9B233;
  outline-offset: 2px;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 800;
  color: #224769;
  margin-bottom: 16px;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.8rem;
  line-height: 1.18;
}
h2 {
  font-size: 2rem;
}
h3 {
  font-size: 1.3rem;
}
p, ul, ol {
  margin-bottom: 16px;
}
strong {
  font-weight: 700;
}
.subheadline {
  font-size: 1.2rem;
  color: #224769;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-weight: 600;
  margin-bottom: 24px;
  margin-top: 0;
}

/* --- CONTAINER & MAIN STRUCTURE --- */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  width: 100%;
}
/* --- SECTIONS --- */
section {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 2px 24px 0 rgba(34,71,105,0.06);
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* --- HEADER --- */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 16px 0 rgba(34,71,105,0.09);
  z-index: 1020;
  position: relative;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 20px 18px 20px;
}
header img {
  height: 44px;
}
nav {
  display: flex;
  gap: 24px;
}
nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: #224769;
  padding: 10px 8px;
  border-radius: 8px;
  transition: background 0.13s, color 0.13s;
}
nav a:hover,
nav a.active {
  color: #fff;
  background: #224769;
}
.cta-primary {
  background: #F9B233;
  color: #224769;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  border-radius: 10px;
  padding: 13px 32px;
  box-shadow: 0 2px 8px 0 rgba(34,71,105,0.13);
  transition: background 0.18s, transform 0.18s, box-shadow 0.18s;
  display: inline-block;
  border: none;
  cursor: pointer;
}
.cta-primary:hover, .cta-primary:focus {
  background: #224769;
  color: #fff;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 4px 16px 0 rgba(34,71,105,0.16);
}
.cta-secondary {
  background: transparent;
  color: #224769;
  border: 2px solid #224769;
  border-radius: 10px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
  padding: 12px 28px;
  transition: background 0.18s, color 0.18s, border 0.18s;
  cursor: pointer;
}
.cta-secondary:hover, .cta-secondary:focus {
  background: #224769;
  color: #fff;
  border-color: #F9B233;
}
.mobile-menu-toggle {
  display: none;
  background: #F9B233;
  color: #224769;
  font-size: 2rem;
  border: none;
  border-radius: 8px;
  width: 48px;
  height: 48px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 6px 0 rgba(34,71,105,0.07);
  transition: background 0.15s;
}
.mobile-menu-toggle:hover {
  background: #224769;
  color: #fff;
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: #224769;
  color: #fff;
  z-index: 2050;
  display: flex;
  flex-direction: column;
  transform: translateX(-100vw);
  transition: transform 0.36s cubic-bezier(.55,.1,.15,.9);
  padding-top: 0;
  padding-bottom: 0;
  box-shadow: 0 12px 48px 6px rgba(0,0,0,.13);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: #F9B233;
  color: #224769;
  border: none;
  font-size: 2.1rem;
  border-radius: 10px;
  width: 54px;
  height: 54px;
  align-self: flex-end;
  margin: 24px 24px 0 0;
  cursor: pointer;
  transition: background 0.15s;
  box-shadow: 0 1px 12px 0 rgba(249,178,51,0.12);
}
.mobile-menu-close:hover {
  background: #fff;
  color: #F9B233;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  align-items: flex-start;
  margin: 54px 0 0 36px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  padding: 13px 0;
  min-width: 220px;
  border-radius: 8px;
  transition: background 0.13s;
}
.mobile-nav a:hover,
.mobile-nav a.active {
  background: #F9B233;
  color: #224769;
}

/* --- HERO SECTIONS --- */
main section:first-of-type {
  padding-top: 48px;
  background: #EBEFF2;
}
main h1 {
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  width: 100%;
  min-width: 0;
  padding: 36px 0;
}
/* --- FLEXBOX LAYOUTS --- */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 24px;
  margin-bottom: 8px;
}
.feature {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 3px 14px 0 rgba(34,71,105,0.04);
  padding: 28px 24px 26px 24px;
  flex: 1 1 220px;
  min-width: 220px;
  max-width: 285px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  transition: box-shadow 0.18s, transform 0.18s;
  border-left: 6px solid #F9B233;
}
.feature:hover {
  box-shadow: 0 12px 32px 0 rgba(34,71,105,0.09);
  transform: translateY(-4px) scale(1.036);
}
.feature img {
  width: 46px;
  height: 46px;
  margin-bottom: 6px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 19px;
  box-shadow: 0 2px 12px 0 rgba(34,71,105,0.05);
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 215px;
  max-width: 360px;
  padding: 24px 20px 20px 22px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  width: 100%;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  width: 100%;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}
.services-list li {
  margin-bottom: 12px;
  font-size: 1.1rem;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-weight: 600;
}

/* --- TESTIMONIALS --- */
.testimonials {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 26px;
  margin-bottom: 4px;
}
.testimonial-card {
  background: #EBEFF2;
  border-radius: 18px;
  box-shadow: 0 2px 13px 0 rgba(34,71,105,0.07);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
  min-width: 215px;
  flex: 1 1 220px;
  max-width: 352px;
  margin-bottom: 20px;
  border-left: 5px solid #F9B233;
  color: #224769;
  font-weight: 600;
  position: relative;
}
.testimonial-card p {
  font-size: 1.12rem;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  color: #224769;
  margin-bottom: 14px;
}
.testimonial-card span {
  align-self: flex-end;
  font-size: 0.98rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #224769;
  font-weight: 700;
}

/* --- TEXTUAL CONTENT & LISTS --- */
ul, ol {
  padding-left: 16px;
  margin-bottom: 20px;
}
ul > li, ol > li {
  margin-bottom: 10px;
  line-height: 1.65;
  position: relative;
  padding-left: 14px;
  font-size: 1.02rem;
}
ul > li::before {
  content: '•';
  color: #F9B233;
  position: absolute;
  left: 0;
  font-size: 1.15em;
  top: 0.03em;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 900;
}
/* remove dots in brand legal footer nav */
.footer-nav ul, .footer-nav ol {
  list-style: none;
  padding-left: 0 !important;
}

/* --- FOOTER --- */
footer {
  background: #224769;
  color: #fff;
  margin-top: 40px;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  justify-content: center;
  padding: 40px 16px 27px 16px;
}
.footer-nav {
  display: flex;
  gap: 28px;
  margin-bottom: 2px;
  flex-wrap: wrap;
}
.footer-nav a {
  color: #fff;
  opacity: 0.88;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 0.98rem;
  font-weight: 600;
  padding: 0 8px;
  border-radius: 6px;
  transition: background 0.15s, color 0.12s;
}
.footer-nav a:hover {
  background: #F9B233;
  color: #224769;
  opacity: 1;
}
footer span {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #224769;
  color: #fff;
  z-index: 5000;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 28px;
  padding: 20px 28px;
  box-shadow: 0 -4px 24px 0 rgba(34,71,105,0.11);
  transition: transform 0.3s cubic-bezier(.62,.55,.55,1.0), opacity 0.3s;
  opacity: 1;
  transform: translateY(0);
}
.cookie-banner.hide {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner__message {
  flex: 1;
  font-size: 1.08rem;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-weight: 500;
}
.cookie-banner__actions {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.cookie-btn {
  background: #F9B233;
  color: #224769;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 800;
  font-size: 1rem;
  border: none;
  border-radius: 8px;
  padding: 10px 18px;
  cursor: pointer;
  transition: background 0.13s, color 0.13s;
  box-shadow: 0 1px 5px 0 rgba(249,178,51,0.13);
}
.cookie-btn.accept {
  background: #F9B233;
  color: #224769;
}
.cookie-btn.reject {
  background: transparent;
  border: 2px solid #F9B233;
  color: #F9B233;
}
.cookie-btn.settings {
  background: #fff;
  color: #224769;
}
.cookie-btn:hover {
  background: #224769;
  color: #fff;
  border: 2px solid #F9B233;
}

/* --- COOKIE SETTINGS MODAL --- */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  z-index: 5100;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(34,71,105,0.78);
  justify-content: center;
  align-items: center;
  transition: background 0.18s, opacity 0.18s;
}
.cookie-modal-overlay.open {
  display: flex;
}
.cookie-modal {
  background: #fff;
  color: #224769;
  border-radius: 18px;
  padding: 34px 30px 28px 30px;
  min-width: 330px;
  max-width: 90vw;
  box-shadow: 0 8px 32px 0 rgba(34,71,105,0.16);
  display: flex;
  flex-direction: column;
  gap: 17px;
  position: relative;
}
.cookie-modal h2 {
  font-size: 1.45rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 800;
  margin-bottom: 10px;
}
.cookie-modal__category {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}
.cookie-modal__category input[type="checkbox"] {
  accent-color: #F9B233;
  width: 21px;
  height: 21px;
}
.cookie-modal__category label {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1.04rem;
  font-weight: 600;
}
.cookie-modal__category.essential label {
  color: #224769;
  opacity: 0.84;
}
.cookie-modal .cookie-btn {
  align-self: flex-end;
  margin-top: 12px;
}
.cookie-modal__close {
  position: absolute;
  top: 10px;
  right: 16px;
  background: transparent;
  border: none;
  color: #224769;
  font-size: 2.1rem;
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.13s;
  width: 42px;
  height: 42px;
  line-height: 40px;
  text-align: center;
}
.cookie-modal__close:hover {
  background: #F9B233;
  color: #fff;
}

/* --- MISCELLANEOUS UTILITIES --- */
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 16px; }
.mt-4 { margin-top: 24px; }
.mt-5 { margin-top: 32px; }
.mb-2 { margin-bottom: 8px; }
.mb-3 { margin-bottom: 16px; }
.mb-4 { margin-bottom: 24px; }
.mb-5 { margin-bottom: 32px; }

/* --- RESPONSIVE --- */
@media (max-width: 1140px) {
  .container { max-width: 990px; }
}
@media (max-width: 990px) {
  .container { max-width: 100%; }
  .feature-grid { gap: 16px; }
  .testimonials { gap: 18px; }
}
@media (max-width: 820px) {
  header .container { flex-wrap: wrap; }
  nav { display: none; }
  .mobile-menu-toggle { display: flex; }
}
@media (max-width: 700px) {
  main h1 { font-size: 2rem; }
  h2 { font-size: 1.45rem; }
  .content-wrapper { padding: 14px 0 12px 0; gap: 10px; }
  section { padding: 20px 6px; margin-bottom: 38px !important; }
  .feature { min-width: 94vw; flex-basis: 94vw !important; max-width: 100%; }
  .testimonial-card { min-width: 90vw; max-width: 100%; }
}
@media (max-width: 768px) {
  .feature-grid, .testimonials, .services-list, .card-container, .content-grid, .footer-nav {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }
  .card, .feature { min-width: unset; max-width: 100%; }
  .container { padding: 0 8px; }
}
@media (max-width: 520px) {
  html { font-size: 15px; }
  header img { height: 36px; }
  .footer-nav { gap: 12px; font-size: 0.96rem; }
  .cookie-banner { flex-direction: column; gap: 20px; padding: 14px 8px; }
  .cookie-modal { min-width: 98vw; padding: 16px 6px; }
}

/* --- MICRO-INTERACTIONS & TRANSITIONS --- */
button, .cta-primary, .cta-secondary, .cookie-btn {
  transition: background 0.14s, color 0.14s, transform 0.14s, box-shadow 0.2s;
}
.feature, .card, .testimonial-card {
  transition: box-shadow 0.19s, transform 0.19s;
}
.feature:active, .card:active, .testimonial-card:active {
  transform: scale(0.98);
}

/* --- PRINT SUPPORT --- */
@media print {
  header, section, footer, .cookie-banner { box-shadow: none !important; background: #fff !important; }
  nav, .mobile-menu-toggle, .mobile-menu, .cookie-banner, .cookie-modal-overlay{ display: none !important; }
}

/* --- CUSTOM FONTS (GOOGLE) --- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;800;900&family=Open+Sans:wght@400;600;700&display=swap');
