/* === CSS RESET & GENERAL STYLES === */
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;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
html {
  font-size: 16px;
  height: 100%;
  scroll-behavior: smooth;
  background: #F4F0EE;
}
body {
  min-height: 100%;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  background: #F4F0EE;
  color: #2B3A42;
  line-height: 1.6;
  font-size: 1rem;
  letter-spacing: .02em;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #2B3A42;
  text-decoration: none;
  transition: color .2s;
}
a:focus {
  outline: 2px solid #87B37A;
  outline-offset: 2px;
}
ul, ol {
  margin: 0 0 24px 20px;
}
li {
  margin-bottom: 8px;
}
button, input[type=submit], .cta-btn {
  cursor: pointer;
  border: none;
  font-family: 'Montserrat', 'Roboto', sans-serif;
  font-size: 1rem;
  background: none;
  transition: background .2s, color .2s, box-shadow .2s;
}
strong {
  font-weight: 600;
}

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

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

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 12px 0 rgba(43,58,66,0.06);
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 8px 0 rgba(43,58,66,0.07);
  padding: 24px 18px;
  display: flex;
  flex-direction: column;
  min-width: 250px;
}
.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: #F4F0EE;
  border-radius: 14px;
  box-shadow: 0 2px 8px 0 rgba(40,74,79,0.08);
  margin-bottom: 20px;
  flex-direction: column;
  min-width: 220px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* === TYPOGRAPHY === */
h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2.25rem;
  line-height: 1.13;
  font-weight: 700;
  margin-bottom: 12px;
  color: #2B3A42;
}
h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #2B3A42;
}
h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.13rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: #2B3A42;
}
h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  color: #2B3A42;
}
p, ul, ol, blockquote, address {
  font-family: 'Roboto', Arial, sans-serif;
  color: #2B3A42;
  font-size: 1rem;
  margin-bottom: 16px;
}
blockquote {
  font-style: italic;
  background: #F4F0EE;
  border-left: 4px solid #87B37A;
  padding: 18px 22px;
  border-radius: 8px;
  margin-bottom: 18px;
  color: #2B3A42;
}
blockquote span {
  font-style: normal;
  font-size: 0.98em;
  color: #57616b;
  margin-top: 8px;
  display: block;
}

.section ul, .section ol {
  margin-bottom: 0;
}

/* === HEADER & NAVIGATION === */
header {
  background: #fff;
  box-shadow: 0 2px 12px 0 rgba(43,58,66,0.08);
  position: sticky;
  top: 0;
  z-index: 100;
}
header > .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  gap: 32px;
}
header img {
  max-height: 42px;
  height: 42px;
  width: auto;
}
header nav {
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: center;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: #2B3A42;
  padding: 4px 8px;
  border-radius: 4px;
  transition: background .18s, color .18s;
}
header nav a:hover, header nav a:focus {
  color: #fff;
  background: #87B37A;
}

.cta-btn {
  background: #87B37A;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 32px;
  font-size: 1.05rem;
  letter-spacing: .03em;
  box-shadow: 0 2px 10px 0 rgba(43,58,66,0.06);
  transition: background .18s, box-shadow .18s;
  margin-left: 18px;
}
.cta-btn:hover, .cta-btn:focus {
  background: #2B3A42;
  color: #fff;
  box-shadow: 0 4px 16px 0 rgba(43,58,66,0.12);
  outline: 2px solid #87B37A;
}

/* === MOBILE NAVIGATION === */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #2B3A42;
  margin-left: 16px;
  z-index: 120;
  transition: color .2s;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #87B37A;
}
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 80vw;
  max-width: 340px;
  height: 100vh;
  background: #fff;
  box-shadow: -2px 0 24px 0 rgba(43,58,66,.14);
  z-index: 200;
  transform: translateX(100%);
  transition: transform .33s cubic-bezier(.4,0,.2,1);
  display: flex;
  flex-direction: column;
  padding: 32px 28px 24px 28px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #2B3A42;
  font-size: 1.8rem;
  align-self: flex-end;
  margin-bottom: 22px;
  cursor: pointer;
  transition: color .2s;
}
.mobile-menu-close:focus {
  outline: 2px solid #87B37A;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 14px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.13rem;
  color: #2B3A42;
  padding: 8px 2px;
  border-radius: 5px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #87B37A;
  color: #fff;
}
@media (max-width: 1024px) {
  header nav {
    gap: 14px;
  }
}
@media (max-width: 900px) {
  .cta-btn {
    padding: 10px 18px;
    margin-left: 9px;
  }
  header > .container {
    gap: 14px;
    padding: 12px 10px;
  }
}
@media (max-width: 768px) {
  header nav, .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* Overlay for mobile menu */
.mobile-menu-overlay {
  position: fixed;
  display: none;
  content: '';
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  z-index: 199;
  background: rgba(43,58,66,.13);
}
.mobile-menu.open ~ .mobile-menu-overlay {
  display: block;
}

/* === MAIN & SECTION SPACING === */
main {
  margin-top: 12px;
  margin-bottom: 32px;
}
section {
  margin-bottom: 60px;
  padding: 40px 0;
  background: none;
  border-radius: 0;
  box-shadow: none;
}
section .container {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 12px 0 rgba(43,58,66,0.06);
  padding: 40px 20px;
  margin-bottom: 0;
}
section:last-child {
  margin-bottom: 0;
}

/* === HERO & FEATURES === */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 8px;
  margin-bottom: 16px;
}
.feature-grid > div {
  flex: 1 1 220px;
  min-width: 220px;
  background: #F4F0EE;
  border-radius: 12px;
  padding: 24px 18px;
  text-align: left;
  box-shadow: 0 1px 6px 0 rgba(43,58,66,0.06);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  margin-bottom: 0;
}
.feature-grid img {
  width: 38px; height: 38px; margin-bottom: 12px;
}

/* === TESTIMONIALS === */
.testimonial-card {
  background: #F4F0EE;
  border-radius: 16px;
  box-shadow: 0 2px 8px 0 rgba(43,58,66,0.08);
  color: #2B3A42;
  font-size: 1.05rem;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  min-width: 200px;
  max-width: 560px;
}
.testimonial-card .stars {
  color: #FFD900;
  font-size: 1.25em;
  margin-top: 1px;
  letter-spacing: 2px;
}
.testimonial-card span {
  font-size: 0.95em;
  color: #5a6259;
  font-style: italic;
  margin-top: 2px;
}

/* === MAP & CONTACT BLOCKS === */
.contact-info-block {
  background: #F4F0EE;
  padding: 24px 18px;
  border-radius: 12px;
  box-shadow: 0 1px 5px 0 rgba(43,58,66,0.07);
  margin-bottom: 20px;
  font-size: 1.06em;
}
.map-placeholder {
  background: #F4F0EE;
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 15px;
}
.map-placeholder img {
  width: 32px;
  margin-right: 10px;
}

/* === FOOTER === */
footer {
  background: #fff;
  box-shadow: 0 -2px 14px 0 rgba(43,58,66,0.07);
  padding: 40px 0 24px 0;
}
footer > .container {
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  padding: 0 20px;
}
.footer-logo {
  flex: 0 0 auto;
  margin-bottom: 16px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
footer nav a {
  color: #2B3A42;
  font-size: 0.97rem;
  padding: 3px 0;
  border-radius: 4px;
}
footer nav a:hover, footer nav a:focus {
  background: #F4F0EE;
  color: #87B37A;
}
footer address {
  font-style: normal;
  color: #2B3A42;
  margin-bottom: 10px;
}
footer img {
  vertical-align: middle;
  width: 18px;
  margin-right: 6px;
}
footer p {
  color: #868c90;
  margin-top: 12px;
  font-size: 0.95em;
}

/* === RESPONSIVENESS === */
@media (max-width: 1024px) {
  .container {
    max-width: 95vw;
  }
  footer > .container {
    flex-direction: column;
    gap: 22px;
    align-items: flex-start;
  }
}
@media (max-width: 900px) {
  .feature-grid {
    gap: 18px;
  }
}
@media (max-width: 768px) {
  .container, section .container {
    padding: 0 8px;
  }
  .content-wrapper {
    gap: 14px;
  }
  .feature-grid > div, .testimonial-card, .card {
    min-width: 0;
    width: 100%;
    max-width: 100%;
  }
  .feature-grid {
    flex-direction: column;
    gap: 14px;
  }
  .content-grid {
    flex-direction: column;
    gap: 14px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}
@media (max-width: 600px) {
  h1 {
    font-size: 1.5rem;
  }
  h2 {
    font-size: 1.13rem;
  }
  .footer-logo img, header img {
    height: 32px;
    max-height: 32px;
  }
}

/* === BUTTONS & INTERACTIVE === */
button, [type=submit], .cta-btn {
  transition: background .19s, color .19s, box-shadow .19s;
}
button:disabled, [type=submit]:disabled {
  opacity: .45;
  cursor: not-allowed;
}

/* === HOVER & MICROINTERACTIONS === */
a, .cta-btn, .mobile-menu-toggle, .mobile-menu-close {
  transition: background .18s, color .18s, box-shadow .18s;
}
a:active, .cta-btn:active {
  filter: brightness(.95);
}

/* === SPACING UTILITIES === */
.mb-20 { margin-bottom: 20px !important; }
.mb-24 { margin-bottom: 24px !important; }
.mb-32 { margin-bottom: 32px !important; }
.mt-20 { margin-top: 20px !important; }
.mt-24 { margin-top: 24px !important; }
.mt-32 { margin-top: 32px !important; }
.gap-20 { gap: 20px !important; }
.gap-24 { gap: 24px !important; }
.gap-32 { gap: 32px !important; }

/* === COOKIE CONSENT BANNER === */
.cookie-consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3000;
  background: #fff;
  border-top: 2px solid #87B37A;
  box-shadow: 0 -2px 22px 0 rgba(43,58,66,0.13);
  padding: 24px 16px 16px 16px;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  transition: transform .26s cubic-bezier(.5,0,.2,1);
}
.cookie-consent-banner.dismiss {
  transform: translateY(120%);
}
.cookie-consent-text {
  font-size: 1rem;
  color: #283842;
  line-height: 1.66;
  max-width: 600px;
}
.cookie-consent-actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
  align-items: center;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  border: none;
  border-radius: 30px;
  padding: 10px 26px;
  font-size: 1rem;
  font-weight: 600;
  transition: background .16s, color .16s;
  box-shadow: 0 1px 4px 0 rgba(43,58,66,0.07);
  margin-right: 3px;
}
.cookie-btn.accept {
  background: #87B37A;
  color: #fff;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #2B3A42;
  color: #fff;
  outline: 2px solid #87B37A;
}
.cookie-btn.reject {
  background: #F4F0EE;
  color: #2B3A42;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #e0e4e2;
  color: #2B3A42;
  outline: 2px solid #87B37A;
}
.cookie-btn.settings {
  background: #fff;
  color: #87B37A;
  border: 1px solid #87B37A;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #F4F0EE;
  color: #2B3A42;
  border-color: #2B3A42;
}
@media (max-width: 700px) {
  .cookie-consent-banner {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
    padding: 18px 8px 12px 8px;
  }
  .cookie-consent-actions {
    flex-direction: column;
    gap: 9px;
    align-items: stretch;
    width: 100%;
  }
  .cookie-btn {
    width: 100%;
    text-align: center;
  }
}

/* COOKIE SETTINGS MODAL */
.cookie-modal-backdrop {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(43,58,66,.22);
  z-index: 3500;
  display: none;
}
.cookie-modal-backdrop.open {
  display: block;
}
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 3600;
  transform: translate(-50%, -50%) scale(1);
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 38px 0 rgba(43,58,66,0.21);
  min-width: 300px;
  max-width: 95vw;
  padding: 38px 26px 30px 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  animation: cookie-modal-in .28s cubic-bezier(.45,1.1,.74,1.02) both;
}
@keyframes cookie-modal-in {
  from { opacity: 0; transform: translate(-50%, -58%) scale(.92); }
  to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}
.cookie-modal h3 {
  font-size: 1.15rem;
  font-family: 'Montserrat', sans-serif;
  color: #2B3A42;
  margin-bottom: 7px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  background: #F4F0EE;
  border-radius: 8px;
  padding: 13px 10px;
}
.cookie-category .toggle {
  margin-left: auto;
}
.cookie-modal-close {
  position: absolute;
  top: 11px;
  right: 13px;
  background: none;
  border: none;
  font-size: 1.45em;
  color: #283842;
  cursor: pointer;
}
.cookie-modal .save-btn {
  margin-top: 6px;
  background: #87B37A;
  color: #fff;
  padding: 11px 18px;
  border: none;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: 600;
  transition: background .14s, color .14s;
}
.cookie-modal .save-btn:hover, .cookie-modal .save-btn:focus {
  background: #2B3A42;
  color: #fff;
}
.cookie-category .toggle {
  width: 44px; height: 24px;
  border-radius: 24px;
  background: #e4ebe0;
  position: relative;
  transition: background .15s;
}
.cookie-category .toggle input[type=checkbox] {
  opacity: 0; width: 0; height: 0;position:absolute;
}
.cookie-category .slider {
  position: absolute;
  left: 3px; top: 3px;
  width: 18px; height: 18px;
  background: #fff;
  border-radius: 50%;
  transition: left .2s;
  box-shadow: 0 1px 3px 0 rgba(43,58,66,0.06);
}
.cookie-category input[type=checkbox]:checked + .slider {
  left: 23px;
  background: #87B37A;
}
.cookie-category input[type=checkbox]:checked ~ .toggle {
  background: #87B37A;
}
.cookie-category label {
  font-size: 1rem;
  font-family: 'Roboto', sans-serif;
  color: #2B3A42;
  font-weight: 500;
}
.cookie-category.essential .toggle {
  background: #f0f0f0;
  cursor: not-allowed;
}
.cookie-category.essential label {
  color: #aaa;
}
@media (max-width: 568px) {
  .cookie-modal {
    padding: 20px 7px 16px 10px;
    min-width: 0;
  }
}

/* === ACCESSIBILITY VISUAL FOCUS === */
a:focus-visible, .cta-btn:focus-visible,
.mobile-menu-toggle:focus-visible, .mobile-menu-close:focus-visible, .cookie-btn:focus-visible {
  outline: 2px solid #87B37A;
  outline-offset: 2px;
}

/* === MICRO-ANIMATIONS === */
.card, .feature-grid > div, .testimonial-card {
  transition: box-shadow .17s, transform .17s, background .16s;
}
.card:hover, .feature-grid > div:hover, .testimonial-card:hover {
  box-shadow: 0 6px 22px 0 rgba(43,58,66,0.13);
  background: #E9E7E3;
  transform: translateY(-2px) scale(1.025);
}

/* === MISCELLANEOUS & UTILITY === */
::-webkit-scrollbar {
  width: 9px;
}
::-webkit-scrollbar-thumb {
  background: #e4e6e9;
  border-radius: 10px;
}
::-webkit-scrollbar-track {
  background: #F4F0EE;
}

input, textarea, select {
  font-family: 'Roboto', Arial, sans-serif;
  border-radius: 6px;
  border: 1px solid #e0e2e4;
  padding: 10px 12px;
  width: 100%;
  font-size: 1rem;
  margin-bottom: 16px;
  box-shadow: 0 2px 8px 0 rgba(43,58,66,0.05);
  transition: border-color .14s, box-shadow .14s;
}
input:focus, textarea:focus, select:focus {
  border-color: #87B37A;
  outline: 2px solid #87B37A;
}

/* --- End of CSS --- */
