/* ====================================================================
   CSS Reset + Normalize (Mobile first, minimal and modern)
   ==================================================================== */
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;
  box-sizing: border-box;
  vertical-align: baseline;
}
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
  background: #fff;
}
*,*::before,*::after {
  box-sizing: inherit;
}
body {
  min-height: 100vh;
  background: #fff;
  color: #23272a;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #29516A;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #F5B041;
  outline: none;
}
ul, ol {
  list-style: none;
  margin: 0;
  padding: 0;
}
button {
  font-family: inherit;
  font-size: 1rem;
  background: none;
  border: none;
  cursor: pointer;
  color: inherit;
  outline: none;
}

/* =============================
   Typography
   ============================= */
h1, .h1 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  font-size: 2.25rem;
  line-height: 1.15;
  color: #29516A;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}
@media (min-width:768px) {
  h1, .h1 {
    font-size: 2.75rem;
  }
}
h2, .h2 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.5rem;
  line-height: 1.2;
  margin-bottom: 18px;
  color: #29516A;
}
@media (min-width:768px) {
  h2, .h2 {
    font-size: 2rem;
  }
}
h3, .h3 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 500;
  font-size: 1.12rem;
  margin-bottom: 15px;
  color: #29516A;
}
@media (min-width:768px) {
  h3, .h3 {
    font-size: 1.25rem;
  }
}
p, li {
  font-size: 1rem;
  color: #23272a;
  line-height: 1.65;
  font-family: 'Roboto', Arial, sans-serif;
  margin-bottom: 16px;
}
p.subtitle {
  font-size: 1.15rem;
  margin-bottom: 24px;
  color: #354454;
}
strong {
  font-weight: 600;
  color: #29516A;
}
small {
  font-size: 0.92rem;
  color: #708090;
}
blockquote {
  font-size: 1.05rem;
  color: #2d4050;
  border-left: 3px solid #29516A;
  padding-left: 14px;
  margin-bottom: 12px;
  font-style: italic;
  background: transparent;
}

/* =============================
   Layout: Containers and Spacing
   ============================= */
.container {
  width: 100%;
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 18px;
}
.content-wrapper {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}
.text-section {
  width: 100%;
}

/* Critical Section Spacing & Alignment */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 1px 8px rgba(41,81,106,0.04);
  transition: box-shadow 0.22s;
}
section:hover {
  box-shadow: 0 4px 24px rgba(41,81,106,0.10);
}
@media (min-width:992px) {
  section {
    padding: 56px 32px;
    margin-bottom: 72px;
  }
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
}
.card,
.service-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 0.5px 4px rgba(41,81,106,0.06);
  padding: 28px 24px 22px 24px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 240px;
  flex: 1 1 280px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover, .service-card:hover {
  box-shadow: 0 8px 28px rgba(41,81,106,0.09);
  transform: translateY(-3px) scale(1.015);
}

.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: 20px;
  }
}

.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  border-radius: 12px;
  background: #F9FAFB;
  box-shadow: 0 2px 10px rgba(41,81,106,0.05);
  color: #18212a;
  margin-bottom: 20px;
  font-family: 'Roboto', Arial, sans-serif;
  min-width: 0;
  max-width: 650px;
  width: 100%;
  flex: 1 1 280px;
  transition: box-shadow 0.22s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 28px rgba(41,81,106,0.10);
}
.testimonial-card blockquote {
  color: #2d4050;
  margin-right: 8px;
  font-size: 1.1rem;
  border: none;
  padding-left: 0;
  margin-bottom: 2px;
}
.testimonial-card span {
  font-size: 0.98rem;
  color: #708090;
}

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

.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 24px;
}

.filters-search {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  margin: 18px 0 0 0;
}
.badge {
  background: #D8E6EA;
  border-radius: 32px;
  color: #29516A;
  font-size: 0.97rem;
  padding: 8px 22px;
  font-family: 'Roboto', Arial, sans-serif;
  margin-right: 12px;
  margin-bottom: 8px;
}

.map-placeholder {
  background: #D8E6EA;
  border-radius: 10px;
  color: #616971;
  font-size: 0.99rem;
  padding: 18px 22px;
  min-width: 240px;
  margin-top: 14px;
  box-shadow: 0 0.5px 2px rgba(41,81,106,0.04);
}

.privacy-info {
  background: #D8E6EA;
  border-radius: 8px;
  color: #526274;
  font-size: 0.98rem;
  padding: 10px 18px;
  margin: 18px 0 12px 0;
}

/* =============================
   Buttons & CTAs
   ============================= */
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #29516A;
  color: #fff;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.09rem;
  letter-spacing: 0.03em;
  border: none;
  border-radius: 26px;
  padding: 12px 32px;
  margin-top: 12px;
  margin-bottom: 8px;
  box-shadow: 0 2px 14px rgba(41,81,106,0.07);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.16s, color 0.15s, transform 0.15s, box-shadow 0.15s;
}
.cta-btn:hover, .cta-btn:focus {
  background: #18394b;
  color: #F5B041;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 22px rgba(41,81,106,0.13);
}

/* =============================
   Header, Navigation & Mobile Menu
   ============================= */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 18px rgba(41,81,106,0.05);
  position: sticky;
  top: 0;
  z-index: 40;
}
.main-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 13px 20px 11px 20px;
  min-height: 66px;
}
.main-nav img {
  height: 38px;
  width: auto;
  margin-right: 32px;
}
.desktop-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}
.desktop-menu a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  color: #29516A;
  background: none;
  font-size: 1.05rem;
  border-radius: 6px;
  padding: 7px 13px;
  transition: background 0.16s, color 0.13s;
}
.desktop-menu a:hover, .desktop-menu a:focus {
  color: #F5B041;
  background: #D8E6EA;
}
.desktop-menu .cta-btn {
  margin-top: 0;
  margin-bottom: 0;
  padding: 9px 26px;
  font-size: 1rem;
  border-radius: 22px;
}
.desktop-menu .cta-btn:hover {
  background: #F5B041;
  color: #29516A;
}

/* MOBILE NAVIGATION */
.mobile-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  color: #29516A;
  font-size: 2rem;
  border: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  margin-left: auto;
  margin-right: 8px;
  transition: background 0.13s;
  z-index: 999;
  cursor: pointer;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #E1EDF1;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  box-shadow: 0 0 80px rgba(41,81,106,0.13);
  z-index: 1000;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(.8,.3,.35,1);
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 1.9rem;
  background: none;
  color: #29516A;
  border: none;
  padding: 15px 20px;
  margin-bottom: 4px;
  transition: background 0.18s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #E1EDF1;
  color: #F5B041;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 21px;
  width: 100%;
  margin-top: 32px;
  align-items: center;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.15rem;
  color: #29516A;
  text-align: center;
  padding: 13px 0;
  width: 100%;
  border-radius: 8px;
  background: none;
  transition: background 0.14s, color 0.13s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #D8E6EA;
  color: #F5B041;
}
@media (min-width: 992px) {
  .mobile-menu-toggle, .mobile-menu {
    display: none !important;
  }
}
@media (max-width: 991px) {
  .desktop-menu {
    display: none !important;
  }
}
/* Ensure .mobile-menu covers header */
@media (max-width: 991px) {
  .mobile-menu {
    min-height: 100vh;
    min-width: 100vw;
  }
}

/* =============================
   Footer
   ============================= */
footer {
  background: #f8fbfc;
  color: #23272a;
  padding: 38px 0 24px 0;
  border-top: 1px solid #D8E6EA;
  font-size: 0.99rem;
  margin-top: 60px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  align-items: center;
  padding-bottom: 18px;
}
.footer-nav a {
  color: #29516A;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  padding: 4px 9px;
  border-radius: 6px;
  transition: background 0.13s, color 0.12s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #D8E6EA;
  color: #F5B041;
}
.footer-info {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  color: #708090;
  font-size: 0.96rem;
  margin-bottom: 7px;
}
footer > span {
  display: block;
  text-align: center;
  margin-top: 12px;
  color: #9aa5b1;
  font-size: 0.94rem;
}

/* =============================
   Forms & Inputs (if present in extended site)
   ============================= */
input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
  background: #F8F9FD;
  border: 1px solid #D8E6EA;
  border-radius: 7px;
  padding: 11px 15px;
  margin-bottom: 16px;
  color: #2a343e;
  width: 100%;
  transition: border 0.15s, box-shadow 0.14s;
}
input:focus, textarea:focus, select:focus {
  border: 1.5px solid #29516A;
  box-shadow: 0 0 4px #D8E6EA;
  outline: none;
}
label {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #29516A;
  font-weight: 500;
  font-size: 1rem;
  margin-bottom: 2px;
}

/* =============================
   Lists & Steps Formatting
   ============================= */
ul, ol {
  margin-left: 0;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
ul li, ol li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
  color: #354454;
}
ul li::before {
  content: '';
  display: inline-block;
  width: 9px;
  height: 9px;
  background: #29516A;
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 7px;
  opacity: 0.18;
}
ol li {
  font-weight: 500;
  color: #2a343e;
}
ol li::before {
  content: counter(list-item) '.';
  font-family: 'Montserrat', Arial, sans-serif;
  color: #29516A;
  position: absolute;
  left: 0;
  top: 1px;
  font-size: 1rem;
  font-weight: 700;
  opacity: 0.54;
}
ol {
  counter-reset: list-item;
}
ol li {
  counter-increment: list-item;
}

/* =============================
   Responsive & Spacing Utilities
   ============================= */
@media (max-width: 768px) {
  .container, .content-wrapper {
    padding-left: 6px !important;
    padding-right: 6px !important;
  }
  section {
    padding: 26px 7px;
    margin-bottom: 38px;
  }
  .card,
  .service-card,
  .testimonial-card {
    padding: 18px 11px;
    margin-bottom: 18px;
  }
  .footer-info {
    gap: 6px;
    flex-direction: column;
    align-items: center;
  }
  .footer-nav {
    gap: 7px;
  }
}
@media (max-width: 500px) {
  h1, .h1 { font-size: 1.35rem; }
  h2, .h2 { font-size: 1.05rem; }
}

/* =============================
   COOKIE CONSENT BANNER & MODAL
   ============================= */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #fff;
  border-top: 2px solid #D8E6EA;
  box-shadow: 0 -1.5px 10px rgba(41,81,106,0.07);
  padding: 24px 12px 20px 12px;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  font-size: 1rem;
  color: #29516A;
  transition: transform 0.34s cubic-bezier(.66,.04,.43,1), opacity 0.22s;
}
.cookie-banner.hide {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner .cookie-text {
  max-width: 520px;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  border-radius: 21px;
  padding: 9px 23px;
  border: none;
  background: #29516A;
  color: #fff;
  font-weight: 500;
  box-shadow: 0 1px 8px rgba(41,81,106,0.03);
  transition: background 0.16s, color 0.13s, transform 0.13s;
}
.cookie-btn.secondary {
  background: #fff;
  color: #29516A;
  border: 1px solid #D8E6EA;
}
.cookie-btn.settings {
  background: #F5B041;
  color: #29516A;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #18394b;
  color: #F5B041;
  transform: scale(1.045);
}
.cookie-btn.settings:hover {
  background: #FADD8A;
  color: #29516A;
}

/* COOKIE MODAL */
.cookie-modal-backdrop {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(41,81,106,0.23);
  z-index: 10000;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.23s;
}
.cookie-modal-backdrop.open {
  pointer-events: auto;
  opacity: 1;
}
.cookie-modal {
  background: #fff;
  border-radius: 16px;
  max-width: 95vw;
  width: 366px;
  padding: 33px 24px 25px 24px;
  box-shadow: 0 11px 40px rgba(41,81,106,0.16);
  z-index: 10001;
  display: flex;
  flex-direction: column;
  gap: 18px;
  font-family: 'Roboto', Arial, sans-serif;
  color: #18212a;
  position: relative;
  transform: translateY(60px) scale(0.98);
  opacity: 0;
  transition: opacity 0.26s, transform 0.33s;
}
.cookie-modal-backdrop.open .cookie-modal {
  opacity: 1;
  transform: translateY(0px) scale(1);
}
.cookie-modal h2 {
  margin-bottom: 5px;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #29516A;
  font-weight: 600;
  font-size: 1.18rem;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 19px;
  margin-top: 6px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 11px;
}
.cookie-category label {
  font-size: 1rem;
  color: #29516A;
  font-weight: 500;
}
.category-switch {
  position: relative;
  width: 38px;
  height: 22px;
  border-radius: 11px;
  background: #D8E6EA;
  transition: background 0.22s;
}
.category-switch input {
  opacity: 0;
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0; top: 0;
  cursor: pointer;
}
.category-switch .slider {
  position: absolute;
  left: 3px;
  top: 3px;
  width: 16px;
  height: 16px;
  background: #29516A;
  border-radius: 50%;
  transition: left 0.18s, background 0.18s;
}
.category-switch input:checked + .slider {
  background: #F5B041;
  left: 19px;
}
.category-switch input:disabled + .slider {
  background: #BFCFDA;
}
.cookie-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 5px;
}
.cookie-modal .close {
  position: absolute;
  top: 13px; right: 14px;
  font-size: 1.4rem;
  background: none;
  border: none;
  color: #29516A;
  cursor: pointer;
  padding: 1px 7px;
  border-radius: 6px;
}
.cookie-modal .close:hover {
  background: #D8E6EA;
  color: #F5B041;
}

/* =============================
   Miscellaneous
   ============================= */
::-webkit-input-placeholder { color: #8d9399; }
::-moz-placeholder { color: #8d9399; }
:-ms-input-placeholder { color: #8d9399; }
::placeholder { color: #8d9399; }

hr {
  border: none;
  border-top: 1px solid #E1EDF1;
  margin: 42px 0 30px 0;
}

/* =============================
   Print
   ============================= */
@media print {
  header, footer, .cookie-banner, .mobile-menu { display: none !important; }
  body { background: #fff !important; color: #23272a !important; }
}
