/* =========================
   LUXURY PREMIUM CSS RESET
   ========================= */
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-color: #F6F8FA;
  color: #233041;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
img {
  max-width: 100%;
  border: 0;
  display: block;
}
ul, ol {
  list-style: none;
}

/* ========================
   BRAND TYPOGRAPHY
   ======================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Merriweather', Georgia, serif;
  color: #233041;
}
h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 24px;
  letter-spacing: -1px;
}
h2 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}
h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: #8B6F47;
}
h4, h5, h6 {
  font-weight: 500;
}
p, li {
  font-family: 'Open Sans', Arial, sans-serif;
  line-height: 1.75;
  margin-bottom: 16px;
  color: #27334D;
  font-size: 1rem;
}
strong {
  font-weight: 600;
}

/* Typography Utilities */
.text-section {
  margin-bottom: 40px;
  max-width: 840px;
  margin-left: auto;
  margin-right: auto;
}
.text-section h1, .text-section h2, .text-section h3 {
  color: #233041;
}

/* ========================
   LAYOUT CONTAINERS
   ======================== */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background-color: #fff;
  border-radius: 18px;
  box-shadow: 0 3px 20px 0 rgba(35,48,65,0.04);
}

/* ========================
   HEADER & NAVIGATION
   ======================== */
header {
  background: #fff;
  box-shadow: 0 2px 8px 0 rgba(35, 48, 65, 0.07);
  position: sticky;
  top: 0;
  z-index: 30;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  justify-content: flex-start;
  padding: 18px 0;
}
.main-nav img {
  height: 44px;
  margin-right: 24px;
}
.main-nav a {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  color: #233041;
  padding: 4px 12px;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}
.main-nav a:hover,
.main-nav a:focus {
  background: #f0e5d6;
  color: #8B6F47;
}
.main-nav .cta.primary {
  background: #8B6F47;
  color: #fff;
  font-weight: 600;
  border-radius: 8px;
  padding: 10px 24px;
  margin-left: 12px;
  transition: background 0.25s, box-shadow 0.2s;
  box-shadow: 0 1px 6px 0 rgba(139,111,71,0.08);
  border: none;
}
.main-nav .cta.primary:hover,
.main-nav .cta.primary:focus {
  background: #a48c6a;
  color: #fff;
  box-shadow: 0 3px 14px 0 rgba(139,111,71,0.12);
}

/* Hamburger for Mobile */
.mobile-menu-toggle {
  display: none;
  background: #8B6F47;
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 2rem;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin-left: auto;
  z-index: 40;
  transition: background 0.2s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: #a48c6a;
}

/* Mobile Menu Overlay */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 90vw;
  max-width: 340px;
  height: 100vh;
  background: #233041;
  box-shadow: -2px 0 30px rgba(35,48,65,0.17);
  z-index: 100;
  transform: translateX(100%);
  transition: transform 0.36s cubic-bezier(.77,.2,.05,1.0);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 32px 26px 26px 26px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  color: #fff;
  border: none;
  font-size: 2rem;
  font-weight: 400;
  margin-bottom: 30px;
  margin-left: auto;
  cursor: pointer;
  transition: color 0.2s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #FFD700;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}
.mobile-nav a {
  font-size: 1.15rem;
  color: #fff;
  padding: 12px;
  border-radius: 8px;
  letter-spacing: 0.02em;
  transition: background 0.22s, color 0.2s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #8B6F47;
  color: #fff8f0;
}

/* Hide nav on mobile/show hamburger */
@media (max-width: 990px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

@media (min-width: 991px) {
  .mobile-menu {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* ========================
   HERO & BANNER STYLES
   ======================== */
.content-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 30px;
  padding: 36px 0;
  align-items: flex-start;
}
.cta-banner {
  background: #233041;
  color: #fff;
  border-radius: 14px;
  padding: 38px 32px;
  margin: 0 auto;
  box-shadow: 0 3px 18px 0 rgba(139,111,71,0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}
.cta-banner h2 {
  color: #FFD700;
  margin-bottom: 8px;
}
.cta-banner p {
  color: #FAF6ED;
}

/* ========================
   FEATURES / CARDS
   ======================== */
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  margin-bottom: 24px;
}
.features-grid > div {
  flex: 1 1 240px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 10px 0 rgba(35,48,65,0.06);
  padding: 28px 24px 20px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  min-width: 220px;
  position: relative;
  transition: box-shadow 0.3s, transform 0.22s;
  border-top: 3px solid #8B6F47;
}
.features-grid > div:hover, .features-grid > div:focus-within {
  box-shadow: 0 8px 32px 0 rgba(35,48,65,0.10);
  transform: translateY(-4px) scale(1.025);
}
.features-grid img {
  width: 48px;
  height: 48px;
  margin-bottom: 10px;
  filter: brightness(0) saturate(100%) invert(40%) sepia(30%) saturate(900%) hue-rotate(25deg) brightness(1.1);
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(35,48,65,0.07);
  background: #fff;
  overflow: hidden;
  min-width: 240px;
  position: relative;
  padding: 24px 20px;
  transition: box-shadow 0.24s, transform 0.22s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 32px 0 rgba(139,111,71,0.10);
  transform: translateY(-3px) scale(1.02);
}

/* ========================
   TESTIMONIALS
   ======================== */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 20px 26px;
  background: #F6F8FA;
  box-shadow: 0 2px 10px 0 rgba(139,111,71,0.07);
  margin-bottom: 20px;
  border-left: 5px solid #8B6F47;
  border-radius: 12px;
}
.testimonial-card p {
  color: #27334D;
  font-size: 1.12rem;
  font-style: italic;
  margin-bottom: 0;
  line-height: 1.7;
}
.testimonial-card span {
  color: #8B6F47;
  font-size: 1rem;
  font-family: 'Merriweather', Georgia, serif;
  font-weight: 500;
  margin-top: 2px;
}

/* ========================
   FOOTER
   ======================== */
footer {
  background: #233041;
  color: #fff;
  padding: 40px 0 24px 0;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin-bottom: 26px;
  justify-content: center;
}
.footer-nav a {
  color: #fff;
  font-size: 1rem;
  opacity: 0.87;
  transition: color 0.18s, opacity 0.2s;
}
.footer-nav a:hover,
.footer-nav a:focus {
  color: #FFD700;
  opacity: 1;
}
.footer-brand {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 8px;
}
.footer-brand img {
  max-height: 34px;
  margin-bottom: 2px;
}
.footer-brand span {
  color: #FFD700;
  font-size: 0.94rem;
  font-family: 'Merriweather', Georgia, serif;
  letter-spacing: 0.01em;
  margin-top: 2px;
}

/* ========================
   BUTTONS / CTAs
   ======================== */
.cta.primary,
button.cta.primary {
  background: #8B6F47;
  color: #fff;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1.12rem;
  font-weight: 700;
  border: none;
  border-radius: 8px;
  padding: 14px 32px;
  cursor: pointer;
  box-shadow: 0 2px 8px 0 rgba(139,111,71,0.08);
  transition: background 0.22s, box-shadow 0.18s, transform 0.15s;
  margin-top: 8px;
}
.cta.primary:hover,
.cta.primary:focus,
button.cta.primary:focus {
  background: #bfa06b;
  box-shadow: 0 5px 28px 0 rgba(139,111,71,0.15);
  color: #fff8e8;
  transform: translateY(-1px) scale(1.03);
}

/* ===== Secondary/Outline Button ===== */
.cta.secondary, button.cta.secondary {
  background: #fff;
  color: #8B6F47;
  border: 2px solid #8B6F47;
  border-radius: 8px;
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 600;
  padding: 12px 28px;
  cursor: pointer;
  transition: background 0.25s, color 0.18s, border 0.18s, transform 0.15s;
}
.cta.secondary:hover,
button.cta.secondary:hover,
.cta.secondary:focus {
  background: #f1e8d6;
  color: #98753e;
  border-color: #bfa06b;
  transform: scale(1.03);
}

/* ========================
   LIST & TABLE STYLES
   ======================== */
ul, ol {
  margin-bottom: 18px;
  padding-left: 1.2em;
}
ul li, ol li {
  margin-bottom: 8px;
  font-size: 1rem;
  color: #27334D;
  padding-left: 0.55em;
  position: relative;
}
ul li::before {
  content: '\2022';
  color: #8B6F47;
  font-size: 1.1em;
  margin-right: 10px;
  position: absolute;
  left: -1.1em;
}
ol li {
  list-style: decimal inside;
}

/* Style for Hero/Intro lists (if present in copy) */
.content-wrapper ul, .content-wrapper ol {
  margin-bottom: 18px;
} 

/* ========================
   FORM ELEMENTS (if any)
   ======================== */
input, textarea, select {
  font-family: 'Open Sans', Arial, sans-serif;
  background: #fff;
  border: 1.5px solid #8B6F47;
  color: #1a2031;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 1.05rem;
  margin-bottom: 16px;
  outline: none;
  width: 100%;
  transition: border 0.2s;
}
input:focus, textarea:focus, select:focus {
  border-color: #bfa06b;
  box-shadow: 0 0 0 2px rgba(139,111,71,0.11);
}

label {
  font-family: 'Merriweather', serif;
  font-size: 1rem;
  color: #233041;
  margin-bottom: 8px;
  font-weight: 500;
  display: block;
}

/* ========================
   FLEXBOX UTILITY PATTERNS
   ======================== */
.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;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ========================
   RESPONSIVE DESIGN
   ======================== */
@media (max-width: 1200px) {
  .container {
    max-width: 960px;
  }
}
@media (max-width: 990px) {
  .container {
    max-width: 95vw;
    padding-left: 12px;
    padding-right: 12px;
  }
  .features-grid {
    gap: 20px;
  }
  .content-wrapper {
    padding: 25px 0;
  }
  .cta-banner {
    padding: 30px 12px;
  }
}
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.35rem;
  }
  .features-grid {
    flex-direction: column;
    gap: 18px;
  }
  .features-grid > div {
    min-width: 0;
    width: 100%;
  }
  .testimonial-card {
    padding: 14px 14px;
  }
  .cta-banner {
    padding: 24px 8px;
  }
  .content-wrapper {
    padding: 16px 0 16px 0;
    gap: 18px;
  }
  .section {
    margin-bottom: 40px;
    padding: 22px 0;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .card-container {
    gap: 18px;
  }
  .card {
    padding: 16px 12px;
  }
}
@media (max-width: 520px) {
  .container {
    padding-left: 5px;
    padding-right: 5px;
  }
  h1 {
    font-size: 1.32rem;
    margin-bottom: 10px;
  }
  h2, h3 {
    font-size: 1.13rem;
    margin-bottom: 10px;
  }
  .footer-brand img {
    max-height: 20px;
  }
  .testimonial-card {
    font-size: 0.98rem;
  }
  .content-wrapper, .text-section {
    padding-left: 0;
    padding-right: 0;
  }
}

/* ========================
   COOKIE CONSENT BANNER
   ======================== */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #233041;
  color: #fff;
  z-index: 1200;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  box-shadow: 0 -5px 28px 0 rgba(35,48,65,0.12);
  padding: 24px 10px 22px 10px;
  gap: 28px;
  transition: transform 0.4s, opacity 0.3s;
  opacity: 0.99;
  font-size: 1rem;
}
.cookie-banner.hide {
  opacity: 0;
  transform: translateY(120%);
  pointer-events: none;
}
.cookie-banner-message {
  max-width: 640px;
  line-height: 1.6;
  flex: 1 1 300px;
}
.cookie-banner-actions {
  display: flex;
  flex-direction: row;
  gap: 13px;
  align-items: center;
}
button.cookie-accept, button.cookie-reject, button.cookie-settings {
  font-family: 'Open Sans', Arial, sans-serif;
  padding: 11px 22px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 7px;
  border: none;
  cursor: pointer;
  margin: 0 2px;
  transition: background 0.22s, color 0.18s, box-shadow 0.11s;
}
button.cookie-accept {
  background: #8B6F47;
  color: #fff;
}
button.cookie-accept:hover,
button.cookie-accept:focus {
  background: #bfa06b;
  color: #fffefa;
}
button.cookie-reject {
  background: #fff;
  color: #233041;
  border: 1.5px solid #8B6F47;
}
button.cookie-reject:hover,
button.cookie-reject:focus {
  background: #f2e8da;
}
button.cookie-settings {
  background: transparent;
  color: #FFD700;
  border: 1.5px solid #FFD700;
}
button.cookie-settings:hover,
button.cookie-settings:focus {
  background: #FFD700;
  color: #233041;
}

@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    font-size: 0.95rem;
    padding: 20px 7px;
  }
  .cookie-banner-actions {
    margin-top: 10px;
    gap: 6px;
  }
}

/* === Cookie Modal === */
.cookie-modal {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(35,48,65,0.76);
  z-index: 1500;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.22s;
  opacity: 1;
}
.cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal-content {
  background: #fff;
  color: #233041;
  border-radius: 16px;
  max-width: 430px;
  width: 98vw;
  padding: 32px 28px 24px 28px;
  box-shadow: 0 8px 48px 0 rgba(35,48,65,0.18);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 24px;
  animation: fadeInModal 0.36s cubic-bezier(.77,.2,.05,1.0);
}
@keyframes fadeInModal {
  from { opacity: 0; transform: scale(0.94); }
  to { opacity: 1; transform: scale(1); }
}
.cookie-modal-close {
  position: absolute;
  top: 16px; right: 16px;
  background: none;
  border: none;
  color: #8B6F47;
  font-size: 2rem;
  cursor: pointer;
  transition: color 0.19s;
  padding: 2px 5px;
  border-radius: 5px;
}
.cookie-modal-close:hover,
.cookie-modal-close:focus {
  color: #233041;
  background: #f1e8d6;
}
.cookie-modal h2 {
  font-size: 1.2rem;
  margin-bottom: 9px;
}
.cookie-category {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 18px;
}
.cookie-category label {
  margin: 0 0 0 2px;
  color: #233041;
}
.toggle-switch {
  position: relative;
  width: 40px;
  height: 22px;
  display: inline-block;
}
.toggle-switch input[type="checkbox"] {
  display: none;
}
.toggle-switch .slider {
  position: absolute;
  cursor: pointer;
  background: #ced3db;
  border-radius: 11px;
  top: 0; left: 0; right: 0; bottom: 0;
  transition: background 0.17s;
}
.toggle-switch .slider::before {
  content: '';
  position: absolute;
  left: 3px;
  top: 3px;
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.17s, background 0.2s;
  box-shadow: 0 1px 3px rgba(35,48,65,0.04);
}
.toggle-switch input[type="checkbox"]:checked + .slider {
  background: #8B6F47;
}
.toggle-switch input[type="checkbox"]:checked + .slider::before {
  background: #FFD700;
  transform: translateX(16px);
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 15px;
  margin-top: 12px;
  justify-content: flex-end;
}
@media (max-width: 480px) {
  .cookie-modal-content {
    padding: 18px 8px 16px 12px;
  }
}

/* ========================
   GOLDEN DETAILS/ACCENTS
   ======================== */
hr {
  border: none;
  border-top: 1.5px solid #8B6F47;
  margin: 28px 0;
}
.gold {
  color: #FFD700 !important;
}
.gold-bg {
  background: #FFD700 !important;
}
.golden-accent {
  color: #8B6F47;
  font-weight: 700;
}

/* Decorative underline for luxury */
.decor-underline {
  border-bottom: 3px solid #FFD700;
  display: inline-block;
  padding-bottom: 5px;
}

/* ========================
   MISC UTILS/MICRO-ANIMATION
   ======================== */
.fade-in {
  opacity: 0;
  animation: fade 0.9s ease-in forwards;
}
@keyframes fade {
  to { opacity: 1; }
}

.section, .features-grid > div, .testimonial-card, .card, .cta-banner {
  transition: box-shadow 0.34s, background 0.22s, transform 0.18s;
}

/* ============
   PRINT STYLES
   ============ */
@media print {
  header, footer, .cookie-banner, .mobile-menu { display: none !important; }
  body { background: #fff !important; color: #1a2031 !important; }
  .section, .features-grid > div, .card, .content-wrapper { box-shadow: none !important; background: #fff !important; }
}
