/* --- CSS RESET & NORMALIZATION --- */
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;
  background: transparent;
}
html {
  scroll-behavior: smooth;
  font-size: 16px;
}
body {
  line-height: 1.6;
  background-color: #F4F7FA;
  color: #23394D;
  font-family: 'Roboto', 'Georgia', serif;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
ul, ol {
  list-style: none;
  padding: 0;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #23394D;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus, a:hover {
  outline: none;
  color: #7AC143;
}

/* --- TYPOGRAPHY & HEADINGS --- */
h1, h2, h3, h4, h5, h6 {
  color: #23394D;
  font-family: 'Montserrat', 'Georgia', serif;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 20px;
}
h1 { font-size: 2.75rem; letter-spacing: -1px; }
h2 { font-size: 2rem; margin-bottom: 16px; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.2rem; }
p, li, address, span {
  font-size: 1rem;
  font-family: 'Roboto', 'Georgia', serif;
  color: #23394D;
}
strong {
  font-weight: 600;
  font-family: 'Montserrat', 'Georgia', serif;
  letter-spacing: 0.2px;
}
em { font-style: italic; }

/* --- LAYOUT CONTAINERS --- */
.content-wrapper {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}
.container {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
}
section {
  margin-bottom: 60px;
  padding: 40px 0;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 24px rgba(35,57,77,0.05);
  position: relative;
}
/* remove background for accent sections if needed manually */
.section-accent {
  background: #F4F7FA;
  box-shadow: none;
}
.text-section {
  padding: 0 0;
  margin-bottom: 0;
  background: transparent;
  box-shadow: none;
}

/* CRITICAL SPACING/PATTERNS */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(35,57,77,0.08);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
.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;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(35,57,77,0.08);
  margin-bottom: 24px;
  position: relative;
  color: #23394D;
  font-size: 1.08rem;
}
.testimonial-card strong {
  margin-left: 8px;
  font-family: 'Montserrat', serif;
  font-weight: 700;
  color: #23394D;
  font-size: 1rem;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

/* --- HEADER NAVIGATION --- */
header {
  width: 100%;
  background: #fff;
  border-bottom: 1px solid #ECEEEF;
  position: sticky;
  top: 0;
  z-index: 40;
  padding: 0;
  height: 72px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(35,57,77,0.04);
}
header .content-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  padding-top: 0;
  padding-bottom: 0;
}
header a img {
  height: 36px;
  width: auto;
  margin-top: 6px;
}
nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
nav a {
  font-family: 'Montserrat', 'Georgia', serif;
  font-weight: 500;
  font-size: 1rem;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.18s, border-color 0.18s;
}
nav a:hover, nav a.active {
  color: #7AC143;
  border-bottom: 2px solid #7AC143;
}
.cta-primary {
  background: #7AC143;
  color: #fff !important;
  border-radius: 28px;
  padding: 11px 32px;
  margin-left: 16px;
  font-weight: 700;
  font-family: 'Montserrat', serif;
  border: none;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(35,57,77,0.10);
  transition: background 0.17s, box-shadow 0.22s, color 0.12s;
  outline: none;
  display: inline-block;
}
.cta-primary:hover, .cta-primary:focus {
  background: #23394D;
  color: #fff;
}
.cta-link {
  color: #7AC143;
  font-family: 'Montserrat', serif;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: underline;
  transition: color 0.15s;
  margin-top: 12px;
  display: inline-block;
}
.cta-link:hover {
  color: #23394D;
}

/* --- MOBILE MENU (Burger) --- */
.mobile-menu-toggle {
  display: none;
  background: #7AC143;
  color: #fff;
  border: none;
  font-size: 2rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin-left: 8px;
  transition: background 0.16s, color 0.16s;
  z-index: 101;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #23394D;
  color: #fff;
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: #fff;
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px 32px 40px 24px;
  box-shadow: 0 10px 36px rgba(35,57,77,0.16);
  transform: translateX(-105vw);
  transition: transform 0.32s cubic-bezier(.54,.09,.24,1);
  opacity: 1;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #23394D;
  font-size: 2.2rem;
  position: absolute;
  top: 18px;
  right: 24px;
  cursor: pointer;
  z-index: 120;
  transition: color 0.16s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  color: #7AC143;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 60px;
  width: 100%;
}
.mobile-nav a {
  font-size: 1.18rem;
  padding: 12px 0;
  color: #23394D;
  font-family: 'Montserrat', 'Georgia', serif;
  font-weight: 500;
  border-bottom: 1px solid #ECEEEF;
  width: 100%;
  transition: color 0.13s, background 0.13s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #7AC143;
  background: #F4F7FA;
  border-radius: 4px;
}

/* --- RESPONSIVE LAYOUTS --- */
@media (max-width: 1023px) {
  nav {
    gap: 14px;
  }
}
@media (max-width: 900px) {
  header .content-wrapper {
    padding-left: 12px;
    padding-right: 12px;
  }
}
@media (max-width: 768px) {
  html { font-size: 15px; }
  section, .section {
    padding: 28px 6px;
  }
  .content-wrapper {
    padding: 0 8px;
  }
  header .content-wrapper {
    padding: 0 8px;
    height: 60px;
  }
  nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
    margin-right: 8px;
  }
  .mobile-menu {
    width: 100vw;
    height: 100vh;
    padding: 14px 12px 24px 16px;
  }
  .mobile-menu-close { top: 7px; right: 15px; }
  .mobile-nav { margin-top: 50px; gap: 10px; }
  /* Stack text-image and content grids vertically */
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .content-grid, .card-container {
    flex-direction: column;
    gap: 18px;
  }
}
@media (max-width: 540px) {
  html { font-size: 14px; }
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.5rem; }
  .cta-primary { padding: 10px 16px; font-size: 1rem; }
  section, .section { padding: 16px 3px; }
}

/* --- HERO & CONTENT STYLES --- */
section > .container > .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.text-section ul {
  margin: 8px 0 18px 0;
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.text-section ul li strong {
  margin-right: 7px;
}
.text-section h3 {
  font-size: 1.13rem;
  margin: 16px 0 6px 0;
}
.text-section ul li {
  padding-left: 0;
}

section ul, section ol {
  margin: 10px 0 12px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
section ul li, section ol li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 1rem;
  padding-bottom: 4px;
}
section ul li img, section ol li img {
  flex-shrink: 0;
  margin-right: 8px;
  height: 30px;
  width: 30px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.faq-item {
  background: #F4F7FA;
  border-radius: 10px;
  padding: 18px 22px;
  box-shadow: 0 1px 4px rgba(35,57,77,0.05);
}
.faq-item h3 {
  font-size: 1.08rem;
  margin-bottom: 6px;
  font-weight: 600;
}
.faq-item p {
  font-size: 1rem;
}

/* --- MAP EMBED --- */
.map-embed {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 0;
}
.map-embed img {
  width: 48px;
  height: 48px;
}

/* --- CONTACT INFO --- */
.contact-info {
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
}
.contact-info p {
  background: #F4F7FA;
  border-radius: 10px;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
}
.contact-info img {
  width: 18px;
  height: 18px;
}

/* --- FOOTER --- */
footer {
  width: 100%;
  background: #23394D;
  color: #fff;
  font-size: 1rem;
  padding: 0;
  position: relative;
}
footer .container {
  padding: 0;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  padding: 34px 20px;
  gap: 28px;
}
.footer-contact {
  flex: 2 1 240px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-contact img {
  height: 38px;
  width: auto;
  margin-bottom: 5px;
}
.footer-contact address {
  font-style: normal;
  color: #fff;
  font-size: 1rem;
  line-height: 1.7;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.footer-menu {
  flex: 1 1 180px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  min-width: 180px;
}
.footer-menu a {
  color: #fff;
  font-family: 'Montserrat', serif;
  font-weight: 400;
  transition: color 0.15s;
  font-size: 1rem;
}
.footer-menu a:hover {
  color: #7AC143;
}
.footer-social {
  flex: 0 0 80px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.footer-social a img {
  width: 36px;
  height: 36px;
  filter: brightness(0) invert(1);
  transition: filter 0.24s;
}
.footer-social a:hover img { filter: brightness(1) invert(0.6) sepia(1) saturate(2) hue-rotate(70deg); }

@media (max-width: 1023px) {
  footer .content-wrapper {
    flex-direction: column;
    gap: 28px;
    align-items: flex-start;
    padding: 28px 10px;
  }
  .footer-social { margin-top: 8px; }
}

/* --- BUTTONS --- */
button {
  font-family: 'Montserrat', 'Georgia', serif;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  border-radius: 32px;
  padding: 10px 30px;
  background-color: #7AC143;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(35,57,77,0.08);
  transition: background 0.15s, box-shadow 0.18s, color 0.11s;
}
button:hover, button:focus {
  background-color: #23394D;
  color: #fff;
  outline: none;
}

/* --- CARDS --- */
.card, .faq-item, .testimonial-card {
  transition: box-shadow 0.22s, border-color 0.2s, background 0.17s;
}
.card:hover, .faq-item:hover, .testimonial-card:hover {
  box-shadow: 0 7px 28px rgba(35,57,77,0.15);
  background: #F9FBFD;
}

/* --- SHADOWS, BORDERS, DECOR --- */
.card, .testimonial-card, .faq-item {
  border: 1px solid #ECEEEF;
}

/* --- MICROS & EFFECTS --- */
a, button, .cta-primary, .cta-link {
  transition: background 0.12s, color 0.18s, box-shadow 0.18s, border-color 0.2s;
}

/* --- COOKIE BANNER --- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #fff;
  border-top: 2px solid #23394D;
  box-shadow: 0 -4px 18px rgba(35,57,77,0.13);
  z-index: 9999;
  padding: 16px 10px 18px 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: center;
  animation: cookieBannerIn 0.42s cubic-bezier(.58,.29,.44,1) 1;
}
@keyframes cookieBannerIn {
  from { transform: translateY(100%); opacity:0; }
  to   { transform: translateY(0);   opacity:1; }
}
.cookie-banner p {
  color: #23394D;
  font-size: 1rem;
  flex: 100 0 160px;
  margin-bottom: 0;
  max-width: 500px;
}
.cookie-banner .cookie-banner-buttons {
  display: flex;
  gap: 12px;
}
.cookie-banner button {
  margin: 0;
  padding: 10px 20px;
  border-radius: 24px;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  font-family: 'Montserrat', serif;
  font-weight: 600;
  background: #7AC143;
  color: #fff;
  transition: background 0.14s, color 0.18s;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #23394D;
}
.cookie-banner .cookie-settings {
  background: #ECEEEF;
  color: #23394D;
}
.cookie-banner .cookie-settings:hover, .cookie-banner .cookie-settings:focus {
  background: #7AC143;
  color: #fff;
}

/* --- COOKIE MODAL --- */
.cookie-modal-backdrop {
  position: fixed;
  top:0; left:0; width:100%; height:100%;
  background: rgba(35,57,77, 0.24);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.32s cubic-bezier(.57,.25,.39,1) 1;
}
@keyframes fadeIn {
  from { opacity:0; }
  to { opacity:1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 8px 44px rgba(35,57,77,0.17);
  padding: 32px 20px 24px 28px;
  width: 95vw;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  animation: popIn 0.35s cubic-bezier(.38,1.3,.39,1) 1;
}
@keyframes popIn{
  from { opacity: 0; transform: scale(.96);}
  to   { opacity: 1; transform: scale(1);}
}
.cookie-modal h2 {
  font-size: 1.18rem;
  margin-bottom: 6px;
}
.cookie-modal .cookie-pref-category {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 12px;
}
.cookie-modal label {
  font-size: 1rem;
  font-family: 'Montserrat', serif;
}
.cookie-modal input[type='checkbox'] {
  accent-color: #7AC143;
  width: 22px;
  height: 22px;
  margin-right: 5px;
}
.cookie-modal .cookie-modal-buttons {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}
.cookie-modal-close {
  position: absolute;
  top: 17px; right: 19px;
  font-size: 1.4rem;
  background: none;
  color: #23394D;
  border: none;
  cursor: pointer;
  transition: color 0.17s;
}
.cookie-modal-close:focus, .cookie-modal-close:hover {
  color: #7AC143;
}

@media (max-width: 540px) {
  .cookie-modal { padding: 16px 6px 10px 12px; }
}

/* --- SELECTION, HIGHLIGHTS, ETC --- */
::selection {
  background: #7AC143;
  color: #fff;
}

/* --- FORM ELEMENTS BASE (for potential future forms) --- */
input, textarea, select {
  font-family: 'Roboto', 'Georgia', serif;
  font-size: 1rem;
  border: 1px solid #ECEEEF;
  border-radius: 10px;
  padding: 10px;
  background: #fff;
  margin-bottom: 12px;
  width: 100%;
  box-sizing: border-box;
  transition: border 0.15s;
}
input:focus, textarea:focus, select:focus {
  border: 1.5px solid #7AC143;
  outline: none;
}

/* --- PRINT FRIENDLY --- */
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal-backdrop { display: none !important; }
}
