/* RESET & BASE LAYER */
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;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  background: #FFF6E8;
  color: #273645;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  /* smooth font */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #20516D;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #E5843A;
  outline: none;
}
ul, ol {
  margin-left: 1.5em;
  margin-bottom: 1em;
}

/* TYPOGRAPHY SCALE & BOLD DESIGN */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  letter-spacing: -1px;
  color: #20516D;
  text-wrap: balance;
}
h1 {
  font-size: 2.5rem;   /* ~40px */
  margin-bottom: 20px;
  line-height: 1.13;
}
h2 {
  font-size: 2rem;      /* ~32px */
  margin-bottom: 16px;
  line-height: 1.2;
}
h3 {
  font-size: 1.3rem;    /* ~20px */
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-size: 1rem;
  margin-bottom: 8px;
}

p, li, blockquote, address {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: #2D2D2D;
}
strong {
  font-weight: 700;
  color: #20516D;
}
blockquote {
  border-left: 4px solid #E5843A;
  padding-left: 18px;
  margin-bottom: 8px;
  font-style: italic;
  color: #20516D;
}
code, pre {
  background: #eee;
  font-family: monospace;
}

/* LAYOUT UTILITIES & CONTAINERS */
.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #FFF6E8;
  border-radius: 18px;
  box-shadow: 0 3px 18px 0 rgba(32,81,109,0.05);
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 2px 18px 0 rgba(32,81,109,0.07);
  padding: 28px 20px;
  min-width: 260px;
  flex: 1 1 260px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover {
  transform: translateY(-4px) scale(1.015);
  box-shadow: 0 6px 28px 0 rgba(229,132,58,0.12);
}
.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: #ffffff;
  color: #20516D;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 14px 0 rgba(32,81,109,0.10);
  border-left: 6px solid #E5843A;
  flex-direction: column;
  width: 100%;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 12px 0;
}

/* MAIN NAVIGATION - DESKTOP */
header {
  background: #20516D;
  width: 100%;
  box-shadow: 0 2px 18px 0 rgba(32,81,109,0.08);
  position: sticky;
  top: 0;
  z-index: 20;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 12px 0 12px 0;
  justify-content: flex-start;
}
.main-nav a {
  color: #FFF6E8;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  transition: color 0.2s, opacity 0.2s;
  padding: 4px 10px;
  border-radius: 6px;
}
.main-nav a:hover, .main-nav a:focus {
  color: #E5843A;
  background: #fff6e810;
  opacity: 0.95;
}
.main-nav img {
  height: 34px;
  width: auto;
  margin-right: 10px;
  vertical-align: middle;
}

/* MOBILE NAVIGATION MENU */
.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 2.2rem;
  color: #FFF6E8;
  position: absolute;
  right: 26px;
  top: 18px;
  z-index: 22;
  cursor: pointer;
  line-height: 1;
  padding: 0 8px;
  transition: color 0.15s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  color: #E5843A;
}
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100vw;
  height: 100vh;
  background: #20516D;
  z-index: 1001;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 0 0;
  transform: translateX(100vw);
  transition: transform 0.45s cubic-bezier(.83,0,.17,1);
  box-shadow: -2px 0 22px 0 rgba(0,0,24,0.12);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: transparent;
  border: none;
  font-size: 2rem;
  color: #E5843A;
  padding: 16px 18px 2px 14px;
  align-self: flex-end;
  margin-top: 6px;
  margin-bottom: 10px;
  z-index: 1002;
  cursor: pointer;
  line-height: 1;
  border-radius: 8px;
  transition: background 0.12s, color 0.16s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #fff6e820;
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  align-items: flex-start;
  padding: 12px 34px;
}
.mobile-nav a {
  color: #FFF6E8;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.21rem;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 10px 6px 10px 0;
  border-radius: 6px;
  transition: color 0.18s, background 0.18s;
}
.mobile-nav a:focus,
.mobile-nav a:hover {
  color: #E5843A;
  background: #fff6e80f;
}

/* Main - Section / Headings / Content Splits */
main {
  min-height: 60vh;
  padding-bottom: 60px;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
article {
  margin-bottom: 24px;
  padding: 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 14px 0 rgba(32,81,109,0.05);
  transition: box-shadow 0.16s, transform 0.16s;
}
article h3 {
  margin-bottom: 8px;
}
article:hover {
  box-shadow: 0 7px 28px 0 rgba(229,132,58,0.14);
  transform: translateY(-3px);
}

/* Lists with icons (Features, etc.) */
ul li, ol li {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 32px;
  margin-bottom: 10px;
  font-size: 1rem;
}
ul li img, .footer-contact img, address img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  margin-right: 4px;
  flex-shrink: 0;
}

/* Buttons */
.button,
button,
input[type="submit"],
input[type="button"] {
  min-width: 140px;
  border: none;
  border-radius: 7px;
  font-size: 1.13rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  padding: 12px 32px;
  margin-right: 12px;
  background: #20516D;
  color: #FFF6E8;
  cursor: pointer;
  display: inline-block;
  transition: background 0.18s, color 0.14s, box-shadow 0.18s, transform 0.14s;
  box-shadow: 0 2px 10px 0 rgba(32,81,109,0.10);
  letter-spacing: 1px;
}
.button.primary, button.primary, input[type="submit"].primary {
  background: #E5843A;
  color: #fff;
}
.button.secondary, button.secondary {
  background: #20516D;
  color: #fff;
}
.button:focus, .button:hover,
button:hover, button:focus{
  background: #fff;
  color: #E5843A;
  box-shadow: 0 3px 16px 0 rgba(229,132,58,0.16);
  outline: none;
}
.button.primary:hover, button.primary:hover {
  background: #fff;
  color: #E5843A;
}
.button.secondary:hover, button.secondary:hover {
  background: #E5843A;
  color: #fff;
}

/* CTA banners (e.g. newsletter/cta section) */
section .button {
  margin-top: 8px;
}

/* Footer */
footer {
  background: #20516D;
  color: #fff;
  padding: 44px 0 22px 0;
  margin-top: 42px;
  border-top-left-radius: 22px;
  border-top-right-radius: 22px;
  box-shadow: 0 -2px 22px 0 rgba(32,81,109,0.05);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 16px;
  justify-content: center;
  padding: 0 16px;
}
.footer-nav a {
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  padding: 6px 12px;
  border-radius: 6px;
  transition: background 0.13s, color 0.13s;
  font-family: 'Montserrat', Arial, sans-serif;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #E5843A;
  background: #fff6e820;
}
.footer-contact {
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 20px 34px;
  justify-content: center;
  align-items: center;
  font-size: 1rem;
}
.footer-contact span {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 250px;
  color: #fff;
  margin-bottom: 10px;
}

/* Address block */
address {
  font-style: normal;
  margin-bottom: 16px;
}
address p {
  margin-bottom: 6px;
}

/* Cookie Consent Banner */
.cookie-consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  color: #20516D;
  box-shadow: 0 -2px 18px 0 rgba(32,81,109,0.14);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 24px 16px 16px 20px;
  border-top-right-radius: 18px;
  border-top-left-radius: 18px;
  font-size: 1rem;
  max-width: 520px;
  margin-left: auto;
  margin-right: 32px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
  transition: opacity 0.35s, transform 0.45s;
}
.cookie-consent-banner.visible {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}
.cookie-consent-banner .cookie-buttons {
  display: flex;
  gap: 12px;
  margin-top: 6px;
}
.cookie-consent-banner button {
  font-size: 1rem;
  padding: 10px 24px;
  border-radius: 6px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  border: none;
  cursor: pointer;
  margin-right: 0;
  background: #20516D;
  color: #fff;
  transition: background 0.13s, color 0.13s, box-shadow 0.14s;
}
.cookie-consent-banner button.accept {
  background: #E5843A;
  color: #fff;
}
.cookie-consent-banner button.settings {
  background: #fff;
  color: #20516D;
  border: 2px solid #20516D;
}
.cookie-consent-banner button.reject {
  background: #20516D;
  color: #fff;
}
.cookie-consent-banner button:focus,
.cookie-consent-banner button:hover {
  background: #20516D;
  color: #E5843A;
  outline: none;
  box-shadow: 0 2px 16px rgba(229,132,58,0.14);
}
.cookie-consent-banner button.accept:hover { background: #fff; color: #E5843A; }
.cookie-consent-banner button.settings:focus, .cookie-consent-banner button.settings:hover {
  background: #E5843A; color: #fff;
}

/* Cookie Preference Modal */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(32,81,109,0.46);
  z-index: 2500;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s;
}
.cookie-modal-overlay.visible {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 7px 38px 0 rgba(32,81,109,0.23);
  max-width: 400px;
  width: 94vw;
  padding: 32px 28px 24px 28px;
  color: #20516D;
  display: flex;
  flex-direction: column;
  gap: 10px;
  animation: modalShow 0.44s cubic-bezier(.83,0,.17,1);
}
@keyframes modalShow {
  0% {transform: scale(0.96) translateY(36px); opacity: 0;}
  100% {transform: scale(1) translateY(0); opacity: 1;}
}
.cookie-modal h2 {
  font-size: 1.5rem;
  margin-bottom: 16px;
  color: #E5843A;
}
.cookie-modal-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 1rem;
}
.cookie-modal-category .toggle {
  appearance: none;
  width: 44px;
  height: 24px;
  background: #e2e2e2;
  border-radius: 22px;
  position: relative;
  outline: none;
  transition: background 0.16s;
  vertical-align: middle;
}
.cookie-modal-category .toggle:checked {
  background: #20516D;
}
.cookie-modal-category .toggle:before {
  content: "";
  display: block;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #FFF;
  position: absolute;
  left: 2px; top: 2px;
  transition: left 0.21s;
  box-shadow: 0 2px 6px 0 rgba(32,81,109,0.11);
}
.cookie-modal-category .toggle:checked:before {
  left: 22px;
  background: #E5843A;
}
.cookie-modal-actions {
  display: flex;
  gap: 16px;
  margin-top: 14px;
  justify-content: flex-end;
}
.cookie-modal-actions button {
  min-width: 86px;
}

/* RESPONSIVE DESIGN (MOBILE-FIRST) */
@media (max-width: 1040px) {
  .container {
    padding: 0 6vw;
    max-width: 100%;
  }
  section { padding-left: 0; padding-right: 0; }
}
@media (max-width: 900px) {
  .section, section { padding: 32px 6vw; }
  .footer-contact span { min-width: 160px; }
}
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  .container { padding: 0 2vw; }
  .main-nav { gap: 16px; }
  .section, section { padding: 24px 0; }
  .card-container, .content-grid, .footer-contact {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
}
@media (max-width: 600px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.35rem; }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  header { padding-bottom: 14px; }
  .section, section {padding: 16px 0;}
  .footer-contact span { min-width: 100px; font-size: 0.98rem; }
  .cookie-consent-banner {
    max-width: 100vw;
    margin-right: 0;
    border-top-right-radius: 0px;
    border-top-left-radius: 0px;
    padding-right: 12px;
    font-size: 0.91rem;
  }
  .cookie-modal { max-width: 94vw; padding: 18px 10px; }
}

/* Accessibility & Misc */
:focus {
  outline: 2px solid #E5843A;
  outline-offset: 2px;
}
::-webkit-scrollbar {
  width: 8px;
  background: #eaeaea;
}
::-webkit-scrollbar-thumb {
  background: #20516D;
  border-radius: 10px;
}

/* Utility Classes */
.hidden { display: none!important; }
.center { align-items: center; justify-content: center; }
.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }

/* Animation helpers */
@media (prefers-reduced-motion: no-preference) {
  .button, button, .card, article, .testimonial-card, li, .cookie-consent-banner, .cookie-modal {
    transition-property: background, color, box-shadow, transform, border-color, opacity;
    transition-duration: 0.2s;
    transition-timing-function: cubic-bezier(.83,0,.17,1);
  }
}

/* ----------- END ----------- */
