/* 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, 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 {
  font-size: 16px;
  box-sizing: border-box;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  color: #1D2936;
  background-color: #F8F9FA;
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
ul, ol {
  list-style: none;
}
a {
  color: #224E77;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #F4B33D;
  outline: none;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
  vertical-align: middle;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  background: none;
  border: none;
  outline: none;
  color: inherit;
}

/* BRAND TYPE SCALE (mobile first) */
h1 {
  font-family: 'Montserrat', 'Arial', sans-serif;
  font-weight: 700;
  font-size: 2.25rem;
  color: #224E77;
  margin-bottom: 24px;
  line-height: 1.17;
}
h2 {
  font-family: 'Montserrat', 'Arial', sans-serif;
  font-weight: 600;
  font-size: 1.5rem;
  color: #224E77;
  margin-bottom: 20px;
  line-height: 1.22;
}
h3 {
  font-family: 'Montserrat', 'Arial', sans-serif;
  font-weight: 600;
  font-size: 1.125rem;
  color: #224E77;
  margin-bottom: 12px;
  line-height: 1.3;
}
h4, h5, h6 {
  font-family: 'Montserrat', 'Arial', sans-serif;
  font-weight: 500;
  color: #224E77;
  margin-bottom: 10px;
}
p {
  margin-bottom: 18px;
  color: #1D2936;
  font-size: 1rem;
  line-height: 1.7;
}
strong {
  color: #224E77;
  font-weight: 600;
}
blockquote {
  font-style: italic;
  color: #224E77;
  background: #EDF1F7;
  border-left: 4px solid #224E77;
  padding: 20px 24px;
  margin: 24px 0;
  border-radius: 8px;
  font-size: 1.125rem;
}

/* LAYOUT: Containers & Structure */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
.text-section {
  max-width: 740px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 1px 12px 0 rgba(34, 78, 119, 0.07);
}
@media (max-width: 1024px) {
  .section {
    padding: 32px 8px;
    margin-bottom: 40px;
  }
}
@media (max-width: 600px) {
  .section {
    padding: 20px 0;
    margin-bottom: 28px;
    border-radius: 0;
    box-shadow: none;
  }
}

/* FLEXBOX Patterns (MANDATORY) */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(34,78,119,0.09);
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 240px;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s;
}
.card:hover {
  box-shadow: 0 6px 20px rgba(34,78,119,0.18);
  z-index: 2;
}
.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, .content-grid, .feature-grid {
    flex-direction: column;
    align-items: stretch;
  }
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  background: #F8F9FA;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(34,78,119,0.057);
  font-size: 1.05rem;
  color: #233242;
}
.testimonial-card p {
  font-size: 1.05rem;
  color: #233242;
  margin-bottom: 8px;
}
.testimonial-card strong {
  color: #224E77;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Feature grid styles */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature-grid > li {
  background: #F7F9FB;
  border-radius: 10px;
  box-shadow: 0 1px 6px rgba(34,78,119,0.07);
  padding: 26px 20px 20px 20px;
  flex: 1 1 260px;
  min-width: 220px;
  max-width: 348px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
  transition: box-shadow 0.18s, transform 0.18s;
}
.feature-grid > li:hover {
  box-shadow: 0 6px 24px rgba(34,78,119,0.17);
  transform: translateY(-4px) scale(1.02);
  z-index: 2;
}
.feature-grid img {
  width: 40px;
  height: 40px;
  margin-bottom: 8px;
}
.feature-grid strong {
  margin-top: 8px;
  color: #224E77;
}
@media (max-width: 900px) {
  .feature-grid > li {
    flex: 1 1 90%;
    min-width: 190px;
    max-width: unset;
  }
}
@media (max-width: 600px) {
  .feature-grid {
    gap: 16px;
  }
  .feature-grid > li {
    padding: 18px 12px 16px 12px;
    margin-bottom: 10px;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75em 2em;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  border-radius: 8px;
  cursor: pointer;
  border: none;
  outline: none;
  min-width: 140px;
  margin-top: 6px;
  margin-bottom: 8px;
  box-shadow: 0 1px 3px rgba(36,57,93,0.04);
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform 0.11s;
}
.btn-primary {
  background: #224E77;
  color: #fff;
  letter-spacing: 0.01em;
}
.btn-primary:hover,
.btn-primary:focus {
  background: #285E95;
  color: #fff;
  box-shadow: 0 4px 16px rgba(34,78,119,0.1);
  transform: translateY(-2px) scale(1.025);
}
.btn-accent {
  background: #F4B33D;
  color: #224E77;
}
.btn-accent:hover,
.btn-accent:focus {
  background: #e3a320;
  color: #213049;
  box-shadow: 0 4px 16px rgba(244,179,61,0.09);
}

/* Header */
header {
  background: #fff;
  box-shadow: 0 2px 12px rgba(34,78,119,0.05);
  position: sticky;
  top: 0;
  z-index: 999;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 16px 20px;
}
.logo {
  display: flex;
  align-items: center;
  margin-right: 32px;
}
.logo img {
  height: 48px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-right: 32px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.02rem;
  font-weight: 500;
  color: #224E77;
  letter-spacing: 0.01em;
  padding: 4px 0;
  transition: color 0.18s;
  position: relative;
}
.main-nav a::after {
  content: '';
  display: block;
  height: 2px;
  width: 0;
  background: #F4B33D;
  border-radius: 2px;
  transition: width 0.18s;
  margin: 4px auto 0 auto;
}
.main-nav a:hover::after, .main-nav a:focus::after {
  width: 18px;
}
.main-nav a:hover, .main-nav a:focus {
  color: #F4B33D;
  outline: none;
}
.mobile-menu-toggle {
  display: none;
  background: #224E77;
  color: #fff;
  font-size: 2rem;
  border-radius: 8px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  margin-left: 22px;
  cursor: pointer;
  border: none;
  transition: background 0.17s;
  z-index: 1202;
}
.mobile-menu-toggle:focus {
  outline: 3px solid #F4B33D;
}
@media (max-width: 960px) {
  .main-nav, .btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(34,78,119,0.96);
  color: #fff;
  transform: translateX(100%);
  transition: transform 0.33s cubic-bezier(.77,0,.18,1);
  z-index: 1200;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding-top: 16px;
  width: 100vw;
  height: 100vh;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 22px;
  right: 24px;
  background: none;
  color: #F4B33D;
  font-size: 2.2rem;
  cursor: pointer;
  z-index: 1300;
  border: none;
}
.mobile-nav {
  margin-top: 70px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  width: 100vw;
  padding-left: 40px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.35rem;
  color: #fff;
  font-weight: 600;
  padding: 6px 0;
  border-radius: 0 24px 24px 0;
  transition: background 0.19s, color 0.18s;
}
.mobile-nav a:active,
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #F4B33D;
  color: #224E77;
  padding-left: 20px;
  outline: none;
}
@media (min-width: 961px) {
  .mobile-menu {
    display: none !important;
  }
}

/* Footer */
footer {
  background: #224E77;
  color: #fff;
  padding: 32px 0 0 0;
  border-top: 7px solid #F4B33D;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
  padding-top: 8px;
  padding-bottom: 18px;
}
.footer-nav {
  display: flex;
  gap: 22px;
  flex: 1 1 100%;
  flex-wrap: wrap;
}
.footer-nav a {
  color: #fff;
  font-size: 1.03rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  opacity: 0.86;
  transition: color 0.18s, opacity 0.18s;
}
.footer-nav a:hover,
.footer-nav a:focus {
  color: #F4B33D;
  opacity: 1;
  outline: none;
}
.footer-contact {
  font-size: 0.96rem;
  color: #e3e7eb;
  margin-top: 6px;
}
.footer-contact a {
  color: #F4B33D;
  font-weight: 500;
  transition: color 0.17s;
}
.footer-logo {
  margin-left: auto;
  margin-right: 0;
}
.footer-logo img {
  height: 42px;
  opacity: 0.92;
}
@media (max-width: 768px) {
  footer .container {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }
  .footer-logo {
    margin: 24px 0 0 0;
  }
}

/* Lists & Misc */
ul, ol {
  margin-bottom: 18px;
  padding-left: 22px;
}
ul li, ol li {
  margin-bottom: 10px;
  font-size: 1rem;
  position: relative;
  color: #22314D;
}
ul li::before {
  content: '\2022';
  color: #F4B33D;
  font-size: 1.3em;
  position: absolute;
  left: -20px;
  top: 1px;
}
@media (max-width: 600px) {
  ul, ol {
    padding-left: 13px;
  }
  ul li::before {
    left: -13px;
  }
}

/* Forms, Contact Data */
.contact-data p {
  margin-bottom: 8px;
  color: #1D2936;
  font-size: 1rem;
}

.team-teaser {
  background: #EDF1F7;
  color: #224E77;
  padding: 14px 22px;
  border-radius: 8px;
  margin-top: 22px;
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
}

/* Animations & Microinteractions */
.btn,
.mobile-menu,
.mobile-nav a,
.card,
.feature-grid > li,
.testimonial-card {
  transition: all 0.2s cubic-bezier(.5,.08,.4,1);
}
[tabindex]:focus {
  outline: 3px solid #F4B33D;
}

/* Cookie Consent Banner */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #233242;
  color: #fff;
  box-shadow: 0 -4px 16px rgba(34,78,119,0.12);
  padding: 24px 16px 24px 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1500;
  transition: transform 0.35s cubic-bezier(.8,.1,.4,1);
  gap: 26px;
  flex-wrap: wrap;
}
.cookie-consent-banner[hidden] {
  display: none;
}
.cookie-consent-banner .cookie-msg {
  flex: 1 1 320px;
  font-size: 1.04rem;
  margin-right: 18px;
}
.cookie-consent-banner .btn {
  min-width: 130px;
  margin: 0 8px;
  font-size: 1.02rem;
  box-shadow: none;
}
.cookie-consent-banner .btn-cookie-settings {
  background: #fff;
  color: #224E77;
  border: 1.5px solid #224E77;
}
.cookie-consent-banner .btn-cookie-settings:hover,
.cookie-consent-banner .btn-cookie-settings:focus {
  border-color: #F4B33D;
  background: #f9e5b5;
  color: #224E77;
}
@media (max-width: 600px) {
  .cookie-consent-banner {
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
    text-align: left;
    padding: 18px 4px 20px 4px;
  }
  .cookie-consent-banner .cookie-msg {
    margin-right: 0;
  }
}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: rgba(34, 78, 119, 0.63);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s cubic-bezier(.77,0,.18,1);
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal-content {
  background: #fff;
  color: #224E77;
  border-radius: 14px;
  padding: 38px 32px 26px 32px;
  min-width: 280px;
  max-width: 98vw;
  box-shadow: 0 6px 36px rgba(34,78,119,0.19);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
}
.cookie-modal h2 {
  font-size: 1.35rem;
  margin-bottom: 12px;
  color: #224E77;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-bottom: 16px;
}
.cookie-category label {
  font-size: 1.05rem;
}
.cookie-toggle {
  width: 46px;
  height: 24px;
  background: #e2e8f0;
  border-radius: 12px;
  position: relative;
  cursor: pointer;
  margin-left: 6px;
  transition: background 0.17s;
  flex-shrink: 0;
}
.cookie-toggle.is-active {
  background: #F4B33D;
}
.cookie-toggle::after {
  content: "";
  display: block;
  width: 20px; height: 20px;
  background: #fff;
  border-radius: 50%;
  position: absolute; top: 2px; left: 2px;
  transition: left 0.18s;
  box-shadow: 0 1px 4px rgba(32,32,60,0.09);
}
.cookie-toggle.is-active::after {
  left: 24px;
}
.cookie-modal-close {
  position: absolute;
  top: 16px; right: 18px;
  background: none;
  border: none;
  color: #F4B33D;
  font-size: 2.2rem;
  cursor: pointer;
  z-index: 2300;
}
.cookie-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}
.cookie-modal .btn {
  min-width: 110px;
}
@media (max-width: 600px) {
  .cookie-modal-content {
    padding: 18px 5vw 20px 5vw;
    min-width: unset;
  }
}

/* Responsive Adjustments */
@media (max-width: 900px) {
  .container {
    max-width: 98vw;
    padding: 0 8px;
  }
}
@media (max-width: 600px) {
  html {
    font-size: 15px;
  }
  h1 {
    font-size: 1.45rem;
  }
  h2 {
    font-size: 1.16rem;
  }
  .logo img {
    height: 34px;
  }
}

/* Misc Custom Fixes */
::-webkit-input-placeholder { color: #93A7BF; }
::-moz-placeholder { color: #93A7BF; }
:-ms-input-placeholder { color: #93A7BF; }
::placeholder { color: #93A7BF; }

/* Z-Index Stacking for interactive elements */
header { z-index: 999; }
.mobile-menu { z-index: 1200; }
.cookie-consent-banner { z-index: 1500; }
.cookie-modal { z-index: 2000; }

/* Elevated visual hierarchy for key actions */
.btn-primary, .btn-accent {
  box-shadow: 0 2px 8px rgba(34,78,119,0.07);
}

/* Prevent unintentional overlapping */
.section, .feature-grid > li, .card, .testimonial-card {
  margin-bottom: 24px;
}

/* End of CSS */
