/* CSS RESET & NORMALIZATION */
html {
  box-sizing: border-box;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
html, body {
  height: 100%;
  width: 100%;
}
body {
  min-height: 100vh;
  font-family: 'Roboto', Arial, sans-serif;
  color: #242A45;
  background: #fff;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}


/********************
 * VARIABLES (FALLBACKS)
 ********************/
:root {
  --color-primary: #242A45;
  --color-secondary: #3EA561;
  --color-accent: #F6F8FA;
  --color-body-bg: #fff;
  --color-text: #242A45;
  --color-muted: #9097a7;
  --color-border: #E5E8EE;
  --box-shadow-card: 0 2px 16px 0 rgba(36,42,69,0.05), 0 1.5px 4px rgba(0,0,0,0.02);
  --radius-base: 10px;
  --radius-pill: 999px;
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Roboto', Arial, Helvetica, sans-serif;
}

/*******************
 * GLOBAL LAYOUT CONTAINERS
 *******************/
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding-right: 20px;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}

/*******************
 * HEADER & NAV
 *******************/
header {
  background: var(--color-body-bg);
  border-bottom: 1px solid var(--color-border);
  padding-top: 12px;
  padding-bottom: 12px;
  position: relative;
  z-index: 20;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}
header a img {
  height: 40px;
  width: auto;
  display: block;
}
nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
nav a {
  color: var(--color-primary);
  text-decoration: none;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 16px;
  transition: color .18s;
  padding: 2px 8px;
  border-radius: 6px;
}
nav a:hover, nav a:focus {
  color: var(--color-secondary);
  background: var(--color-accent);
}
nav .primary-cta {
  background: var(--color-secondary);
  color: #fff;
  padding: 10px 24px;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-left: 10px;
  transition: background .16s, box-shadow .21s;
  box-shadow: 0 1px 7px rgba(62,165,97,0.08);
  display: inline-block;
  border: none;
}
nav .primary-cta:hover, nav .primary-cta:focus {
  background: #268149;
  color: #fff;
  box-shadow: 0 4px 22px rgba(62,165,97,0.13);
}

/*******************
 * MOBILE NAVIGATION
 *******************/
.mobile-menu-toggle {
  background: none;
  border: none;
  font-size: 32px;
  color: var(--color-primary);
  display: none;
  cursor: pointer;
  margin-left: 16px;
  padding: 6px 12px;
  border-radius: 8px;
  transition: background .18s;
}
.mobile-menu-toggle:focus {
  background: var(--color-accent);
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: fixed;
  top: 0;
  right: 0;
  width: 320px;
  max-width: 90vw;
  height: 100vh;
  background: #fff;
  box-shadow: -3px 0 28px rgba(36,42,69,0.13);
  z-index: 1001;
  transform: translateX(100%);
  transition: transform .32s cubic-bezier(.7,0,.3,1);
  padding-top: 32px;
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 28px;
  color: var(--color-primary);
  align-self: flex-end;
  margin-right: 20px;
  margin-bottom: 14px;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 8px;
}
.mobile-menu-close:focus {
  background: var(--color-accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  padding-left: 32px;
  padding-top: 12px;
}
.mobile-nav a {
  color: var(--color-primary);
  font-size: 18px;
  font-family: var(--font-display);
  font-weight: 500;
  text-decoration: none;
  padding: 10px 14px 10px 2px;
  border-radius: 6px;
  transition: background .16s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-accent);
  color: var(--color-secondary);
}

@media (max-width: 1024px) {
  nav {
    gap: 18px;
  }
}
@media (max-width: 900px) {
  nav a,
  nav .primary-cta {
    font-size: 15px;
  }
}
@media (max-width: 768px) {
  header .container {
    flex-direction: row;
    align-items: center;
  }
  nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/********************
 * HERO & MAIN TYPOGRAPHY
 ********************/
.hero {
  background: var(--color-accent);
  border-radius: var(--radius-base);
  margin-bottom: 40px;
  padding-top: 44px;
  padding-bottom: 44px;
  position: relative;
  box-shadow: var(--box-shadow-card);
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 18px;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.hero p {
  font-size: 1.2rem;
  color: var(--color-muted);
  max-width: 620px;
}

/*********************
 * HEADINGS & TYPOGRAPHY
 **********************/
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--color-primary);
  font-weight: 700;
  letter-spacing: -0.01em;
}
h1 { font-size: 2.2rem; margin-bottom: 12px; }
h2 { font-size: 1.65rem; margin-bottom: 8px; }
h3 { font-size: 1.25rem; margin-bottom: 7px; }
h4 { font-size: 1.1rem; margin-bottom: 5px; }

p, li, ul {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-text);
  margin-bottom: 0;
}
ul {
  padding-left: 22px;
  margin: 0 0 12px 0;
  list-style: disc inside;
}
ul li {
  margin-bottom: 8px;
  line-height: 1.6;
}

/********************
 * SPACING & SECTION LAYOUTS
 ********************/
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
  border-radius: var(--radius-base);
  box-shadow: none;
  transition: box-shadow .18s;
}
section:not(.hero):not(.cta-banner):hover {
  box-shadow: 0 2px 18px 0 rgba(36,42,69,0.09);
}
@media (max-width: 1024px) {
  section {
    margin-bottom: 44px;
    padding: 28px 10px;
  }
}
@media (max-width: 600px) {
  section {
    margin-bottom: 28px;
    padding: 20px 4px;
  }
}

/*********************
 * MINIMALIST FEATURES & CARDS
 *********************/
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px 40px;
  justify-content: flex-start;
  margin-top: 10px;
}
.features-grid > div {
  background: #fff;
  border-radius: var(--radius-base);
  box-shadow: var(--box-shadow-card);
  padding: 28px 22px 22px 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 210px;
  flex: 1 1 210px;
  max-width: 262px;
  gap: 12px;
  transition: box-shadow .16s, transform .14s;
  margin-bottom: 20px;
}
.features-grid > div:hover {
  box-shadow: 0 4px 22px rgba(36,42,69,0.11);
  transform: translateY(-3px) scale(1.012);
}
.features-grid img {
  height: 46px;
  width: 46px;
  margin-bottom: 6px;
}
.features-grid h3 {
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 4px;
}
.features-grid p {
  font-size: 0.97rem;
  color: var(--color-muted);
}

/********************
 * QUICK LINKS, ICONS & CTA BANNER
 ********************/
.quick-links {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  margin-top: 10px;
  font-size: 0.96rem;
}
.quick-links a {
  color: var(--color-secondary);
  text-decoration: underline;
  font-weight: 500;
  transition: color .18s;
}
.quick-links a:hover {
  color: #248c4e;
}
.icon-list {
  display: flex;
  flex-direction: row;
  gap: 14px;
  align-items: center;
  margin: 14px 0 0 0;
}
.icon-list img {
  width: 32px;
  height: 32px;
}
.cta-banner {
  background: var(--color-accent);
  box-shadow: 0 2px 26px rgba(36,42,69,0.05);
  border-radius: var(--radius-base);
  margin-bottom: 0;
  padding-top: 38px;
  padding-bottom: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cta-banner .content-wrapper {
  align-items: center;
  text-align: center;
  gap: 14px;
}
.cta-banner h2 {
  font-family: var(--font-display);
  font-size: 1.72rem;
  font-weight: 700;
  color: var(--color-primary);
}

/*********************
 * CARDS & FLEX LAYOUTS
 *********************/
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: var(--radius-base);
  box-shadow: var(--box-shadow-card);
  padding: 24px 20px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 220px;
  max-width: 320px;
  flex: 1 1 220px;
  transition: box-shadow .15s, transform .12s;
}
.card:hover {
  box-shadow: 0 6px 30px rgba(62,165,97,0.11);
  transform: scale(1.016);
}
.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) {
  .features-grid, .content-grid, .card-container, .text-image-section {
    flex-direction: column !important;
    gap: 18px !important;
  }
}

/*********************
 * TESTIMONIALS
 *********************/
.testimonials {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 10px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 20px;
  background: #fff;
  border-radius: var(--radius-base);
  box-shadow: 0 2px 16px rgba(36,42,69,0.07);
  max-width: 350px;
  min-width: 210px;
  flex: 1 1 210px;
  margin-bottom: 20px;
  border-left: 4px solid var(--color-secondary);
  transition: box-shadow .16s, border-color .18s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 32px rgba(36,42,69,0.12);
  border-color: #298450;
}
.testimonial-card p {
  color: var(--color-primary);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 6px;
}
.testimonial-card strong {
  font-family: var(--font-display);
  color: var(--color-secondary);
  font-weight: 700;
}
.testimonial-card div {
  font-size: 1rem;
  color: var(--color-muted);
}
@media (max-width: 768px) {
  .testimonials {
    flex-direction: column;
    gap: 16px;
  }
  .testimonial-card {
    max-width: 100%;
    min-width: 0;
  }
}

/*********************
 * FOOTER
 *********************/
footer {
  background: var(--color-accent);
  border-top: 1px solid var(--color-border);
  padding-top: 28px;
  padding-bottom: 24px;
  margin-top: 40px;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  gap: 26px;
  margin-bottom: 10px;
  justify-content: center;
  flex-wrap: wrap;
}
.footer-nav a {
  color: var(--color-muted);
  font-size: 1rem;
  text-decoration: none;
  padding: 2px 8px;
  border-radius: 5px;
  transition: color .14s, background .14s;
}
.footer-nav a:hover {
  color: var(--color-secondary);
  background: #f2f2f4;
}
.footer-contact {
  color: var(--color-primary);
  font-size: 0.98rem;
  text-align: center;
  margin-top: 6px;
  line-height: 1.5;
  word-break: break-word;
}
.footer-contact img {
  height: 18px;
  width: 18px;
  vertical-align: middle;
  margin: 0 4px;</n}

/********************
 * BUTTONS & INTERACTIVE
 ********************/
.primary-cta, .cta-section .primary-cta {
  background: var(--color-secondary);
  color: #fff !important;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-weight: 700;
  padding: 12px 26px;
  font-size: 1.06rem;
  border: none;
  cursor: pointer;
  transition: background .18s, box-shadow .22s, color .12s;
  margin-top: 9px;
  display: inline-block;
  text-align: center;
  text-decoration: none !important;
  box-shadow: 0 2px 20px rgba(62,165,97,0.07);
}
.primary-cta:hover, .primary-cta:focus {
  background: #238648;
  color: #fff;
  box-shadow: 0 6px 28px rgba(62,165,97,0.13);
}
button.primary-cta {
  outline: none;
}

/********************
 * BLOG LIST
 ********************/
.blog-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 18px 0 14px 0;
}
.blog-list > div {
  flex: 1 1 220px;
  min-width: 200px;
  max-width: 310px;
  background: #fff;
  border-radius: var(--radius-base);
  box-shadow: var(--box-shadow-card);
  padding: 24px 18px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
  transition: box-shadow .18s, transform .12s;
}
.blog-list > div:hover {
  box-shadow: 0 8px 30px rgba(36,42,69,0.08);
  transform: translateY(-2px) scale(1.01);
}
.blog-list h3 {
  font-size: 1.13rem;
  color: var(--color-primary);
  margin-bottom: 6px;
}
.blog-list p {
  color: var(--color-muted);
  font-size: 0.97rem;
  margin-bottom: 8px;
}
.blog-list a {
  font-family: var(--font-display);
  color: var(--color-secondary);
  font-size: 0.97rem;
  text-decoration: underline;
  margin-top: 4px;
  font-weight: 500;
  transition: color .18s;
}
.blog-list a:hover {
  color: #238648;
}

/********************
 * MISC UTILITY CLASSES
 ********************/
.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}
.cta-section {
  margin-top: 14px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
}
.map-embed {
  background: #f4f7fa;
  border: 1px solid #e5e8ee;
  border-radius: var(--radius-base);
  padding: 22px;
  margin: 10px 0;
  text-align: center;
  color: var(--color-muted);
}
.categories {
  margin-top: 12px;
  font-size: 1rem;
  color: var(--color-muted);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 0;
}

/********************
 * COOKIE CONSENT BANNER
 ********************/
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #fff;
  box-shadow: 0 -2px 18px rgba(36,42,69,0.12);
  border-top: 1px solid #e7eaf0;
  z-index: 10010;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
  justify-content: space-between;
  padding: 24px 20px;
  animation: slideInCookie .45s cubic-bezier(.12,.65,.44,1);
  transition: transform .23s;
}
@keyframes slideInCookie {
  from { transform: translateY(75px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner-message {
  font-size: 1rem;
  color: var(--color-primary);
  flex: 1 1 auto;
}
.cookie-banner-buttons {
  display: flex;
  flex-direction: row;
  gap: 14px;
}
.cookie-btn {
  background: var(--color-accent);
  color: var(--color-primary);
  border: none;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  padding: 8px 20px;
  cursor: pointer;
  transition: background .15s, color .15s;
  box-shadow: 0 1.5px 5px rgba(36,42,69,0.07);
}
.cookie-btn.accept {
  background: var(--color-secondary);
  color: #fff;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #268149;
}
.cookie-btn.reject {
  background: #eceef1;
  color: var(--color-primary);
}
.cookie-btn.reject:hover {
  background: #D0D5E3;
}
.cookie-btn.settings {
  background: var(--color-accent);
  color: var(--color-secondary);
  border: 1px solid var(--color-secondary);
}
.cookie-btn.settings:hover {
  background: #ecf7f0;
  color: #1d6240;
}

@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 22px 8px;
  }
  .cookie-banner-buttons {
    width: 100%;
    justify-content: flex-start;
  }
}

/***** Cookie Modal *****/
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(36,42,69,0.25);
  z-index: 10020;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity .18s;
}
.cookie-modal {
  background: #fff;
  border-radius: var(--radius-base);
  box-shadow: 0 4px 32px rgba(36,42,69,0.15);
  padding: 36px 24px 24px 24px;
  max-width: 420px;
  width: 95vw;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  animation: popupCookie .36s cubic-bezier(.2,.7,.41,1.07);
}
@keyframes popupCookie {
  from { opacity: 0; transform: scale(.93); }
  to   { opacity: 1; transform: scale(1); }
}
.cookie-modal-close {
  background: none;
  border: none;
  color: var(--color-primary);
  font-size: 28px;
  position: absolute;
  right: 14px;
  top: 10px;
  cursor: pointer;
  line-height: 1.1;
  border-radius: 8px;
  padding: 2px 8px;
}
.cookie-modal-close:focus {
  background: var(--color-accent);
}
.cookie-modal-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--color-primary);
}
.cookie-options {
  display: flex;
  flex-direction: column;
  gap: 17px;
}
.cookie-option {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
}
.cookie-option input[type="checkbox"] {
  accent-color: var(--color-secondary);
  width: 18px;
  height: 18px;
  border-radius: 3px;
}
.cookie-option label {
  font-size: 1rem;
  color: var(--color-primary);
  font-family: var(--font-body);
  cursor: pointer;
}
.cookie-option.essential label {
  color: #bababa;
}
.cookie-modal-actions {
  margin-top: 18px;
  display: flex;
  flex-direction: row;
  gap: 10px;
  justify-content: flex-end;
}

/********************
 * RESPONSIVE ADJUSTMENTS
 ********************/
@media (max-width: 960px) {
  .container { max-width: 96vw; }
  .features-grid > div, .card, .blog-list > div, .testimonial-card { max-width: 100%; }
}
@media (max-width: 700px) {
  .features-grid, .content-grid, .card-container, .testimonials, .blog-list {
    gap: 16px;
  }
  .features-grid > div, .testimonial-card, .blog-list > div, .card { padding: 16px 10px; }
  h1 { font-size: 1.45rem; }
  h2 { font-size: 1.12rem; }
  .hero h1 { font-size: 1.34rem; }
}

/********************
 * MODERN MICRO-INTERACTIONS
 ********************/
a, .primary-cta, button, .cookie-btn {
  transition: color .16s, background .17s, border .16s, box-shadow .15s, transform .12s;
}
.card:hover, .features-grid > div:hover, .blog-list > div:hover, .testimonial-card:hover {
  transform: translateY(-2px) scale(1.012);
  box-shadow: 0 8px 34px rgba(36,42,69,0.11);
}
.primary-cta:active, .blog-list a:active, nav a:active {
  transform: scale(0.98);
}
.cookie-btn:active {
  transform: scale(0.98);
}

/********************
 * FOCUS/ACCESSIBILITY
 ********************/
a:focus, button:focus {
  outline: 2px solid var(--color-secondary);
  outline-offset: 2px;
}

/********************
 * OVERRIDE BROWSER DEFAULTS
 ********************/
::-webkit-input-placeholder { color: #b1b6c3; }
::-moz-placeholder { color: #b1b6c3; }
:-ms-input-placeholder { color: #b1b6c3; }
::placeholder { color: #b1b6c3; }

/********************
 * HANDLING IMAGES IN LISTS/CONTACTS
 ********************/
.text-section ul img, .footer-contact img, ul li img {
  vertical-align: middle;
  height: 20px;
  width: 20px;
  margin-right: 6px;
  margin-left: 0;
}

/********************
 * HIDE .map-embed ON SMALL SCREENS IF NECESSARY
 ********************/
@media (max-width: 500px) {
  .map-embed { padding: 8px; font-size: .97rem; }
  .cta-banner { padding: 16px 4px; }
}

/********************
 * SPECIAL: THANK YOU PAGE MINIMAL CENTER
 ********************/
.thank-you .content-wrapper {
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 320px;
}

/********************
 * UTILITY: HIDE(ACCESSIBLE)
 ********************/
.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; overflow: hidden !important; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap !important; border: 0 !important; }
