/* ================= 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;
  height: 100%;
  font-size: 16px;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  min-height: 100vh;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  background: #f5f7fa;
  color: #22304a;
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
  border: 0;
}
a {
  color: #204080;
  text-decoration: none;
  transition: color .2s;
}
a:hover, a:focus {
  color: #2DA772;
  text-decoration: underline;
}
ul, ol {
  margin-left: 1.5em;
  margin-bottom: 1.2em;
}
li {
  margin-bottom: .5em;
}
h1, h2, h3, h4, h5, h6 {
  margin-bottom: .5em;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #204080;
}
h1 { font-size: 2.5rem; font-weight: 700; }
h2 { font-size: 2rem; font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 500; }
h4, h5, h6 { font-size: 1rem; font-weight: 500; }
p, li {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #22304a;
}
strong, b {
  font-weight: 600;
  color: #204080;
}

/* =========== BASE LAYOUTS & CONTAINER ============ */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.text-section {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(32,64,128,0.06);
  padding: 40px 24px;
}
@media (max-width: 768px) {
  .text-section {
    padding: 24px 12px;
  }
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* == FLEX LAYOUT UTILITY CLASSES (MANDATORY) == */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(32,64,128,0.07);
  margin-bottom: 20px;
  position: relative;
  padding: 32px 20px;
  flex: 1 1 340px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s;
}
.card:hover {
  box-shadow: 0 8px 24px rgba(32,64,128,0.13);
}
.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;
  gap: 20px;
  padding: 20px 28px 20px 24px;
  background: #f6fafe;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(32,64,128,0.04);
  margin-bottom: 20px;
  max-width: 600px;
  color: #22304a;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(32,64,128,0.08);
  padding: 26px 22px;
}

@media (max-width: 768px) {
  .content-grid, .feature-grid, .card-container, .text-image-section {
    flex-direction: column;
    gap: 16px;
  }
  .testimonial-card { max-width: 100%; }
  .card { min-width: unset; }
}

/* =========== HEADER & NAVIGATION =========== */
header {
  background: #fff;
  box-shadow: 0 2px 8px rgba(32,64,128,0.05);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  padding: 0 20px;
  height: 76px;
}
header img {
  height: 46px;
  margin-right: 18px;
}
.main-nav {
  display: flex;
  gap: 24px;
  align-items: center;
  margin-left: 24px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: #204080;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: border-color .2s, color .2s;
}
.main-nav a:hover,
.main-nav a:focus {
  color: #2DA772;
  border-bottom: 2px solid #2DA772;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  background: #204080;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 12px 32px;
  margin-left: 32px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(32,64,128,0.06);
  text-decoration: none;
  transition: background 0.2s, box-shadow 0.2s;
}
.btn-primary:hover, .btn-primary:focus {
  background: #2DA772;
  color: #fff;
  box-shadow: 0 6px 18px rgba(32,64,128,0.13);
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  background: #2DA772;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 12px 22px;
  margin-left: 18px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(32,64,128,0.06);
  text-decoration: none;
  transition: background 0.2s, box-shadow 0.2s;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #204080;
  color: #fff;
  box-shadow: 0 6px 18px rgba(32,64,128,0.14);
}
@media (max-width: 991px) {
  .main-nav {
    gap: 14px;
    margin-left: 0;
  }
  .btn-primary {
    margin-left: 10px;
    padding: 11px 22px;
  }
}
@media (max-width: 850px) {
  header .container { padding: 0 10px; }
}

/* =========== MOBILE MENU ============= */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #204080;
  margin-left: 14px;
  cursor: pointer;
  z-index: 102;
  transition: color 0.2s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  color: #2DA772;
}
@media (max-width: 900px) {
  .main-nav, .btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 320px;
  max-width: 88vw;
  background: #fff;
  box-shadow: -2px 0 16px rgba(32,64,128,0.09);
  z-index: 120;
  pointer-events: none;
  opacity: 0;
  display: flex;
  flex-direction: column;
  padding: 44px 28px 28px 28px;
  transform: translateX(100%);
  transition: opacity 0.35s cubic-bezier(.55,.06,.68,.19), transform 0.32s cubic-bezier(.44,.08,.68,.19);
}
.mobile-menu.open {
  pointer-events: all;
  opacity: 1;
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 18px;
  right: 22px;
  font-size: 2rem;
  color: #204080;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s;
  z-index: 122;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #2DA772;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 16px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.09rem;
  font-weight: 500;
  color: #204080;
  border-bottom: 1px solid #e8eef6;
  padding: 12px 4px;
  border-radius: 3px;
  transition: background 0.18s, color 0.15s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #e8eef6;
  color: #2DA772;
}

/* =========== HERO & FEATURE GRIDS ============= */
.hero {
  background: linear-gradient(90deg, #f6fafe 40%, #dbe8f7 100%);
  padding: 56px 0 44px 0;
  margin-bottom: 60px;
  box-shadow: 0 4px 18px rgba(32,64,128,0.05);
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 28px;
}
.hero h1 {
  color: #204080;
  font-size: 2.5rem;
  font-weight: 700;
}
.hero p {
  font-size: 1.15rem;
  color: #22304a;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 22px;
}
.feature-grid > div {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(32,64,128,0.08);
  flex: 1 1 280px;
  min-width: 240px;
  padding: 34px 24px 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  transition: box-shadow 0.2s, transform 0.18s;
}
.feature-grid > div:hover {
  box-shadow: 0 8px 24px rgba(32,64,128,0.19);
  transform: translateY(-3px) scale(1.02);
}
.feature-grid h3 {
  margin-bottom: 5px;
  font-size: 1.16rem;
  color: #204080;
}
.feature-grid img {
  width: 36px;
  margin-bottom: 5px;
}
@media (max-width: 768px) {
  .hero {
    padding: 32px 0 20px 0;
  }
  .feature-grid {
    flex-direction: column;
    gap: 18px;
  }
  .feature-grid > div {
    min-width: 0;
    width: 100%;
    padding: 24px 16px;
  }
  .hero .content-wrapper h1 {
    font-size: 2rem;
  }
}

/* ============== TESTIMONIALS ================== */
.testimonial-card {
  background: #fff;
  border-left: 6px solid #204080;
  color: #22304a;
  box-shadow: 0 2px 14px rgba(32,64,128,0.07);
  margin-bottom: 20px;
}
.testimonial-card p {
  font-size: 1.1rem;
  color: #22304a;
  margin-bottom: 3px;
}
.testimonial-card strong {
  color: #2DA772;
  font-size: 1rem;
}
.star-rating, .star-rating-summary {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #204080;
  font-size: 1.13rem;
}
.star-rating {
  letter-spacing: 2px;
}
.star-rating-summary {
  background: #f6fafe;
  border-radius: 8px;
  padding: 16px 20px;
  color: #22304a;
  margin-bottom: 10px;
  margin-top: 8px;
  box-shadow: 0 1px 8px rgba(32,64,128,0.04);
  font-size: 1.05rem;
}

/* =========== FOOTER ========== */
footer {
  background: #204080;
  color: #fff;
  padding: 38px 0 18px 0;
  margin-top: 90px;
  box-shadow: 0 -2px 8px rgba(32,64,128,0.06);
}
footer .container {
  flex-direction: column;
  gap: 24px;
  align-items: center;
}
.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 8px;
  justify-content: center;
}
.footer-menu a {
  color: #fff;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  padding: 3px 5px;
  border-radius: 2px;
  transition: background 0.2s, color 0.2s;
}
.footer-menu a:hover,
.footer-menu a:focus {
  color: #2DA772;
  background: #f6fafe;
}
.brand-tagline {
  margin-bottom: 12px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.06rem;
  color: #cdd4e5;
  display: flex;
  align-items: center;
  gap: 8px;
}
.brand-tagline img {
  height: 26px;
  margin-right: 6px;
}
.legal-info {
  font-size: .97rem;
  color: #dde9fa;
  font-family: 'Roboto', Arial, sans-serif;
}
@media (max-width: 900px) {
  .footer-menu { gap: 14px; }
  .brand-tagline { font-size: 1rem; flex-direction: column; gap: 2px; }
}
@media (max-width: 600px) {
  footer {
    padding: 32px 0 13px 0;
  }
}

/* ========== SECTION & CARD SPACING (MANDATORY) ========= */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container, .content-grid, .feature-grid {
  gap: 24px;
}
.card, .feature-item, .testimonial-card {
  margin-bottom: 20px;
}

/* =========== COOKIE CONSENT BANNER & MODAL ============= */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #fff;
  box-shadow: 0 -3px 16px rgba(32,64,128,0.13);
  z-index: 3000;
  padding: 32px 20px 24px 20px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 32px;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.32s, transform 0.3s cubic-bezier(.55,.06,.68,.69);
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(64px);
}
.cookie-banner .cookie-text {
  flex: 1;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.06rem;
  color: #22304a;
}
.cookie-banner .cookie-btns {
  display: flex;
  gap: 14px;
}
.cookie-btn, .cookie-settings-btn {
  padding: 10px 22px;
  border-radius: 5px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  border: none;
  cursor: pointer;
  background: #204080;
  color: #fff;
  margin-right: 0;
  transition: background 0.21s, color 0.19s, box-shadow 0.22s;
  box-shadow: 0 2px 8px rgba(32,64,128,0.08);
}
.cookie-btn.reject {
  background: #888e98;
  color: #fff;
}
.cookie-btn.accept {
  background: #2DA772;
  color: #fff;
}
.cookie-settings-btn {
  background: #fff;
  color: #204080;
  border: 2px solid #204080;
  box-shadow: none;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #204080;
  color: #fff;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #204080;
  color: #fff;
}
.cookie-settings-btn:hover, .cookie-settings-btn:focus {
  color: #2DA772;
  border-color: #2DA772;
  background: #f6fafe;
}
@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    gap: 18px;
    padding: 20px 10px 18px 10px;
  }
  .cookie-banner .cookie-btns { gap: 12px; }
}
/* -- Modal for Cookie Settings -- */
.cookie-modal {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  z-index: 3050;
  background: rgba(32, 64, 128, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: auto;
  transition: opacity .24s;
}
.cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal .cookie-modal-content {
  background: #fff;
  padding: 44px 32px 32px 32px;
  border-radius: 14px;
  box-shadow: 0 4px 32px rgba(32,64,128,.13);
  min-width: 320px; max-width: 400px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
}
.cookie-modal-close {
  position: absolute;
  top: 19px; right: 22px;
  font-size: 1.4rem;
  background: none;
  border: none;
  color: #204080;
  cursor: pointer;
  transition: color 0.2s;
}
.cookie-modal-close:focus, .cookie-modal-close:hover {
  color: #2DA772;
}
.cookie-modal-content label {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.06rem;
  color: #22304a;
  display: flex;
  align-items: center;
  gap: 12px;
}
.cookie-modal-content input[type=checkbox],
.cookie-modal-content input[type=radio] {
  width: 18px;
  height: 18px;
  accent-color: #204080;
}
.cookie-modal-content .cookie-category {
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.cookie-modal-content .category-desc {
  font-size: .96rem;
  color: #35466a;
  margin-left: 32px;
  margin-bottom: 8px;
}
.cookie-modal-content .modal-btns {
  display: flex;
  flex-direction: row;
  gap: 14px;
  margin-top: 18px;
}
/* ============= MAP EMBED (Contact Page) ============= */
.map-embed {
  border-radius: 10px;
  background: #f6fafe;
  padding: 28px 14px;
  font-family: 'Roboto', Arial, sans-serif;
  color: #204080;
  font-size: 1.12rem;
  box-shadow: 0 2px 8px rgba(32,64,128,0.06);
  margin-top: 16px;
}
/* ============ FAQ PREVIEW (How it Works) =========== */
.faq-preview {
  margin-top: 22px;
  background: #f8fafd;
  border-radius: 8px;
  padding: 24px 22px;
  box-shadow: 0 2px 8px rgba(32,64,128,0.05);
}
.faq-preview h2 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}
.faq-preview ul {
  margin-left: 1.25em;
}
.faq-preview li {
  margin-bottom: .74em;
}
/* ================= MISC FORMS & ELEMENTS =============== */
::-webkit-input-placeholder { color: #7a88a0; }
::-moz-placeholder { color: #7a88a0; }
:-ms-input-placeholder { color: #7a88a0; }
::placeholder { color: #7a88a0; }
input, textarea {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  border-radius: 6px;
  border: 1px solid #cdd4e5;
  padding: 10px 12px;
  margin-bottom: 16px;
  transition: border-color 0.18s;
}
input:focus, textarea:focus {
  outline: none;
  border-color: #204080;
}
button {
  font-family: inherit;
}

/* =========== PAGE-SPECIFIC: THANK YOU, ERROR, NO GRID! ========== */
.thank-you-msg {
  font-size: 1.3rem;
  color: #2DA772;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 28px;
}

/* ========== RESPONSIVE: FONT SIZES, SPACING, LAYOUT ============= */
@media (max-width: 990px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
}
@media (max-width: 768px) {
  html { font-size: 15px; }
  section {
    padding: 24px 6px;
    margin-bottom: 42px;
  }
  .container { padding: 0 6px; }
  .brand-tagline img { height: 22px; }
}
@media (max-width: 500px) {
  html { font-size: 14px; }
  .brand-tagline img { height: 18px; }
}

/* =========== TYPOGRAPHY SCALE ============ */
.fs-14 { font-size: 14px; }
.fs-16 { font-size: 16px; }
.fs-18 { font-size: 18px; }
.fs-20 { font-size: 20px; }
.fs-24 { font-size: 24px; }
.fs-32 { font-size: 32px; }
.fs-48 { font-size: 48px; }

/* ============== ANIMATION STYLES & MICRO-INTERACTIONS ============= */
.btn-primary, .btn-secondary, .cookie-btn, .cookie-settings-btn {
  transition: background 0.17s, color 0.17s, box-shadow 0.14s, border-color 0.17s;
}
.card, .feature-grid > div, .testimonial-card, .faq-preview {
  transition: box-shadow 0.22s, transform 0.18s;
}
.card:hover, .feature-grid > div:hover, .testimonial-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(32,64,128,0.15);
}
.mobile-menu,
.cookie-banner,
.cookie-modal {
  will-change: transform, opacity;
}

/* ========== BRAND FONTS ============= */
@import url('https://fonts.googleapis.com/css?family=Montserrat:400,500,600,700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:300,400,500,700&display=swap');

body {
  font-family: 'Roboto', Arial, sans-serif;
}
h1,h2,h3,h4,h5,h6 {
  font-family: 'Montserrat', Arial, sans-serif;
}

/* ========== NO GRID PROPERTIES USED ========== */
/* All layout is flexbox-based only. */
