/* ======= 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-size: 100%;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*,*:before,*:after { box-sizing: inherit; }
body {
  font-family: 'Roboto', Georgia, 'Times New Roman', Times, serif;
  background: #F2EBDC;
  color: #112D24;
  line-height: 1.7;
  min-height: 100vh;
  font-size: 16px;
}
img { max-width: 100%; display: block; }
ul, ol { padding-left: 1.5em; margin-bottom: 1em; }
a { color: #217443; text-decoration: none; transition: color .25s; }
a:hover, a:focus { color: #112D24; text-decoration: underline; }

/* ======= TYPOGRAPHY ======= */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Georgia, serif;
  font-weight: 700;
  color: #112D24;
  margin-bottom: 16px;
  letter-spacing: 0.01em;
  line-height: 1.15;
}
h1 { font-size: 2.75rem; margin-bottom: 20px; }
h2 { font-size: 2rem; margin-bottom: 18px; }
h3 { font-size: 1.4rem; margin-bottom: 14px; }
h4, h5, h6 { font-size: 1.1rem; margin-bottom: 10px; }
p { margin-bottom: 18px; }
strong { font-weight: 600; }
small { font-size: 0.95em; color: #555; }

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.4rem; }
  h3 { font-size: 1.1rem; }
}

/* ======= UTILITY ======= */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 18px;
  padding-right: 18px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.text-section {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.gap-20 { gap: 20px; }

/* ======= HEADER & NAVIGATION ======= */
header {
  background: #fff;
  box-shadow: 0 2px 12px 0 rgba(17,45,36,0.05);
  border-bottom: 1px solid #e2d9c0;
  position: relative;
  z-index: 30;
}
.top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 0;
  min-height: 72px;
  background: #fff;
}
.logo img {
  height: 45px;
  width: auto;
  display: block;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: 16px;
}
.main-nav a {
  font-family: 'Montserrat', serif;
  font-size: 1rem;
  color: #112D24;
  padding: 6px 0;
  transition: color .2s;
  position: relative;
}
.main-nav a:hover, .main-nav a:focus {
  color: #217443;
}
.btn-primary {
  font-family: 'Montserrat', serif;
  display: inline-block;
  background: #217443;
  color: #fff;
  font-weight: 600;
  border-radius: 32px;
  padding: 12px 38px;
  font-size: 1.05rem;
  border: none;
  box-shadow: 0 4px 14px 0 rgba(33,116,67,0.09);
  cursor: pointer;
  margin-left: 24px;
  letter-spacing: 0.03em;
  transition: background .22s, box-shadow .22s, color .22s;
}
.btn-primary:hover, .btn-primary:focus {
  background: #174e2d;
  color: #F2EBDC;
  box-shadow: 0 2px 10px 0 rgba(33,116,67,0.15);
}
.mobile-menu-toggle {
  background: none;
  border: none;
  font-size: 2rem;
  color: #217443;
  padding: 6px 14px;
  border-radius: 8px;
  display: none;
  cursor: pointer;
  transition: background .22s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #E0CEC6;
}

/* ======= MOBILE MENU ======= */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: #fff;
  z-index: 200;
  padding: 25px 24px 0 24px;
  box-shadow: 0 5px 70px 0 rgba(17,45,36,0.13);
  transform: translateX(100%);
  transition: transform .38s cubic-bezier(.77,0,.18,1);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.1rem;
  color: #217443;
  border-radius: 6px;
  padding: 4px 10px;
  align-self: flex-end;
  cursor: pointer;
  margin-bottom: 20px;
  transition: background .18s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: #eee3d0;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 15px;
  width: 100%;
  align-items: flex-start;
}
.mobile-nav a {
  font-family: 'Montserrat', serif;
  font-size: 1.2rem;
  color: #112D24;
  padding: 8px 0;
  width: 100%;
  transition: color .2s;
  border-radius: 4px;
}
.mobile-nav a:hover {
  color: #217443;
  background: #ece5da;
}

/* ======= HERO ======= */
.hero {
  background: linear-gradient(100deg, #F2EBDC 65%, #ede6d6 100%);
  display: flex;
  align-items: center;
  min-height: 360px;
  padding: 40px 0 30px 0;
}
.hero .container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.hero h1 {
  color: #217443;
  font-family: 'Montserrat', Georgia, serif;
  line-height: 1.1;
}
.hero p {
  font-size: 1.18rem;
  color: #354548;
  margin-bottom: 20px;
}

/* ======= MAIN LAYOUT SECTIONS ======= */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
section:last-child { margin-bottom: 0; }

@media (max-width: 768px) {
  section {
    padding: 28px 7px;
    margin-bottom: 40px;
  }
}

/* ===== FLEX & CONTENT PATTERNS ===== */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  margin-top: 18px;
}
.feature {
  flex: 1 1 250px;
  min-width: 240px;
  max-width: 350px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 12px 0 rgba(33,116,67,0.051);
  padding: 30px 24px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  transition: box-shadow .23s, transform .23s;
}
.feature:hover {
  box-shadow: 0 6px 24px 0 rgba(33,116,67,0.09);
  transform: translateY(-2px) scale(1.02);
}
.feature img {
  width: 48px;
  height: 48px;
  margin-bottom: 8px;
}
.feature h3 {
  color: #217443;
  font-size: 1.22rem;
  margin-bottom: 6px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 12px 0 rgba(17,45,36,.06);
}
.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) {
  .feature-grid, .content-grid, .text-image-section, .card-container {
    flex-direction: column;
    gap: 20px;
  }
}

/* ======== TESTIMONIALS ======== */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  background: #fff;
  color: #112D24;
  border-radius: 20px;
  box-shadow: 0 4px 20px 0 rgba(33,116,67,0.09);
  padding: 30px 28px;
  margin-bottom: 24px;
  max-width: 700px;
  border-left: 5px solid #217443;
  font-family: 'Roboto', serif;
  font-size: 1.07rem;
  transition: box-shadow .23s, transform .23s;
}
.testimonial-card span {
  display: block;
  font-weight: 600;
  color: #217443;
  font-family: 'Montserrat', serif;
  font-size: 1rem;
}
.testimonial-card:hover {
  box-shadow: 0 6px 32px 0 rgba(33,116,67,0.19);
  transform: translateY(-1px) scale(1.012);
}

/* ======= CTA & CONTACT SUMMARY ======= */
.contact-summary {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
  flex-wrap: wrap;
  font-size: 1.05rem;
}
.contact-summary img {
  width: 20px;
  height: 20px;
  margin-right: 4px;
  vertical-align: middle;
}
@media (max-width: 768px) {
  .contact-summary {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
}

/* ======= FOOTER ======= */
footer {
  background: #F2EBDC;
  padding: 0;
  border-top: 2px solid #e9e1cb;
}
footer .content-wrapper {
  gap: 10px;
}
.footer-main {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 36px;
  padding: 42px 0 16px 0;
  border-bottom: 1px solid #ded6c2;
}
.footer-main .logo img {
  height: 40px;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.footer-links a {
  color: #112D24;
  font-family: 'Montserrat', serif;
  font-size: 1rem;
  transition: color .21s;
}
.footer-links a:hover {
  color: #217443;
  text-decoration: underline;
}
.social-media {
  display: flex;
  align-items: center;
  gap: 16px;
}
.social-media img {
  width: 28px;
  height: 28px;
  filter: grayscale(0.2);
  opacity: 0.93;
  transition: opacity .17s, filter .17s;
  cursor: pointer;
}
.social-media img:hover {
  opacity: 1;
  filter: none;
}
.footer-legal {
  margin-top: 14px;
  color: #666;
  font-size: 0.98rem;
}
.footer-contact {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  font-size: 0.96rem;
}
.footer-contact img {
  width: 17px;
  height: 17px;
  margin-right: 3px;
}
@media (max-width: 768px) {
  .footer-main {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .footer-contact {
    flex-direction: column;
    gap: 7px;
    align-items: flex-start;
  }
}

/* ======= FORMS (If Present On Contact) ======= */
input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
  padding: 9px 13px;
  border-radius: 7px;
  border: 1px solid #cbc6ba;
  margin-bottom: 16px;
  width: 100%;
  background: #fff;
  box-shadow: none;
  transition: border .18s;
}
input:focus, textarea:focus, select:focus {
  border-color: #217443;
  outline: none;
}

/* ======= TABLES ======= */
table {
  border-collapse: collapse;
  width: 100%;
  background: #fff;
  margin-bottom: 18px;
}
th, td {
  text-align: left;
  padding: 14px 10px;
  border-bottom: 1px solid #e2d9c0;
}
th {
  background: #ede6d6;
  color: #217443;
  font-size: 1rem;
}

/* ======= FAQ Styling ======= */
.faq h3 {
  margin-top: 14px;
  color: #217443;
}
.faq p {
  margin-bottom: 10px;
  font-style: italic;
}

/* ======= CARDS GENERIC ======= */
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 10px 0 rgba(17,45,36,.09);
  padding: 30px 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}

/* ======= COOKIE BANNER ======= */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  background: #fff;
  color: #112D24;
  box-shadow: 0 -1px 14px 0 rgba(33,116,67,0.09);
  padding: 20px 16px 18px 16px;
  display: flex;
  justify-content: center;
  z-index: 9999;
  gap: 26px;
  flex-wrap: wrap;
  align-items: center;
  font-size: 1.02rem;
  border-top: 2px solid #e9e1cb;
  animation: cookieBannerIn .7s cubic-bezier(.77,0,.18,1);
}
@keyframes cookieBannerIn {
  0% { transform: translateY(100%); opacity: 0; }
  100% { transform: none; opacity: 1; }
}
.cookie-banner .cookie-message {
  max-width: 520px;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}
.btn-cookie,
.btn-cookie-settings {
  font-family: 'Montserrat', Georgia, serif;
  background: #217443;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 9px 22px;
  margin: 2px 0;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: background .18s, color .18s;
}
.btn-cookie:hover, .btn-cookie:focus {
  background: #174e2d;
  color: #F2EBDC;
}
.btn-cookie-settings {
  background: #E0CEC6;
  color: #217443;
}
.btn-cookie-settings:hover, .btn-cookie-settings:focus {
  background: #d2bfae;
  color: #112D24;
}
.btn-cookie-reject {
  background: #ede6d6;
  color: #444;
  border-radius: 8px;
  padding: 9px 22px;
  font-size: 1rem;
  margin-left: 0;
  border: none;
  font-family: 'Montserrat', Georgia, serif;
  cursor: pointer;
  transition: background .18s, color .18s;
}
.btn-cookie-reject:hover, .btn-cookie-reject:focus {
  background: #f2ebdc;
  color: #174e2d;
}

@media (max-width: 540px) {
  .cookie-banner {
    flex-direction: column;
    padding-left: 8px; padding-right: 8px;
    gap: 12px;
    font-size: 1rem;
  }
  .cookie-banner .cookie-message { max-width: 100%; }
}

/* Cookie settings modal */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(17, 45, 36, 0.20);
  z-index: 99999;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeInModal .4s;
}
@keyframes fadeInModal {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  color: #233032;
  padding: 40px 30px 28px 30px;
  border-radius: 20px;
  box-shadow: 0 8px 32px 0 rgba(33,116,67,0.15);
  min-width: 320px;
  max-width: 92vw;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: showModal .6s cubic-bezier(.77,0,.18,1);
}
@keyframes showModal {
  0% { transform: translateY(40px) scale(.94); opacity: 0; }
  100% { transform: none; opacity: 1; }
}
.cookie-modal h2 {
  color: #217443;
  font-size: 1.32rem;
}
.cookie-modal .modal-close {
  position: absolute;
  top: 14px; right: 18px;
  background: none;
  border: none;
  font-size: 2rem;
  color: #174e2d;
  border-radius: 5px;
  cursor: pointer;
  transition: background .13s;
}
.cookie-modal .modal-close:hover {
  background: #ece5da;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.cookie-category-row {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: flex-start;
}
.cookie-category-label {
  flex: 1;
}
.cookie-toggle {
  width: 40px; height: 22px;
  position: relative;
  display: inline-block;
}
.cookie-toggle input[type=checkbox]{
  opacity: 0;
  width: 0; height: 0;
}
.cookie-toggle-slider {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #ccc;
  border-radius: 20px;
  transition: background .18s;
}
.cookie-toggle input:checked + .cookie-toggle-slider {
  background: #217443;
}
.cookie-toggle-slider:before {
  content: '';
  position: absolute;
  left: 3px; top: 2.5px;
  width: 17px; height: 17px;
  border-radius: 50%;
  background: #fff;
  transition: transform .18s;
}
.cookie-toggle input:checked + .cookie-toggle-slider:before {
  transform: translateX(17px);
}
.cookie-category-status {
  font-size: .95em;
  margin-left: 9px;
}
.cookie-category-status[data-enabled='true'] {
  color: #217443;
}
.cookie-category-status[data-enabled='false'] {
  color: #998662;
}

/* ======= RESPONSIVE ADJUSTMENTS ======= */
@media (max-width: 1024px) {
  .container { max-width: 900px; }
}
@media (max-width: 768px) {
  .container { max-width: 100vw; }
  .main-nav { display: none; }
  .mobile-menu-toggle { display: block; }
  .btn-primary { margin-left: 0; margin-top: 8px; }
}
@media (min-width: 769px) {
  .mobile-menu,
  .mobile-menu-toggle { display: none !important; }
}

/* ======= LIST STYLES ======= */
ul, ol {
  margin-bottom: 14px;
  padding-left: 1.3em;
  font-size: 1rem;
  color: #112D24;
}
ul li, ol li {
  margin-bottom: 8px;
}
li strong {
  color: #217443;
  font-weight: 600;
}

ol {
  counter-reset: elegant-ol;
}
ol li {
  counter-increment: elegant-ol;
  list-style: none;
  position: relative;
  padding-left: 36px;
}
ol li:before {
  content: counter(elegant-ol) ".";
  position: absolute;
  left: 0;
  font-family: 'Montserrat', Georgia, serif;
  color: #217443;
  font-weight: bold;
  font-size: 1.25em;
}

/* ======= GOOGLE MAP IN CONTACT ======= */
.google-map {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 10px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 8px 0 rgba(33,116,67,0.06);
  padding: 18px 18px 10px 18px;
}
.google-map img {
  width: 75px;
  height: 75px;
}
@media (max-width: 768px) {
  .google-map {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 13px 8px 8px 8px;
  }
}

/* ======= ACCESSIBILITY & FOCUS ======= */
a:focus-visible, button:focus-visible, .btn-primary:focus-visible, .mobile-menu-toggle:focus-visible {
  outline: 2px dashed #217443;
  outline-offset: 2px;
  z-index: 2;
}

/* ======= MICRO-ANIMATIONS ======= */
a, button, .btn-primary, .feature, .testimonial-card, .card, .social-media img {
  transition: background .18s, color .18s, box-shadow .23s, transform .18s;
}

/* ======= CUSTOM SCROLLBAR ======= */
::-webkit-scrollbar {
  width: 9px;
  background: #e4e0d8;
}
::-webkit-scrollbar-thumb {
  background: #c5bdb0;
  border-radius: 8px;
}

/* ======= PRINT ======= */
@media print {
  .cookie-banner, .cookie-modal-overlay, .mobile-menu, .mobile-menu-toggle {
    display: none !important;
  }
}
