/* -----------------------------
   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;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, main, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #FFFFFF;
  color: #2B463C;
  min-height: 100vh;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 16px;
}
ul, ol {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  vertical-align: middle;
  border: none;
  max-width: 100%;
  display: block;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: 100%;
  background: none;
  border: none;
  outline: none;
}

/* -----------------------------
   FONT IMPORTS (Google Fonts)
-------------------------------*/
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600&family=Playfair+Display:wght@400;700&display=swap');

/* -----------------------------
   ROOT COLORS & UTILS
-------------------------------*/
:root {
  --primary: #2B463C;
  --secondary: #DED7CA;
  --bg: #FFFFFF;
  --accent: #B20A22;
  --gold: #D9B36A;
  --gold-dark: #B4973B;
  --card-bg: #FCFAF8;
  --border: #ECE8DF;
  --text-dark: #2B463C;
  --text-light: #FFF;
  --shadow: 0 4px 32px 0 rgba(43, 70, 60, 0.08);
}

/* -----------------------------
   TYPOGRAPHY
-------------------------------*/
h1, .hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.75rem;
  font-weight: 700;
  line-height: 1.14;
  color: var(--primary);
  margin-bottom: 16px;
  letter-spacing: -1px;
}
h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--primary);
  letter-spacing: -0.5px;
}
h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--primary);
}
h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  color: var(--primary);
}
p, li, ul, ol, span {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: var(--primary);
  line-height: 1.7;
}
p, ul, ol {
  margin-bottom: 16px;
}
strong {
  font-weight: 600;
}

.text-section {
  margin-bottom: 24px;
}

.tag {
  background: var(--gold);
  color: var(--primary);
  border-radius: 14px;
  font-size: 0.92rem;
  padding: 4px 12px;
  display: inline-block;
  margin-left: 8px;
  font-weight: 500;
  letter-spacing: 0.2px;
}
.topic-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

/* Visual Hierarchy: font sizes */
@media (max-width: 768px) {
  h1, .hero h1 { font-size: 2rem; }
  h2 { font-size: 1.4rem; }
}

/* -----------------------------
   LUXURY PREMIUM ACCENTS
-------------------------------*/
.gold {
  color: var(--gold);
}
.accent {
  color: var(--accent);
}
.gold-bg {
  background: var(--gold);
  color: var(--primary);
}
.bordered-gold {
  border: 1.5px solid var(--gold);
}

/* -----------------------------
   LAYOUT & CONTAINERS
-------------------------------*/
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 16px;
}
.content-wrapper {
  width: 100%;
  margin: 0 auto;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--card-bg);
  border-radius: 24px;
  box-shadow: var(--shadow);
}
.hero {
  background: linear-gradient(90deg, #FCFAF8 0%, #DED7CA 100%);
  padding-top: 40px;
  padding-bottom: 40px;
  border-bottom: 2px solid var(--gold);
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: 0 2px 16px 0 rgba(43,70,60,0.06);
  padding: 28px 22px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow .23s, border-color .23s;
}
.card:hover {
  box-shadow: 0 8px 32px 0 rgba(218, 179, 106, 0.13);
  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;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #FFF;
  border: 1px solid var(--gold);
  border-radius: 18px;
  box-shadow: 0 4px 28px 0 rgba(186,151,64,.09);
  margin-bottom: 20px;
  font-size: 1.08rem;
  min-width: 225px;
  max-width: 525px;
  transition: box-shadow .2s, border-color .2s;
}
.testimonial-card:hover {
  border-color: var(--accent);
  box-shadow: 0 8px 40px 0 rgba(178,10,34,.10);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* List Icon Styles */
ul li, .feature-item li {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
  font-size: 1.05rem;
  border-radius: 10px;
  line-height: 1.45;
}
ul li img, .feature-item li img {
  width: 24px;
  height: 24px;
}

/* -----------------------------
   CTA BUTTONS
-------------------------------*/
.cta-btn {
  background: var(--gold);
  color: var(--primary);
  border-radius: 42px;
  padding: 13px 44px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  border: none;
  box-shadow: 0 2px 14px 0 rgba(218, 179, 106, 0.12);
  transition: box-shadow .22s, color .18s, background .16s;
  cursor: pointer;
  outline: none;
  margin-top: 28px;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
  position: relative;
  z-index: 2;
  display: inline-block;
  border: 2px solid transparent;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--primary);
  color: var(--gold);
  border: 2px solid var(--gold);
  box-shadow: 0 4px 24px 0 rgba(39,56,47,0.06);
}

/* -----------------------------
   HEADER & NAVIGATION
-------------------------------*/
header {
  background: var(--bg);
  border-bottom: 2px solid var(--gold);
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: 18px 16px;
  font-size: 1.12rem;
}
.main-nav img {
  height: 38px;
  width: auto;
  margin-right: 20px;
}
.main-nav a {
  color: var(--primary);
  font-weight: 500;
  border-radius: 100px;
  padding: 6px 20px;
  transition: color .18s, background .14s;
  position: relative;
  z-index: 1;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--gold);
  background: var(--primary);
}
.main-nav .cta-btn {
  margin-top: 0;
  margin-bottom: 0;
  margin-left: 26px;
}

/* -----------------------------
   MOBILE MENU
-------------------------------*/
.mobile-menu-toggle {
  display: none;
  background: var(--gold);
  color: var(--primary);
  border-radius: 8px;
  font-size: 2rem;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 102;
  cursor: pointer;
  border: 2px solid var(--gold);
  transition: background .13s, color .15s;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(43,70,60,0.93);
  transform: translateX(-100vw);
  transition: transform .33s cubic-bezier(.77,0,.175,1);
  z-index: 1100;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 0 0 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 20px;
  right: 26px;
  font-size: 2rem;
  color: var(--gold);
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1111;
  transition: color 0.22s, background 0.19s;
  padding: 6px;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--accent);
  background: var(--gold);
  border-radius: 50%;
}
.mobile-nav {
  margin-top: 90px;
  display: flex;
  flex-direction: column;
  gap: 30px;
  width: 100%;
  padding-left: 50px;
}
.mobile-nav a {
  color: var(--gold);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 1px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  width: 90%;
  transition: color .2s, background .2s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--accent);
  background: rgba(255,255,255,0.06);
}

@media (max-width: 1100px) {
  .main-nav {
    gap: 20px;
    padding-left: 5px;
  }
  .main-nav .cta-btn { margin-left: 0; }
}
@media (max-width: 900px) {
  .main-nav {
    gap: 10px;
    font-size: 1rem;
    padding: 10px 8px;
  }
  .main-nav img { height: 34px; }
}
@media (max-width: 820px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

/* Hide mobile menu on desktop */
@media (min-width: 821px) {
  .mobile-menu, .mobile-menu-toggle {
    display: none !important;
  }
}

/* -----------------------------
   FOOTER STYLES
-------------------------------*/
footer {
  background: var(--primary);
  color: var(--gold);
  padding: 30px 0 20px 0;
  margin-top: 62px;
  font-size: 1rem;
}
.footer-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 24px;
  font-size: 1.02rem;
  flex-wrap: wrap;
}
.footer-nav a {
  color: var(--gold);
  padding: 0 8px;
  font-weight: 600;
  transition: color .17s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--accent);
}
.footer-contact {
  text-align: center;
  color: var(--gold);
  margin-bottom: 18px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.02rem;
}
.footer-contact img {
  width: 32px;
  height: auto;
  margin-right: 8px;
  vertical-align: middle;
}
.footer-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin-top: 6px;
}
.footer-social a {
  display: inline-flex;
  align-items: center;
  border-radius: 50%;
  background: var(--gold);
  width: 42px;
  height: 42px;
  justify-content: center;
  transition: background .17s, box-shadow .16s;
  box-shadow: 0 2px 10px 0 rgba(218,179,106,0.10);
}
.footer-social a:hover, .footer-social a:focus {
  background: var(--accent);
}
.footer-social a img {
  width: 21px;
  height: 21px;
}

/* -----------------------------
   COOKIE CONSENT BANNER
-------------------------------*/
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: var(--primary);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 24px 10px;
  z-index: 1400;
  font-size: 1rem;
  box-shadow: 0 -4px 24px 0 rgba(43,70,60,0.11);
  animation: cookieBannerIn .5s cubic-bezier(.93,-0.24,.45,1.45);
  font-family: 'Montserrat', Arial, sans-serif;
  transition: background .14s;
}
@keyframes cookieBannerIn {
  from { transform: translateY(80px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-btn {
  background: var(--gold);
  color: var(--primary);
  border-radius: 30px;
  padding: 10px 28px;
  margin: 0 10px;
  font-weight: 700;
  font-size: 1.02rem;
  border: none;
  cursor: pointer;
  transition: background .22s, color .18s, box-shadow .16s;
  box-shadow: 0 2px 10px 0 rgba(218,179,106,0.09);
}
.cookie-banner .cookie-btn:hover, .cookie-banner .cookie-btn:focus {
  background: var(--accent);
  color: #fff;
}
.cookie-banner .cookie-btn.secondary {
  background: var(--primary);
  color: var(--gold);
  border: 1.5px solid var(--gold);
}
.cookie-banner .cookie-btn.secondary:hover, .cookie-banner .cookie-btn.secondary:focus {
  background: var(--gold-dark);
  color: var(--primary);
}
.cookie-banner .settings-btn {
  background: none;
  color: var(--gold);
  text-decoration: underline;
  border: none;
  font-size: 1rem;
  cursor: pointer;
  margin-left: 14px;
}

/* COOKIE SETTINGS MODAL */
.cookie-modal-backdrop {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(43,70,60,0.75);
  z-index: 1500;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cookieModalFade .2s ease-in;
}
@keyframes cookieModalFade {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  color: var(--primary);
  padding: 36px 20px 26px 30px;
  border-radius: 22px;
  min-width: 295px;
  max-width: 95vw;
  box-shadow: 0 8px 64px 0 rgba(43,70,60,0.23);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-modal h3 {
  color: var(--primary);
  font-size: 1.32rem;
  margin-bottom: 14px;
}
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cookie-modal label {
  font-size: 1.04rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}
.cookie-modal input[type=checkbox] {
  accent-color: var(--accent);
  width: 18px;
  height: 18px;
}
.cookie-modal .category-desc {
  font-size: 0.91rem;
  color: #5b7f6a;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 22px;
  justify-content: flex-end;
  margin-top: 18px;
}
.cookie-modal .cookie-btn {
  min-width: 120px;
}
.cookie-modal .close-modal {
  background: none;
  color: var(--accent);
  font-size: 1.5rem;
  border: none;
  cursor: pointer;
  position: absolute;
  top: 19px; right: 23px;
  z-index: 1510;
  transition: color .18s;
}
.cookie-modal .close-modal:hover,
.cookie-modal .close-modal:focus {
  color: var(--gold);
}

@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    padding: 19px 7px 15px 12px;
    font-size: 0.94rem;
  }
  .cookie-modal { padding: 18px 8px 18px 14px; }
  .cookie-modal .cookie-modal-actions { gap: 12px; }
}

/* ----- Hide modal by default (use .open to display) ----- */
.cookie-modal-backdrop { display: none; }
.cookie-modal-backdrop.open { display: flex; }

/* -----------------------------
   UTILITIES
-------------------------------*/
.mt-0 { margin-top: 0!important; }
.mb-0 { margin-bottom: 0!important; }
.my-2 { margin-top: 20px!important; margin-bottom: 20px!important; }
.mx-auto { margin-left: auto; margin-right: auto; }
.text-center { text-align: center; }
.text-right { text-align: right; }

.bordered {
  border: 1.5px solid var(--border);
  border-radius: 17px;
}
.bg-secondary, .bg-light {
  background: var(--secondary) !important;
}

/* -----------------------------
   SPACING OVERRIDES
-------------------------------*/
main section, .section {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: 24px;
  box-shadow: var(--shadow);
}
.card-container, .content-grid, .feature-item {
  gap: 20px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* -----------------------------
   RESPONSIVE DESIGN
-------------------------------*/
@media (max-width: 992px) {
  .container {
    max-width: 99vw;
    padding: 0 10px;
  }
  .section, main section {
    border-radius: 18px;
    padding: 28px 10px;
  }
}
@media (max-width: 768px) {
  .container {
    max-width: 100vw;
    padding: 0 6px;
  }
  .content-wrapper {
    padding-left: 0;
    padding-right: 0;
  }
  .section, main section {
    padding: 16px 3vw;
    margin-bottom: 32px;
    border-radius: 12px;
  }
  .card {
    padding: 20px 14px;
    margin-bottom: 14px;
  }
  .testimonial-card {
    padding: 13px 10px;
    border-radius: 10px;
    gap: 14px;
    min-width: unset;
    max-width: 99vw;
  }
  .content-grid, .card-container {
    flex-direction: column;
    gap: 12px;
  }
  .text-image-section, .feature-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

/* Ensure image fits within container */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* -----------------------------
   HOVER/FOCUS ACCESSIBILITY
-------------------------------*/
a:focus, button:focus, .cta-btn:focus, .main-nav a:focus, .footer-nav a:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* -----------------------------
   CUSTOM MICRO-INTERACTIONS
-------------------------------*/
.cta-btn, .main-nav a, .mobile-menu-toggle, .footer-social a, .cookie-btn, .cookie-banner .settings-btn {
  transition: color .17s, background .18s, box-shadow .14s, border-color .15s, transform .14s;
}
.cta-btn:hover, .cta-btn:focus { transform: translateY(-1px) scale(1.025); }
.footer-social a:hover, .footer-social a:focus { transform: scale(1.07); }
.main-nav a:hover, .main-nav a:focus { transform: translateY(-2px);}

/* -----------------------------
   GENERAL FORMATTING
-------------------------------*/
::-webkit-input-placeholder  { color: #B0AEAA; }
::-moz-placeholder           { color: #B0AEAA; }
:-ms-input-placeholder       { color: #B0AEAA; }
::placeholder               { color: #B0AEAA; opacity: 1; }

hr {
  border: 0;
  border-top: 1.5px solid var(--gold);
  margin: 40px 0;
}

/* Remove number input arrows (for clean luxury forms) */
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
input[type=number] { -moz-appearance: textfield; }

/* -----------------------------
   PRINT STYLES (BASIC)
-------------------------------*/
@media print {
  header, footer, .cookie-banner, .cookie-modal, .mobile-menu { display: none !important; }
  main section { margin-bottom: 24px !important; page-break-inside: avoid; }
  body { color: #222; background: #fff; }
}

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