/* --- CSS RESET & BASELINE 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, 
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 {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*,:before,:after { box-sizing: inherit; }
body {
  line-height: 1.5;
  background: #fff;
  color: #181A1B;
  font-family: 'Roboto', Arial, sans-serif;
  min-height: 100vh;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, picture, video, canvas, svg {
  display: inline-block;
  max-width: 100%;
  height: auto;
}
a { color: inherit; text-decoration: none; transition: color 0.2s; }

/* --- FONT IMPORTS --- */
@import url('https://fonts.googleapis.com/css?family=Nunito:700,800&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');

:root {
  --primary: #225E43;
  --secondary: #4A90E2;
  --accent: #F6F7F2;
  --neutral: #ffffff;
  --body: #181A1B;
  --grey: #EEEEEE;
  --border-radius: 14px;
  --box-shadow: 0 2px 16px 0 rgba(34, 94, 67, 0.05), 0 1px 3px 0 rgba(0,0,0,0.02);
  --shadow-hover: 0 4px 24px 0 rgba(34, 94, 67, 0.13);
  --font-display: 'Nunito', Arial, Helvetica, sans-serif;
  --font-body: 'Roboto', Arial, Helvetica, sans-serif;
  --transition: 0.25s cubic-bezier(.47,1.64,.41,.8);
  --focus-outline: 2px solid var(--secondary);
}

/* --- CONTAINER AND STRUCTURE --- */
.container {
  width: 100%;
  max-width: 1100px;
  padding: 0 18px;
  margin: 0 auto;
}

main {
  flex: 1 1 auto;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* --- TYPOGRAPHY --- */
h1, .display {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.5rem;
  line-height: 1.15;
  color: var(--primary);
  margin-bottom: 20px;
}
h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.8rem;
  color: var(--primary);
  margin-bottom: 16px;
}
h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 10px;
}
h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--primary);
  margin-bottom: 8px;
}
.subheadline {
  font-family: var(--font-body);
  font-size: 1.15rem;
  color: var(--secondary);
  margin-bottom: 24px;
  font-weight: 500;
}
p, ul, li {
  font-family: var(--font-body);
  color: var(--body);
  font-size: 1rem;
  margin-bottom: 14px;
}
ul, ol {
  margin-bottom: 20px;
  padding-left: 20px;
}
li {
  margin-bottom: 8px;
  line-height: 1.6;
}

b, strong { font-weight: 700; }

/* --- HEADER & NAVIGATION --- */
header {
  background: var(--neutral);
  border-bottom: 1px solid var(--grey);
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 70px;
}
.logo {
  display: flex;
  align-items: center;
  height: 48px;
}
.logo img {
  height: 36px;
  width: auto;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 12px;
}
.main-nav a {
  padding: 8px 14px;
  border-radius: var(--border-radius);
  color: var(--primary);
  font-weight: 500;
  font-family: var(--font-body);
  letter-spacing: 0.03em;
  transition: background var(--transition), color var(--transition);
}
.main-nav a:hover,
.main-nav a:focus {
  background: var(--accent);
  color: var(--secondary);
  outline: none;
}
.main-nav .cta {
  background: var(--primary);
  color: #fff !important;
  font-family: var(--font-display);
  padding: 10px 24px;
  font-weight: 700;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  margin-left: 20px;
  transition: background var(--transition), box-shadow var(--transition);
}
.main-nav .cta:hover, .main-nav .cta:focus {
  background: var(--secondary);
  color: #fff;
  box-shadow: var(--shadow-hover);
  outline: none;
}

.mobile-menu-toggle {
  background: none;
  border: none;
  font-size: 2rem;
  display: none;
  cursor: pointer;
  color: var(--primary);
  padding: 6px 14px;
  transition: background var(--transition);
  z-index: 200;
  border-radius: 50%;
}
.mobile-menu-toggle:focus {
  outline: var(--focus-outline);
  background: var(--accent);
}

/* --- MOBILE NAVIGATION --- */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(246,247,242,0.98);
  box-shadow: 0 4px 32px rgba(34,94,67,0.08);
  z-index: 2500;
  transform: translateX(-100vw);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(.47,1.64,.41,.8), opacity 0.25s;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.2rem;
  color: var(--primary);
  position: absolute;
  top: 24px;
  right: 24px;
  cursor: pointer;
  z-index: 1003;
  padding: 8px 14px;
  border-radius: 50%;
  transition: background var(--transition);
}
.mobile-menu-close:focus {
  outline: var(--focus-outline);
  background: var(--accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 90px 32px 32px 32px;
}
.mobile-nav a {
  font-size: 1.1rem;
  color: var(--primary);
  padding: 10px 0;
  border-radius: var(--border-radius);
  font-family: var(--font-body);
  width: 100%;
  transition: background var(--transition), color var(--transition);
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--accent);
  color: var(--secondary);
}

@media (max-width: 992px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 993px) {
  .mobile-menu {
    display: none !important;
  }
}

/* --- LAYOUT SECTIONS & SPACING --- */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.text-section {
  max-width: 800px;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 24px 0 0;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--accent);
  box-shadow: var(--box-shadow);
  border-radius: var(--border-radius);
  padding: 22px 20px 20px 20px;
  min-width: 230px;
  flex: 1 1 230px;
  min-height: 210px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.feature-item:hover, .feature-item:focus-within {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px) scale(1.01);
}
.feature-item img {
  width: 38px;
  height: 38px;
  margin-bottom: 3px;
}

/* --- CARD/TESTIMONIAL LAYOUTS --- */
.card-container, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.card {
  background: var(--neutral);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: 28px 26px 24px 26px;
  margin-bottom: 20px;
  position: relative;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--accent);
  color: var(--body);
  gap: 20px;
  padding: 20px 24px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  font-size: 1rem;
  max-width: 375px;
  min-width: 250px;
  margin-bottom: 20px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.testimonial-card p {
  color: #222;
  font-weight: 500;
  margin-bottom: 6px;
}
.testimonial-card span {
  color: var(--primary);
  font-family: var(--font-display);
  font-size: 1rem;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px) scale(1.015);
}

/* --- BUTTONS & CTAs --- */
.cta {
  background: var(--primary);
  color: #fff !important;
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 700;
  padding: 14px 32px;
  border: none;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  cursor: pointer;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition), outline var(--transition);
  outline: none;
  display: inline-block;
  margin-top: 18px;
}
.cta:hover, .cta:focus {
  background: var(--secondary);
  color: #fff;
  box-shadow: var(--shadow-hover);
  outline: var(--focus-outline);
}

button {
  font-family: var(--font-body);
  font-size: 1rem;
  cursor: pointer;
}

/* --- MAP PLACEHOLDER --- */
.map-placeholder {
  min-height: 170px;
  background: var(--grey);
  color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--border-radius);
  font-size: 1.05rem;
  font-family: var(--font-body);
  margin-top: 16px;
  margin-bottom: 18px;
}

/* --- FOOTER --- */
footer {
  background: var(--accent);
  border-top: 1px solid var(--grey);
  padding: 24px 0 30px 0;
  margin-top: auto;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  justify-content: flex-start;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  gap: 16px;
  margin-bottom: 0;
}
.footer-nav a {
  color: var(--secondary);
  font-size: 1rem;
  font-family: var(--font-body);
  padding: 8px 4px;
  border-radius: 10px;
  transition: background var(--transition), color var(--transition);
}
.footer-nav a:hover, .footer-nav a:focus {
  background: var(--secondary);
  color: #fff;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 3px;
  color: var(--body);
  font-size: 1rem;
}
.footer-contact img {
  height: 18px;
  width: 18px;
  margin-right: 5px;
  vertical-align: -2px;
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--neutral);
  border-top: 1px solid var(--grey);
  box-shadow: 0 -4px 24px rgba(34,94,67,0.07);
  padding: 26px 18px 20px 18px;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  transition: opacity 0.25s, transform 0.28s;
}
.cookie-banner.hide {
  opacity: 0;
  transform: translateY(100%);
  pointer-events: none;
}
.cookie-banner p {
  font-size: 1rem;
  color: var(--body);
  margin-bottom: 5px;
}
.cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
}
.cookie-btn {
  font-family: var(--font-body);
  font-size: 1rem;
  border: none;
  border-radius: var(--border-radius);
  padding: 10px 22px;
  margin-right: 2px;
  margin-top: 3px;
  background: var(--grey);
  color: var(--primary);
  font-weight: 600;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
  box-shadow: var(--box-shadow);
}
.cookie-btn.accept {
  background: var(--primary);
  color: #fff;
}
.cookie-btn.accept:hover,
.cookie-btn.accept:focus {
  background: var(--secondary);
  color: #fff;
  outline: var(--focus-outline);
}
.cookie-btn.settings {
  background: var(--accent);
  color: var(--secondary);
}
.cookie-btn.settings:hover,
.cookie-btn.settings:focus {
  background: var(--secondary);
  color: #fff;
  outline: var(--focus-outline);
}
.cookie-btn.reject {
  background: #fff;
  color: var(--primary);
  border: 1px solid var(--grey);
}
.cookie-btn.reject:hover,
.cookie-btn.reject:focus {
  background: var(--accent);
  color: var(--secondary);
  outline: var(--focus-outline);
}

/* --- COOKIE PREFERENCES MODAL --- */
.cookie-modal-backdrop {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(34, 94, 67, 0.16);
  z-index: 3500;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.25s;
  opacity: 1;
}
.cookie-modal-backdrop.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: 0 8px 40px 4px rgba(34,94,67,0.08);
  padding: 36px 32px 24px 32px;
  max-width: 350px;
  min-width: 250px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 3600;
  animation: cookie-pop .22s cubic-bezier(.47,1.64,.41,.8);
  position: relative;
}
@keyframes cookie-pop {
  0% { transform: scale(0.88); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}
.cookie-modal h3 {
  font-family: var(--font-display);
  margin-bottom: 10px;
  color: var(--primary);
  font-size: 1.17rem;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}
.cookie-toggle {
  appearance: none;
  width: 36px;
  height: 20px;
  background: var(--grey);
  outline: none;
  border-radius: 12px;
  position: relative;
  cursor: pointer;
  transition: background .2s;
}
.cookie-toggle:checked {
  background: var(--secondary);
}
.cookie-toggle:before {
  content: "";
  position: absolute;
  left: 2px; top: 2px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: #fff;
  transition: transform .18s cubic-bezier(.47,1.64,.41,.8);
}
.cookie-toggle:checked:before {
  transform: translateX(16px);
}
.cookie-modal .close {
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--primary);
  position: absolute;
  top: 18px;
  right: 18px;
  cursor: pointer;
}
.cookie-modal .close:focus { outline: var(--focus-outline); }

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 768px) {
  section {
    margin-bottom: 36px;
    padding: 26px 6px;
  }
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.28rem;
  }
  .container {
    padding-left: 8px;
    padding-right: 8px;
  }
  .feature-grid,
  .card-container,
  .content-grid {
    flex-direction: column;
    gap: 14px;
  }
  .testimonial-card {
    min-width: initial;
    max-width: 100%;
    padding: 14px 9px;
  }
  .footer-nav {
    flex-direction: column;
    gap: 8px;
  }
  .footer-contact {
    font-size: .98rem;
  }
  .text-image-section {
    flex-direction: column !important;
    gap: 16px;
    align-items: flex-start !important;
  }
  .feature-item {
    min-width: 0;
    width: 100%;
    padding: 16px 12px 12px 12px;
  }
  .cookie-modal {
    max-width: 97vw;
    padding: 20px 9px 18px 14px;
  }
}

/* --- FLEXBOX SPECIFIC UTILITY CLASSES --- */
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* --- FOCUS STATES FOR ACCESSIBILITY --- */
a:focus, button:focus, .cta:focus, .cookie-btn:focus {
  outline: var(--focus-outline);
  box-shadow: 0 0 0 4px rgba(74,144,226,0.13);
}

/* --- MISC --- */
::-webkit-scrollbar { width: 10px; background: #efefef; }
::-webkit-scrollbar-thumb { background: #dddddd; border-radius: 8px; }

::selection {
  background: var(--secondary);
  color: #fff;
}

hr {
  border: none;
  border-top: 1px solid var(--grey);
  margin: 30px 0;
}

/* --- HIDE EMPTY CONTENT GAP IN FOOTER IF NO ADDRESS --- */
.footer-contact p:empty { display: none; }

/* --- END OF MINIMALIST, BRAND CONSISTENT CSS --- */
