/* RESET & BASE STYLES */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
  height: 100%;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  min-height: 100%;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  background: #F7F9F6;
  color: #1c2c20;
  line-height: 1.6;
  font-size: 1rem;
  letter-spacing: 0.01em;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #216C3E;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #155682;
  outline: none;
}
ul, ol {
  padding-left: 1.5em;
  margin-bottom: 1.5em;
}
li + li {
  margin-top: 0.5em;
}
strong {
  font-weight: 700;
}

::-webkit-input-placeholder { color: #7b9681; }
::-moz-placeholder { color: #7b9681; }
:-ms-input-placeholder { color: #7b9681; }
::placeholder { color: #7b9681; }

/* CONTAINER & SPACING */
.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.section {
  background: #fff;
  border-radius: 20px;
  margin-bottom: 60px;
  padding: 40px 20px;
  box-shadow: 0 4px 24px rgba(33,108,62,0.06);
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #216C3E;
  margin-bottom: 0.75em;
  font-weight: 700;
  letter-spacing: 0.03em;
}
h1 {
  font-size: 2.6rem;
  line-height: 1.15;
}
h2 {
  font-size: 2rem;
  line-height: 1.2;
}
h3 {
  font-size: 1.4rem;
}
h4 {
  font-size: 1.15rem;
  color: #155682;
}
p {
  font-size: 1rem;
  margin-bottom: 1em;
  color: #243823;
}
blockquote {
  font-style: italic;
  color: #155682;
  background: #F7F9F6;
  border-left: 4px solid #216C3E;
  margin-bottom: 0.8em;
  padding: 1em 1em 1em 1.4em;
  border-radius: 12px;
}

/* BUTTONS */
.cta-primary,
.cta-secondary {
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 0.8em 1.8em;
  border-radius: 100px;
  font-size: 1.12rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-block;
  outline: none;
  border: none;
  letter-spacing: 0.02em;
  transition: box-shadow 0.18s, background 0.19s, color 0.19s, border-color 0.18s;
  margin-right: 14px;
  margin-bottom: 10px;
  box-shadow: 0 2px 12px rgba(33,108,62,0.10);
}
.cta-primary {
  background: #216C3E;
  color: #fff;
  border: 2px solid #216C3E;
}
.cta-primary:hover, .cta-primary:focus {
  background: #155682;
  border-color: #155682;
  color: #fff;
  box-shadow: 0 6px 30px rgba(21,86,130,0.18);
}
.cta-secondary {
  background: #fff;
  color: #216C3E;
  border: 2px solid #216C3E;
}
.cta-secondary:hover, .cta-secondary:focus {
  background: #216C3E;
  color: #fff;
  border-color: #155682;
}

/* HEADER */
header {
  background: #fff;
  box-shadow: 0 1px 10px rgba(33,108,62,0.05);
  padding-top: 8px;
  padding-bottom: 8px;
  position: relative;
  z-index: 500;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: 24px;
}
header img {
  height: 46px;
  width: auto;
}
.main-nav {
  display: flex;
  gap: 26px;
  align-items: center;
}
.main-nav a {
  color: #216C3E;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.03rem;
  padding: 5px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.17s, color 0.17s;
  font-weight: 500;
}
.main-nav a:hover, .main-nav a:focus, .main-nav a.active {
  border-bottom: 2px solid #155682;
  color: #155682;
}
.mobile-menu-toggle {
  display: none;
  background: #216C3E;
  color: #fff;
  font-size: 1.8rem;
  border: none;
  border-radius: 12px;
  padding: 5px 15px;
  cursor: pointer;
  margin-left: 18px;
  transition: background 0.18s, box-shadow 0.20s;
  z-index: 800;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #155682;
}

/* MOBILE MENU */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  box-shadow: 0 2px 16px rgba(33,108,62,0.11);
  z-index: 1000;
  transform: translateX(-100vw);
  transition: transform 0.38s cubic-bezier(0.57,0.05,0.19,0.98);
  display: flex;
  flex-direction: column;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2.2rem;
  padding: 10px 20px;
  color: #216C3E;
  background: transparent;
  border: none;
  cursor: pointer;
  margin-top: 8px;
  transition: color 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #155682;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 30px;
  align-items: flex-start;
  padding: 0 26px;
}
.mobile-nav a {
  color: #216C3E;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.15rem;
  padding: 0.8em 0;
  border-bottom: 1px solid #F7F9F6;
  width: 100%;
  font-weight: 500;
  transition: color 0.14s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #155682;
  background: #F7F9F6;
}
@media (max-width: 1020px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 1021px) {
  .mobile-menu {
    display: none !important;
  }
}

/* HERO & FEATURE GRIDS */
.feature-grid,
.benefit-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 24px;
}
.feature-grid > div,
.benefit-grid > div {
  background: #F7F9F6;
  border-radius: 18px;
  padding: 26px 22px 22px 22px;
  box-shadow: 0 2px 14px rgba(33,108,62,0.03);
  flex: 1 1 260px;
  min-width: 225px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
  margin-bottom: 20px;
  transition: box-shadow 0.2s, transform 0.19s;
}
.feature-grid > div:hover,
.benefit-grid > div:hover {
  box-shadow: 0 4px 20px rgba(33,108,62,0.13);
  transform: translateY(-3px) scale(1.015);
}
.feature-grid img, .benefit-grid img {
  height: 46px;
  margin-bottom: 14px;
}

/* SECTION FLEX LAYOUTS */
.section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #F7F9F6;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 2px 14px rgba(33,108,62,0.07);
  margin-bottom: 20px;
  position: relative;
}
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* FLEX & RESPONSIVE ADJUSTMENTS */
@media (max-width: 1020px) {
  .container {
    max-width: 100%;
  }
  .feature-grid > div, .benefit-grid > div {
    min-width: 180px;
  }
}
@media (max-width: 768px) {
  .container {
    padding-left: 11px;
    padding-right: 11px;
  }
  .content-grid {
    flex-direction: column;
    gap: 15px;
  }
  .section {
    margin-bottom: 32px;
    padding: 24px 10px;
  }
  .feature-grid, .benefit-grid {
    flex-direction: column;
    gap: 16px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
}

/* TESTIMONIALS */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(21,86,130,0.10);
  margin-bottom: 20px;
  color: #243823;
  font-size: 1rem;
  transition: box-shadow 0.17s, border 0.16s;
}
.testimonial-card blockquote {
  flex: 1;
  margin-bottom: 0;
  background: none;
  border-left: 3px solid #257CAB;
  color: #216C3E;
  font-style: italic;
  padding: 0 0 0 1.1em;
  font-size: 1.08rem;
}
.testimonial-card div {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.98rem;
  color: #155682;
  font-weight: 600;
  margin-left: 0.6em;
}
@media (max-width: 768px) {
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
    padding: 14px 10px;
    font-size: 0.98rem;
  }
}

/* FOOTER */
footer {
  background: #F7F9F6;
  margin-top: 28px;
  font-size: 0.98rem;
  color: #216C3E;
  border-top: 2px solid #ECF2EE;
}
footer .container {
  padding-top: 42px;
  padding-bottom: 38px;
}
.footer-brand img {
  height: 38px;
  margin-bottom: 16px;
}
.content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.footer-contact p {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 0;
  color: #216C3E;
}
.footer-contact img {
  height: 20px;
}
.footer-main-menu, .footer-policy-menu {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-main-menu a, .footer-policy-menu a {
  color: #155682;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1em;
  transition: color 0.17s;
}
.footer-main-menu a:hover, .footer-policy-menu a:hover {
  color: #216C3E;
  text-decoration: underline;
}
.footer-social {
  display: flex;
  gap: 14px;
  align-items: center;
}
.footer-social img {
  height: 22px;
  transition: filter 0.15s;
}
.footer-social a:hover img { filter: grayscale(0.45) brightness(1.19); }
@media (max-width: 768px) {
  footer .content-wrapper {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .footer-brand img {
    margin-bottom: 8px;
  }
}

/* FORMS, GUIDE CATEGORIES, BUSINESS HOURS */
.guide-categories {
  margin-top: 14px;
  font-size: 1.01rem;
  color: #216C3E;
  font-family: 'Montserrat', Arial, sans-serif;
}
.business-hours h2 {
  font-size: 1.26rem;
  color: #216C3E;
  margin-bottom: 8px;
}
.business-hours p {
  font-size: 1rem;
  color: #155682;
}
.map p {
  font-size: 0.98rem;
  color: #216C3E;
}
.next-steps-info ul {
  list-style: disc;
  color: #216C3E;
  margin-bottom: 13px;
}
.next-steps-info a {
  color: #155682;
  text-decoration: underline;
}
.next-steps-info a:hover {
  color: #216C3E;
}

/* TABLES (if any, for accessibility) */
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 1px 10px rgba(33,108,62,0.04);
  overflow: hidden;
}
th, td {
  border-bottom: 1px solid #ECF2EE;
  padding: 9px 12px;
  text-align: left;
}
th {
  background: #F7F9F6;
  color: #216C3E;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
}
tr:last-child td {
  border-bottom: none;
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  z-index: 2000;
  width: 100%;
  background: #fff;
  box-shadow: 0 -2px 14px rgba(33,108,62,0.13);
  padding: 16px 14px 16px 20px;
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: space-between;
  border-top: 2px solid #ECF2EE;
  animation: cookieSlideIn 0.38s ease;
}
@keyframes cookieSlideIn {
  from { transform: translateY(52px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  font-size: 1rem;
  color: #216C3E;
  margin: 0;
  flex: 1 1 180px;
}
.cookie-buttons {
  display: flex;
  gap: 13px;
  flex-wrap: wrap;
}
.cookie-buttons button {
  font-family: 'Montserrat', Arial, sans-serif;
  border: none;
  border-radius: 100px;
  padding: 0.6em 1.6em;
  font-size: 1.01rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s, color 0.15s, box-shadow 0.16s;
}
.cookie-accept {
  background: #216C3E;
  color: #fff;
}
.cookie-accept:hover {
  background: #155682;
}
.cookie-reject {
  background: #fff;
  color: #216C3E;
  border: 2px solid #216C3E;
}
.cookie-reject:hover {
  background: #F7F9F6;
  color: #155682;
  border-color: #155682;
}
.cookie-settings {
  background: #257CAB;
  color: #fff;
}
.cookie-settings:hover {
  background: #155682;
  color: #fff;
}
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 15px 6px 15px 12px;
    gap: 13px;
  }
  .cookie-buttons {
    gap: 8px;
  }
}

/* COOKIE PREFERENCES MODAL */
.cookie-modal-overlay {
  position: fixed;
  z-index: 3000;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(33,108,62,0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  animation: cookieModalFadeIn 0.29s;
}
@keyframes cookieModalFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 10px 50px rgba(33,108,62,0.14);
  max-width: 420px;
  width: calc(100vw - 40px);
  padding: 32px 26px 20px 26px;
  display: flex;
  flex-direction: column;
  gap: 21px;
  position: relative;
}
.cookie-modal h2 {
  font-size: 1.4rem;
  margin-bottom: 4px;
  color: #216C3E;
}
.cookie-modal-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 11px;
  padding: 0.7em 0;
  border-bottom: 1px solid #F7F9F6;
}
.cookie-modal-category:last-child {
  border-bottom: none;
}
.cookie-modal-category label {
  font-size: 1rem;
  color: #243823;
  font-family: 'Roboto', Arial, sans-serif;
}
.cookie-modal-essent {
  color: #216C3E;
  font-weight: 500;
}
.cookie-modal-toggle {
  position: relative;
  display: inline-block;
  width: 46px;
  height: 26px;
}
.cookie-modal-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-modal-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #ECF2EE;
  border-radius: 32px;
  transition: background 0.2s;
}
.cookie-modal-toggle input:checked + .cookie-modal-slider {
  background: #257CAB;
}
.cookie-modal-slider:before {
  content: '';
  position: absolute;
  left: 4px;
  top: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.21s;
  box-shadow: 0 2px 6px rgba(21,86,130,0.09);
}
.cookie-modal-toggle input:checked + .cookie-modal-slider:before {
  transform: translateX(20px);
}
.cookie-modal-close {
  position: absolute;
  top: 14px;
  right: 12px;
  font-size: 1.7rem;
  color: #257CAB;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 10;
  transition: color 0.18s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #155682;
}
.cookie-modal-actions {
  display: flex;
  gap: 13px;
  flex-wrap: wrap;
  justify-content: flex-end;
  margin-top: 12px;
}

/* MICRO-INTERACTIONS */
a, button, .cta-primary, .cta-secondary, .cookie-buttons button, .mobile-menu-toggle, .mobile-menu-close, .cookie-modal-close {
  transition: background 0.18s, color 0.18s, border 0.14s, box-shadow 0.15s, transform 0.12s;
}
.feature-grid > div:active, .benefit-grid > div:active,
.card:active, .cta-primary:active, .cta-secondary:active {
  transform: scale(0.98);
}

/* Z-INDEX SAFETY */
header, .mobile-menu, .cookie-banner, .cookie-modal-overlay {
  z-index: 900++;
}

/* ACCESSIBILITY FOCUS */
:focus-visible {
  outline: 2px solid #257CAB;
  outline-offset: 2px;
}

/* CARD CONTAINERS EXTRA (for future extensibility) */
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

/* CTAS MULTIPLE BUTTONS */
.ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 18px;
}
@media (max-width: 600px) {
  .ctas {
    flex-direction: column;
    gap: 9px;
  }
}

/* PRINT OPTIMIZATION */
@media print {
  header, footer, .cookie-banner, .cookie-modal-overlay, .mobile-menu { display: none !important; }
  body { background: #fff; color: #000; }
  .section, .card, .testimonial-card { box-shadow: none !important; background: #fff !important; }
}
