/* ---------------- CSS RESET & NORMALIZE ------------------ */
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 {
  scroll-behavior: smooth;
}
body {
  background: #F9F8F6;
  color: #2B3637;
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  font-size: 16px;
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border: 0;
}
a {
  color: #375154;
  text-decoration: underline;
  transition: color 0.18s;
}
a:focus,
a:hover {
  color: #A6B448;
  text-decoration: none;
}
ul, ol {
  list-style: disc inside;
}
strong, b {
  font-weight: 600;
}

/* ----------------- TYPOGRAPHY -------------------- */
h1, h2, h3, h4 {
  font-family: 'Bree Serif', 'Open Sans', serif;
  letter-spacing: .02em;
  font-weight: 400;
  color: #2B3637;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 18px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 15px;
}
h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
}
p, li, blockquote, address {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  color: #32403F;
}
em {
  font-style: italic;
}
blockquote {
  font-style: italic;
  border-left: 4px solid #A6B448;
  padding-left: 20px;
  color: #375154;
  margin-bottom: 8px;
  font-size: 1.1rem;
}
cite {
  display: block;
  margin-top: 4px;
  font-size: 0.95rem;
  color: #72683B;
  font-style: normal;
}


/* ----------------- LUXURY COLOR SCHEME ------------- */
:root {
  --primary: #375154;
  --secondary: #A6B448;
  --gold: #C2A156;
  --offwhite: #F2EDEB;
  --accent: #F2EDEB;
  --dark: #262E2F;
  --light: #FAF8F3;
  --shadow: rgba(55, 81, 84, 0.13);
}


/* ----------------- COMMON LAYOUTS ------------------ */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 5px 16px var(--shadow);
  border: 1px solid #ebe5dc;
  overflow: hidden;
  transition: box-shadow 0.22s, border-color 0.22s;
}
.card:hover,
.card:focus-within {
  box-shadow: 0 12px 30px 0px rgba(194,161,86,0.15);
  border-color: var(--gold);
}

.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: #F2EDEB;
  border-radius: 14px;
  box-shadow: 0px 3px 10px 0px var(--shadow);
  margin-bottom: 20px;
  padding: 20px;
  min-width: 0;
  border-left: 4px solid var(--gold);
  transition: box-shadow 0.2s, background 0.2s;
}
.testimonial-card:hover {
  box-shadow: 0px 8px 24px 0px rgba(194,161,86,0.18);
  background: #fffbe9;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ----------------- BUTTONS & CTA ------------------ */
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(94deg, var(--gold), var(--secondary));
  color: #fff;
  font-family: 'Bree Serif', 'Open Sans', serif;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.025em;
  border: none;
  border-radius: 28px;
  min-width: 170px;
  padding: 13px 32px;
  box-shadow: 0 3px 12px var(--shadow);
  margin: 10px 0;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: background 0.20s, box-shadow 0.22s, transform 0.19s;
}
.cta-btn:after {
  content: '';
  display: block;
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: 28px;
  border: 2px solid rgba(194,161,86,0.17);
}
.cta-btn:hover, .cta-btn:focus {
  background: linear-gradient(94deg, var(--secondary), var(--gold));
  color: var(--primary);
  box-shadow: 0 7px 24px rgba(194,161,86,0.19);
  transform: translateY(-3px) scale(1.03);
}
.cta-btn:active {
  transform: translateY(1px) scale(0.98);
}


/* ----------------- HEADER (DESKTOP & MOBILE) ------------------ */
header {
  width: 100%;
  background: #fff;
  border-bottom: 1px solid #eceae1;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 6px 24px -7px rgba(55,81,84,0.05);
  display: flex;
  flex-direction: column;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 85px;
  gap: 18px;
}
.logo-link {
  display: flex;
  align-items: center;
  height: 58px;
  margin-right: 16px;
}
.main-nav {
  display: flex;
  gap: 18px;
  align-items: center;
}
.main-nav a {
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 500;
  color: var(--primary);
  text-decoration: none;
  font-size: 1rem;
  letter-spacing: .015em;
  border-radius: 6px;
  padding: 8px 14px;
  transition: background 0.19s, color 0.19s;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--accent);
  color: var(--gold);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--primary);
  cursor: pointer;
  margin-left: 12px;
  z-index: 120;
}

/* -------------- MOBILE NAVIGATION -------------------- */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; bottom: 0; right: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(55, 81, 84, 0.92);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.56,.05,.36,.89);
  z-index: 120;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: all;
}
.mobile-menu-close {
  margin: 30px 25px 0 0;
  font-size: 2rem;
  background: transparent;
  border: none;
  color: var(--gold);
  cursor: pointer;
  transition: color 0.18s, transform 0.15s;
  align-self: flex-end;
  z-index: 125;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #fff;
  transform: scale(1.15) rotate(6deg);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  background: #fff;
  width: 86vw;
  max-width: 355px;
  min-height: 100vh;
  box-shadow: -3px 0 24px rgba(194,161,86,0.13);
  padding: 44px 38px 44px 24px;
  border-radius: 24px 0 0 24px;
  margin-top: 0;
  transition: background 0.2s;
  pointer-events: all;
}
.mobile-nav a {
  font-size: 1.12rem;
  color: var(--primary);
  font-family: 'Bree Serif', 'Open Sans', serif;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  padding: 12px 0 12px 10px;
  border-radius: 6px;
  transition: color 0.18s, background 0.17s, border-color 0.17s;
  min-width: 180px;
  outline: none;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: var(--accent);
  color: var(--gold);
  border-bottom: 2px solid var(--gold);
}

/* -------------- HERO & PAGE TOP SECTION --------------- */
section:first-of-type {
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(96deg, #f2edea 0%, #fffbe9 100%);
  border-bottom: 1px solid #efeadd;
}

/* -------------- UL, LI SPACING ------------- */
ul, ol {
  margin-bottom: 1.3em;
  margin-top: 0.4em;
  padding-left: 1.1em;
}
li {
  margin-bottom: 0.7em;
  padding-left: 2px;
  line-height: 1.7;
}

/* -------------- TESTIMONIALS ----------------------- */
.testimonial-card blockquote {
  margin: 0 0 5px 0;
  color: #3f4c4e;
  border: none;
  padding: 0;
  font-size: 1.08rem;
  font-style: italic;
  line-height: 1.6;
}
.testimonial-card cite {
  color: #7C6A3F;
  font-family: 'Open Sans', sans-serif;
  font-style: normal;
  margin: 0;
}

/* -------------- FEATURE LIST & PERKS --------------- */
.feature-item strong {
  color: var(--gold);
  font-family: 'Bree Serif', 'Open Sans', serif;
  font-size: 1.04em;
}

/* -------------- FOOTER ----------------- */
footer {
  background: #fff;
  border-top: 1px solid #e7e3d7;
  padding: 38px 0 26px 0;
}
footer .container {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-branding {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.16rem;
  color: var(--primary);
  font-family: 'Bree Serif', 'Open Sans', serif;
}
.footer-branding img {
  width: 42px;
  height: 42px;
}
.footer-nav, .footer-legal-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-nav a, .footer-legal-nav a {
  color: var(--primary);
  font-size: 1rem;
  text-decoration: none;
  font-family: 'Open Sans', Arial, sans-serif;
  transition: color 0.17s;
}
.footer-nav a:hover,
.footer-legal-nav a:hover,
.footer-nav a:focus,
.footer-legal-nav a:focus {
  color: var(--gold);
}
.footer-contact address {
  font-style: normal;
  font-size: 0.98rem;
  color: #504c39;
  margin-top: 8px;
  line-height: 1.7;
}
.footer-contact a {
  color: var(--secondary);
  text-decoration: underline;
}
.footer-contact a:hover, .footer-contact a:focus {
  color: var(--gold);
}


/* -------------- RESPONSIVE DESIGN & FLEXBOX SWITCHES ----------- */
@media (max-width: 1020px) {
  .footer-branding {
    width: 100%;
    margin-bottom: 14px;
  }
  .footer-contact {
    width: 100%;
    margin-top: 8px;
  }
  .footer-nav, .footer-legal-nav {
    flex-direction: row;
    gap: 22px;
  }
}
@media (max-width: 900px) {
  .footer-nav, .footer-legal-nav {
    flex-direction: column;
    gap: 8px;
  }
  .content-wrapper {
    gap: 20px;
  }
}

@media (max-width: 820px) {
  .footer-branding, .footer-contact {
    width: 100%;
  }
  .footer-contact { margin-top: 12px; }
}

@media (max-width: 768px) {
  .container {
    padding-left: 9px;
    padding-right: 9px;
  }
  header .container {
    flex-direction: row;
    gap: 9px;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .cta-btn {
    font-size: 1.07rem;
    min-width: 115px;
    padding: 11px 18px;
  }
  .footer-branding {
    margin-bottom: 14px;
  }
  .content-wrapper,
  .card-container,
  .content-grid,
  .text-image-section {
    flex-direction: column;
    align-items: stretch !important;
    gap: 20px;
  }
}

@media (max-width: 670px) {
  h1 {
    font-size: 1.73rem;
  }
  h2 {
    font-size: 1.2rem;
  }
  h3 {
    font-size: 1.08rem;
  }
  .footer-branding img {
    width: 30px;
    height: 30px;
  }
}
@media (max-width:530px) {
  section {
    padding: 24px 8px !important;
  }
  .footer-branding span {
    font-size: .99rem;
  }
}


/* ----------------- COOKIE CONSENT BANNER ------------------- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 1999;
  background: #262E2F;
  color: #fff;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  width: 100%;
  padding: 22px 14px 22px 14px;
  box-shadow: 0 -6px 42px rgba(37,40,38,0.15);
  transition: transform 0.4s cubic-bezier(.31,.78,.57,.98), opacity 0.29s;
  opacity: 1;
  transform: translateY(0);
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(120px);
}
.cookie-banner-content {
  max-width: 600px;
  flex: 1 1 0px;
  font-size: 1.05rem;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cookie-banner-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: 20px;
  flex-shrink: 0;
}
.cookie-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 24px;
  font-family: 'Bree Serif', 'Open Sans', serif;
  font-size: 1.01rem;
  font-weight: 500;
  padding: 8px 22px;
  margin-right: 0;
  cursor: pointer;
  transition: background 0.17s, color 0.17s, box-shadow 0.18s;
}
.cookie-btn.accept {
  background: linear-gradient(94deg, var(--gold) 60%, var(--secondary) 100%);
  color: #fff;
  box-shadow: 0 2px 12px #ad8a2d2c;
}
.cookie-btn.accept:hover,
.cookie-btn.accept:focus {
  background: var(--secondary);
  color: var(--primary);
}
.cookie-btn.reject {
  background: #fff;
  color: var(--primary);
  border: 1.4px solid var(--gold);
}
.cookie-btn.reject:hover,
.cookie-btn.reject:focus {
  color: #fff;
  background: #E2B931;
  border: 1.4px solid #E2B931;
}
.cookie-btn.settings {
  background: transparent;
  color: #C2A156;
  border: 1.3px solid var(--gold);
  font-weight: 400;
}
.cookie-btn.settings:hover,
.cookie-btn.settings:focus {
  background: #fffbe9;
  color: var(--primary);
}

@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 5px 18px 5px;
    gap: 12px;
  }
  .cookie-banner-content {
    max-width: 100vw;
    font-size: .99rem;
  }
  .cookie-banner-actions {
    margin-left: 0;
    gap: 10px;
    margin-top: 10px;
  }
}

/* ------------- COOKIE MODAL -------------------- */
.cookie-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(37,81,84,0.62);
  z-index: 2100;
  display: none;
  align-items: center;
  justify-content: center;
  transition: opacity 0.22s;
}
.cookie-modal-backdrop.open {
  display: flex;
}
.cookie-modal {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 46px -8px var(--shadow);
  max-width: 450px;
  width: 94vw;
  padding: 34px 24px 28px 24px;
  color: #312e22;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  z-index: 2110;
  border: 1px solid #e3e1d9;
  animation: cookieSlideIn .5s cubic-bezier(.36,1.26,.33,1.01);
}
@keyframes cookieSlideIn {
  0% { opacity: 0; transform: translateY(60px) scale(0.9); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
.cookie-modal h2 {
  color: var(--primary);
  font-size: 1.25rem;
  margin-bottom: 8px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  color: #444;
}
.cookie-category input[type="checkbox"] {
  width: 18px; height: 18px;
  accent-color: var(--primary);
}
.cookie-category .always {
  font-size: 0.96rem;
  padding: 2px 9px;
  background: var(--accent);
  color: #848272;
  border-radius: 11px;
  margin-left: 7px;
}
.cookie-modal-buttons {
  display: flex;
  justify-content: flex-end;
  gap: 14px;
  margin-top: 10px;
}
.cookie-modal-close {
  position: absolute;
  top: 11px; right: 16px;
  background: transparent;
  border: none;
  font-size: 1.28rem;
  color: var(--gold);
  cursor: pointer;
  transition: color 0.17s, transform 0.15s;
  padding: 2px;
}
.cookie-modal-close:hover,
.cookie-modal-close:focus {
  color: var(--primary);
  transform: scale(1.18) rotate(5deg);
}
@media (max-width: 430px) {
  .cookie-modal {
    padding: 17px 7px 18px 7px;
  }
  .cookie-modal h2 { font-size: 1.07rem; }
}


/* ------------- UTILITY & MISC ------------- */
.text-section {
  margin-bottom: 18px;
}
.text-section strong {
  color: var(--gold);
  font-weight: 600;
  font-family: 'Bree Serif', serif;
}

/* ----------- Card grid/feature/emphasis elements --------- */
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}

/* ----------- Accessibility: Focus Outline --------- */
a:focus, .cta-btn:focus, .cookie-btn:focus, .mobile-menu-close:focus, .cookie-modal-close:focus {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
button, [tabindex]:focus {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* -------------- Animations/Micro-interactions ----------- */
.cta-btn, .cookie-btn, .mobile-menu-toggle {
  transition: background 0.17s, color 0.18s, box-shadow 0.18s, transform 0.19s;
}
.testimonial-card {
  transition: box-shadow 0.16s, background 0.14s;
}

/* --------------- Z-INDEX LAYERS ---------------------- */
header, .mobile-menu, .cookie-banner, .cookie-modal-backdrop { z-index: 100; } /* will be overridden for overlays */
.mobile-menu { z-index: 120; }
.cookie-banner { z-index: 1999; }
.cookie-modal-backdrop { z-index: 2100; }
.cookie-modal { z-index: 2110; }

/* --------------- PRINT FRIENDLY ---------------------- */
@media print {
  header, footer, .cookie-banner, .mobile-menu { display: none !important; }
  section, main { background: #fff !important; color: #000 !important; }
}

/* --------------- LOAD FONTS (Google Fonts) ---------------------- */
@import url('https://fonts.googleapis.com/css2?family=Bree+Serif&family=Open+Sans:wght@400;500;600&display=swap');
