/* =============================
   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;
}
html {
  font-size: 16px;
  /* default for desktop, lowered on mobile if needed */
  scroll-behavior: smooth;
}
body {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  background: #faf9f7;
  color: #272C2F;
  line-height: 1.6;
  min-height: 100vh;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  font-weight: 400;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #978873;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #c1ab85;
  text-decoration: underline;
  outline: none;
}
strong, b {
  font-weight: 600;
  color: #272C2F;
}
ul, ol {
  margin-left: 1.2em;
  margin-bottom: 1em;
}
li + li {
  margin-top: 0.5em;
}

/* =============================
   BRAND FONTS
   ============================= */
@import url('https://fonts.googleapis.com/css?family=Playfair+Display:700,900|Montserrat:400,500,600,700&display=swap');

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  color: #272C2F;
  font-weight: 700;
  letter-spacing: 0.015em;
}
h1 {
  font-size: 2.25rem;
  line-height: 1.18;
  margin-bottom: 24px;
}
h2 {
  font-size: 1.75rem;
  line-height: 1.2;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.2rem;
  margin-bottom: 14px;
}
h4 {
  font-size: 1.05rem;
  margin-bottom: 12px;
}
p, ul, ol, li, dt, dd {
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #272C2F;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}

.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 16px;
}

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

.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

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

@media (max-width: 768px) {
  h1 { font-size: 1.65rem; }
  h2 { font-size: 1.25rem; }
  .section { padding: 32px 8px; margin-bottom: 36px; }
  .container { padding: 0 8px; }
  .text-image-section { flex-direction: column; align-items: flex-start; gap: 22px; }
  .content-wrapper { gap: 16px; }
}

/* =============================
   HEADER
   ============================= */
header {
  padding: 0;
  background: #f8f5f0;
  border-bottom: 1px solid #e1ddc9;
  box-shadow: 0 2px 4px rgba(39,44,47,0.04);
  position: relative;
  z-index: 900;
}
header .container {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
header a img {
  height: 36px;
  margin-right: 16px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}
.main-nav a {
  color: #272C2F;
  text-transform: uppercase;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 7px 0;
  position: relative;
  transition: color 0.2s;
}
.main-nav a::after {
  content: '';
  display: block;
  height: 2px;
  width: 0;
  background: #978873;
  position: absolute;
  left: 0; bottom: 1px;
  transition: width 0.30s;
}
.main-nav a:hover::after, .main-nav a:focus::after {
  width: 100%;
}
.cta-primary {
  background: #978873;
  color: #fff6e1;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.03rem;
  font-weight: 700;
  border: none;
  border-radius: 26px;
  padding: 12px 36px;
  letter-spacing: 0.08em;
  cursor: pointer;
  position: relative;
  box-shadow: 0 3px 14px rgba(151,136,115,0.18), 0 1px 0px rgba(225,221,201,0.05);
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
  outline: none;
  margin-left: 12px;
  text-shadow: 0 2px 8px rgba(151,136,115, 0.03);
}
.cta-primary:hover, .cta-primary:focus {
  background: #bca16d;
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(39,44,47,0.12);
}

/* Responsive header */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #978873;
  padding: 4px 10px;
  cursor: pointer;
  z-index: 1201;
  transition: color 0.2s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  color: #bca16d;
}
.mobile-menu {
  display: none;
}

@media (max-width: 900px) {
  .main-nav, .cta-primary {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
   }
}
/* ==========
   MOBILE SLIDE NAVIGATION
   ========== */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(39, 44, 47, 0.92);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  transform: translateX(-100%);
  transition: transform 0.32s cubic-bezier(.62,0,.24,1);
  padding-top: 0;
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #E1DDC9;
  font-size: 2.5rem;
  margin: 28px 22px 18px 22px;
  align-self: flex-end;
  cursor: pointer;
  padding: 0px 6px;
  border-radius: 7px;
  transition: background 0.12s, color 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #978873;
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  align-items: flex-start;
  padding: 18px 42px;
  margin-top: 26px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #E1DDC9;
  font-size: 1.20rem;
  font-weight: 600;
  letter-spacing: 0.10em;
  padding: 12px 4px;
  transition: color 0.16s, background 0.16s;
  display: block;
  border-radius: 8px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #fff;
  background: #978873;
}
@media (min-width: 901px) {
  .mobile-menu {
    display: none !important;
    visibility: hidden;
  }
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* =============================
   HERO & FEATURE AREAS
   ============================= */
.hero {
  background: #fff;
  padding: 72px 0 48px 0;
  text-align: left;
  border-bottom: 1px solid #E1DDC9;
}
.hero h1 {
  font-size: 2.3rem;
  line-height: 1.16;
  color: #272C2F;
}
.hero p {
  font-size: 1.18rem;
  margin-bottom: 32px;
  color: #4d4c48;
}
.hero .cta-primary {
  margin-left: 0;
  margin-top: 18px;
}
@media (max-width: 768px) {
  .hero {
    padding: 48px 0 32px 0;
    text-align: center;
  }
  .hero .content-wrapper {
    align-items: center;
  }
  .hero h1 { font-size: 1.45rem; }
  .hero p { font-size: 1rem; }
}

/* =============================
   FLEX FEATURE GRID (CARDS/ICON GRID)
   ============================= */
.feature-grid, .card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-top: 8px;
}
.feature-grid > div, .card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 22px rgba(229, 223, 210, 0.30);
  border: 1px solid #E1DDC9;
  flex: 1 1 216px;
  min-width: 220px;
  max-width: 325px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 20px;
  padding: 32px 22px 20px 22px;
  position: relative;
  transition: transform 0.18s, box-shadow 0.18s, border 0.18s;
}
.feature-grid > div:hover, .card:hover {
  box-shadow: 0 6px 30px rgba(39,44,47,0.13);
  border-color: #978873;
  transform: translateY(-3px) scale(1.02);
}
.feature-grid img, .card img {
  width: 44px;
  height: 44px;
  margin-bottom: 1.2em;
  filter: drop-shadow(0 2px 4px rgba(151,136,115,0.08));
}
.feature-grid h3, .card h3 {
  font-size: 1.11rem;
  color: #978873;
  margin-bottom: 8px;
  margin-top: 0;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
}
.feature-grid p, .card p {
  font-size: 1.01rem;
  color: #4d4c48;
}
@media (max-width: 768px) {
  .feature-grid, .card-container {
    flex-direction: column;
    gap: 16px;
  }
  .feature-grid > div, .card {
    min-width: 0;
    max-width: 100%;
    align-items: flex-start;
    padding: 22px 12px 17px 14px;
  }
}

/* =============================
   TESTIMONIALS
   ============================= */
.testimonial-card {
  background: #F8F5F0;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(151,136,115,0.08);
  border: 1px solid #e1ddc9;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 22px 18px 22px;
  margin-bottom: 20px;
  position: relative;
  min-width: 0;
}
.testimonial-card p {
  font-size: 1.11rem;
  color: #272C2F;
  font-style: italic;
  margin-bottom: 12px;
}
.testimonial-card strong {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  color: #978873;
  font-weight: 700;
  letter-spacing: 0.02em;
}
@media (max-width: 768px) {
  .testimonial-card {
    padding: 15px 9px 14px 13px;
    gap: 14px;
  }
}

/* =============================
   FAQ
   ============================= */
.faq-list {
  width: 100%;
}
.faq-list dt {
  font-family: 'Playfair Display', serif;
  font-size: 1.10rem;
  color: #978873;
  font-weight: 700;
  margin-top: 16px;
  margin-bottom: 6px;
}
.faq-list dd {
  font-family: 'Montserrat', sans-serif;
  color: #272C2F;
  margin-left: 10px;
  margin-bottom: 8px;
  font-size: 1rem;
}

/* =============================
   BUTTONS & MICRO-INTERACTIONS
   ============================= */
button, .cta-primary {
  transition: background 0.19s, box-shadow 0.17s, color 0.19s, outline 0.12s;
}
button:active, .cta-primary:active {
  background: #7c6e56 !important;
  color: #fff !important;
}

/* for cookie modal or any secondary actions */
.button-secondary {
  background: transparent;
  color: #978873;
  border: 1.5px solid #978873;
  font-family: 'Montserrat', sans-serif;
  padding: 11px 25px;
  border-radius: 24px;
  font-size: 1rem;
  font-weight: 600;
  margin-left: 15px;
}
.button-secondary:hover, .button-secondary:focus {
  background: #f9f6ef;
  color: #7c6e56;
}

/* =============================
   FOOTER
   ============================= */
footer {
  background: #272C2F;
  color: #fff;
  padding-top: 40px;
  padding-bottom: 32px;
  font-size: 1rem;
  margin-top: 48px;
}
footer .container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 38px;
}
footer img {
  height: 40px;
  margin-bottom: 22px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav a {
  color: #E1DDC9;
  font-size: 1rem;
  transition: color 0.2s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #978873;
  text-decoration: underline;
}
.contact-footer p {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  color: #fff;
  margin-bottom: 7px;
}
.contact-footer img {
  width: 18px;
  height: 18px;
  margin-right: 2px;
}
@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    gap: 25px;
    align-items: flex-start;
  }
}

/* =============================
   COOKIE CONSENT BANNER
   ============================= */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #fff9ec;
  color: #272C2F;
  z-index: 2300;
  box-shadow: 0 -2px 18px rgba(151,136,115,0.10), 0 -1px 4px rgba(151,136,115,0.05);
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 28px;
  justify-content: space-between;
  padding: 22px 5vw;
  transition: transform 0.25s, opacity 0.22s;
  font-size: 1rem;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(60px);
}
.cookie-banner p {
  flex: 1 1 0;
  font-size: 1rem;
  margin-right: 18px;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
}
.cookie-banner button {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.97rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  padding: 11px 28px;
  border-radius: 22px;
  transition: background 0.2s, color 0.2s, box-shadow 0.18s;
}
.cookie-banner .cookie-accept {
  background: #978873;
  color: #fff;
}
.cookie-banner .cookie-accept:hover, .cookie-banner .cookie-accept:focus {
  background: #bca16d;
}
.cookie-banner .cookie-reject {
  background: #E1DDC9;
  color: #978873;
}
.cookie-banner .cookie-reject:hover, .cookie-banner .cookie-reject:focus {
  background: #edeada;
}
.cookie-banner .cookie-settings {
  background: transparent;
  border: 1.5px solid #978873;
  color: #978873;
}
.cookie-banner .cookie-settings:hover, .cookie-banner .cookie-settings:focus {
  background: #fff3db;
}
@media (max-width: 768px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 15px 12px 16px 11px;
    font-size: 0.97rem;
  }
  .cookie-banner .cookie-actions {
    gap: 10px;
  }
  .cookie-banner p { margin-right: 0; }
}

/* =============================
   COOKIE SETTINGS MODAL
   ============================= */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0;
  z-index: 2400;
  width: 100vw;
  height: 100vh;
  background: rgba(39, 44, 47, 0.32);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 1;
  transition: opacity 0.22s;
}
.cookie-modal-overlay.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 44px rgba(151,136,115,0.21);
  max-width: 420px;
  width: 85vw;
  padding: 32px 22px 22px 22px;
  color: #272C2F;
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 220px;
}
.cookie-modal h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  color: #978873;
  margin-bottom: 18px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
  margin-bottom: 16px;
}
.cookie-category label {
  font-size: 1rem;
  color: #272C2F;
  font-family: 'Montserrat', sans-serif;
}
.cookie-category input[type="checkbox"] {
  width: 20px; height: 20px;
  accent-color: #978873;
  cursor: pointer;
}
.cookie-category input[type="checkbox"][disabled] {
  accent-color: #DAD5C6;
}
.cookie-modal .modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 14px;
  margin-top: 20px;
}
.cookie-modal-close {
  position: absolute;
  top: 18px; right: 18px;
  background: none;
  border: none;
  color: #978873;
  font-size: 1.7rem;
  cursor: pointer;
  border-radius: 6px;
  padding: 2px 7px 2px 7px;
  transition: background 0.14s, color 0.18s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #edeada;
  color: #bca16d;
}
@media (max-width: 490px) {
  .cookie-modal {
    padding: 20px 8px 16px 8px;
    min-width: 0;
    width: 94vw;
  }
}

/* =============================
   LAYOUT & FLEX UTILITIES
   ============================= */
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  box-shadow: 0 4px 16px rgba(225,221,201,0.23);
  border: 1px solid #E1DDC9;
  border-radius: 18px;
  margin-bottom: 20px;
  padding: 26px 20px;
  position: relative;
  transition: box-shadow 0.19s, border 0.19s, transform 0.22s;
}
.card:hover {
  box-shadow: 0 7px 24px rgba(39,44,47,0.10);
  border-color: #978873;
  transform: translateY(-2px);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}
.section:last-child {
  margin-bottom: 0;
}

/* Prevent horizontal overflow */
body {
  overflow-x: hidden;
}

/* =============================
   FORMS (for contact)
   ============================= */
input, textarea, select {
  border: 1px solid #E1DDC9;
  border-radius: 12px;
  padding: 14px 13px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  margin-bottom: 18px;
  background: #fff;
  color: #272C2F;
  width: 100%;
  transition: border 0.18s, box-shadow 0.15s;
  outline: none;
}
input:focus, textarea:focus, select:focus {
  border-color: #978873;
  box-shadow: 0 0 9px #e7dfc7;
}
label {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #272C2F;
  margin-bottom: 4px;
}

/* =============================
   MISCELLANEOUS
   ============================= */
::-webkit-input-placeholder { color: #aaa; }
::placeholder { color: #aaa; }
[tabindex="0"]:focus,
a:focus, button:focus, input:focus, select:focus {
  outline: 2px solid #978873;
  outline-offset: 2px;
}

/* Loader (for cookie or nav if used) */
.loader {
  width: 42px; height: 42px;
  border: 4px solid #E1DDC9;
  border-top: 4px solid #978873;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 32px auto;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* =============================
   BRAND ACCENTS and GOLD FRAMES
   ============================= */
.gold-accent {
  color: #978873;
}
.gold-border {
  border: 2px solid #978873;
  border-radius: 14px;
  box-shadow: 0 3px 18px rgba(151,136,115,0.07);
}
.gold-underline {
  text-decoration: underline wavy #978873 2.5px;
}

/* Decorative gold detail for headings (if used) */
.heading-gold {
  display: inline-block;
  position: relative;
}
.heading-gold::after {
  content: "";
  display: block;
  width: 40px;
  height: 3.5px;
  background: linear-gradient(90deg, #978873 0%, #e1ddc9 100%);
  border-radius: 3px;
  margin-top: 7px;
  position: absolute;
  left: 0;
}

/* =============================
   UTILITIES
   ============================= */
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 8px; }
.mt-4 { margin-top: 16px; }
.mt-5 { margin-top: 20px; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.center { text-align: center; }
.d-flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.items-center { align-items: center; }
.gap-20 { gap: 20px; }

/* =============================
   PRINT (clean base)
   ============================= */
@media print {
  .mobile-menu, .cookie-banner, .cookie-modal-overlay, .mobile-menu-toggle, .cta-primary { display: none !important; }
}
