/* =======================================================
   CSS RESET & BASE STYLES
======================================================= */
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;
}
/* HTML5 display-role reset */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #faf9f7;
  color: #212229;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 16px;
  min-height: 100vh;
}
ul, ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
  background: transparent;
  transition: color 0.2s;
}
img, picture {
  max-width: 100%;
  height: auto;
  display: block;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}
strong {
  font-weight: bold;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, serif;
  color: #212229;
  margin-bottom: 16px;
  line-height: 1.18;
}
h1 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 20px;
}
h2 {
  font-size: 1.65rem;
  font-weight: 600;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.28rem;
  font-weight: 500;
  margin-bottom: 14px;
}
h4, h5, h6 {
  font-size: 1.07rem;
  font-weight: 500;
}
p {
  margin-bottom: 18px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #212229;
}

/* =======================================================
   CORE CONTAINER & LAYOUT
======================================================= */
.container {
  width: 100%;
  max-width: 1090px;
  margin: 0 auto;
  padding: 0 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.text-section {
  max-width: 720px;
  margin: 0 auto;
}

/* ---------------------------------
   FLEX LAYOUT UTILITIES & PATTERNS
--------------------------------- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 24px 0 rgba(33,34,41,0.06);
  padding: 28px 24px 26px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-width: 240px;
  flex: 1 1 270px;
}
.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;
  padding: 20px;
  background: #f5f3ee;
  border-radius: 14px;
  box-shadow: 0 2px 8px 0 rgba(33,34,41,0.055);
  margin-bottom: 20px;
  border: 1px solid #e8e6de;
  transition: box-shadow 0.19s;
}
.testimonial-card p {
  color: #212229;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.15rem;
  font-style: italic;
  margin: 0 0 8px 0;
  flex: 1 1 auto;
}
.testimonial-card strong {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #AFAFAF;
  font-size: 1rem;
  min-width: 140px;
  text-align: right;
  letter-spacing: 0.2px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 18px;
}

/* ---------------------------------
   SERVICES/ CARDS/ GRIDS
--------------------------------- */
.services-grid, .services-list-detailed {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 30px;
  justify-content: flex-start;
}
.service-card {
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 4px 24px 0 rgba(33,34,41,0.08);
  padding: 26px 22px;
  flex: 1 1 240px;
  min-width: 220px;
  max-width: 330px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid #ece8d8;
  position: relative;
  transition: box-shadow 0.18s, border 0.18s;
}
.service-card h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.17rem;
  font-weight: 600;
  margin-bottom: 9px;
}
.service-card span {
  margin-top: 13px;
  color: #EEC36B;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.01rem;
  letter-spacing: 0.1px;
  font-weight: 600;
}
.service-card:hover,
.service-card:focus {
  box-shadow: 0 6px 20px 0 rgba(33,34,41,0.14);
  border: 1.5px solid #EEC36B;
}

/* =======================================================
   NAVIGATION & HEADER
======================================================= */
header {
  background: #fff;
  border-bottom: 1.5px solid #ece8d8;
  box-shadow: 0 3px 10px 0 rgba(51,40,18,0.03);
  width: 100%;
  z-index: 31;
  position: relative;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 20px 15px 20px;
  flex-wrap: wrap;
  gap: 10px 18px;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0 26px;
  margin-left: 24px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #212229;
  letter-spacing: 0.2px;
  padding: 6px 6px 10px;
  position: relative;
  transition: color 0.22s;
}
.main-nav a:after {
  display: block;
  content: '';
  border-radius: 2px;
  margin: 2px auto 0 auto;
  width: 0%;
  height: 2.5px;
  background: #EEC36B;
  transition: width 0.23s;
}
.main-nav a:hover,
.main-nav a:focus {
  color: #EEC36B;
}
.main-nav a:hover:after,
.main-nav a:focus:after {
  width: 90%;
}
.cta.primary {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.06rem;
  background: #EEC36B;
  color: #212229;
  padding: 10px 24px;
  border-radius: 384px;
  font-weight: 700;
  box-shadow: 0px 2px 10px 0 rgba(238,195,107,0.13);
  border: none;
  margin-left: 18px;
  letter-spacing: 0.41px;
  text-align: center;
  display: inline-block;
  transition: box-shadow 0.17s, background 0.18s, color 0.15s;
  cursor: pointer;
}
.cta.primary:hover,
.cta.primary:focus {
  background: #eecd88;
  box-shadow: 0px 4px 18px 2px rgba(238,195,107,0.24);
  color: #2d2c23;
}
.cta {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.01rem;
  background: #fff;
  border: 1.3px solid #EEC36B;
  color: #212229;
  padding: 10px 16px;
  border-radius: 340px;
  display: inline-block;
  margin-top: 8px;
  margin-right: 8px;
  font-weight: 500;
  transition: background 0.18s, border 0.17s, color .17s;
  box-shadow: 0 1px 6px 0 rgba(238,195,107,0.08);
  cursor: pointer;
}
.cta:hover,
.cta:focus {
  background: #f8edcf;
  border-color: #eecd88;
  color: #6a5a12;
}
header img {
  height: 34px;
  min-width: 120px;
}

/* ---------------------------------
   MOBILE NAVIGATION
--------------------------------- */
.mobile-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 15px;
  background: none;
  border: none;
  color: #212229;
  font-size: 2.2rem;
  border-radius: 8px;
  cursor: pointer;
  margin-left: 14px;
  transition: background 0.14s;
  z-index: 52;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: #ece8d8;
}
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 100vw;
  background: #fff;
  z-index: 99;
  box-shadow: -2px 0 18px 2px rgba(60,51,12,0.10);
  transform: translateX(100%);
  transition: transform 0.33s cubic-bezier(0.75,0.13,0.26,1), opacity 0.27s;
  pointer-events: none;
  display: flex;
  flex-direction: column;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #EEC36B;
  font-size: 2.35rem;
  position: absolute;
  right: 20px;
  top: 18px;
  z-index: 1001;
  padding: 5px 12px 8px 12px;
  border-radius: 7px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  cursor: pointer;
  transition: background 0.17s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #f8edcf;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: start;
  padding: 90px 40px 30px 30px;
  gap: 20px;
  width: 70vw;
  max-width: 320px;
  min-width: 210px;
  height: 100vh;
}
.mobile-nav a {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.18rem;
  color: #212229;
  font-weight: 500;
  display: block;
  padding: 8px 0 10px 0;
  border-radius: 4px;
  transition: background 0.17s, color 0.15s;
  min-width: 180px;
}
.mobile-nav a:active,
.mobile-nav a:focus,
.mobile-nav a:hover {
  background: #eecd88;
  color: #222;
}

@media (min-width: 1020px) {
  .mobile-menu-toggle, .mobile-menu {
    display: none !important;
    pointer-events: none;
  }
  .main-nav {
    display: flex !important;
  }
}
@media (max-width: 1019px) {
  .main-nav {
    display: none !important;
  }
}

/* =======================================================
   SECTION & PAGE LAYOUTS
======================================================= */
section {
  margin-bottom: 60px;
  padding: 40px 0;
}

@media (max-width: 768px) {
  section, .section {
    padding: 27px 0;
    margin-bottom: 38px;
  }
}

/* Spacing between all content wrappers */
.content-wrapper {
  gap: 21px;
}

@media (max-width: 768px) {
  .container {
    max-width: 98vw;
    padding: 0 12px;
  }
  .content-wrapper {
    gap: 16px;
  }
  .main-nav {
    gap: 0 11px;
  }
}

/* Responsive grids and cards */
@media (max-width: 968px) {
  .services-grid, .services-list-detailed {
    flex-wrap: wrap;
    gap: 21px;
  }
  .service-card {
    max-width: 100%;
    flex-basis: 45%;
  }
}
@media (max-width: 650px) {
  .services-grid, .services-list-detailed {
    flex-direction: column;
    gap: 16px;
  }
  .service-card {
    flex-basis: 100%;
    max-width: 100%;
  }
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 17px;
  }
  .content-grid {
    flex-direction: column;
  }
}

/* Lists in Feature/Section */
ul, ol {
  list-style: disc inside;
  margin-bottom: 18px;
}
ul > li, ol > li {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #342d1f;
  font-size: 1rem;
  margin-bottom: 9px;
  line-height: 1.5;
  padding-left: 9px;
}
.text-section ul {
  margin-bottom: 15px;
}

/* =================================================================
   BUTTONS AND INTERACTIVE ELEMENTS
================================================================= */
button {
  font-family: inherit;
  font-size: 1rem;
  background: none;
  border: none;
  cursor: pointer;
  outline: none;
}
button:focus {
  outline: 2px solid #eecd88;
  outline-offset: 2px;
}

/* Smooth transitions on cards, buttons, menu, etc. */
*, *:before, *:after {
  box-sizing: inherit;
  transition: background 0.18s, border 0.17s, color 0.18s, box-shadow 0.19s;
}

/* =======================================================
   FOOTER
======================================================= */
footer {
  background: #f5f3ee;
  border-top: 1.3px solid #ece8d8;
  padding: 30px 0 22px 0;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
footer img {
  height: 28px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin: 13px 0 7px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 0.97rem;
}
.footer-nav a {
  color: #AFAFAF;
  text-decoration: none;
  letter-spacing: 0.09px;
}
.footer-nav a:hover,
.footer-nav a:focus {
  color: #EEC36B;
}
.footer-info {
  color: #84807a;
  font-size: 0.97rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  text-align: center;
  margin-top: 8px;
}
@media (max-width: 768px) {
  footer .container {
    gap: 9px;
  }
  .footer-nav {
    gap: 11px;
    font-size: 0.914rem;
  }
}

/* =======================================================
   CONTACT
======================================================= */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 19px;
}
.contact-details p {
  margin-bottom: 0;
  font-size: 1rem;
}
.map-teaser {
  margin-top: 12px;
  color: #6b6048;
  font-size: 0.99rem;
  font-style: italic;
}

/* =======================================================
   COOKIE CONSENT BANNER & MODAL
======================================================= */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  background: #fffbe7;
  color: #212229;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  border-top: 2px solid #EEC36B;
  box-shadow: 0 -2px 14px 0 rgba(32,27,7,0.10);
  padding: 24px 20px 20px 20px;
  z-index: 3002;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  opacity: 1;
  transform: translateY(0);
  transition: transform 0.3s cubic-bezier(.45,.3,.14,1), opacity 0.2s;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
}
.cookie-banner-text {
  font-size: 1.04rem;
  color: #342d1f;
  margin-bottom: 0;
  text-align: center;
}
.cookie-btns {
  display: flex;
  gap: 16px;
  width: auto;
  flex-wrap: wrap;
}
.cookie-banner button, .cookie-banner .cta {
  padding: 7px 18px;
  background: #fff;
  color: #212229;
  border: 1.2px solid #EEC36B;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1rem;
  transition: background 0.16s, border 0.13s, color 0.15s;
  margin: 0 1px;
  min-width: 120px;
}
.cookie-banner button.accept {
  background: #EEC36B;
  color: #212229;
  border: none;
}
.cookie-banner button.accept:hover,
.cookie-banner button.accept:focus {
  background: #ffe49f;
  color: #111;
}
.cookie-banner button.reject {
  background: #f6f4eb;
  color: #854501;
}
.cookie-banner button.reject:hover,
.cookie-banner button.reject:focus {
  background: #eecd88;
  color: #583900;
}
.cookie-banner button.settings {
  background: #fff;
  color: #797351;
  border-color: #ece8d8;
}
.cookie-banner button.settings:hover,
.cookie-banner button.settings:focus {
  border-color: #EEC36B;
  background: #f5f3ee;
  color: #212229;
}

/* Cookie Preference Modal */
.cookie-modal-backdrop {
  position: fixed;
  z-index: 3100;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(33,34,41,0.23);
  opacity: 1;
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cookie-modal {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 5px 44px 0 rgba(37,34,10,0.16);
  padding: 32px 25px 26px 25px;
  max-width: 440px;
  min-width: 260px;
  width: 94vw;
  z-index: 3200;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: cookieModalIn .36s cubic-bezier(0.73,0.16,0.18,1);
}
@keyframes cookieModalIn {
  0% { opacity: 0; transform: scale(.85) translateY(40px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}
.cookie-modal-close {
  position: absolute;
  top: 9px;
  right: 13px;
  background: none;
  border: none;
  color: #EEC36B;
  font-size: 1.9rem;
  border-radius: 8px;
  padding: 5px 11px 5px 11px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  cursor: pointer;
  z-index: 3300;
  transition: background 0.13s;
}
.cookie-modal-close:hover,
.cookie-modal-close:focus {
  background: #f5f3ee;
}
.cookie-modal h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.16rem;
  font-weight: 600;
  margin-bottom: 9px;
  color: #212229;
}
.cookie-modal-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 13px;
  font-size: 1.01rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  margin-bottom: 8px;
}
.cookie-modal-category label {
  color: #212229;
}
.cookie-modal-category span.required {
  color: #a0945b;
  font-size: 0.99em;
  margin-left: 7px;
  font-style: italic;
}
.cookie-category-toggle {
  min-width: 45px;
  height: 24px;
  border-radius: 20px;
  background: #ece8d8;
  border: 1.2px solid #eecd88;
  cursor: pointer;
  position: relative;
  display: inline-block;
}
.cookie-category-toggle input[type="checkbox"] {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-category-slider {
  position: absolute;
  left: 1.5px;
  top: 2px;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px 0 rgba(0,0,0,0.04);
  border: 1.5px solid #EEC36B;
  transition: left 0.18s, background 0.17s, border 0.16s;
}
.cookie-category-toggle input[type="checkbox"]:checked + .cookie-category-slider {
  left: 22px;
  background: #EEC36B;
  border: 1.4px solid #EEC36B;
}
.cookie-modal-actions {
  display: flex;
  gap: 17px;
  margin-top: 12px;
}
.cookie-modal-actions button {
  padding: 8px 17px;
  font-size: 1rem;
  border-radius: 20px;
  font-weight: 600;
  min-width: 105px;
}
.cookie-modal-actions .accept {
  background: #EEC36B;
  color: #212229;
  border: none;
}
.cookie-modal-actions .reject, .cookie-modal-actions .save {
  background: #fff;
  color: #212229;
  border: 1.2px solid #EEC36B;
}

/* Hide backdrop/modal on close */
.cookie-modal-backdrop.hide {
  opacity: 0;
  pointer-events: none;
}

/* =======================================================
   MISC/ TYPOGRAPHY/ ANIMATIONS
======================================================= */
::-webkit-scrollbar {
  width: 12px;
  background: #f5f4ea;
}
::-webkit-scrollbar-thumb {
  background: #ece8d8;
  border-radius: 9px;
}
::-webkit-scrollbar-thumb:hover {
  background: #EEC36B;
}

/* Link underline effect */
a.underline,
a[href].underline {
  box-shadow: inset 0 -2px 0 #EEC36B;
  transition: box-shadow 0.17s;
}
a.underline:hover,
a.underline:focus {
  box-shadow: inset 0 -7px 0 #EEC36B;
}

/* Fade in for sections */
@media (prefers-reduced-motion: no-preference) {
  .fade-in {
    opacity: 0;
    transform: translateY(22px);
    animation: fadeinsection 0.825s cubic-bezier(.7,.13,.24,.99) forwards;
  }
}
@keyframes fadeinsection {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =======================================================
   RESPONSIVE TYPOGRAPHY
======================================================= */
@media (max-width: 700px) {
  h1 { font-size: 1.45rem; }
  h2 { font-size: 1.19rem; }
  h3 { font-size: 1.06rem; }
  p, ul > li, .footer-info, .footer-nav, .contact-details p {
    font-size: 0.98rem;
  }
}

/* =======================================================
   PRINT
======================================================= */
@media print {
  html, body {
    background: #fff !important;
  }
  header, footer, .cookie-banner, .mobile-menu {
    display: none !important;
  }
  section, .section, .container {
    box-shadow: none !important;
    border: none !important;
    background: #fff !important;
  }
}
