/* ================================================== */
/* CSS RESET & NORMALIZE (Minimalist, Clean)          */
/* ================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  font-size: 16px;
}
body {
  font-family: 'Lato', Arial, Helvetica, sans-serif;
  color: #172A2B;
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-size: 1rem;
}

:root {
  --brand-primary: #215E6C;
  --brand-secondary: #49B485;
  --brand-accent: #F2F3F2;
  --text-dark: #172A2B;
  --text-medium: #446266;
  --section-padding: 40px 20px;
  --section-margin: 60px;
  --card-bg: #fff;
  --border-radius: 12px;
  --shadow-card: 0 4px 16px rgba(33, 94, 108, 0.05);
  --shadow-light: 0 1.5px 6px rgba(73,180,133,0.06);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
  border-style: none;
}
a {
  color: var(--brand-primary);
  text-decoration: none;
  transition: color 0.21s;
}
a:hover, a:focus {
  color: var(--brand-secondary);
  text-decoration: underline;
}
ul, ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Lato', Arial, sans-serif;
  color: var(--brand-primary);
  letter-spacing: -0.5px;
  font-weight: 700;
  line-height: 1.18;
}
h1 { font-size: 2.2rem; margin-bottom: 18px; }
h2 { font-size: 1.6rem; margin-bottom: 14px; }
h3 { font-size: 1.18rem; margin-bottom: 10px; }
.subheadline {
  font-size: 1.14rem;
  color: var(--text-medium);
  margin-bottom: 18px;
  font-weight: 400;
}

p, li, label {
  color: var(--text-medium);
  font-size: 1rem;
  margin-bottom: 12px;
}

strong { color: var(--brand-primary); font-weight: 700; }
code, pre { font-family: 'Fira Mono', 'Menlo', monospace; background: #f7f7f8; padding: 2px 6px; font-size: 0.94em; border-radius: 3px; }

/* =========================== */
/* CONTAINERS & LAYOUT         */
/* =========================== */
.container {
  width: 100%;
  max-width: 940px;
  padding-left: 20px;
  padding-right: 20px;
  margin-left: auto;
  margin-right: auto;
}
.section {
  margin-bottom: var(--section-margin);
  padding: var(--section-padding);
  background: #fff;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* FLEXBOX UTILITY PATTERNS (CRITICAL) */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--card-bg);
  box-shadow: var(--shadow-card);
  border-radius: var(--border-radius);
  margin-bottom: 20px;
  position: relative;
  padding: 22px 30px;
  flex: 1 1 270px;
  transition: box-shadow 0.2s;
}
.card:hover {
  box-shadow: 0 8px 24px rgba(33, 94, 108, 0.11);
}
.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;
  background: var(--brand-accent);
  color: var(--text-dark);
  gap: 20px;
  padding: 20px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-light);
  margin-bottom: 20px;
  transition: box-shadow 0.23s;
}
.testimonial-card:hover {
  box-shadow: 0 7px 20px rgba(33,94,108,0.10);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 16px;
  padding: 14px 0;
}

/* =========================== */
/* HEADER / MAIN NAVIGATION    */
/* =========================== */
header {
  background: #fff;
  border-bottom: 1px solid #ececec;
  box-shadow: 0 2.5px 16px rgba(33,94,108,0.04);
  z-index: 1000;
}
.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
}
.main-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 22px;
  font-family: 'Montserrat', 'Lato', Arial, sans-serif;
  font-size: 1rem;
}
.main-nav a {
  color: var(--text-dark);
  font-weight: 500;
  position: relative;
  padding: 6px 2px;
  border-radius: 3px;
  transition: color 0.21s, background 0.15s;
}
.main-nav a:hover,
.main-nav a:focus {
  color: var(--brand-secondary);
  background: var(--brand-accent);
}
.cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border-radius: 28px;
  background: var(--brand-primary);
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.07rem;
  box-shadow: 0 2px 14px rgba(73,180,133,0.04);
  border: none;
  cursor: pointer;
  transition: background 0.17s, box-shadow 0.17s, color 0.13s;
  margin-left: 18px;
  text-align: center;
  outline: 0;
  text-decoration: none;
}
.cta-primary:hover, .cta-primary:focus {
  background: var(--brand-secondary);
  color: var(--brand-primary);
  box-shadow: 0 4px 18px rgba(33,94,108,0.13);
}
.cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border: 1.7px solid var(--brand-primary);
  background: transparent;
  color: var(--brand-primary);
  border-radius: 26px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  margin-top: 15px;
  transition: background 0.18s, color 0.18s, border 0.16s;
  text-align: center;
  outline: 0;
  text-decoration: none;
}
.cta-secondary:hover, .cta-secondary:focus {
  border-color: var(--brand-secondary);
  background: var(--brand-accent);
  color: var(--brand-secondary);
}

/* ===================================== */
/* MOBILE NAVIGATION BURGER MENU         */
/* ===================================== */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--brand-primary);
  padding: 7px 14px;
  margin-left: 8px;
  border-radius: 8px;
  cursor: pointer;
  z-index: 1501;
  transition: background 0.15s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--brand-accent);
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #fff;
  z-index: 1500;
  padding: 28px 24px 54px 24px;
  transform: translateX(100%);
  transition: transform 0.31s cubic-bezier(.57,.15,.53,.92);
  box-shadow: 0 8px 32px rgba(33,94,108,0.13);
  opacity: 0.99;
}
.mobile-menu.active {
  transform: translateX(0%);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.1rem;
  color: var(--brand-primary);
  align-self: flex-end;
  margin-bottom: 22px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.14s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--brand-accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 14px;
}
.mobile-nav a {
  color: var(--brand-primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1.12rem;
  text-decoration: none;
  padding: 11px 0;
  border-radius: 8px;
  transition: background 0.18s, color 0.17s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--brand-accent);
  color: var(--brand-secondary);
}

/* Hide mobile-menu by default, only .active slides it in */
@media (max-width: 900px) {
  .main-nav { display: none !important; }
  .mobile-menu-toggle { display: inline-block; }
}
@media (min-width: 901px) {
  .mobile-menu { display: none !important; }
}

/* ============================= */
/* FOOTER                        */
/* ============================= */
footer {
  background: #fff;
  border-top: 1px solid #e8eaea;
  margin-top: 68px;
  padding-top: 30px;
  padding-bottom: 30px;
  font-size: 0.99rem;
}
.footer-menu {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 19px;
}
.footer-menu a {
  color: var(--text-medium);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.99rem;
  font-weight: 500;
  transition: color 0.17s;
}
.footer-menu a:hover, .footer-menu a:focus {
  color: var(--brand-primary);
}
.contact-short {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--text-medium);
}
.social-links {
  display: flex;
  gap: 14px;
  margin-top: 10px;
}
.social-links a img {
  width: 26px;
  height: 26px;
  transition: filter 0.16s;
}
.social-links a:hover img, .social-links a:focus img {
  filter: brightness(0.65) sepia(0.7) hue-rotate(140deg);
}

/* ============================= */
/* TESTIMONIALS (Card Layout)    */
/* ============================= */
.testimonial-card p {
  font-size: 1.12rem;
  color: var(--text-dark);
  margin-bottom: 8px;
  font-weight: 500;
}
.testimonial-card span {
  font-size: 0.98rem;
  color: var(--brand-primary);
  font-weight: 600;
  opacity: 0.86;
}

/* ============================= */
/* TEXT SECTION / MAP LOCATION   */
/* ============================= */
.text-section {
  margin-bottom: 12px;
  font-size: 1rem;
  color: var(--text-medium);
}
.text-section img {
  display: inline-block;
  vertical-align: text-bottom;
  margin-right: 6px;
  width: 21px;
  height: 21px;
}

.map-location {
  background: var(--brand-accent);
  padding: 13px 16px;
  border-radius: var(--border-radius);
  margin-top: 10px;
  color: var(--brand-primary);
  font-size: 1.03rem;
}

/* ============================= */
/* SECTION HEADERS and SPACING   */
/* ============================= */
section {
  margin-bottom: var(--section-margin);
  padding: var(--section-padding);
}
section:last-child { margin-bottom: 0; }

/* ============================= */
/* LISTS                         */
/* ============================= */
ul, ol {
  padding-left: 1rem;
  margin-bottom: 18px;
}
.content-wrapper ul li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 12px;
}
.content-wrapper ul li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--brand-secondary);
  border-radius: 50%;
  display: inline-block;
  position: absolute;
  left: 0; top: 10px;
}

/* ============================= */
/* BUTTONS / MICROINTERACTIONS   */
/* ============================= */
button, [type="button"], [type="submit"] {
  font-family: 'Montserrat', Arial, sans-serif;
  background: var(--brand-primary);
  color: #fff;
  border: none;
  border-radius: 26px;
  padding: 11px 28px;
  font-size: 1rem;
  font-weight: 700;
  transition: background 0.18s, box-shadow 0.18s;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(33,94,108,0.06);
  outline: 0;
  margin-bottom: 0;
}
button:hover, button:focus {
  background: var(--brand-secondary);
  color: var(--brand-primary);
}

/* Utility: Hide visually */
.visually-hidden {
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden;
  white-space: nowrap;
  clip: rect(0,0,0,0);
}

/* ============================= */
/* RESPONSIVE DESIGN             */
/* ============================= */
@media (max-width: 768px) {
  .header-content {
    flex-direction: row;
    gap: 9px;
    min-height: 56px;
  }
  .main-nav {
    display: none !important;
  }
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }
  .card-container, .content-grid, .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
  .testimonial-card {
    padding: 16px;
    gap: 15px;
  }
  .feature-item {
    gap: 11px;
    padding: 7px 0;
  }
  .mobile-menu {
    padding: 13px 7vw 34px 7vw;
  }
  section, .section {
    padding: 22px 8px;
    margin-bottom: 36px;
  }
  .cta-primary, .cta-secondary, button {
    width: 100%;
    justify-content: center;
    margin-left: 0 !important;
  }
  h1 { font-size: 1.52rem; }
  h2 { font-size: 1.18rem; }
}

@media (max-width:420px) {
  .section, section { padding: 16px 2px; }
  .container { padding: 0 3px; }
  .card { padding: 13px 9px; }
}

/* ============================================== */
/* COOKIE CONSENT BANNER & COOKIE POPUP           */
/* ============================================== */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: var(--brand-accent);
  color: var(--brand-primary);
  box-shadow: 0 -1.8px 20px rgba(33,94,108,0.08);
  padding: 22px 12px 20px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  z-index: 2000;
  font-size: 1rem;
  transition: transform 0.23s, opacity 0.22s;
  opacity: 0.99;
}
.cookie-consent-banner.hide {
  transform: translateY(100%);
  opacity: 0.1;
  pointer-events: none;
}
.cookie-consent-banner p {
  color: var(--brand-primary);
  font-size: 1rem;
  margin-right: 7px;
  margin-bottom: 0;
}
.cookie-btns {
  display: flex;
  gap: 12px;
  align-items: center;
}
.cookie-btn {
  padding: 9px 20px;
  border-radius: 20px;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  background: var(--brand-primary);
  color: #fff;
  transition: background 0.18s, color 0.19s;
  box-shadow: 0 1.1px 4px rgba(73,180,133,0.04);
  outline: none;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--brand-secondary);
  color: var(--brand-primary);
}
.cookie-btn.cookie-reject {
  background: #fff;
  color: var(--brand-primary);
  border: 1px solid var(--brand-primary);
}
.cookie-btn.cookie-settings {
  background: var(--brand-secondary);
  color: #fff;
}
.cookie-btn.cookie-settings:hover, .cookie-btn.cookie-settings:focus {
  background: var(--brand-primary);
  color: #fff;
}

/* Cookie Modal Overlay */
.cookie-modal-overlay {
  position: fixed;
  z-index: 2100;
  inset: 0;
  background: rgba(33,94,108,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.18s;
}
.cookie-modal-overlay.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #fff;
  color: var(--brand-primary);
  padding: 40px 27px 28px 27px;
  border-radius: var(--border-radius);
  min-width: 320px;
  max-width: 95vw;
  box-shadow: 0 8px 22px rgba(33,94,108,0.16);
  display: flex;
  flex-direction: column;
  gap: 17px;
  position: relative;
}
.cookie-modal h2 {
  margin-bottom: 8px;
}
.category-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 11px;
}
.category-row label {
  font-size: 1.01rem;
  color: var(--brand-primary);
}
.category-row input[type="checkbox"] {
  width: 19px;
  height: 19px;
  accent-color: var(--brand-secondary);
}
.category-row.category-essential label {
  color: #898989;
  font-style: italic;
}
.cookie-modal-actions {
  display: flex;
  gap: 16px;
  margin-top: 9px;
  align-self: flex-end;
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  top: 12px;
  right: 13px;
  background: none;
  color: var(--brand-primary);
  font-size: 1.5rem;
  border: none;
  cursor: pointer;
  border-radius: 7px;
  transition: background 0.13s;
  padding: 3px 7px;
}
.cookie-modal .cookie-modal-close:hover {
  background: var(--brand-accent);
}
@media(max-width: 560px) {
  .cookie-modal {
    padding: 19px 5vw 19px 5vw;
    min-width: 0;
  }
  .cookie-consent-banner {
    flex-direction: column;
    padding: 21px 7px 14px 7px;
    gap: 17px;
    font-size: 0.99rem;
  }
}

/* ==================================== */
/* UTILITIES & MISC                     */
/* ==================================== */
.hidden { display: none !important; }
.inline-flex { display: inline-flex !important; }

/* Hide outline by default, show on focus for accessibility */
a, button, .cta-primary, .cta-secondary, .cookie-btn {
  outline: none;
}
a:focus-visible, button:focus-visible, .cta-primary:focus-visible, .cta-secondary:focus-visible, .cookie-btn:focus-visible {
  outline: 2px solid var(--brand-primary);
  outline-offset: 2px;
}

/* Loading spinner, optional */
.spinner {
  border: 6px solid #f2f2f2;
  border-top: 6px solid var(--brand-secondary);
  border-radius: 50%;
  width: 38px;
  height: 38px;
  animation: spin 1s linear infinite;
  margin: 3vh auto;
}
@keyframes spin { 100% { transform: rotate(360deg); } }

/* ==================================== */
/* TYPOGRAPHY SCALE / MINIMALIST EFFECTS*/
/* ==================================== */
.display-large { font-size: 2.4rem; font-family: 'Montserrat'; }
.display-medium { font-size: 1.7rem; font-family: 'Montserrat'; }
.text-lead { font-size: 1.1rem; color: var(--brand-primary); }

/* Microinteractions: subtle fade on hover */
.card, .cta-primary, .cta-secondary, .testimonial-card, .cookie-btn, .mobile-menu-toggle, .mobile-menu-close {
  transition: box-shadow .19s, background .16s, color .13s, transform .13s;
}
.card:hover, .testimonial-card:hover {
  transform: translateY(-2px) scale(1.01);
}

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