/* --- CSS RESET & NORMALIZATION --- */
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;
  font-family: 'Roboto', Arial, sans-serif;
  background: #F2F6ED;
  color: #253142;
  min-height: 100vh;
}
ul, ol {
  list-style: none;
}
a {
  color: #204165;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #6BB69D;
  outline: none;
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
  display: block;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: #204165;
  margin-bottom: 16px;
  font-weight: 700;
}
h1 { font-size: 2.25rem; line-height: 1.15; margin-bottom: 24px; }
h2 { font-size: 1.5rem; margin-top: 24px; margin-bottom: 20px; }
h3 { font-size: 1.125rem; margin-top: 20px; }
h4 { font-size: 1rem; }
strong, b {
  font-weight: 600;
  color: #204165;
}
p {
  margin-bottom: 16px;
  color: #253142;
  font-size: 1.0625rem;
}

/* --- CONTAINER STRUCTURE --- */
.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

/* --- SECTION SPACING --- */
section {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(32, 65, 101, 0.09);
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (max-width: 768px) {
  .section {
    padding: 28px 8px;
    margin-bottom: 36px;
  }
}

/* --- FLEXBOX UTILITY LAYOUTS --- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border: 1px solid #e0e4ea;
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: 0 1px 8px rgba(32, 65, 101, 0.06);
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 260px;
  flex: 1 1 280px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 8px 24px rgba(32,65,101,0.16);
  transform: translateY(-2px) scale(1.01);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px 20px;
}
.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;
    align-items: flex-start;
    gap: 18px;
  }
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #f5f7fa;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(32,65,101,0.08);
  color: #253142;
  font-size: 1rem;
  min-width: 200px;
  max-width: 680px;
}
.testimonial-card p {
  color: #204165;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* --- HEADER --- */
header {
  background: #204165;
  color: #fff;
  width: 100%;
  box-shadow: 0 2px 16px rgba(32, 65, 101, 0.13);
  position: relative;
  z-index: 1001;
}
header nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}
header nav > a img {
  height: 44px;
  width: auto;
  margin-right: 28px;
}
header nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}
header nav ul li {
  display: flex;
  align-items: center;
}
header nav ul li a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1.05rem;
  opacity: 0.96;
  letter-spacing: 0.01em;
  padding: 6px 2px;
  transition: color 0.22s, opacity 0.18s;
}
header nav ul li a:hover, header nav ul li a:focus {
  color: #6BB69D;
  opacity: 1;
}
header nav .cta {
  margin-left: 26px;
}
header .mobile-menu-toggle {
  display: none;
}
@media (max-width: 1000px) {
  header nav ul {
    gap: 14px;
  }
  header nav {
    padding: 0 10px;
  }
}
@media (max-width: 850px) {
  header nav ul {
    display: none;
  }
  header nav .cta {
    display: none;
  }
  header .mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    margin-right: 12px;
    padding: 8px 8px 8px 16px;
    z-index: 1102;
    outline: none;
  }
}

/* --- MOBILE MENU --- */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(32,65,101,0.95);
  backdrop-filter: blur(3px);
  z-index: 2001;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  transform: translateX(100%);
  transition: transform 0.36s cubic-bezier(0.82, 0, 0.24, 1);
  will-change: transform;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
}
.mobile-menu-close {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 2.1rem;
  padding: 18px 22px 6px 0;
  cursor: pointer;
  align-self: flex-end;
  margin-top: 8px;
  margin-right: 6px;
  z-index: 2010;
  transition: color 0.22s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #6BB69D;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  gap: 12px;
  margin-top: 28px;
  padding-left: 32px;
  padding-bottom: 38px;
  overflow-y: auto;
  max-height: 80vh;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.18rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 10px 0;
  margin-bottom: 6px;
  width: 100%;
  border-radius: 6px;
  transition: background 0.18s, color 0.19s;
  display: block;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #6BB69D;
  color: #204165;
}
@media (min-width: 851px) {
  .mobile-menu {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* --- MAIN & GENERIC STYLES --- */
main {
  min-height: calc(100vh - 112px);
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.content-wrapper ul {
  margin-bottom: 18px;
}
.content-wrapper ul li,
.content-wrapper ol li {
  font-size: 1.02rem;
  color: #2A3A4B;
  line-height: 1.7;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.content-wrapper ul li img {
  height: 32px; width: 32px; margin-right: 6px;
  filter: grayscale(50%) brightness(0.9) contrast(1.6);
}
.service-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-bottom: 20px;
}
.service-grid > div {
  background: #F2F6ED;
  border-radius: 10px;
  box-shadow: 0 1px 10px rgba(32,65,101,0.07);
  padding: 24px 20px;
  min-width: 220px;
  flex: 1 1 230px;
  max-width: 290px;
  display: flex;
  flex-direction: column;
  margin-bottom: 15px;
  position: relative;
  transition: box-shadow 0.19s, transform 0.17s;
}
.service-grid > div:hover {
  box-shadow: 0 8px 26px rgba(32,65,101,0.13);
  transform: translateY(-2px) scale(1.01);
}

.info-box {
  background: #6BB69D;
  color: #fff;
  border-radius: 8px;
  padding: 16px 20px;
  margin: 16px 0;
  font-size: 1rem;
  box-shadow: 0 1px 10px rgba(32, 65, 101, 0.12);
}
.map-placeholder {
  background: #e0eaf6;
  color: #253142;
  border-radius: 8px;
  padding: 12px 20px;
  margin: 8px 0 20px 0;
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  text-align: center;
}
.social-media {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 8px;
}
.social-media a img {
  width: 36px; height: 36px;
  filter: grayscale(28%) brightness(1.07);
  border-radius: 4px;
  transition: filter 0.2s, box-shadow 0.19s;
}
.social-media a img:hover {
  filter: grayscale(0%) brightness(1.24) drop-shadow(0 0 2px #6BB69D);
  box-shadow: 0 1px 8px #6BB69D33;
}

/* --- CTA & BUTTONS --- */
.cta,
button,
input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #204165;
  border: none;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.07rem;
  font-weight: 500;
  border-radius: 8px;
  padding: 12px 28px;
  margin-top: 14px;
  cursor: pointer;
  letter-spacing: 0.01em;
  box-shadow: 0 1px 6px rgba(32,65,101,0.08);
  transition: background 0.22s, color 0.20s, box-shadow 0.22s, transform 0.15s;
  text-align: center;
  text-decoration: none;
}
.cta.primary {
  background: #6BB69D;
  color: #204165;
}
.cta.primary:hover,
.cta.primary:focus {
  background: #204165;
  color: #fff;
  box-shadow: 0 4px 18px #6BB69Def;
}
.cta:hover,
.cta:focus {
  background: #6BB69D;
  color: #204165;
  transform: translateY(-1px) scale(1.01);
  outline: none;
}
button:active {
  transform: translateY(1px) scale(0.98);
}

/* --- TESTIMONIALS --- */
.testimonial-card {
  background: #fff;
  border-left: 5px solid #6BB69D;
  border-radius: 12px;
  margin-bottom: 20px;
  color: #204165;
  box-shadow: 0 2px 10px rgba(32,65,101,0.09);
  font-size: 1.05rem;
}
.testimonial-card strong {
  display: block;
  color: #204165;
  font-size: 1rem;
  margin-top: 12px;
}
.testimonial-card div:last-child {
  margin-top: 6px;
  color: #FFD700;
  letter-spacing: 2px;
  font-size: 1.12rem;
  font-family: 'Montserrat', Arial, sans-serif;
}

/* --- FEATURES --- */
.features {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 16px;
}
.feature-item {
  background: #f4faff;
  padding: 18px 20px;
  border-radius: 10px;
  min-width: 180px;
  max-width: 340px;
  box-shadow: 0 1px 4px rgba(32,65,101,0.05);
  margin-bottom: 20px;
  border-left: 4px solid #6BB69D;
}

/* --- FOOTER --- */
footer {
  background: #204165;
  color: #fff;
  padding: 36px 0 20px 0;
  width: 100%;
  border-top: 4px solid #6BB69D;
  box-shadow: 0 -2px 16px rgba(32,65,101,0.07);
  margin-top: 68px;
}
footer .container {
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
footer nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
footer nav a {
  color: #F2F6ED;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 500;
  opacity: 0.9;
  transition: color 0.23s, opacity 0.18s;
}
footer nav a:hover {
  color: #6BB69D;
  opacity: 1;
}
.footer-info {
  font-size: 0.96rem;
  color: #b5c0d3;
  letter-spacing: 0.01em;
}

@media (max-width: 700px) {
  footer .container, .footer-info, footer nav {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }
  footer nav {
    gap: 12px;
    margin-bottom: 4px;
  }
}

/* --- TYPOGRAPHY RESPONSIVENESS --- */
@media (max-width: 600px) {
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.18rem; }
  h3 { font-size: 1.02rem; }
  .service-grid > div {
    min-width: 100%; max-width: 100%;
    padding: 18px 12px;
  }
}

/* --- CARD & INFO SHADOWS --- */
.card,
.service-grid > div,
.feature-item,
.info-box,
.testimonial-card {
  box-shadow: 0 1.5px 10px rgba(32,65,101,0.08);
}

/* --- ADDITIONAL GENERIC UTILITY CLASSES --- */
.mt-1 { margin-top: 8px !important; }
.mt-2 { margin-top: 16px !important; }
.mb-1 { margin-bottom: 8px !important; }
.mb-2 { margin-bottom: 16px !important; }
.text-center { text-align: center !important; }
.d-flex { display: flex !important; }
.align-center { align-items: center !important; }

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #fff;
  color: #204165;
  border-top: 4px solid #6BB69D;
  box-shadow: 0 -2px 18px rgba(32,65,101, 0.18);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 24px 14px 18px 14px;
  z-index: 30000;
  animation: fadeInUp 0.8s cubic-bezier(.32,.72,.46,1);
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(80px); }
  to   { opacity: 1; transform: translateY(0); }
}
.cookie-banner p {
  font-size: 1.05rem;
  line-height: 1.65;
  color: #253142;
  max-width: 700px;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.cookie-banner button {
  background: #204165;
  color: #fff;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.02rem;
  border-radius: 8px;
  padding: 11px 22px;
  cursor: pointer;
  margin-top: 6px;
  transition: background 0.22s, color 0.18s;
}
.cookie-banner button.accept {
  background: #6BB69D;
  color: #204165;
  font-weight: 600;
}
.cookie-banner button.reject {
  background: #DF4444;
  color: #fff;
  font-weight: 600;
}
.cookie-banner button.settings {
  background: #e8eefa;
  color: #204165;
  font-weight: 500;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #204165;
  color: #fff;
  outline: none;
}

/* --- COOKIE CONSENT MODAL --- */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: rgba(32,65,101,0.64);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 31000;
  animation: fadeIn 0.4s ease;
}
@keyframes fadeIn {
  from { opacity: 0; } to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  color: #204165;
  border-radius: 14px;
  max-width: 420px;
  min-width: 320px;
  box-shadow: 0 8px 40px rgba(32, 65, 101, 0.22);
  padding: 34px 28px 22px 28px;
  margin: 18px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: fadeInUp 0.58s cubic-bezier(.32,.72,.46,1);
}
.cookie-modal h2 {
  font-size: 1.20rem;
  margin-bottom: 8px;
  color: #204165;
}
.cookie-modal .close-modal {
  background: none; border: none;
  color: #204165; font-size: 1.55rem;
  position: absolute; top: 14px; right: 14px;
  cursor: pointer;
  transition: color 0.2s;
  z-index: 32010;
}
.cookie-modal .close-modal:hover {
  color: #6BB69D;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}
.cookie-modal .cookie-category label {
  font-size: 1.05rem;
  color: #204165;
}
.cookie-modal .cookie-category input[type="checkbox"] {
  width: 20px; height: 20px;
  accent-color: #6BB69D;
}
.cookie-modal .cookie-category input[type="checkbox"][disabled] {
  accent-color: #e0e4ea;
  color: #aaa;
}
.cookie-modal .cookie-actions {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
}
.cookie-modal .cookie-actions button {
  padding: 9px 17px;
  font-size: 1rem;
}
@media (max-width: 500px) {
  .cookie-modal {
    min-width: 0;
    padding: 20px 6px 12px 12px;
  }
}

/* --- ACCESSIBILITY: FOCUS VISIBLE --- */
a:focus-visible, .cta:focus-visible, button:focus-visible {
  outline: 2px solid #6BB69D;
  outline-offset: 2px;
}

/* --- MISC. (FOR DEMO/PLACEHOLDER) --- */
.map-placeholder {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.03rem;
  background: #eef5fb;
}

/* --- THANK YOU PAGE STYLE --- */
main .content-wrapper .cta {
  margin-top: 22px;
}

/*--- SCROLLBAR ---*/
::-webkit-scrollbar {
  width: 9px;
  background: #e4eefa;
}
::-webkit-scrollbar-thumb {
  background: #b5c0d3;
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: #6BB69D;
}
body {
  scrollbar-color: #6BB69D #e0e4ea;
}

/*==========================*/
/*====== MEDIA QUERIES =====*/
/*==========================*/
@media (max-width: 990px) {
  .service-grid {
    gap: 16px;
    justify-content: center;
  }
}
@media (max-width: 700px) {
  .container {
    padding: 0 7px;
  }
  main {
    padding-top: 10px;
    gap: 14px;
  }
  .service-grid, .card-container, .content-grid {
    gap: 8px;
  }
}
@media (max-width: 530px) {
  .testimonial-card, .info-box, .card, .service-grid > div, .feature-item, .map-placeholder {
    padding-left: 10px;
    padding-right: 10px;
  }
  .testimonial-card { font-size: 0.95rem; }
}

/* --- TRANSITION MICRO-INTERACTIONS --- */
.card, .service-grid > div, .feature-item, .testimonial-card, .info-box, .cta, button, .mobile-menu {
  transition: box-shadow 0.2s, transform 0.17s, background 0.18s, color 0.18s;
}

/* ========== END CSS ========= */