/* =======================
   CSS RESET & 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: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  box-sizing: border-box;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
*, *::before, *::after { box-sizing: inherit; }
body {
  background: #ffffff;
  color: #212320;
  min-height: 100vh;
  line-height: 1.7;
  font-size: 16px;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
:focus { outline: 2px solid #a87949; outline-offset: 2px; }
a { color: #175c3a; text-decoration: none; transition: color 0.22s; font-weight: 600; }
a:hover, a:focus { color: #a87949; }
ul, ol { margin-left: 1.2em; margin-bottom: 1.2em; }
strong, b { font-weight: 700; }
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #175c3a;
  margin-bottom: 16px;
  line-height: 1.14;
}
h1 { font-size: 2.8rem; margin-bottom: 20px; }
h2 { font-size: 2rem; margin-bottom: 16px; }
h3 { font-size: 1.25rem; margin-bottom: 12px; }
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
}
/* =======
   HEADER
   ======= */
header {
  width: 100%;
  background: #ffffff;
  border-bottom: 4px solid #a87949;
  display: flex;
  align-items: center;
  padding: 0 20px;
  height: 80px;
  position: relative;
  z-index: 40;
}
header > a img {
  height: 44px;
  margin-right: 36px;
}
.main-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-left: 24px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #175c3a;
  padding: 6px 14px;
  border-radius: 8px;
  transition: background 0.18s, color 0.18s;
}
.main-nav a:hover, .main-nav a.active {
  background: #e3e7de;
  color: #a87949;
}
.cta-btn {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  background: #175c3a;
  color: #fff;
  border: none;
  border-radius: 100px;
  padding: 10px 32px;
  margin-left: auto;
  box-shadow: 0 3px 14px 0px rgba(23,92,58,0.10);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.22s;
  display: inline-block;
}
.cta-btn:hover, .cta-btn:focus {
  background: #a87949;
  color: #ffffff;
  box-shadow: 0 6px 20px 0px rgba(168,121,73,0.16);
}
button {
  font-family: inherit;
  font-size: 1rem;
  border: none;
  background: none;
  cursor: pointer;
  color: inherit;
}
.mobile-menu-toggle {
  display: none;
  background: #e3e7de;
  color: #175c3a;
  border-radius: 12px;
  font-size: 2rem;
  padding: 7px 14px 7px 14px;
  margin-left: 18px;
  transition: background 0.19s, color 0.19s;
  z-index: 61;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #a87949;
  color: #fff;
}
/* =======
  HERO SECTION
  ======= */
.hero {
  background: #e3e7de;
  border-bottom: 3px solid #a87949;
  padding: 64px 20px 48px 20px;
  display: flex;
}
.hero .container { justify-content: center; }
.hero .content-wrapper {
  align-items: center;
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
  gap: 0;
}
.hero h1 {
  color: #175c3a;
  font-size: 2.4rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 900;
}
.hero .subheadline {
  font-size: 1.25rem;
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 600;
  color: #7b471e;
  margin-bottom: 28px;
  margin-top: 6px;
}
/* ======
  SECTIONS & CARDS
  ====== */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 24px 0 rgba(23,92,58,0.08);
  padding: 32px 24px 24px 24px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  min-width: 260px;
  transition: box-shadow 0.22s, transform 0.22s;
}
.card:hover, .card:focus {
  box-shadow: 0 8px 32px 0 rgba(23,92,58,0.16);
  transform: translateY(-4px) scale(1.02);
  z-index: 2;
}
.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;
  margin-bottom: 40px;
}
.text-image-section > * {
  flex: 1 1 320px;
}
.testimonials {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.testimonial-card {
  background: #f3f6f3;
  border: 2px solid #a87949;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  box-shadow: 0 2px 12px 0 rgba(23,92,58,0.08);
  margin-bottom: 20px;
  min-width: 240px;
  max-width: 440px;
  flex: 1 1 300px;
  color: #212320;
  font-size: 1.1rem;
  font-family: 'Open Sans', Arial, sans-serif;
}
.testimonial-card p {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 6px;
}
.testimonial-card span { color: #175c3a; font-weight: 900; font-size: 0.99rem; }
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 3px 14px 0px rgba(23,92,58,0.10);
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  min-width: 210px;
  max-width: 275px;
  transition: box-shadow 0.22s, transform 0.17s;
  border-left: 8px solid #a87949;
}
.feature:hover {
  box-shadow: 0 8px 32px 0px rgba(23,92,58,0.16);
  transform: translateY(-5px);
}
.feature img { height: 38px; margin-bottom: 10px; }
.feature h3 {
  color: #175c3a;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 8px;
}
.feature p {
  color: #212320;
  font-size: 1rem;
  font-family: 'Open Sans', Arial, sans-serif;
  margin-bottom: 0;
}
.service-list li {
  font-size: 1.11rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: #212320;
}
.section h2, .section h3 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 800;
  color: #175c3a;
}

/* SHARED COMPONENTS & UTILITY */
.text-section {
  margin-bottom: 24px;
  font-size: 1.1rem;
}
.text-section h3 {
  margin-top: 18px;
  font-size: 1.13rem;
  color: #a87949;
}
.address-footer {
  background: #e3e7de;
  border-radius: 14px;
  padding: 22px 14px 14px 14px;
  color: #175c3a;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}
.social-links {
  display: flex;
  flex-direction: row;
  gap: 20px;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 22px;
}
.social-links a {
  background: #e3e7de;
  border-radius: 8px;
  transition: background 0.2s, box-shadow 0.2s;
  padding: 5px;
}
.social-links a:hover {
  background: #a87949;
  box-shadow: 0 2px 8px 0 #175c3a29;
}
.map-placeholder {
  background: #e3e7de;
  border-radius: 12px;
  border: 2px dashed #175c3a;
  padding: 30px 20px;
  color: #7b471e;
  font-size: 1.04rem;
  text-align: center;
  min-width: 210px;
  min-height: 90px;
}
.contact-info {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: flex-start;
  margin-bottom: 40px;
}
.contact-info ul li {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  color: #175c3a;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
}
.contact-info img { height: 22px; width: 22px; margin-right: 7px; }

/* ======
  FOOTER
  ====== */
footer {
  width: 100%;
  background: #175c3a;
  color: #fff;
  padding: 32px 20px 0 20px;
  margin-top: 40px;
}
footer .container { max-width: 1160px; }
footer .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 0;
}
.footer-logo img {
  height: 40px;
  margin-bottom: 16px;
}
.footer-nav {
  display: flex;
  gap: 24px;
  margin-bottom: 10px;
}
.footer-nav a {
  color: #fff;
  opacity: 0.98;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 3px 10px;
  border-radius: 8px;
  transition: background 0.18s, color 0.18s, opacity 0.18s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #a87949;
  color: #fff;
  opacity: 1;
}
footer p { margin-bottom: 14px; font-size: 0.98rem; letter-spacing: 0.01em; }

/* ================
   MOBILE MENU
   ================ */
.mobile-menu {
  position: fixed;
  z-index: 100;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(23, 92, 58, 0.93);
  transform: translateX(100%);
  transition: transform 0.42s cubic-bezier(0.68, -0.55, 0.27, 1.55);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 0 0 0 0;
}
.mobile-menu.open {
  transform: translateX(0%);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 24px 32px 0 0;
  background: #e3e7de;
  color: #175c3a;
  border-radius: 12px;
  font-size: 2.2rem;
  padding: 8px 18px 8px 18px;
  font-weight: bold;
  z-index: 144;
  box-shadow: 0 2px 8px 0px rgba(23,92,58,0.20);
  transition: background 0.18s, color 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #a87949;
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 22px 40px;
  margin-top: 30px;
  width: 100%;
  align-items: flex-start;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.22rem;
  font-weight: 800;
  padding: 12px 0;
  border-radius: 8px;
  transition: background 0.16s, color 0.16s;
  width: 100%;
  display: block;
  text-align: left;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #a87949;
  color: #fff;
}
@media (max-width: 1100px) {
  .container { padding-left: 10px; padding-right: 10px; }
}
@media (max-width: 900px) {
  .main-nav { gap: 15px; }
  .feature-grid, .testimonials, .card-container, .content-grid {
    gap: 16px;
  }
  .feature { min-width: 180px; max-width: 220px; padding: 18px 12px; }
}
@media (max-width: 800px) {
  header { height: 64px; }
  .hero { padding: 48px 6px 36px 6px; }
  .hero h1 { font-size: 2rem; }
  .footer-logo img, header > a img { height: 32px; }
}
@media (max-width: 768px) {
  header {
    padding: 0 8px;
    height: 58px;
  }
  .main-nav { display: none; }
  .cta-btn { margin-left: 6px; padding: 9px 24px; }
  .mobile-menu-toggle {
    display: block;
    margin-left: auto;
    margin-right: 2px;
  }
  .footer-nav { gap: 10px; flex-wrap: wrap; }
  .feature-grid,
  .card-container,
  .content-grid,
  .testimonials {
    flex-direction: column;
    gap: 18px;
  }
  .feature, .testimonial-card, .card {
    min-width: 0;
    width: 100%;
    max-width: 100%;
  }
  .text-image-section {
    flex-direction: column;
    gap: 16px;
  }
  .contact-info {
    flex-direction: column;
    gap: 18px;
  }
  .address-footer, .content-wrapper {
    padding: 2px 2px 2px 2px;
  }
  footer {
    padding: 22px 6px 0 6px;
  }
  section {
    padding: 32px 4px 32px 4px;
  }
}
@media (max-width: 500px) {
  .hero { padding: 20px 2px 16px 2px; }
  .hero h1 { font-size: 1.5rem; }
  h1 { font-size: 1.4rem; }
  h2 { font-size: 1.1rem; }
}

/* ====== ANIMATIONS ====== */
.cta-btn, .feature, .card, .testimonial-card, .service-list li, .mobile-menu, .mobile-menu-close, .mobile-menu-toggle, .footer-nav a {
  transition: box-shadow 0.22s, color 0.18s, background 0.18s, transform 0.16s;
}
.cta-btn:hover, .feature:hover, .card:hover, .testimonial-card:hover, .footer-nav a:hover {
  transform: translateY(-2px) scale(1.01);
}

/* MICRO-INTERACTIONS */
.cta-btn:active, .feature:active, .card:active, .footer-nav a:active { filter: brightness(0.95); }

/* ==============
   COOKIE BANNER
   ============== */
.cookie-banner {
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2000;
  background: #ffffff;
  box-shadow: 0 -1px 15px 0 rgba(23,92,58,0.10);
  border-top: 3px solid #a87949;
  padding: 22px 14px;
  gap: 30px;
  font-size: 1.06rem;
  animation: cookieBannerIn 0.6s;
}
@keyframes cookieBannerIn {
  from { transform: translateY(100%); opacity: 0.2; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  color: #212320;
  margin-right: 24px;
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 500;
}
.cookie-btns {
  display: flex;
  gap: 15px;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 800;
  border-radius: 8px;
  padding: 8px 20px;
  border: none;
  margin: 0 2px;
  transition: background 0.18s, color 0.16s, box-shadow 0.19s;
  cursor: pointer;
}
.cookie-banner .accept-btn {
  background: #175c3a;
  color: #fff;
}
.cookie-banner .accept-btn:hover, .cookie-banner .accept-btn:focus {
  background: #a87949;
}
.cookie-banner .reject-btn {
  background: #fff;
  color: #175c3a;
  border: 2px solid #a87949;
}
.cookie-banner .reject-btn:hover, .cookie-banner .reject-btn:focus {
  background: #e3e7de;
  color: #a87949;
}
.cookie-banner .settings-btn {
  background: #7b471e;
  color: #fff;
}
.cookie-banner .settings-btn:hover, .cookie-banner .settings-btn:focus {
  background: #a87949;
}
@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
    font-size: 1rem;
    padding: 20px 5px;
  }
  .cookie-banner p {
    margin-right: 0; margin-bottom: 8px;
  }
  .cookie-btns {
    gap: 6px;
  }
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom:0;
  z-index: 2001;
  background: rgba(23,92,58,0.60);
  display: flex;
  justify-content: center;
  align-items: center;
  animation: cookieModalIn 0.6s;
}
@keyframes cookieModalIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 20px;
  padding: 38px 24px 28px 24px;
  min-width: 310px; max-width: 96vw;
  box-shadow: 0 12px 46px 0 rgba(168,121,73,0.13), 0 1.5px 8px #a8794929;
  font-size: 1.1rem;
  color: #212320;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
}
.cookie-modal h2 {
  color: #175c3a;
  font-size: 1.3rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 800;
  margin-bottom: 10px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.cookie-modal label {
  font-size: 1.04rem;
  font-weight: 600;
}
.cookie-modal input[type='checkbox'] {
  width: 22px;
  height: 22px;
  accent-color: #175c3a;
  border-radius: 4px;
  margin-right: 8px;
}
.cookie-modal .save-btn {
  background: #175c3a;
  color: #fff;
  font-weight: bold;
  border-radius: 8px;
  padding: 10px 30px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.08rem;
  transition: background 0.16s, color 0.14s;
  margin-top: 16px;
  align-self: flex-end;
}
.cookie-modal .save-btn:hover, .cookie-modal .save-btn:focus {
  background: #a87949;
}
.cookie-modal .close-btn {
  position: absolute;
  top: 8px; right: 18px;
  background: #e3e7de;
  color: #175c3a;
  border-radius: 10px;
  font-size: 1.42rem;
  padding: 2.5px 12px;
  transition: background 0.18s, color 0.18s;
}
.cookie-modal .close-btn:hover, .cookie-modal .close-btn:focus {
  background: #a87949;
  color: #fff;
}
@media (max-width: 500px) {
  .cookie-modal { max-width: 98vw; padding: 21px 7px 18px 7px; }
  .cookie-modal h2 { font-size: 1.05rem;} 
}

/* =============
   TYPOGRAPHY SCALE
   ============= */
html { font-size: 16px; }
@media (max-width: 768px) {
  html { font-size: 15px; }
}
@media (max-width: 500px) {
  html { font-size: 14px; }
}

/* =============
   SCROLLBAR
   ============= */
::-webkit-scrollbar { width: 8px; background: #e3e7de; }
::-webkit-scrollbar-thumb { background: #a87949; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #7b471e; }

/* ===========
   MISC STYLES
   =========== */
::-webkit-input-placeholder { color: #7b471e; opacity: 0.84; }
:-moz-placeholder { color: #7b471e; opacity: 0.84; }
::-moz-placeholder { color: #7b471e; opacity: 0.84; }
:-ms-input-placeholder { color: #7b471e; opacity: 0.84; }

/* Use fallback for accent-color */
input[type='checkbox'] {
  accent-color: #175c3a;
}

/* === Headings for Strict Contrast in Testimonials === */
.testimonial-card h3, .testimonial-card p, .testimonial-card span {
  color: #1b2a1e;
}

/* === Hide visually but not from screen-readers === */
.sr-only { position: absolute; left: -99999px; width: 1px; height: 1px; top: auto; overflow: hidden; }
