/* ===================================================================
   CSS RESET & BASE NORMALIZATION
==================================================================== */
html { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }
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, main, nav, output, ruby, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
body {
  line-height: 1.5;
  background: #FAF9F5;
  color: #3D2C19;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
  border: 0;
}
a {
  color: #3D2C19;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #7B6043;
  text-decoration: underline;
}
ul, ol {
  padding-left: 1.3em;
  margin-bottom: 20px;
}
b, strong { font-weight: bold; }


/* ===================================================================
   BRAND FONTS
   (Playfair Display as display, Roboto as body)
==================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700&family=Roboto:wght@400;500;700&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Garamond, serif;
  color: #3D2C19;
  margin-bottom: 12px;
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.6rem;
  margin-bottom: 20px;
}
h2 {
  font-size: 1.8rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}
@media (max-width: 480px) {
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.22rem; }
  h3 { font-size: 1.04rem; }
}

p, li, blockquote, dd {
  font-family: 'Roboto', Arial, sans-serif;
  color: #3D2C19;
  font-size: 1rem;
  margin-bottom: 10px;
}

blockquote {
  font-family: 'Playfair Display', serif;
  font-size: 1.18rem;
  font-style: italic;
  color: #3D2C19;
  margin-left: 0;
  margin-right: 0;
  border-left: 4px solid #7B6043;
  padding-left: 15px;
  margin-bottom: 10px;
  background: #F4EBDD;
}


/* ===================================================================
   LAYOUT CONTAINER & SECTION SPACING (MOBILE FIRST)
==================================================================== */
.container {
  width: 100%;
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

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

@media (max-width: 900px) {
  .section, section {
    padding: 30px 10px;
    margin-bottom: 36px;
    border-radius: 14px;
  }
}

main {
  margin-top: 32px;
  margin-bottom: 32px;
}

.footer-top, .footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
}

.footer-top { margin-bottom: 20px; }

.footer-bottom { border-top: 1px solid #F4EBDD; padding-top: 12px; gap: 24px; }


/* ===================================================================
   FLEXBOX PATTERNS & UTILITIES
==================================================================== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  margin-bottom: 20px;
  border-radius: 16px;
  box-shadow: 0 2px 10px 0 rgba(61,44,25,0.08);
  position: relative;
  flex: 1 1 280px;
  min-width: 260px;
  max-width: 370px;
  padding: 28px 22px 22px 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: box-shadow 0.2s, transform 0.15s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 4px 24px rgba(61,44,25,0.18);
  transform: translateY(-2px) scale(1.01);
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  align-items: flex-start;
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  background: #F4EBDD;
  box-shadow: 0 1px 8px rgba(61,44,25,0.06);
  border-radius: 18px;
  padding: 20px;
  margin-bottom: 20px;
  min-width: 230px;
  max-width: 620px;
}
.testimonial-info {
  align-self: flex-end;
  font-size: 1rem;
  color: #7B6043;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 500;
  margin-top: 2px;
}
.testimonial-card blockquote {
  background: none;
  border-left: 3px solid #7B6043;
  color: #3D2C19;
  font-size: 1.08rem;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* For / features preview */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  align-items: stretch;
  margin-bottom: 20px;
}
.feature-grid > div {
  background: #FAF9F5;
  border-radius: 16px;
  box-shadow: 0 1px 8px rgba(61,44,25,0.10);
  padding: 24px 18px;
  flex: 1 1 220px;
  min-width: 180px;
  max-width: 310px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  transition: box-shadow 0.2s, transform 0.13s;
}
.feature-grid > div:hover {
  box-shadow: 0 6px 36px 0 rgba(123,96,67,0.14);
  transform: translateY(-3px) scale(1.014);
}

.service-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  align-items: stretch;
  margin-bottom: 24px;
}
.service-cards > div {
  background: #FAF9F5;
  border-radius: 16px;
  box-shadow: 0 1px 8px rgba(61,44,25,0.10);
  padding: 24px 18px;
  flex: 1 1 250px;
  min-width: 200px;
  max-width: 335px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  transition: box-shadow 0.2s, transform 0.14s;
}
.service-cards > div:hover {
  box-shadow: 0 6px 30px 0 rgba(123,96,67,0.13);
  transform: translateY(-3px) scale(1.012);
}

.case-study-list {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: flex-start;
  justify-content: flex-start;
}
.case-study {
  background: #fff;
  border-left: 4px solid #7B6043;
  border-radius: 10px;
  padding: 18px 24px 15px 16px;
  box-shadow: 0 1px 8px rgba(61,44,25,0.04);
  margin-bottom: 20px;
  flex: 1 1 230px;
  min-width: 185px;
  max-width: 330px;
}

.map-placeholder {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #F4EBDD;
  border-radius: 12px;
  padding: 14px 20px;
  margin-top: 18px;
  color: #3D2C19;
  font-size: 0.98rem;
}

.rating-summary {
  background: #F4EBDD;
  border-radius: 14px;
  padding: 14px 18px;
  box-shadow: 0 1px 8px rgba(61,44,25,0.04);
  margin-bottom: 14px;
  margin-top: 18px;
}


/* ===================================================================
   HEADER NAVIGATION & BRANDING
==================================================================== */
header {
  background: #FAF9F5;
  border-bottom: 2px solid #F4EBDD;
  padding-top: 14px;
  padding-bottom: 14px;
}
header .container {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
header img[alt*="logo"] {
  max-height: 54px;
  width: auto;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 500;
}
.main-nav a {
  color: #3D2C19;
  padding: 7px 14px;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
  font-size: 1rem;
}
.main-nav a:hover, .main-nav a:focus {
  background: #F4EBDD;
  color: #7B6043;
}
.cta-button {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.12rem;
  color: #fff;
  background: #7B6043;
  padding: 10px 26px;
  border-radius: 9px;
  border: none;
  box-shadow: 0 2px 8px rgba(61,44,25,0.10);
  transition: background 0.16s, transform 0.19s, box-shadow 0.2s;
  font-weight: 500;
  position: relative;
  cursor: pointer;
  outline: none;
  margin-left: 20px;
}
.cta-button:hover, .cta-button:focus {
  background: #3D2C19;
  color: #F4EBDD;
  transform: translateY(-2px) scale(1.016);
  box-shadow: 0 6px 16px 0 rgba(61,44,25,0.18);
}

/* Mobile menu burger */
.mobile-menu-toggle {
  display: none;
  background: #F4EBDD;
  border: none;
  color: #3D2C19;
  font-size: 2.1rem;
  border-radius: 10px;
  padding: 6px 13px 4px 13px;
  cursor: pointer;
  transition: background 0.19s, color 0.18s, box-shadow 0.16s;
  box-shadow: 0 2px 6px rgba(61,44,25,0.10);
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: #e5d5c2;
  color: #7B6043;
}

@media (max-width: 900px) {
  .main-nav, .cta-button {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  header .container {
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .header .container {
    gap: 2px;
    padding-left: 7px;
    padding-right: 7px;
  }
}

/* ===================================================================
   MOBILE MENU OVERLAY (Slide-in)
==================================================================== */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; bottom: 0; right: 0;
  background: rgba(61,44,25,0.86);
  z-index: 5000;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.32s cubic-bezier(.88,.01,.42,1);
}
.mobile-menu.active { opacity: 1; pointer-events: all; }
.mobile-menu .mobile-nav {
  background: #fff;
  height: 100vh;
  min-width: 75vw;
  max-width: 350px;
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 60px 26px 20px 26px;
  box-shadow: -4px 0 20px 0 rgba(61,44,25,0.22);
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(.88,.01,.42,1);
}
.mobile-menu.active .mobile-nav {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 16px;
  right: 36px;
  background: #F4EBDD;
  color: #3D2C19;
  font-size: 2rem;
  border: none;
  border-radius: 999px;
  width: 40px;
  height: 40px;
  cursor: pointer;
  z-index: 5010;
  box-shadow: 0 2px 8px rgba(61,44,25,0.09);
  transition: background 0.19s, color 0.18s;
  display: flex; align-items: center; justify-content: center;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #e5d5c2;
  color: #7B6043;
}
.mobile-nav a {
  color: #3D2C19;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 500;
  font-size: 1.15rem;
  padding: 16px 0 13px 0;
  border-radius: 6px;
  margin-bottom: 1px;
  transition: background 0.18s, color 0.19s;
  min-width: 90px;
  display: block;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F4EBDD;
  color: #7B6043;
}
@media (max-width: 700px) {
  .mobile-menu .mobile-nav {
    min-width: 94vw;
    padding: 50px 13px 16px 13px;
  }
  .mobile-menu-close { right: 17px; top: 10px; }
}


/* ===================================================================
   FOOTER STYLES
==================================================================== */
footer {
  background: #F4EBDD;
  padding: 40px 0 18px 0;
  color: #3D2C19;
  border-top: 2px solid #eedfc9;
}
footer .footer-nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-family: 'Roboto', Arial, sans-serif;
}
footer .footer-nav a {
  color: #7B6043;
  font-size: 1rem;
  transition: color 0.18s, text-decoration 0.2s;
  padding: 4px 9px;
  border-radius: 6px;
}
footer .footer-nav a:hover {
  color: #3D2C19;  background: #fff;
  text-decoration: underline;
}
footer .footer-top a img {
  max-height: 40px;
}
footer .contact-details {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.98rem;
  color: #3D2C19;
  font-family: 'Roboto', Arial, sans-serif;
  margin-bottom: 10px;
}
footer .contact-details img {
  width: 18px;
  margin-right: 7px;
  vertical-align: middle;
}
footer .social-links {
  display: flex;
  gap: 18px;
}
footer .social-links a img {
  width: 28px;
  height: 28px;
  transition: transform 0.17s, filter 0.13s;
  filter: grayscale(60%) brightness(0.9);
}
footer .social-links a:hover img {
  transform: scale(1.13) rotate(-3deg);
  filter: grayscale(0%) brightness(1.3);
}

/* ===================================================================
   SECTION/CONTENT COMMON WRAPPER & UTILS
==================================================================== */
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}
.text-section {
  max-width: 750px;
}

/* ===================================================================
   RESPONSIVE/FLEX DIRECTION SWAPS
==================================================================== */
@media (max-width: 900px) {
  .feature-grid, .service-cards, .card-container, .case-study-list, .content-grid {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .footer-top, .footer-bottom {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}


/* ===================================================================
   FORM STYLES (for contact.html if needed in future)
==================================================================== */
input, textarea, select {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #3D2C19;
  border: 1.5px solid #F4EBDD;
  border-radius: 7px;
  padding: 10px 12px;
  margin-bottom: 14px;
  background: #FAF9F5;
  outline: none;
  width: 100%;
  transition: border 0.18s, box-shadow 0.14s;
  box-sizing: border-box;
}
input:focus, textarea:focus, select:focus {
  border-color: #7B6043;
  box-shadow: 0 0 0 2px #e5d5c2;
}

button {
  cursor: pointer;
  font-family: 'Roboto', Arial, sans-serif;
  border: none;
  outline: none;
  transition: background 0.16s, color 0.13s;
}


/* ===================================================================
   MICRO-INTERACTIONS AND HOVER ANIMATIONS
==================================================================== */
.card, .feature-grid > div, .service-cards > div, .case-study, .testimonial-card {
  transition: box-shadow 0.21s, transform 0.14s;
}
.card:hover, .feature-grid > div:hover, .service-cards > div:hover, .case-study:hover, .testimonial-card:hover {
  box-shadow: 0 8px 28px 0 rgba(123,96,67,0.15);
  transform: translateY(-4px) scale(1.015);
}
.cta-button:active, .card:active, .feature-grid > div:active, .service-cards > div:active {
  transform: scale(0.98);
}


/* ===================================================================
   COOKIE CONSENT BANNER & POPUP
==================================================================== */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  width: 100vw;
  background: #fffaf6;
  box-shadow: 0 -2px 22px 0 rgba(61,44,25,0.11);
  z-index: 7000;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 16px 34px 16px 20px;
  border-top: 2px solid #F4EBDD;
  font-size: 1rem;
  min-height: 68px;
  animation: cookie-slide-up 0.5s cubic-bezier(.82,.04,.13,.98);
}
@media (max-width: 650px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 12px 10px 15px 10px;
  }
}
@keyframes cookie-slide-up {
  0% { transform: translateY(120%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.cookie-btn {
  background: #7B6043;
  color: #fff;
  border: none;
  border-radius: 7px;
  padding: 9px 22px;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  margin-right: 4px;
  transition: background 0.17s, color 0.13s, box-shadow 0.17s, transform 0.13s;
  box-shadow: 0 1px 4px rgba(123,96,67,0.10);
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #3D2C19;
  color: #F4EBDD;
  box-shadow: 0 2px 12px rgba(61,44,25,0.13);
  transform: translateY(-1px) scale(1.02);
}
.cookie-btn.settings {
  background: #F4EBDD;
  color: #3D2C19;
  border: 1.5px solid #7B6043;
}
.cookie-btn.settings:hover {
  background: #fff;
  color: #7B6043;
}

/* COOKIE MODAL OVERLAY */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  top:0; left: 0; right: 0; bottom: 0;
  background: rgba(61,44,25,0.40);
  z-index: 7001;
  align-items: center;
  justify-content: center;
  transition: opacity 0.24s;
}
.cookie-modal-overlay.open {
  display: flex;
  animation: fadein 0.25s linear;
}
@keyframes fadein {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 18px;
  max-width: 415px;
  width: 95vw;
  padding: 36px 30px 28px 30px;
  box-shadow: 0 8px 40px 8px rgba(61,44,25,0.16);
  border: 1.5px solid #e5d5c2;
  display: flex;
  flex-direction: column;
  gap: 21px;
  font-family: 'Roboto', Arial, sans-serif;
}
.cookie-modal h2 {
  font-size: 1.32rem;
  color: #3D2C19;
  font-family: 'Playfair Display', serif;
  margin-bottom: 8px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
  font-size: 1rem;
  color: #3D2C19;
}
.cookie-category input[type=checkbox] {
  width: 20px; height: 20px;
  accent-color: #7B6043;
  margin-right: 4px;
}
.cookie-category.essential label {
  color: #a79b8f!important;
  font-weight: 500;
  cursor: not-allowed;
}
.cookie-modal .cookie-action-bar {
  display: flex;
  gap: 12px;
  margin-top: 22px;
}


/* ===================================================================
   TYPOGRAPHY EXTRAS & DEFINITIONS
==================================================================== */
dt { font-weight: 600; margin-bottom: 4px; color: #3D2C19; }
dd { margin-left: 18px; margin-bottom: 10px; color: #7B6043; }
hr {
  background: #F4EBDD;
  border: none;
  height: 1.5px;
  margin: 24px 0;
}


/* ===================================================================
   MISC MEDIA QUERIES
==================================================================== */
@media (max-width: 570px) {
  .container, .content-wrapper, .text-section, .footer-bottom, .footer-top {
    padding-left: 0; padding-right: 0;
    width: 100%;
    max-width: 100vw;
  }
  .case-study, .testimonial-card, .feature-grid > div, .service-cards > div, .map-placeholder {
    padding-left: 9px;
    padding-right: 9px;
  }
}

/* Accessible outlines for focused elements */
a:focus, button:focus, input:focus, .cta-button:focus {
  outline: 2px solid #7B6043;
  outline-offset: 2px;
}

/* Hide visually but remain accessible */
.sr-only {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ===================================================================
   ENSURE NO OVERLAPPING AND CONSISTENT SPACING
==================================================================== */
section, .section, .content-wrapper, .card, .testimonial-card, .feature-grid > div, .service-cards > div, .case-study {
  margin-bottom: 20px;
}

/* MIN GAP BETWEEN ALL FLEX CHILDREN */
.card-container > *, .feature-grid > *, .service-cards > *, .case-study-list > *, .content-grid > * {
  margin-bottom: 0;
  min-width: 0px;
}

/* FORM FIELDS IN CONTACT SECTION */
.contact-details {
  gap: 10px;
}
.map-placeholder img {
  width: 32px;
  height: 32px;
  margin-right: 5px;
}


/* END OF STYLE.CSS */