/* =====================
   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,
main, menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  font-size: 16px;
}
body {
  line-height: 1.6;
  background: #f6f6f4;
  color: #2B3C3E;
  font-family: 'Georgia', Times, 'Times New Roman', serif;
  font-size: 1rem;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
img, svg {
  max-width: 100%;
  display: block;
}
a {
  color: #23667A;
  text-decoration: none;
  transition: color .2s;
}
a:hover,
a:focus {
  color: #4AB886;
  text-decoration: underline;
}
ul, ol {
  margin-left: 1.5em;
}
table { border-collapse: collapse; width: 100%; }
th, td { padding: 12px 16px; border: 1px solid #e4e9ec; font-size: 1rem; }
th { background: #f6f8f9; font-weight: 700; text-align: left; font-family: 'Georgia', Times, 'Times New Roman', serif; }

/* ===========================
   TYPOGRAPHY: ELEGANT CLASSIC
   ===========================*/
h1, h2, h3, h4, h5, h6 {
  font-family: 'Georgia', Times, 'Times New Roman', serif;
  color: #174850;
  font-weight: 600;
  margin-bottom: 16px;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.375rem;
}
h4, h5, h6 {
  font-size: 1.125rem;
}
p, li, table, .text-section {
  font-family: 'Georgia', Times, 'Times New Roman', serif;
  font-size: 1rem;
  color: #2B3C3E;
}
strong, b {
  font-weight: 700;
  color: #23667A;
}
small { font-size: .9em; color: #4A5C5F; }

/* ===========================================================
   LAYOUT CLASSES & CONTAINERS (FLEXBOX ONLY, ELEGANT SPACING)
   ===========================================================*/
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 18px -6px rgba(44,44,44,0.07), 0 1.5px 6.5px -1.5px rgba(44,44,44,0.04);
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 8px -3px rgba(44,44,44,0.08);
  margin-bottom: 20px;
  padding: 28px 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 270px;
  flex: 1 1 270px;
}
.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 {
  background: #f6f8f9;
  border-radius: 16px;
  box-shadow: 0 2px 8px -3px rgba(35,102,122,0.06);
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 24px;
  flex-direction: column;
  max-width: 430px;
  min-width: 250px;
}
.testimonial-card p {
  color: #23525E;
  font-size: 1.08rem;
  font-style: italic;
  margin-bottom: 12px;
}
.testimonial-card span {
  color: #23667A;
  font-weight: 600;
  font-size: 0.97rem;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature-grid > div {
  background: #f6f8f9;
  border-radius: 14px;
  box-shadow: 0 1px 4px -2px rgba(35,102,122,0.10);
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1 1 250px;
  min-width: 240px;
  max-width: 360px;
  transition: box-shadow 0.2s;
}
.feature-grid > div:hover {
  box-shadow: 0 4px 18px -6px rgba(35,102,122,0.14);
}
.text-section {
  background: #f7f7f6;
  border-radius: 10px;
  padding: 16px 18px;
  color: #344C51;
  margin: 6px 0;
}
.location-map-embed {
  width: 100%;
  min-height: 170px;
  background: #ececec;
  border-radius: 10px;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============
   HERO BUTTONS
   ============*/
.cta-btn {
  background: #23667A;
  color: #fff;
  font-family: 'Montserrat', 'Georgia', 'Times New Roman', serif;
  font-weight: 600;
  font-size: 1.12rem;
  padding: 13px 28px;
  border: none;
  border-radius: 24px;
  cursor: pointer;
  box-shadow: 0 1.5px 4px 0 rgba(35,91,122,0.07);
  transition: background 0.23s, box-shadow 0.2s, transform 0.12s;
  outline: none;
  display: inline-block;
  margin-top: 10px;
}
.cta-btn:hover, .cta-btn:focus {
  background: #174850;
  color: #fff;
  box-shadow: 0 4px 12px -4px #23667A22;
  transform: translateY(-2px) scale(1.02);
}

/* =================
   HEADER & NAV MENU
   =================*/
header {
  background: #fff;
  box-shadow: 0 2px 16px -10px rgba(35,102,122,0.06);
  padding: 0;
  position: relative;
  margin-bottom: 12px;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
}
header nav {
  display: flex;
  gap: 24px;
}
header nav a {
  font-family: 'Montserrat', 'Georgia', 'Times New Roman', serif;
  font-size: 1rem;
  color: #174850;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.18s;
  font-weight: 500;
}
header nav a:hover,
header nav a:focus {
  color: #23667A;
  border-bottom: 2px solid #23667A;
}
header .cta-btn {
  margin-left: 22px;
  margin-right: 8px;
  font-size: 1rem;
  padding: 11px 24px;
}
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  color: #23667A;
  background: none;
  border: none;
  padding: 5px 10px;
  cursor: pointer;
  z-index: 17;
  transition: background 0.18s;
  border-radius: 6px;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #f3f7f7;
}

/* =================
   MOBILE NAV MENU
   =================*/
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: #f6f8f9;
  transform: translateX(-105vw);
  transition: transform 0.32s cubic-bezier(.9,0,.15,1);
  z-index: 9995;
  box-shadow: 0 2px 16px -7px rgba(35,102,122,0.12);
  display: flex;
  flex-direction: column;
  padding: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  color: #23667A;
  font-size: 2.3rem;
  padding: 16px 18px 6px 18px;
  border: none;
  align-self: flex-end;
  cursor: pointer;
  z-index: 10010;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 24px;
  align-items: center;
}
.mobile-nav a {
  color: #2B3C3E;
  font-family: 'Montserrat', 'Georgia', 'Times New Roman', serif;
  font-size: 1.22rem;
  font-weight: 500;
  padding: 13px 0;
  width: 92vw;
  text-align: center;
  border-radius: 8px;
  transition: background 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #e7efee;
  color: #23667A;
}

/* == Hide main nav on mobile == */
@media (max-width: 990px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
  header .cta-btn {
    display: none;
  }
}

/* == Mobile header layout == */
@media (max-width: 600px) {
  header .container {
    padding: 12px 7vw;
    gap: 9px;
  }
}

/* ========================
   HERO + MAIN SECTIONS
   ========================*/
main {
  width: 100%;
  min-height: 70vh;
}
section {
  margin-bottom: 60px;
  padding: 40px 0 0 0;
  background: inherit;
}
section:last-child {
  margin-bottom: 0;
}

/* =================
   FOOTER
   =================*/
footer {
  background: #183642;
  color: #cce1e9;
  padding: 40px 0 24px 0;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  align-items: flex-start;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
footer nav a {
  color: #b5e0d8;
  font-family: 'Georgia', Times, 'Times New Roman', serif;
  font-size: .98rem;
  letter-spacing: 0.015em;
  transition: color 0.16s;
}
footer nav a:hover, footer nav a:focus {
  color: #4AB886;
  text-decoration: underline;
}
footer p, footer a {
  color: #cce1e9;
  font-size: .98rem;
}
footer a:hover {
  color: #4AB886;
}
footer img {
  min-width: 48px;
  max-width: 60px;
  margin-bottom: 12px;
}
@media (max-width: 800px) {
  footer .container {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
}

/* ======================
   TABLES (ELEGANT TABLE)
   ======================*/
table {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 6px -3px rgba(44,44,44,0.06);
  margin-bottom: 22px;
}
th, td {
  color: #21404d;
}
th {
  font-size: 1.08rem;
  font-weight: 600;
  background: #f6f8f9;
}
td {
  font-size: 1rem;
}

/* =========================
   TESTIMONIALS/REFERENCES
   =========================*/
.testimonial-slider, .testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.case-study-overview {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.case-study-overview > div {
  background: #f7faf9;
  border-radius: 12px;
  box-shadow: 0 0.5px 3px -1px rgba(35,102,122,0.08);
  padding: 18px 16px;
  flex: 1 1 260px;
  min-width: 220px;
  max-width: 340px;
  margin-bottom: 20px;
}
.case-study-overview h3 {
  color: #23667A;
  margin-bottom: 0.5em;
}

/* ============================
   COOKIE CONSENT FIXED BANNER
   ============================*/
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #f6f8f9;
  color: #1f3641;
  padding: 18px 20px 18px 20px;
  box-shadow: 0 -2px 18px -8px rgba(35,102,122,0.16);
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 10100;
  align-items: center;
  transition: transform 0.35s cubic-bezier(.4,0,.16,1);
}
.cookie-banner.hide {
  transform: translateY(100%);
}
.cookie-banner-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}
.cookie-banner .cookie-btn {
  font-family: 'Montserrat', 'Georgia', 'Times New Roman', serif;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 20px;
  padding: 9px 26px;
  border: 0;
  cursor: pointer;
  transition: background 0.16s, color 0.14s, box-shadow 0.18s;
  margin-top: 2px;
}
.cookie-banner .cookie-btn.accept {
  background: #23667A;
  color: #fff;
  box-shadow: 0 1px 4px -2px #23667A44;
}
.cookie-banner .cookie-btn.accept:hover, .cookie-banner .cookie-btn.accept:focus {
  background: #174850;
  color: #fff;
}
.cookie-banner .cookie-btn.decline {
  background: #ececec;
  color: #174850;
}
.cookie-banner .cookie-btn.decline:hover, .cookie-banner .cookie-btn.decline:focus {
  background: #d8e6e3;
  color: #23667A;
}
.cookie-banner .cookie-btn.settings {
  background: #fff;
  color: #23667A;
  border: 1px solid #cfd6d6;
}
.cookie-banner .cookie-btn.settings:hover,
.cookie-banner .cookie-btn.settings:focus {
  background: #f3f7f7;
}

/* =============
   COOKIE MODAL
   =============*/
.cookie-modal-backdrop {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(44,69,80,0.30);
  z-index: 10200;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.18s;
}
.cookie-modal {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 32px -16px #23667A33;
  padding: 38px 24px 20px 24px;
  width: 97vw;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: fadeInCookieModal 0.38s cubic-bezier(.9,0,.08,1);
}
@keyframes fadeInCookieModal {
  from {
    opacity: 0;
    transform: scale(0.97) translateY(17px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}
.cookie-modal h2 {
  margin-bottom: 10px;
  font-size: 1.5rem;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 8px 0;
  font-size: 1.05rem;
}
.cookie-modal label {
  cursor: pointer;
  font-family: 'Montserrat', 'Georgia', 'Times New Roman', serif;
}
.cookie-modal input[type="checkbox"] {
  accent-color: #23667A;
  width: 18px;
  height: 18px;
  cursor: pointer;
}
.cookie-modal .modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 18px;
  margin-top: 14px;
}
.cookie-modal-close {
  background: none;
  border: none;
  color: #aaa;
  font-size: 2rem;
  position: absolute;
  top: 11px; right: 17px;
  cursor: pointer;
}
.cookie-modal-close:focus, .cookie-modal-close:hover {
  color: #23667A;
}

/* ===========
   RESPONSIVE
   ===========*/
@media (max-width: 1200px) {
  .container {
    max-width: 97vw;
  }
}
@media (max-width: 900px) {
  .feature-grid, .testimonial-slider, .testimonial-list, .card-container, .case-study-overview {
    flex-direction: column;
    gap: 20px;
  }
  .feature-grid > div, .card, .case-study-overview > div {
    max-width: 100%;
    min-width: 0;
    flex: 1 1 98vw;
  }
}
@media (max-width: 680px) {
  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.3rem; }
  section, .section {
    padding: 22px 4vw 0 4vw;
    margin-bottom: 32px;
    border-radius: 10px;
  }
  .feature-grid > div,
  .card,
  .case-study-overview > div {
    padding: 12px 7vw;
    min-width: 0;
    max-width: none;
  }
}
@media (max-width: 768px) {
  .container {
    padding: 0 10px;
  }
  .content-wrapper {
    padding: 0;
    gap: 16px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }
  .feature-grid {
    flex-direction: column;
    gap: 18px;
  }
}

/* ===========================
   ANIMATIONS & MICROINTERACT
   ===========================*/
.cta-btn, .card, .feature-grid > div, .testimonial-card, .mobile-nav a {
  transition: box-shadow 0.20s, background 0.19s, color 0.17s, transform 0.18s;
}
.cta-btn:active {
  transform: scale(0.97);
}
.feature-grid > div:active,
.card:active,
.testimonial-card:active {
  transform: scale(0.98);
}

/* =============
   ACCESSIBILITY
   =============*/
:focus {
  outline: 2px solid #23667A;
  outline-offset: 2px;
}

/* ===========
   UTILS/HELPERS
   ===========*/
.hidden { display: none !important; }

/* =======
   FORMS
   =======*/
input, textarea, select {
  font-family: 'Georgia', Times, 'Times New Roman', serif;
  font-size: 1rem;
  border: 1px solid #cfd6d6;
  border-radius: 7px;
  padding: 8px 10px;
  margin: 6px 0;
  width: 100%;
  background: #fbfbfa;
  box-sizing: border-box;
}
input:focus, textarea:focus, select:focus {
  outline: 2px solid #4AB886;
}
button {
  font-family: 'Montserrat', 'Georgia', 'Times New Roman', serif;
  cursor: pointer;
}

/* =============
   PRINT OPTIMIZE
   =============*/
@media print {
  .mobile-menu, .mobile-menu-toggle, .cookie-banner, .cookie-modal-backdrop { display: none !important; }
  header, footer, section, .container { box-shadow: none !important; background: #fff !important; }
}
