/* ===================================
   RESET & BASE TYPOGRAPHY
======================================*/
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 {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}
body {
  background: #F8F9FA;
  color: #22334E;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  min-height: 100vh;
  -webkit-text-size-adjust: 100%;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
*, *:before, *:after {
  box-sizing: inherit;
}
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.18s;
}
a:focus {
  outline: 2px solid #64B687;
  outline-offset: 2px;
}
ul, ol {
  list-style: none;
  margin: 0 0 1.5em 0;
  padding: 0;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: #22334E;
  font-weight: 700;
  margin-bottom: 0.5em;
  letter-spacing: -0.01em;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 24px;
}
h2 {
  font-size: 1.75rem;
  margin-bottom: 20px;
  line-height: 1.3;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  line-height: 1.35;
}
h4, h5, h6 {
  font-size: 1.1rem;
}
p {
  margin-bottom: 18px;
  color: #22334E;
}
strong { font-weight: 600; }
em { font-style: italic; }
code, pre {
  font-family: 'Menlo', 'Consolas', monospace;
  background: #eee;
}

/* ===================================
   BRAND COLORS & VARIABLES
======================================*/
:root {
  --color-primary: #22334E;
  --color-secondary: #F8F9FA;
  --color-accent: #64B687;
  --color-body: #22334E;
  --color-muted: #6D7581;
  --color-card-bg: #fff;
  --color-shadow: rgba(34,51,78,0.04);
  --color-border: #e5e8ee;
  --color-footer-bg: #F8F9FA;
  --color-footer-text: #22334E;
  --color-nav-bg: #fff;
  --color-cta: #64B687;
  --color-cta-hover: #529E6E;
}

/* ===================================
   LAYOUT UTILS
======================================*/
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Spacing pattern for .section, .feature-grid, cards, ... */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-card-bg);
  border-radius: 14px;
  box-shadow: 0 2px 12px var(--color-shadow);
  margin-bottom: 20px;
  position: relative;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: box-shadow 0.2s;
}
.card:hover {
  box-shadow: 0 4px 28px rgba(100,182,135,0.08);
}
.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: 28px 28px 22px 28px;
  background: #fff;
  box-shadow: 0 2px 16px var(--color-shadow);
  border-radius: 12px;
  margin-bottom: 20px;
  border: 1px solid #e6eaf1;
  min-width: 220px;
  max-width: 420px;
  flex: 1 1 240px;
}
.testimonial-card p {
  color: #22334E;
  font-size: 1.125rem;
  line-height: 1.5;
}
.testimonial-card strong {
  color: var(--color-accent);
  font-size: 1rem;
  letter-spacing: 0.05em;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px var(--color-shadow);
  padding: 32px 24px;
  min-width: 210px;
  max-width: 310px;
  flex: 1 1 210px;
  margin-bottom: 20px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.feature-item img {
  width: 42px;
  height: 42px;
}
.feature-item h3 {
  font-size: 1.185rem;
  margin-bottom: 0.34em;
  color: var(--color-primary);
}
.feature-item p {
  color: #22334E;
  font-size: 1rem;
}
.feature-item:hover {
  box-shadow: 0 8px 32px rgba(100,182,135,0.08);
  transform: translateY(-2px) scale(1.02);
}

/* Feature grid wrapper for inside features section */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}

/* ===================================
   HEADER & NAVIGATION
======================================*/
header {
  background: var(--color-nav-bg);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1101;
  box-shadow: 0 1px 12px var(--color-shadow);
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding-top: 15px;
  padding-bottom: 15px;
  position: relative;
}
.logo img {
  height: 38px;
  width: auto;
  display: block;
  margin-right: 12px;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  background: none;
}
.main-nav a {
  color: var(--color-body);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding: 7px 0;
  position: relative;
  transition: color 0.15s;
}
.main-nav a:hover, .main-nav a.active {
  color: var(--color-accent);
}
.cta.primary {
  background: var(--color-accent);
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 30px;
  padding: 12px 32px;
  box-shadow: 0 2px 12px var(--color-shadow);
  border: none;
  margin-left: 12px;
  cursor: pointer;
  display: inline-block;
  transition: background 0.18s, box-shadow 0.18s, transform 0.15s;
}
.cta.primary:hover, .cta.primary:focus {
  background: var(--color-cta-hover);
  color: #fff;
  box-shadow: 0 4px 24px rgba(100,182,135,0.12);
  transform: translateY(-1px) scale(1.02);
}

/* Mobile burger */
.mobile-menu-toggle {
  display: none;
  background: none;
  font-size: 2rem;
  line-height: 1;
  color: var(--color-accent);
  border: none;
  cursor: pointer;
  padding: 7px 10px;
  margin-left: 10px;
  border-radius: 7px;
  transition: background 0.15s;
  z-index: 1201;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: rgba(100,182,135,0.09);
  color: var(--color-primary);
}

/* Hide mobile nav initially */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0;
  bottom: 0;
  background: rgba(34, 51, 78, 0.97);
  z-index: 1200;
  transform: translateX(100%);
  transition: transform 0.34s cubic-bezier(.75,.01,.29,1.01);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 30px 20px 10px 20px;
  gap: 24px;
  min-width: 250px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  cursor: pointer;
  margin-bottom: 18px;
  transition: color 0.15s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  color: var(--color-accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.18rem;
  font-weight: 500;
  padding: 12px 5px;
  border-radius: 8px;
  transition: background 0.16s, color 0.14s;
  touch-action: manipulation;
}
.mobile-nav a:active, .mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-accent);
  color: #fff;
}

/* Hide main nav in mobile, show burger */
@media (max-width: 980px) {
  .main-nav, .cta.primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
}
@media (min-width: 981px) {
  .mobile-menu {
    display: none!important;
  }
}

/* ===================================
   HERO SECTION
======================================*/
.hero {
  background: #fff;
  min-height: 370px;
  display: flex;
  align-items: center;
  padding: 60px 0 50px 0;
  box-shadow: 0 2px 24px var(--color-shadow);
  margin-bottom: 60px;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hero h1 {
  color: var(--color-primary);
  font-size: 2.8rem;
  margin-bottom: 14px;
}
.hero p {
  font-size: 1.2rem;
  color: var(--color-body);
  margin-bottom: 30px;
}
.hero .cta.primary {
  margin-left: 0;
}

/* ===================================
   SECTIONS & CARDS
======================================*/
.features {
  margin-bottom: 60px;
  padding: 0 0 32px 0;
  background: none;
}
.features h2,
.features h1 {
  color: var(--color-primary);
}
.services {
  margin-top: 42px;
  margin-bottom: 50px;
}
.service-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  flex-direction: row;
}
.service-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px var(--color-shadow);
  padding: 28px 22px;
  min-width: 210px;
  max-width: 320px;
  flex: 1 1 210px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
  transition: box-shadow 0.14s, transform 0.17s;
  border: 1px solid #e6eaf1;
}
.service-card img {
  width: 40px;
  height: 40px;
}
.service-card h2 {
  font-size: 1.18rem;
}
.service-card strong {
  color: var(--color-accent);
  font-size: 1.06rem;
  margin-top: 6px;
}
.service-card:hover {
  box-shadow: 0 8px 24px rgba(100,182,135,0.10);
  transform: translateY(-3px) scale(1.015);
}

/**** FAQ Section ****/
.faq {
  margin-bottom: 60px;
  padding: 32px 0;
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  flex: 2 1 320px;
}
.faq-item h2 {
  font-size: 1.1rem;
  margin-bottom: 7px;
  color: var(--color-primary);
  font-family: 'Montserrat', Arial, sans-serif;
}
.faq-item p {
  color: var(--color-body);
}
.search-info {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px var(--color-shadow);
  padding: 24px 20px;
  margin-top: 22px;
  flex: 1 1 200px;
}

/**** List, Text and Info Sections ****/
.text-section {
  margin-bottom: 60px;
  padding: 40px 0 20px 0;
}
.text-section .content-wrapper {
  max-width: 700px;
}
.legal {
  margin-bottom: 60px;
  padding-top: 44px;
}
.confirmation {
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  box-shadow: 0 2px 18px var(--color-shadow);
  border-radius: 16px;
  margin-top: 22px;
  margin-bottom: 60px;
  padding: 36px 24px;
}
.confirmation .cta.primary {
  margin-top: 18px;
}
.map-neutral {
  background: #F8F9FA;
  border-radius: 10px;
  box-shadow: 0 1px 6px rgba(34,51,78, 0.04);
  padding: 24px 18px;
  margin-top: 18px;
  min-width: 220px;
}

/* ===================================
   CTA Sections
======================================*/
.cta {
  background: var(--color-accent);
  color: #fff;
  border-radius: 18px;
  padding: 36px 20px;
  display: flex;
  align-items: center;
}
.cta h2, .cta p {
  color: #fff;
}
.cta .cta.primary {
  background: #fff;
  color: var(--color-accent);
  font-weight: 700;
  box-shadow: none;
  margin-top: 15px;
}
.cta .cta.primary:hover, .cta .cta.primary:focus {
  background: #D1F6E2;
  color: var(--color-primary);
}

/* ===================================
   FOOTER
======================================*/
footer {
  background: var(--color-footer-bg);
  color: var(--color-footer-text);
  border-top: 1px solid var(--color-border);
  padding: 32px 0 22px 0;
  font-size: 0.99rem;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 15px;
}
.footer-nav a {
  color: var(--color-muted);
  font-size: .97rem;
  padding: 6px 0;
  transition: color 0.15s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--color-accent);
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 8px;
}
.footer-brand img {
  width: 34px; height: 34px;
}
.footer-brand p {
  font-size: 0.97rem;
  color: #8891A2;
}

/* ===================================
   COOKIE CONSENT BANNER & MODAL
======================================*/
.cookie-banner {
  position: fixed;
  left: 0; right:0;
  bottom: 0;
  background: #fff;
  border-top: 1px solid #e6eaf1;
  box-shadow: 0 -2px 12px rgba(34,51,78,0.045);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 24px;
  font-size: 1rem;
  flex-wrap: wrap;
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.38s cubic-bezier(.55,.01,.255,1.03), opacity 0.26s;
}
.cookie-banner.active {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.cookie-banner .cookie-btn {
  margin-left: 9px;
  margin-top: 0;
}
.cookie-btn, .cookie-settings-btn {
  background: var(--color-accent);
  color: #fff;
  border-radius: 22px;
  border: none;
  padding: 8px 20px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  margin-right: 7px;
  margin-bottom: 0;
  transition: background 0.13s, color 0.13s;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #529E6E;
  color: #fff;
}
.cookie-settings-btn {
  background: #f8f9fa;
  color: var(--color-primary);
  border: 1px solid #d1d3d6;
  margin-right: 0;
}
.cookie-settings-btn:hover, .cookie-settings-btn:focus {
  background: #eceff2;
  color: var(--color-accent);
}
/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed;
  z-index: 3100;
  left: 0; top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(34, 51, 78, 0.52);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s;
}
.cookie-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: #fff;
  border-radius: 16px;
  max-width: 370px;
  min-width: 220px;
  box-shadow: 0 4px 28px rgba(34,51,78,0.13);
  padding: 32px 26px 24px 26px;
  text-align: left;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: cookie-modal-in 0.28s cubic-bezier(.71,.01,.29,1.01);
}
@keyframes cookie-modal-in {
  from { transform: translateY(58px) scale(.93); opacity: 0; }
  to   { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal-close {
  position: absolute;
  top: 13px;
  right: 17px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #ccc;
  cursor: pointer;
  z-index: 2;
  transition: color 0.14s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: var(--color-accent);
}
.cookie-modal h3 {
  font-size: 1.14rem;
  margin-bottom: 8px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
}
.cookie-category input[type=checkbox] {
  width: 19px;
  height: 19px;
  accent-color: var(--color-accent);
}
.cookie-category.essential input[type=checkbox] {
  accent-color: #a3a7b1;
}
.cookie-category.essential label {
  color: #c0c3cc;
  font-style: italic;
}
.cookie-category label {
  font-size: 1rem;
  color: var(--color-body);
}
.cookie-modal-actions {
  margin-top: 18px;
  display: flex;
  flex-direction: row;
  gap: 14px;
  justify-content: flex-end;
}

/* ===================================
   RESPONSIVENESS (mobile-first)
======================================*/
@media (max-width: 768px) {
  .container {
    padding: 0 12px;
  }
  .header .container {
    padding: 0 12px;
  }
  .section, .features, .legal, .confirmation {
    padding-left: 6px;
    padding-right: 6px;
  }
  .feature-grid, .service-cards, .card-container, .content-grid {
    flex-direction: column;
    gap: 22px;
  }
  .features .content-wrapper, .services .content-wrapper {
    gap: 18px;
  }
  .testimonial-card, .feature-item, .service-card {
    min-width: 0;
    max-width: 100%;
    width: 100%;
  }
  .faq-list {
    gap: 18px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 17px;
    align-items: stretch;
  }
  .cta {
    padding: 24px 10px;
    flex-direction: column;
    text-align: center;
  }
  .content-wrapper {
    gap: 16px;
  }
  .footer-brand {
    flex-direction: column;
    gap: 6px;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    font-size: .98rem;
    padding: 18px 10px;
  }
}
@media (max-width: 450px) {
  h1 { font-size: 1.65rem; }
  h2 { font-size: 1.22rem; }
  .cta, .section { padding-left: 2vw; padding-right: 2vw; }
}

/* ===================================
   ANIMATION & INTERACTION
======================================*/
.card, .testimonial-card, .feature-item, .service-card, .search-info {
  transition: box-shadow 0.16s, transform 0.14s;
}
.card:hover, .service-card:hover, .feature-item:hover, .testimonial-card:hover {
  box-shadow: 0 8px 28px rgba(100,182,135, 0.09);
  transform: translateY(-3px) scale(1.025);
}
.main-nav a, .footer-nav a, .mobile-nav a {
  transition: color 0.14s, background 0.12s;
}
button, .cta.primary, .cookie-btn, .cookie-settings-btn {
  transition: background 0.13s, color 0.13s, box-shadow 0.14s;
}

/* ===================================
   FORM ELEMENTS
======================================*/
input, select, textarea {
  font-family: inherit;
  font-size: 1rem;
  padding: 10px 12px;
  border: 1px solid #e5e8ee;
  border-radius: 7px;
  background: #fff;
  color: #22334E;
  outline: none;
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 16px;
  transition: border 0.13s, box-shadow 0.14s;
}
input:focus, select:focus, textarea:focus {
  border: 1.5px solid var(--color-accent);
  box-shadow: 0 1px 5px rgba(100,182,135,0.08);
}
label {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: var(--color-body);
  font-weight: 500;
  margin-bottom: 7px;
  display:block;
}

/* ===================================
   UTILITY CLASSES & HELPER
======================================*/
.d-none { display: none !important; }
.text-center { text-align: center; }
.bg-accent { background: var(--color-accent)!important; color: #fff !important; }

/* Prevent content overlap for cards/sections */
.section, .features, .services, .card, .testimonial-card, .feature-item, .service-card {
  margin-bottom: 20px;
}

/* Ensure all images are sharp on retina */
img, svg { image-rendering: -webkit-optimize-contrast; }
.testimonial-card.before-fade.fade-in {
    max-width: 100%;
}
section {
  padding: 15px;
}
/* ===== End CSS ===== */