/*-------------------------------
  CSS RESET & BASE TYPOGRAPHY
-------------------------------*/
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;
}
html { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }
html { scroll-behavior: smooth; }
body {
  background: #F7F6F0;
  color: #2A2B24;
  font-family: 'Lato', Arial, sans-serif;
  line-height: 1.6;
  font-size: 16px;
}

img { max-width: 100%; display: block; }
a { color: #317849; text-decoration: underline; transition: color .2s; }
a:hover, a:focus { color: #A56F2E; text-decoration: none; }

details > summary {
  cursor: pointer;
  font-weight: 600;
  color: #317849;
  padding: 8px 0;
}
details[open] > summary { color: #A56F2E; }

/*---------------------------------
  FONTS
-----------------------------------*/
h1, h2, h3, h4, h5, h6, .logo, .cta-primary {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', Times, serif;
  font-weight: 700;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.5rem; margin-bottom: 16px; }
h2 { font-size: 2rem; margin-bottom: 12px; }
h3 { font-size: 1.35rem; margin-bottom: 8px; }
h4 { font-size: 1.15rem; }

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

strong { font-weight: 700; color: #317849; }

p { margin-bottom: 16px; color: #2A2B24; }
ul, ol { margin-bottom: 20px; padding-left: 20px; }
ul li, ol li { margin-bottom: 8px; }
ul li:last-child, ol li:last-child { margin-bottom: 0; }

/*------------------------------
  CONTAINER & LAYOUT
-------------------------------*/
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.text-section {
  align-items: flex-start;
  max-width: 650px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (max-width: 768px) {
  .section {
    margin-bottom: 36px;
    padding: 24px 8px;
  }
}

.card-container, .product-card-grid, .category-cards, .project-list, .blog-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}

.content-grid, .feature-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) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
}

/*------------------------------
  CARDS & FLEX-BASED GRIDS
-------------------------------*/
.card, .service-card, .product-card, .category-card, .project-card, .blog-teaser {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 14px 0 rgba(41,55,39,0.06), 0 1.5px 5px 0 rgba(49,120,73,0.03);
  padding: 28px 28px 24px 28px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border: 1px solid #ecebe5;
  min-width: 230px;
  flex: 1 1 250px;
  transition: box-shadow .22s, border-color .2s;
}
.card:hover, .service-card:hover, .product-card:hover, .category-card:hover, .project-card:hover, .blog-teaser:hover {
  box-shadow: 0 8px 24px 0 rgba(49,120,73,0.13);
  border-color: #A56F2E;
  z-index: 2;
}

.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}
/* Service card special price */
.price {
  margin-top: 6px;
  font-size: 1rem;
  font-family: 'Playfair Display', Georgia, serif;
  color: #A56F2E;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.product-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}

.team-bio-list, .tip-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* Card wrappers for category/product cards */
.product-card-grid, .category-cards {
  margin-top: 20px;
  margin-bottom: 20px;
}

/* Project list/galleries */
.project-list {
  margin-top: 20px;
}
@media (max-width: 768px) {
  .card, .service-card, .product-card, .category-card, .project-card, .blog-teaser {
    padding: 16px 10px 14px 14px;
    min-width: 0;
    width: 100%;
  }
  .project-list, .product-card-grid, .category-cards {
    flex-direction: column;
    gap: 18px;
  }
}

/*------------------------------
  FEATURE LISTS & BADGES
-------------------------------*/
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  list-style: none;
  margin: 0 0 20px 0;
}
.feature-grid li {
  background: #fff;
  border: 1px solid #E3E0D8;
  border-radius: 14px;
  padding: 22px 18px 18px 18px;
  min-width: 200px;
  flex: 1 1 250px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  box-shadow: 0 2px 10px 0 rgba(49,120,73,0.03);
  transition: box-shadow .21s, border-color .2s;
}
.feature-grid li:hover {
  box-shadow: 0 5px 16px 0 rgba(49,120,73,0.13);
  border-color: #A56F2E;
}
.feature-grid img {
  width: 38px;
  height: 38px;
  margin-bottom: 3px;
}

.assurance-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 18px 0 0 0;
}
.assurance-badges span {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #F7F6F0;
  border-radius: 18px;
  padding: 6px 16px;
  font-size: 1rem;
  color: #317849;
  font-family: 'Playfair Display', serif;
  border: 1px solid #E3E0D8
}
.assurance-badges img { height: 22px; width: 22px; }

/*----------------------------------
  TESTIMONIALS
-----------------------------------*/
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 20px 26px;
  margin-bottom: 20px;
  background: #fff;
  border-radius: 14px;
  border: 1px solid #E3E0D8;
  box-shadow: 0 3px 10px 0 rgba(41,55,39,0.10);
}
.testimonial-card p {
  color: #29281E;
  font-style: italic;
  font-size: 1.07rem;
  margin-bottom: 10px;
}
.testimonial-card span {
  color: #68604D;
  font-size: 1rem;
  font-family: 'Lato', Arial, sans-serif;
}
@media (max-width: 500px) {
  .testimonial-card { padding: 13px 10px; font-size: 0.95rem; }
}

/*------------------------------------------
  BLOG PREVIEW/FAQ ACCORDION
--------------------------------------------*/
.blog-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.blog-teaser {
  padding: 20px 24px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 1.5px 6px 0 rgba(49,120,73,0.07);
  border: 1px solid #ecebe5;
  transition: box-shadow .18s, border-color .18s;
}
.blog-teaser a { text-decoration: underline; font-weight: bold; color: #8B5700; }
.blog-teaser a:hover { color: #317849; }

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 10px 0;
}
.faq-accordion details {
  background: #fff;
  border-radius: 10px;
  border: 1px solid #ecebe5;
  margin-bottom: 0;
  padding: 10px 16px 0 16px;
}
.faq-accordion summary {
  font-size: 1.08rem;
  font-family: 'Playfair Display', serif;
  outline: none;
}
.faq-accordion p { font-size: 1rem; padding: 8px 0 6px 0; color: #2A2B24; }

/*-----------------------------
  CALL TO ACTIONS & BUTTONS
-----------------------------*/
.cta-primary, .cookie-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 32px;
  background: #317849;
  color: #fff;
  border: none;
  border-radius: 22px;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 14px 0 rgba(49,120,73,0.08);
  margin-top: 12px;
  margin-bottom: 8px;
  cursor: pointer;
  transition: background .18s, color .18s, transform .14s;
}
.cta-primary:hover, .cta-primary:focus, .cookie-btn:hover, .cookie-btn:focus {
  background: #A56F2E;
  color: #fff;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 6px 22px 0 rgba(49,120,73,0.13);
}

/* Secondary cookie buttons */
.cookie-btn.cookie-secondary {
  background: #fff;
  color: #317849;
  border: 1px solid #317849;
  margin-left: 10px;
}
.cookie-btn.cookie-secondary:hover, .cookie-btn.cookie-secondary:focus {
  background: #F7F6F0;
  color: #8B5700;
  border-color: #A56F2E;
}

/* Inline links in tips/badges */
.tip-categories, .assurance-badges {
  margin-top: 12px;
  font-size: 0.98rem;
  color: #8B5700;
  font-family: 'Playfair Display', serif;
  letter-spacing: 0.01em;
}
.tip-categories span {
  background: #ECE8DE;
  color: #317849;
  border-radius: 10px;
  padding: 4px 10px;
  margin-right: 4px;
}

/*---------------------------------
  NAVIGATION & HEADER
----------------------------------*/
header {
  background: #fff;
  border-bottom: 1.5px solid #F0EDDF;
  box-shadow: 0 2px 8px 0 rgba(51,57,39,0.06);
  position: sticky;
  top: 0; left: 0; right: 0;
  z-index: 14;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  max-width: 1100px;
  margin: 0 auto;
  background: transparent;
}
.main-nav .logo img {
  height: 46px;
}
.main-nav ul {
  list-style: none;
  display: flex;
  flex-direction: row;
  gap: 20px;
  margin-left: 30px;
}
.main-nav ul li {
  display: flex;
  align-items: center;
}
.main-nav ul li a {
  font-family: 'Lato', Arial, sans-serif;
  color: #2A2B24;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.01em;
  padding: 4px 8px;
  border-radius: 3px;
  transition: background .13s, color .17s;
}
.main-nav ul li a:hover, .main-nav ul li a:focus {
  color: #317849;
  background: #F7F6F0;
}
.cta-primary {
  margin-left: 36px !important;
}

/*------------------------
  MOBILE NAVIGATION
-------------------------*/
.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 2.2rem;
  color: #317849;
  cursor: pointer;
  margin-left: 18px;
  z-index: 102;
  position: relative;
  width: 44px; height: 44px;
  padding: 0;
  transition: color .17s;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #8B5700;
  color: #A56F2E;
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(249,249,240, 0.98);
  z-index: 1040;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  transform: translateX(-100vw);
  transition: transform 0.35s ease;
  padding-top: 0;
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #8B5700;
  font-size: 2.2rem;
  cursor: pointer;
  position: absolute;
  top: 22px; right: 22px;
  z-index: 1060;
  transition: color .17s;
}
.mobile-menu-close:focus { color: #A56F2E; outline: none; }

.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  background: transparent;
  padding: 62px 24px 8px 28px;
  min-width: 230px;
}
.mobile-nav a {
  color: #317849;
  text-decoration: none;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.28rem;
  font-weight: 700;
  padding: 10px 8px;
  border-radius: 3px;
  width: 100%;
  transition: background .14s, color .17s;
  margin-bottom: 8px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #ecebe5;
  color: #8B5700;
}

@media (max-width: 1024px) {
  .main-nav ul, .cta-primary {
    display: none !important;
  }
  .mobile-menu-toggle { display: inline-block; }
}
@media (min-width: 1025px) {
  .mobile-menu-toggle, .mobile-menu {
    display: none !important;
  }
}

/*---------------------------
  FOOTER
----------------------------*/
footer {
  background: #ECE8DE;
  color: #4B4936;
  padding: 44px 0 14px 0;
  border-top: 1.5px solid #E3E0D8;
  margin-top: 60px;
  font-size: 1rem;
}
.footer-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  gap: 36px;
}
.footer-nav img { height: 38px; }
.footer-nav nav {
  display: flex;
  gap: 20px;
}
.footer-nav nav a {
  color: #317849;
  text-decoration: none;
  font-family: 'Lato', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  transition: color .13s;
}
.footer-nav nav a:hover { color: #A56F2E; }
.footer-info {
  margin: 0;
  color: #6A6A56;
  line-height: 1.5;
  font-size: 0.98rem;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-info a { color: #8B5700; }

@media (max-width: 768px) {
  .footer-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .footer-nav nav {
    flex-wrap: wrap;
    gap: 12px;
  }
  .footer-info {
    margin-top: 9px;
    font-size: 0.95rem;
  }
  footer { padding: 32px 0 12px 0; margin-top: 36px; }
}

/*-------------------------------
  COOKIE CONSENT BANNER & MODAL
-------------------------------*/
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 1800;
  background: #fffbe9;
  box-shadow: 0 -6px 22px 0 rgba(49,120,73,0.13);
  border-top: 1.5px solid #ECE8DE;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 22px 18px;
  font-size: 1rem;
  font-family: 'Lato', Arial, sans-serif;
  transition: transform .38s;
}
.cookie-banner.hide {
  transform: translateY(110%);
  pointer-events: none;
  opacity: 0.7;
}
.cookie-banner p {
  color: #2A2B24;
  margin: 0 8px 0 0;
  flex: 1 1 200px;
  font-size: 1rem;
}

.cookie-btn {
  min-width: 120px;
  margin-right: 4px;
  margin-top: 0;
  margin-bottom: 0;
}
/* Cookie Settings Modal */
.cookie-modal-overlay {
  position: fixed;
  left: 0; right: 0; bottom: 0; top: 0;
  background: rgba(51,66,51,0.32);
  z-index: 2200;
  display: none;
  align-items: center;
  justify-content: center;
}
.cookie-modal-overlay.active {
  display: flex;
}
.cookie-modal {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 26px 0 rgba(49,120,73,0.18);
  padding: 34px 28px 22px 28px;
  width: 95vw;
  max-width: 410px;
  animation: fadeIn .34s ease;
  font-family: 'Lato', Arial, sans-serif;
  color: #2A2B24;
  position: relative;
}
.cookie-modal h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  color: #317849;
  margin-bottom: 12px;
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  top: 14px; right: 18px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #317849;
  cursor: pointer;
  transition: color .13s;
}
.cookie-modal .cookie-modal-close:hover {
  color: #A56F2E;
}
.cookie-categories {
  margin: 18px 0 22px 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
}
.cookie-toggle {
  appearance: none;
  width: 38px;
  height: 20px;
  background: #ECE8DE;
  outline: none;
  border-radius: 12px;
  position: relative;
  border: 1.3px solid #A56F2E;
  cursor: pointer;
  transition: background .16s;
}
.cookie-toggle:checked {
  background: #317849;
  border-color: #317849;
}
.cookie-toggle:before {
  content: '';
  display: block;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px 0 rgba(49,120,73,0.07);
  position: absolute;
  top: 1.5px; left: 1.5px;
  transition: left .19s;
}
.cookie-toggle:checked:before {
  left: 19px;
}
.cookie-cat-desc {
  color: #67604E;
  font-size: 0.98rem;
}
.cookie-modal .cookie-btn {
  margin-top: 8px;
}
@media (max-width: 600px) {
  .cookie-modal { padding: 22px 6vw 22px 6vw; max-width: 96vw; }
  .cookie-banner { padding: 18px 6px; flex-direction: column; gap: 12px; text-align: center; }
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(.97) translateY(22px); }
  to { opacity: 1; transform: none; }
}

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

/*---------------------------------
  MISC / GENERAL
-----------------------------------*/
::-webkit-input-placeholder { color: #AFAFA5; }
::-moz-placeholder { color: #AFAFA5; }
:-ms-input-placeholder { color: #AFAFA5; }
::placeholder { color: #AFAFA5; }

hr {
  border: none;
  border-top: 1px solid #ECE8DE;
  margin: 32px 0 16px 0;
}

/*-----------------------------------
  MEDIA QUERIES: RESPONSIVE LAYOUT
-------------------------------------*/
@media (max-width: 1024px) {
  .main-nav {
    padding: 12px 0;
  }
  .container {
    padding: 0 8px;
    max-width: 99vw;
  }
}
@media (max-width: 768px) {
  .container {
    padding: 0 6px;
  }
  .content-wrapper,
  .text-section {
    gap: 12px;
  }
  .feature-grid,
  .product-card-grid,
  .category-cards,
  .project-list,
  .blog-preview { gap: 14px; }
  .section {
    margin-bottom: 34px;
    padding: 18px 0;
  }
}
@media (max-width: 520px) {
  .main-nav .logo img { height: 35px; }
  .footer-nav img { height: 30px; }
  .card, .service-card, .testimonial-card, .product-card, .category-card, .project-card {
    padding: 10px 3vw 10px 3vw;
  }
}

/*---------------------------
  ACCESSIBILITY HINTS
---------------------------*/
:focus-visible {
  outline: 2.5px solid #A56F2E;
  outline-offset: 1.5px;
}

/*---------------------------
  PRINT STYLES
---------------------------*/
@media print {
  header, footer, nav, .cookie-banner, .mobile-menu { display: none !important; }
  .container { padding: 0 18px !important; }
  body { background: #fff; }
}
