/* Reset & Font Import */
@import url('https://fonts.googleapis.com/css?family=Playfair+Display:700,400&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote,
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, 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 {
  scroll-behavior: smooth;
}
body {
  background: #F5F3F0;
  color: #1D2327;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
* {
  box-sizing: inherit;
}
a {
  color: #7D6F52;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #A4895A;
  outline: none;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  color: #1D2327;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.4rem; margin-bottom: 20px; }
h2 { font-size: 1.7rem; margin-bottom: 18px; }
h3 { font-size: 1.25rem; margin-bottom: 14px; }
h4 { font-size: 1.1rem; margin-bottom: 8px; }
h5 { font-size: 1.05rem; }
h6 { font-size: 1rem; }
p, ul, ol { margin-bottom: 16px; }
strong, b {
  font-weight: 700;
}

/* Container & Layouts */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
.text-section {
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (min-width: 768px) {
  .section {
    padding: 60px 0;
  }
}
/* Main Flexbox Layout Patterns */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 6px 24px 0 rgba(29,35,39,0.08);
  padding: 32px 28px 28px 28px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.25s;
}
.card:hover {
  box-shadow: 0 10px 32px 0 rgba(29,35,39,0.18);
  z-index: 1;
}
.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) {
  .text-image-section {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 22px;
}
.feature-grid > div {
  flex: 1 1 260px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 8px 0 rgba(29,35,39,0.06);
  padding: 28px 22px 22px 22px;
  text-align: left;
  position: relative;
  transition: box-shadow 0.2s, transform 0.2s;
  border: 1px solid #F5F3F0;
}
.feature-grid > div:hover {
  box-shadow: 0 8px 24px 0 rgba(125,111,82,0.12), 0 1.5px 0 #d2b87b;
  transform: translateY(-3px) scale(1.02);
  border-color: #E2D3B3;
  z-index: 1;
}
.feature-grid img {
  width: 40px;
  height: 40px;
  margin-bottom: 8px;
  filter: drop-shadow(0 2px 1px #e7dbbc66);
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #ffffff;
  border: 1px solid #E6DED0;
  border-radius: 18px;
  box-shadow: 0 2px 12px 0 rgba(125,111,82,0.07);
  margin-bottom: 24px;
}
.testimonial-card blockquote {
  color: #1D2327;
  font-size: 1.05rem;
  font-style: italic;
  margin-bottom: 6px;
  line-height: 1.6;
}
.testimonial-card p {
  color: #7D6F52;
  font-size: 0.98rem;
}

/* Headings and Hierarchy */
.subheadline {
  color: #7D6F52;
  font-family: 'Playfair Display', serif;
  font-size: 1.18rem;
  margin-bottom: 16px;
  letter-spacing: 0.01em;
}

/* Button Styles */
.primary-cta, .secondary-cta, .cookie-banner .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 12px 28px;
  border: none;
  border-radius: 24px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.18s, color 0.18s, box-shadow 0.2s;
  font-size: 1.08rem;
  margin-top: 6px;
}
.primary-cta {
  background: #1D2327;
  color: #fff;
  box-shadow: 0 2px 8px 0 rgba(29,35,39,0.09);
}
.primary-cta:hover, .primary-cta:focus {
  background: #7D6F52;
  color: #fff3b0;
}
.secondary-cta {
  background: transparent;
  color: #7D6F52;
  border: 2px solid #7D6F52;
  margin-left: 0;
}
.secondary-cta:hover, .secondary-cta:focus {
  background: #E2D3B3;
  color: #1D2327;
  border-color: #D2B87B;
}
/* List Styles */
ul, ol {
  padding-left: 22px;
  margin-bottom: 20px;
}
ul li, ol li {
  margin-bottom: 8px;
  font-size: 1rem;
}

/* Header Styles */
header {
  background: #fff;
  border-bottom: 1px solid #EFE6DA;
  box-shadow: 0 2px 8px 0 rgba(234,221,185,0.03);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 20;
}
header .container {
  min-height: 70px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 20px;
}
header nav {
  display: flex;
  flex-direction: row;
  gap: 22px;
  align-items: center;
}
header nav a {
  font-size: 1.06rem;
  font-family: 'Roboto', Arial, sans-serif;
  color: #1D2327;
  font-weight: 500;
  letter-spacing: 0.005em;
  position: relative;
  transition: color 0.18s;
  padding: 6px 0;
}
header nav a:hover, header nav a:focus {
  color: #7D6F52;
}
header img {
  height: 44px;
}
.mobile-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  font-size: 2.1rem;
  color: #7D6F52;
  cursor: pointer;
  margin-left: 10px;
  padding: 4px 10px;
  z-index: 35;
  transition: color 0.18s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  color: #9D893C;
}
@media (min-width: 900px) {
  .mobile-menu-toggle {
    display: none;
  }
}
/* Hide nav on mobile */
@media (max-width: 899px) {
  header nav {
    display: none;
  }
  header .primary-cta {
    display: none;
  }
}
/* Mobile Menu Overlay */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  height: 100vh;
  width: 100vw;
  background: #fff;
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding: 0;
  box-shadow: 0 2px 24px 0 rgba(29,35,39,0.15);
  transform: translateX(-100%);
  transition: transform 0.38s cubic-bezier(0.77,0.2,0.05,1.0);
  will-change: transform;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2.3rem;
  background: none;
  border: none;
  color: #7D6F52;
  margin: 24px 28px 0 0;
  cursor: pointer;
  z-index: 100;
  transition: color 0.16s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #A4895A;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  align-items: flex-start;
  padding: 36px 36px 28px 38px;
  gap: 15px;
}
.mobile-nav a {
  font-size: 1.24rem;
  color: #1D2327;
  font-family: 'Roboto', Arial, sans-serif;
  padding: 14px 0;
  border-bottom: 1px solid #EFE6DA;
  width: 100%;
  font-weight: 500;
  transition: background 0.15s, color 0.15s;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #7D6F52;
  background: #F5F3F0;
  border-radius: 6px;
}
@media (min-width: 900px) {
  .mobile-menu {
    display: none;
  }
}

/* Footer Styles */
footer {
  background: #181A1D;
  color: #fff;
  padding: 40px 0 24px 0;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
footer nav {
  display: flex;
  flex-direction: row;
  gap: 18px;
  margin: 10px 0 0 0;
}
footer nav a {
  color: #E2D3B3;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  transition: color 0.2s;
}
footer nav a:hover, footer nav a:focus {
  color: #fff3b0;
}
footer img {
  height: 40px;
  margin-bottom: 10px;
}
.footer-contact {
  color: #ECE4D8;
  font-size: 0.98rem;
  margin-top: 10px;
  text-align: center;
}
.footer-contact a {
  color: #FFD98A;
  text-decoration: underline;
}

/* Cookie Consent Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: rgba(29, 35, 39, 0.92);
  color: #fff;
  z-index: 999;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 18px 22px 24px;
  font-size: 1rem;
  box-shadow: 0 -4px 24px 0 rgba(29,35,39,0.13);
  transition: transform 0.36s ease, opacity 0.28s;
  opacity: 1;
  transform: translateY(0);
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
}
.cookie-banner__text {
  flex: 1 1 400px;
  max-width: 500px;
}
.cookie-banner .btn {
  background: #7D6F52;
  color: #fff;
  border: none;
  font-size: 1.02rem;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 500;
  border-radius: 20px;
  padding: 10px 20px;
  margin-right: 12px;
  margin-bottom: 4px;
  margin-top: 4px;
  box-shadow: 0 1.5px 0 #D2B87B;
  transition: background 0.18s, color 0.18s;
  cursor: pointer;
}
.cookie-banner .btn.accept {
  background: #D2B87B;
  color: #1D2327;
}
.cookie-banner .btn.accept:hover,
.cookie-banner .btn.accept:focus {
  background: #BCA05E;
  color: #fff;
}
.cookie-banner .btn.reject {
  background: #1D2327;
  color: #fff;
  border: 1px solid #D2B87B;
}
.cookie-banner .btn.reject:hover,
.cookie-banner .btn.reject:focus {
  background: #7D6F52;
  color: #fff;
  border-color: #A4895A;
}
.cookie-banner .btn.settings {
  background: transparent;
  color: #F5F3F0;
  border: 1px solid #F5F3F0;
}
.cookie-banner .btn.settings:hover,
.cookie-banner .btn.settings:focus {
  background: #F5F3F0;
  color: #1D2327;
}
@media (max-width: 568px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 10px 16px 10px;
    font-size: 0.98rem;
  }
  .cookie-banner .btn {
    width: 100%;
    margin: 7px 0 0 0;
  }
}

/* Cookie Settings Modal */
.cookie-modal {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(29, 35, 39, 0.86);
  z-index: 1200;
  align-items: center;
  justify-content: center;
}
.cookie-modal.active {
  display: flex;
  animation: fadein-modal 0.35s;
}
@keyframes fadein-modal {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal-content {
  background: #fff;
  color: #1D2327;
  border-radius: 18px;
  padding: 32px 18px 26px 24px;
  max-width: 400px;
  width: 96%;
  box-shadow: 0 4px 32px rgba(125,111,82,0.12);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cookie-modal-content h2 {
  font-size: 1.36rem;
  color: #7D6F52;
  margin-bottom: 12px;
}
.cookie-modal-close {
  position: absolute;
  top: 8px; right: 14px;
  background: none;
  border: none;
  font-size: 24px;
  color: #7D6F52;
  cursor: pointer;
}
.cookie-modal-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #EEE5D7;
}
.cookie-modal-category:last-child {
  border-bottom: none;
}
.cookie-modal-category label {
  font-size: 1.04rem;
  color: #181A1D;
}
.cookie-modal-toggle {
  margin-left: 16px;
  accent-color: #7D6F52;
  width: 20px;
  height: 20px;
}
.cookie-modal-actions {
  margin-top: 18px;
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

/* Spacing & Section Patterns */
main > section {
  margin-bottom: 60px;
  padding: 40px 0 40px 0;
}
main > section:last-child {
  margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 900px) {
  .container {
    padding: 0 10px;
  }
  .content-wrapper {
    gap: 16px;
  }
  .feature-grid {
    gap: 16px;
  }
  .testimonial-card{
    padding: 14px 10px;
    margin-bottom: 18px;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 1.65rem; }
  h2 { font-size: 1.22rem; }
  .feature-grid, .content-grid, .card-container {
    flex-direction: column;
    gap: 14px;
  }
  .footer-contact {
    font-size: 0.93rem;
    word-break: break-all;
  }
}
@media (max-width: 540px) {
  .container {
    padding: 0 4px;
  }
}

/* Micro-Interactions & Effects */
.card, .feature-grid > div, .testimonial-card, .primary-cta, .secondary-cta {
  transition: box-shadow .18s, background 0.18s, color 0.18s, transform 0.18s;
}
.card:active, .feature-grid > div:active, .testimonial-card:active {
  transform: scale(0.98);
  box-shadow: 0 1.5px 12px 0 rgba(125,111,82,0.13);
}
button:active, a:active {
  transform: scale(0.96);
}

/* Accessible Focus Outline */
a:focus, button:focus, .primary-cta:focus, .secondary-cta:focus {
  outline: 2px solid #D2B87B;
  outline-offset: 2px;
}

/* Utility Helpers */
.sr-only {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* FORM (if used in contact or forms) */
input, select, textarea {
  font-family: 'Roboto', Arial, sans-serif;
  border: 1px solid #D2B87B;
  border-radius: 10px;
  padding: 10px;
  margin-bottom: 18px;
  background: #fff;
  font-size: 1.03rem;
  transition: border 0.15s;
  width: 100%;
  box-shadow: 0 1.5px 0 #efe6da;
}
input:focus, select:focus, textarea:focus {
  border-color: #7D6F52;
  outline: none;
}
label {
  font-size: 1rem;
  color: #7D6F52;
  display: block;
  margin-bottom: 7px;
}

/* Contact details section */
.contact-details p, .contact-details a {
  font-size: 1.01rem;
  color: #1D2327;
  margin-bottom: 3px;
}

/* Decorative Gold Borders/Accents */
hr, .gold-accent {
  border: none;
  height: 3px;
  background: #D2B87B;
  border-radius: 2.5px;
  width: 64px;
  margin: 20px 0 18px 0;
}

/* Hide on visually hidden (if needed) */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* Subtle gold underline for h1/h2 */
h1::after, h2::after {
  content: '';
  display: block;
  background: #D2B87B;
  height: 2px;
  width: 48px;
  border-radius: 2px;
  margin: 10px 0 0 0;
}

/* --- END OF CSS --- */
