/* =======================================================
   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, 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 { 
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  background: #FDFBF6;
  color: #232222;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  font-display: swap;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}
ul, ol {
  list-style: none;
}
a {
  background-color: transparent;
  color: inherit;
  text-decoration: none;
  transition: color 0.18s ease;
}
button {
  background: none;
  border: none;
  font: inherit;
  cursor: pointer;
}
:focus {
  outline: 2px solid #BFA766;
  outline-offset: 2px;
}

/* =======================================================
   BRAND COLOR PALETTE + TYPOGRAPHY
======================================================== */
:root {
  --color-primary: #2C5549;
  --color-primary-dark: #234336;
  --color-secondary: #6EA087;
  --color-secondary-dark: #597C6B;
  --color-accent: #F2EADF;
  --color-bg: #FDFBF6;
  --color-grey: #E9E7E1;
  --color-gold: #BFA766;
  --color-gold-light: #F3E9C7;
  --color-dark: #232222;
  --color-heading: #2C5549;
  --color-link: #2C5549;
  --color-link-hover: #BFA766;
  --color-danger: #B86C6C;

  --font-display: 'Merriweather', serif;
  --font-body: 'Open Sans', Arial, sans-serif;
  --shadow-card: 0 4px 24px 0 rgba(44, 85, 73, 0.04);
  --shadow-elevated: 0 8px 32px 0 rgba(44,85,73,0.13);
}

/* Import Google Fonts (fallback loaded locally if required) */
@import url('https://fonts.googleapis.com/css?family=Merriweather:700,900&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600,700&display=swap');

/* =======================================================
   LUXURY PREMIUM DESIGN BASE
======================================================== */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.content-wrapper {
  background: var(--color-accent);
  border-radius: 18px;
  box-shadow: var(--shadow-card);
  padding: 40px 32px;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
@media (max-width: 600px) {
  .content-wrapper {
    padding: 24px 12px;
    border-radius: 10px;
  }
}

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

/* Visual Hierarchy / Typography */
h1, .h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 2.6rem;
  line-height: 1.13;
  margin-bottom: 14px;
  color: var(--color-heading);
  letter-spacing: -1px;
}
h2, .h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2rem;
  line-height: 1.18;
  margin-bottom: 8px;
  color: var(--color-primary);
}
h3, .h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--color-primary);
  margin-bottom: 7px;
}
p, li {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-dark);
  line-height: 1.7;
  font-weight: 400;
  letter-spacing: 0.01em;
}
p {
  margin-bottom: 14px;
}
strong {
  color: var(--color-primary-dark);
  font-weight: 700;
}

ul, ol {
  margin-bottom: 12px;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
li {
  padding-left: 0.2em;
}

/* Links & Buttons */
a.cta-button, .cta-button, button.cta-button {
  display: inline-flex;
  align-items: center;
  padding: 13px 34px;
  background: var(--color-primary);
  color: #fff;
  border-radius: 32px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 12px 0 rgba(44,85,73,0.11);
  text-shadow: 0 1px 2px rgba(0,0,0,.03);
  transition: background 0.22s, color 0.15s, box-shadow 0.22s, letter-spacing 0.18s;
  letter-spacing: 0.02em;
  margin: 0;
  z-index: 1;
  position: relative;
}
a.cta-button:hover, .cta-button:hover, button.cta-button:hover {
  background: var(--color-gold);
  color: var(--color-primary);
  letter-spacing: 0.04em;
  box-shadow: 0 4px 28px 0 rgba(191,167,102,.16);
}

a, .footer-nav a, .main-nav a, .mobile-nav a {
  color: var(--color-link);
  transition: color 0.18s, border-color 0.22s;
}
a:hover, .footer-nav a:hover, .main-nav a:hover, .mobile-nav a:hover {
  color: var(--color-link-hover);
  text-decoration: underline;
}

/* Gold Border Accent for Luxury */
.cta-button {
  border: 2px solid var(--color-gold);
  background: linear-gradient(93deg, var(--color-primary) 90%, var(--color-gold) 100%);
  box-shadow: 0 4px 24px 0 rgba(191,167,102,0.07);
}
.cta-button:active {
  background: var(--color-primary-dark);
}

/* Mini Accent Underlines */
h2, .h2 {
  position: relative;
}
h2::after, .h2::after {
  content: '';
  display: block;
  width: 44px;
  height: 3px;
  margin-top: 7px;
  border-radius: 2px;
  background: var(--color-gold);
}

/* =======================================================
   HEADER & NAVIGATION (Desktop + Mobile)
======================================================== */
header {
  background: #fff;
  box-shadow: 0 3px 14px 0 rgba(44,85,73,.05);
  border-bottom: 1.5px solid var(--color-gold-light);
  padding: 0;
}
header .container {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 18px 20px 18px 20px;
  position: relative;
  gap: 32px;
}
header img {
  height: 52px;
  width: auto;
  margin-right: 32px;
}
.main-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 28px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  white-space: nowrap;
}
.main-nav a {
  padding: 6px 12px;
  border-radius: 6px;
  transition: background 0.18s, color 0.18s;
}
.main-nav a:hover, .main-nav a:active {
  background: var(--color-accent);
  color: var(--color-gold);
}
.mobile-menu-toggle {
  display: none;
  background: var(--color-primary);
  color: #fff;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  z-index: 102;
  border: 2px solid var(--color-gold);
  box-shadow: 0 2px 8px 0 rgba(44,85,73,0.10);
  transition: background 0.19s, color 0.13s;
}
.mobile-menu-toggle:hover {
  background: var(--color-gold);
  color: var(--color-primary);
}

/* =======================================================
   MOBILE NAVIGATION
======================================================== */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  transform: translateX(-100%);
  transition: transform 0.36s cubic-bezier(0.68, -0.55, 0.27, 1.15);
  box-shadow: 0 2px 34px 0 rgba(44,85,73,.17);
  padding-top: 0;
  overflow-y: auto;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  margin: 22px 0 0 20px;
  font-size: 2.2rem;
  background: var(--color-gold);
  color: var(--color-primary);
  align-items: center;
  display: flex;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  border: 2px solid var(--color-primary);
  transition: background 0.19s, color 0.19s;
  z-index: 1002;
}
.mobile-menu-close:hover {
  background: var(--color-primary);
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  margin: 38px 0 0 20px;
  gap: 20px;
  width: 100%;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary);
  padding: 14px 0;
  border-bottom: 1.6px solid var(--color-accent);
  width: 90vw;
  max-width: 320px;
  letter-spacing: 0.01em;
  transition: color 0.19s, background 0.14s;
}
.mobile-nav a:hover {
  color: var(--color-gold);
  background: var(--color-accent);
}

@media (max-width: 1024px) {
  header .container {
    flex-direction: row;
    gap: 10px;
  }
  .main-nav {
    gap: 13px;
    font-size: 0.98rem;
  }
}
@media (max-width: 900px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex !important;
  }
}

@media (max-width: 600px) {
  header .container {
    padding: 11px 9px;
  }
  header img {
    height: 38px;
    min-width: 38px;
    margin-right: 10px;
  }
}

/* Sticky header on scroll */
header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100vw;
  z-index: 990;
  background: #fff;
}


/* =======================================================
   MAIN CONTENT AND LAYOUTS
======================================================== */
main {
  padding-top: 12px;
  min-height: 72vh;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.card {
  background: #fff;
  border-radius: 15px;
  box-shadow: var(--shadow-card);
  padding: 22px 24px 18px 24px;
  margin-bottom: 20px;
  position: relative;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
.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;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 10px 0;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  margin-bottom: 28px;
  background: #ffffff;
  border-left: 6px solid var(--color-gold);
  border-radius: 17px;
  box-shadow: 0 3px 18px 0 rgba(44, 85, 73, 0.12);
  max-width: 620px;
}
.testimonial-card p, .testimonial-card div {
  color: var(--color-primary-dark);
  font-size: 1.1rem;
  font-family: var(--font-body);
  margin-bottom: 0;
}
.testimonial-card strong {
  color: var(--color-gold);
  font-weight: 700;
  font-size: 1rem;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Icon-style list items */
li img {
  width: 28px;
  height: 28px;
  margin-right: 9px;
  vertical-align: middle;
  display: inline-block;
}
li {
  display: flex;
  align-items: start;
  gap: 10px;
}

/* =======================================================
   FOOTER
======================================================== */
footer {
  background: #232222;
  color: #fff;
  padding: 36px 0 18px 0;
  margin-top: 60px;
  box-shadow: 0 -2px 12px 0 rgba(44,85,73,0.06);
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
  justify-content: center;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 8px;
}
.footer-nav a {
  color: #fff;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  border-bottom: 2px solid transparent;
  padding: 3px 8px;
  border-radius: 5px;
  transition: background 0.14s, color 0.18s, border-color 0.17s;
}
.footer-nav a:hover {
  color: var(--color-gold);
  background: rgba(255,255,255,0.07);
  border-bottom: 2px solid var(--color-gold);
}
footer address {
  color: var(--color-accent);
  font-style: normal;
  font-size: 0.97rem;
}
footer p {
  color: #bfa766;
  font-size: 0.95rem;
  margin: 0;
}

/* =======================================================
   COOKIE CONSENT BANNER & MODAL
======================================================== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 10050;
  background: #fffbef;
  color: var(--color-dark);
  padding: 24px 18px;
  box-shadow: 0 -2px 32px 0 rgba(44,85,73,.16);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  font-size: 1rem;
  flex-wrap: wrap;
  border-top: 2.5px solid var(--color-gold);
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.34s cubic-bezier(0.66, 0, 0.4, 1), opacity 0.11s;
}
.cookie-banner.visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.cookie-banner .cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}
.cookie-banner button, .cookie-banner .cta-button {
  font-size: 1rem;
  border-radius: 21px;
  padding: 8px 23px;
  border: none;
  background: var(--color-primary);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 600;
  transition: background 0.18s, color 0.15s;
  margin: 0 4px 0 0;
  box-shadow: 0 2px 6px 0 rgba(44,85,73,0.12);
}
.cookie-banner button:hover, .cookie-banner .cta-button:hover {
  background: var(--color-gold);
  color: var(--color-primary);
}
.cookie-banner .cookie-settings {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-gold);
  font-weight: 600;
}
.cookie-banner .cookie-settings:hover {
  background: var(--color-gold-light);
  color: var(--color-primary-dark);
}

/* Cookie Preferences Modal */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 11000;
  background: rgba(44,85,73,0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s;
  opacity: 0;
  pointer-events: none;
}
.cookie-modal-overlay.visible {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 12px 52px 0 rgba(44, 85, 73, .17);
  padding: 38px 32px 26px 32px;
  max-width: 460px;
  width: 90vw;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 0 auto;
  animation: modalSlideIn 0.37s cubic-bezier(0.63,0,0.29,1.22);
}
@keyframes modalSlideIn {
  from { transform: translateY(44px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.45rem;
  font-family: var(--font-display);
  margin-bottom: 2px;
  color: var(--color-primary);
}
.cookie-modal ul {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.cookie-modal li {
  font-family: var(--font-body);
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 13px;
}
.cookie-modal .toggle {
  position: relative;
  display: inline-flex;
  width: 42px;
  height: 22px;
}
.cookie-modal .toggle input[type=checkbox] {
  position: absolute;
  opacity: 0;
  width: 42px;
  height: 22px;
  cursor: pointer;
  z-index: 1;
}
.cookie-modal .toggle .slider {
  position: absolute;
  top: 0; left: 0;
  right: 0; bottom: 0;
  background: var(--color-accent);
  border-radius: 22px;
  transition: background .18s;
}
.cookie-modal .toggle input[type=checkbox]:checked + .slider {
  background: var(--color-gold);
}
.cookie-modal .toggle .slider:before {
  content: '';
  position: absolute;
  left: 3px; top: 3px;
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 50%;
  transition: transform .18s;
  box-shadow: 0 1px 2px 0 rgba(44,85,73,.07);
}
.cookie-modal .toggle input[type=checkbox]:checked + .slider:before {
  transform: translateX(18px);
}
.cookie-modal .essential {
  color: var(--color-secondary-dark);
  font-weight: 700;
}
.cookie-modal .cookie-modal-actions {
  margin-top: 15px;
  display: flex;
  gap: 15px;
  width: 100%;
  flex-wrap: wrap;
}
.cookie-modal .cookie-modal-actions button {
  font-family: var(--font-body);
  font-size: 1rem;
  border-radius: 21px;
  padding: 8px 23px;
  border: none;
  background: var(--color-primary);
  color: #fff;
  font-weight: 600;
  transition: background 0.18s, color 0.15s;
}
.cookie-modal .cookie-modal-actions button.cancel {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-gold);
}
.cookie-modal .cookie-modal-actions button.cancel:hover {
  background: var(--color-gold-light);
  color: var(--color-primary-dark);
}
.cookie-modal .cookie-modal-actions button:hover {
  background: var(--color-gold);
  color: var(--color-primary);
}

@media (max-width: 500px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.99rem;
    padding: 18px 8px;
  }
  .cookie-modal {
    padding: 22px 10px 14px 12px;
    max-width: 97vw;
  }
}

/* =======================================================
   RESPONSIVE FLEXBOX ADJUSTMENTS
======================================================== */
@media (max-width: 768px) {
  .content-grid, .card-container, .features, .footer-nav, .text-image-section, .card-content {
    flex-direction: column;
    align-items: stretch !important;
    gap: 16px;
  }
  .section {
    margin-bottom: 36px;
    padding: 22px 4px;
  }
  main {
    padding-top: 2px;
  }
}
@media (max-width: 900px) {
  .container {
    padding-left: 8px;
    padding-right: 8px;
  }
}

/* =======================================================
   MICRO-INTERACTIONS & TRANSITIONS
======================================================== */
.card, .testimonial-card, .content-wrapper, .footer-nav a, .main-nav a, .cta-button, .cookie-banner, .cookie-banner button, .cookie-modal {
  transition: box-shadow 0.18s, background 0.19s, color 0.16s, transform 0.17s;
}
.card:hover, .testimonial-card:hover {
  box-shadow: 0 8px 26px 0 rgba(44,85,73,0.12);
  transform: translateY(-3px) scale(1.01);
}

/* Subtle fade for page transitions */
.fade-in { animation: fadeIn 0.79s cubic-bezier(0.87,0,0.13,1) both; }
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* =======================================================
   MISCELLANEOUS UTILITIES
======================================================== */
.text-center { text-align: center; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.gap-2 { gap: 16px; }
.gap-3 { gap: 24px; }

/* =======================================================
   LUXURY VISUAL TOUCHES
======================================================== */
.card, .testimonial-card, .content-wrapper, .cookie-modal {
  border: 1.5px solid var(--color-gold-light);
  backdrop-filter: blur(0.1px);
}
.card, .testimonial-card {
  border-left: 6px solid var(--color-gold);
}
::selection {
  background: var(--color-secondary);
  color: #fff;
}

/* Ensuring no overlapping elements (minimum spacing) */
.section, .card, .testimonial-card, .content-wrapper, .card-container, .content-grid, .feature-item, .footer-nav, .text-image-section {
  margin-bottom: 20px; /* catch-all fallback for minimum gap */
}

/* =======================================================
   END OF STYLE
======================================================== */
