/* =====================================
   CSS RESET & NORMALIZE
   ===================================== */
html {
  box-sizing: border-box;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  background: #fff;
  color: #222;
  font-family: 'Source Sans Pro', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  min-height: 100vh;
  letter-spacing: 0.01em;
}
img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}
ul, ol {
  padding-left: 24px;
  margin: 16px 0;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  color: #111;
  margin-bottom: 12px;
  line-height: 1.2;
}
h1 {
  font-size: 2.75rem;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
  letter-spacing: -0.3px;
}
h3 {
  font-size: 1.35rem;
  color: #222;
}
h4 {
  font-size: 1.1rem;
  color: #444;
  font-weight: 500;
}
p {
  margin-bottom: 16px;
}
a {
  color: #111;
  text-decoration: underline;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #283E37;
  text-decoration: none;
}
strong, b {
  font-weight: 700;
}

/* =====================================
   CONTAINER & LAYOUT
   ===================================== */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 20px 0 rgba(8,8,12,0.08);
  position: relative;
}

/* =====================================
   HEADER & NAVIGATION
   ===================================== */
header {
  background: #fff;
  box-shadow: 0 2px 20px 0 rgba(12,12,20,0.05);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 80;
}
header .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 20px;
}
header img {
  height: 42px;
  margin-right: 22px;
}
.main-nav {
  display: flex;
  flex-direction: row;
  gap: 28px;
  align-items: center;
  margin-right: auto;
  margin-left: 30px;
}
.main-nav a {
  color: #222;
  letter-spacing: 0.04em;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.05rem;
  text-decoration: none;
  transition: color 0.2s;
  padding: 8px 4px;
  border-radius: 3px;
  position: relative;
}
.main-nav a:hover,
.main-nav a:focus {
  color: #283E37;
  background: #f5f5f5;
  text-decoration: underline;
}
.btn-primary {
  background: #222;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 32px;
  padding: 12px 34px;
  letter-spacing: 0.07em;
  box-shadow: 0 2px 6px rgba(8,8,12,0.06);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s;
  margin-left: 26px;
  display: inline-block;
}
.btn-primary:hover, .btn-primary:focus {
  background: #111;
  color: #fff;
  box-shadow: 0 4px 18px rgba(40,62,55,0.17);
  transform: translateY(-2px) scale(1.03);
}

/* Mobile burger menu button */
.mobile-menu-toggle {
  background: none;
  border: none;
  font-size: 2rem;
  color: #111;
  cursor: pointer;
  margin-left: 20px;
  display: none;
  z-index: 120;
  padding: 4px 10px;
}

/* Mobile menu overlay */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(15,15,17,0.96);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding-top: 24px;
  padding-left: 0;
  z-index: 150;
  transform: translateX(-100vw);
  transition: transform 0.35s cubic-bezier(0.66,0,0.34,1);
  box-shadow: 0 2px 32px rgba(8,8,8,0.29);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.1rem;
  cursor: pointer;
  padding: 6px 12px;
  margin-left: 12px;
  margin-bottom: 32px;
  align-self: flex-end;
  z-index: 152;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  margin-top: 12px;
  margin-left: 32px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.28rem;
  font-family: 'Montserrat', Arial, sans-serif;
  text-decoration: none;
  padding: 11px 10px;
  border-radius: 4px;
  transition: background 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #222;
}

/* =====================================
   FOOTER
   ===================================== */
footer {
  background: #161616;
  color: #e5e5e5;
  font-size: 1rem;
  margin-top: 60px;
  padding: 40px 0;
}
footer .container {
  flex-direction: column;
  gap: 22px;
  align-items: stretch;
}
.footer-navigation {
  display: flex;
  flex-direction: row;
  gap: 30px;
  align-items: center;
  margin-bottom: 12px;
}
.footer-navigation a {
  color: #e5e5e5;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  text-decoration: none;
  transition: color 0.17s;
}
.footer-navigation a:hover, .footer-navigation a:focus {
  color: #fff;
  text-decoration: underline;
}
.footer-info {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  font-size: 1rem;
  letter-spacing: 0.02em;
  line-height: 1.7;
}
.footer-info span {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
}
footer img {
  height: 26px;
  vertical-align: middle;
}

/* =====================================
   FLEXBOX LAYOUT PATTERNS (MANDATORY)
   ===================================== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 5px 20px 0 rgba(12,12,15,0.10);
  margin-bottom: 20px;
  position: relative;
  padding: 32px 26px;
}
.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;
  background: #fafafa;
  color: #181818;
  border-left: 5px solid #111;
  border-radius: 12px;
  padding: 20px;
  margin: 20px 0;
  box-shadow: 0 2px 16px 0 rgba(16,16,20,0.06);
  font-style: italic;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.testimonial-card strong {
  font-style: normal;
  font-weight: 700;
  margin-left: 10px;
  color: #283E37;
}
.testimonial-card:hover, .testimonial-card:focus {
  box-shadow: 0 8px 32px 0 rgba(40,62,55,0.13);
  border-left: 5px solid #A67A43;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Feature/Service/Timeline grids using flex */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 12px;
  align-items: stretch;
}
.feature-grid > div {
  background: #fafafa;
  border-radius: 15px;
  box-shadow: 0 4px 16px 0 rgba(20,20,22,0.08);
  padding: 28px 22px;
  flex: 1 1 220px;
  min-width: 260px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.2s, transform 0.2s;
  margin-bottom: 20px;
}
.feature-grid > div:hover {
  box-shadow: 0 8px 30px 0 rgba(40,62,55,0.13);
  transform: scale(1.031);
}
.feature-grid img {
  margin-bottom: 12px;
  height: 48px;
  filter: grayscale(1);
}

.step-timeline {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
  margin-bottom: 6px;
}
.step-timeline > div {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 4px 24px 0 rgba(20,20,22,0.07);
  padding: 28px 24px 18px 24px;
  flex: 1 1 210px;
  min-width: 210px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.18s, border-color 0.2s;
  border-left: 4px solid #eee;
}
.step-timeline > div:hover {
  box-shadow: 0 8px 24px 0 rgba(40,62,55,0.12);
  border-left: 4px solid #7C5215;
}

.blog-list {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin-bottom: 16px;
}
.blog-list article {
  background: #fafafb;
  border-radius: 14px;
  box-shadow: 0 2px 14px 0 rgba(8,8,16,0.09);
  padding: 24px 20px;
  flex: 1 1 285px;
  min-width: 260px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.18s, transform 0.2s;
}
.blog-list article:hover {
  box-shadow: 0 8px 32px 0 rgba(40,62,55,0.13);
  transform: scale(1.025);
}

.faq-list {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: flex-start;
  margin-bottom: 10px;
}
.faq-list > div {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 16px 0 rgba(36,36,36,0.10);
  padding: 22px 20px;
  flex: 1 1 240px;
  min-width: 240px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.latest-posts {
  margin-top: 10px;
  background: #f5f5f5;
  border-radius: 10px;
  padding: 18px 14px;
}
.latest-posts ul {
  margin: 0;
  padding-left: 18px;
}
.latest-posts li a {
  color: #111;
  text-decoration: none;
  transition: text-decoration 0.2s;
}
.latest-posts li a:hover, .latest-posts li a:focus {
  text-decoration: underline;
}

.map-placeholder {
  background: #fafafa;
  border: 1px dashed #ccc;
  border-radius: 9px;
  padding: 15px 20px;
  margin: 18px 0;
  color: #333 !important;
  font-size: 0.98rem;
  font-family: 'Source Sans Pro', Arial, sans-serif;
}

/* =====================================
   BLOG FILTER
   ===================================== */
.blog-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 26px;
  align-items: center;
}
.blog-filter a {
  background: #fff;
  color: #222;
  padding: 8px 18px;
  border-radius: 50px;
  border: 1px solid #eee;
  text-decoration: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  transition: background 0.16s, color 0.16s;
}
.blog-filter a.active, .blog-filter a:hover, .blog-filter a:focus {
  background: #191919;
  color: #fff;
  border-color: #111;
}

/* =====================================
   SPACING & ALIGNMENT
   ===================================== */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
section:last-child {
  margin-bottom: 0;
}

ul, ol {
  margin-bottom: 18px;
}

/* =====================================
   BUTTONS, LINKS, INTERACTIONS
   ===================================== */
.btn-primary:active {
  background: #7C5215;
  color: #fff;
}

/* Other styled buttons (cookie, etc) */
.btn-secondary {
  background: #fff;
  color: #222;
  border: 1px solid #bbb;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding: 12px 26px;
  border-radius: 28px;
  margin-right: 16px;
  cursor: pointer;
  transition: background 0.17s, color 0.17s, border 0.2s;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #fafafa;
  border-color: #7C5215;
  color: #181818;
}
.btn-outline {
  background: none;
  color: #111;
  border: 2px solid #7C5215;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding: 10px 22px;
  border-radius: 26px;
  margin-right: 16px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.btn-outline:hover, .btn-outline:focus {
  background: #7C5215;
  color: #fff;
}

/* =====================================
   COOKIE CONSENT BANNER & MODAL
   ===================================== */
.cookie-consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #191919;
  color: #fff;
  box-shadow: 0 -1px 16px 0 rgba(40,62,55,0.14);
  z-index: 2040;
  padding: 22px 20px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  animation: cookieBannerSlideUp 0.7s cubic-bezier(0.77,0,0.18,1);
}
@keyframes cookieBannerSlideUp {
  0% { transform: translateY(180px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-consent-banner p {
  font-size: 1.03rem;
  margin-bottom: 0;
}
.cookie-buttons {
  display: flex;
  flex-direction: row;
  gap: 12px;
  align-items: center;
}
.cookie-consent-banner .btn-primary {
  padding: 10px 20px;
  font-size: 1rem;
  margin-left: 0;
}
.cookie-consent-banner .btn-secondary {
  padding: 10px 20px;
  font-size: 1rem;
  margin-right: 0;
}
.cookie-consent-banner .btn-outline {
  padding: 10px 20px;
  font-size: 1rem;
}

/* COOKIE PREFERENCES MODAL */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(25,25,25, 0.88);
  z-index: 2090;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s;
  animation: cookieModalSlide .33s ease;
}
@keyframes cookieModalSlide {
  0% { opacity: 0; transform: scale(1.12); }
  100% { opacity: 1; transform: scale(1); }
}
.cookie-modal {
  background: #f9f9f9;
  color: #181818;
  border-radius: 18px;
  max-width: 410px;
  width: 94vw;
  padding: 36px 32px 28px 32px;
  box-shadow: 0 8px 32px 0 rgba(40,62,55,0.16);
  font-family: 'Source Sans Pro', Arial, sans-serif;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.cookie-modal h2 {
  font-size: 1.4rem;
  margin-bottom: 8px;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #181818;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 8px 0;
}
.cookie-category label {
  font-size: 1.09rem;
}
.cookie-toggle {
  appearance: none;
  width: 44px;
  height: 24px;
  background: #d2d2d2;
  border-radius: 13px;
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background .15s;
}
.cookie-toggle:checked {
  background: #283E37;
}
.cookie-toggle:before {
  content: '';
  position: absolute;
  left: 4px;
  top: 3px;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(60,60,60,0.09);
  transition: left .14s;
}
.cookie-toggle:checked:before {
  left: 22px;
}
.cookie-modal .btn-primary, .cookie-modal .btn-secondary {
  margin-top: 18px;
  width: 100%;
  padding: 13px 0;
}
.cookie-modal .btn-close {
  background: none;
  border: none;
  color: #181818;
  font-size: 1.7rem;
  position: absolute;
  top: 14px;
  right: 20px;
  cursor: pointer;
}

/* =====================================
   MONOCHROME SOPHISTICATED THEMING
   ===================================== */
body {
  background: #fff;
  color: #181818;
}
.section, .card, .feature-grid > div, .step-timeline > div, .faq-list > div, .blog-list article {
  background: #fff;
  color: #181818;
  border-radius: 14px;
  box-shadow: 0 4px 18px 0 rgba(10,10,12,0.08);
}

.feature-grid > div, .step-timeline > div, .faq-list > div, .card {
  border: 1.5px solid #ececec;
}

/* Emphasize hierarchy */
.feature-grid > div:hover, .step-timeline > div:hover, .faq-list > div:hover, .blog-list article:hover, .card:hover {
  border-color: #A67A43;
  box-shadow: 0 8px 28px 0 rgba(40,62,55,0.13);
}
h1, h2, h3 {
  color: #111;
}

/* Subtle accent lines */
h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: #222;
  margin-top: 9px;
  border-radius: 5px;
  opacity: 0.11;
}

/* Accordion, FAQ, etc. */
.faq-list h3 {
  font-size: 1.07rem;
  font-family: 'Montserrat', Arial, sans-serif;
}

/* =====================================
   RESPONSIVE DESIGN
   ===================================== */
@media (max-width: 1080px) {
  .container {
    max-width: 95vw;
    padding: 0 12px;
  }
  .main-nav {
    gap: 18px;
    margin-left: 19px;
  }
  .footer-info {
    gap: 13px;
  }
}
@media (max-width: 900px) {
  h1 { font-size: 2.05rem; }
  h2 { font-size: 1.32rem; }
  .footer-navigation { gap: 18px; }
}
@media (max-width: 768px) {
  .container {
    padding: 0 7px;
  }
  header .container, footer .container {
    flex-direction: column;
    gap: 14px;
    align-items: stretch;
  }
  .main-nav {
    display: none;
  }
  .btn-primary {
    margin-left: 0;
    margin-top: 10px;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .feature-grid,
  .step-timeline,
  .faq-list,
  .blog-list,
  .footer-info {
    flex-direction: column;
    gap: 16px;
  }
  .feature-grid > div,
  .step-timeline > div,
  .faq-list > div,
  .blog-list article {
    min-width: 0;
    width: 100%;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  section {
    padding: 23px 5px;
  }
}
@media (max-width:520px) {
  .blog-filter { gap: 7px; }
  .cookie-consent-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 15px 8px;
    font-size: 0.97rem;
  }
  .cookie-buttons {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  .footer-info, .footer-navigation {
    flex-direction: column;
    gap: 11px;
  }
  .cookie-modal {
    padding: 18px 7px 18px 14px;
    max-width: 98vw;
  }
}

/* =====================================
   CUSTOM SCROLLBAR (subtle, monochrome)
   ===================================== */
::-webkit-scrollbar {
  width: 10px;
  background: #fcfcfc;
}
::-webkit-scrollbar-thumb {
  background: #e3e3e3;
  border-radius: 8px;
}
::-webkit-scrollbar-thumb:hover {
  background: #c9c9c9;
}

/* =====================================
   MICRO-INTERACTIONS & TRANSITIONS
   ===================================== */
a, .btn-primary, .btn-secondary, .btn-outline, .feature-grid > div, .step-timeline > div, .blog-list article, .testimonial-card {
  transition: 0.17s all cubic-bezier(.7,.1,.35,1.34);
}

.card, .feature-grid > div, .step-timeline > div, .faq-list > div, .blog-list article, .testimonial-card {
  will-change: transform, box-shadow;
}

/* =====================================
   PRINT STYLES
   ===================================== */
@media print {
  header, footer, .mobile-menu, .cookie-consent-banner, .cookie-modal-overlay { display: none !important; }
  body { background: #fff !important; color: #181818 !important; }
}
