/* =============================================================
   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;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body { line-height: 1; }
ol, ul { list-style: none; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; height: auto; }
table { border-collapse: collapse; border-spacing: 0; }
html { scroll-behavior: smooth; }

/* =============================================================
   LUXURY PREMIUM VARIABLE PALETTE
   ============================================================= */
:root {
  --lux-primary: #20415c;      /* blue navy */
  --lux-primary-rgb: 32,65,92;
  --lux-secondary: #74a57f;    /* green accent */
  --lux-secondary-rgb: 116,165,127;
  --lux-accent: #f6f7eb;      /* warm light */
  --lux-bg: #f9faf7;          /* subtle offwhite for backgroud */
  --lux-black: #232323;
  --lux-grey: #505060;
  --lux-card: #fff;           /* card background */
  --lux-gold: #bba04a;
  --lux-gold-light: #f7ecd2;
  --lux-error: #d2604b;
  --lux-success: #67c18c;
}

body {
  background: var(--lux-bg);
  color: var(--lux-black);
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
}

/* =============================================================
   TYPOGRAPHY
   ============================================================= */
h1, h2, h3, h4, h5, h6 {
  color: var(--lux-primary);
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.15;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.25rem; margin-bottom: 16px; font-weight: 600; }
h4 { font-size: 1.125rem; margin-bottom: 12px; font-weight: 600; }
p, ul, ol, table, .text-section {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  margin-bottom: 14px;
}
.text-section ul, .text-section ol { margin-left: 22px; }
.text-section ul li, .text-section ol li { margin-bottom: 9px; }
strong { color: var(--lux-primary); font-weight: 700; }

/* Professional gold accent underline for headings */
h1, h2, h3 {
  position: relative;
  padding-bottom: 8px;
}
h1::after, h2::after {
  content: "";
  display: block;
  width: 48px; height: 4px;
  margin-top: 10px;
  background: var(--lux-gold);
  border-radius: 2px;
}
h3::after {
  content: "";display: block;width: 32px; height: 3px;margin-top: 7px;background: var(--lux-gold);border-radius: 1.5px;
}

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

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.4rem; }
  .section { padding: 30px 8px; margin-bottom: 38px; }
}

/* =============================================================
   CONTAINER & LAYOUTS
   ============================================================= */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding-left: 12px;
  padding-right: 12px;
  box-sizing: border-box;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.card-container, .card-grid, .features, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.card {
  background: var(--lux-card);
  border-radius: 18px;
  box-shadow: 0 2px 16px 0 rgba(32,65,92,0.07);
  margin-bottom: 20px;
  position: relative;
  padding: 28px 20px;
  min-width: 240px;
  flex: 1;
  transition: box-shadow .3s;
}
.card:hover, .card:focus {
  box-shadow: 0 4px 24px 0 rgba(187,160,74,0.16);
  z-index: 2;
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section { flex-direction: column; gap: 20px; }
}

.card-content, .text-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}

.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  color: #181818;
  border-radius: 16px;
  box-shadow: 0 2px 18px rgba(32,65,92,0.09);
  margin-bottom: 20px;
  transition: box-shadow .3s, transform .27s;
  border: 1px solid #ebe8db;
}
.testimonial-card:hover, .testimonial-card:focus {
  box-shadow: 0 8px 32px 0 rgba(187,160,74,0.16);
  transform: translateY(-6px) scale(1.012);
}
.testimonial-card span {
  font-size: 1rem;
  color: var(--lux-grey);
  font-style: italic;
  font-weight: 400;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 18px 8px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 10px rgba(32,65,92,.07);
  margin-bottom: 20px;
}

/* Lists inside features & content sections */
.content-wrapper ul li, .content-wrapper ol li {
  gap: 12px;
  display: flex;
  align-items: flex-start;
  margin-bottom: 18px;
  color: var(--lux-grey);
  line-height: 1.45;
  font-size: 1rem;
}
ul li img, ol li img {
  margin-right: 12px;
  width: 36px;
  min-width: 28px;
}

@media (max-width: 768px) {
  .card-container, .content-grid, .features, .card-grid {
    flex-direction: column;
    gap: 20px;
  }
}

/* =============================================================
   HEADER / NAVIGATION
   ============================================================= */
header {
  background: #fff;
  box-shadow: 0 2px 18px 0 rgba(32,65,92,0.07);
  border-bottom: 2px solid var(--lux-gold-light);
  position: sticky;
  top: 0;
  z-index: 78;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 12px;
  padding-bottom: 12px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--lux-primary);
  font-weight: 500;
  font-size: 1rem;
  padding: 5px 12px;
  border-radius: 6px;
  position: relative;
  transition: background 0.23s, color 0.19s;
}
header nav a:hover, header nav a:focus {
  background: var(--lux-gold-light);
  color: var(--lux-gold);
}
header .cta-primary, a.cta-primary, .cta-primary {
  margin-left: 14px;
}

/* Burger mobile toggle */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--lux-gold);
  font-size: 2rem;
  cursor: pointer;
  margin-left: 12px;
  padding: 7px 13px;
  border-radius: 7px;
  transition: background .2s, color .2s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--lux-gold-light);
  color: var(--lux-primary);
}

@media (max-width: 1024px) {
  header nav { gap: 12px; }
}
@media (max-width: 920px) {
  header .cta-primary { margin-left: 0; }
}
@media (max-width: 800px) {
  header nav, header .cta-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* =============================================================
   MOBILE MENU OVERLAY
   ============================================================= */
.mobile-menu {
  position: fixed; top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(32,65,92, 0.97);
  z-index: 500;
  transition: transform 0.4s cubic-bezier(.62,.02,.19,.91), opacity 0.3s;
  transform: translateX(-100%);
  opacity: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
}
.mobile-menu.active {
  transform: translateX(0);
  opacity: 1;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: var(--lux-gold);
  font-size: 2.2rem;
  cursor: pointer;
  margin: 22px 0 0 22px;
  z-index: 10;
  padding: 4px 9px;
  border-radius: 7px;
  transition: background .2s, color .2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--lux-gold-light);
  color: var(--lux-accent);
}
.mobile-nav {
  width: 100%;
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  align-items: flex-start;
  padding: 0 32px;
}
.mobile-nav a {
  color: var(--lux-accent);
  font-size: 1.33rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  padding: 11px 0;
  width: 100%;
  border-bottom: 1px solid rgba(246,247,235,0.13);
  transition: color .2s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: var(--lux-gold);
}
@media (max-width: 800px) {
  .mobile-menu { display: flex; }
}
@media (min-width: 801px) {
  .mobile-menu { display: none !important; }
}

/* Hamburger/overlay transition */
@media (max-width: 800px) {
  body.menu-open {
    overflow: hidden;
    touch-action: none;
  }
}

/* =============================================================
   BUTTONS & CTA
   ============================================================= */
a.cta-primary, .cta-primary, button.cta-primary {
  display: inline-block;
  background: var(--lux-gold);
  color: #232323;
  font-size: 1.11rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  padding: 13px 28px;
  border-radius: 8px;
  box-shadow: 0 2px 20px 0 rgba(187,160,74,0.09);
  border: 0;
  cursor: pointer;
  letter-spacing: 0.01rem;
  transition: background 0.18s,color 0.18s,box-shadow 0.30s,transform 0.18s;
  margin-top: 6px;
  margin-bottom: 6px;
  position: relative;
}
a.cta-primary:hover, .cta-primary:hover, a.cta-primary:focus, .cta-primary:focus {
  background: #dbc667;
  color: var(--lux-primary);
  box-shadow: 0 6px 32px 0 rgba(187,160,74,0.19);
  transform: translateY(-3px) scale(1.025);
  z-index: 1;
}

button, input[type=submit], input[type=button], input[type=reset] {
  font-family: inherit;
  font-size: 1rem;
  border-radius: 8px;
}

/* Links in .text-section and .content-wrapper */
.text-section a, .content-wrapper a:not(.cta-primary) {
  color: var(--lux-secondary);
  text-decoration: underline;
  font-weight: 600;
  transition: color .18s;
}
.text-section a:hover, .content-wrapper a:not(.cta-primary):hover {
  color: var(--lux-gold);
}

/* =============================================================
   TABLES
   ============================================================= */
table {
  width: 100%;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 24px;
  box-shadow: 0 1px 9px 0 rgba(32,65,92,0.07);
}
thead {
  background: var(--lux-accent);
}
thead th {
  padding: 15px 12px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--lux-primary);
  border-bottom: 2px solid var(--lux-gold-light);
  text-align: left;
}
tbody td {
  padding: 14px 12px;
  border-bottom: 1px solid #eeeae0;
  font-size: 1rem;
  color: var(--lux-black);
}
tbody tr:last-child td {
  border-bottom: none;
}

/* =============================================================
   FOOTER
   ============================================================= */
footer {
  background: #f7f5ed;
  border-top: 2px solid var(--lux-gold-light);
  color: var(--lux-primary);
  font-size: 1rem;
  padding: 40px 0 25px 0;
  box-sizing: border-box;
}
footer .container {
  display: flex;
  flex-direction: column;
}
footer .content-wrapper {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 36px;
  padding: 0;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
footer nav a {
  font-size: 1rem;
  color: var(--lux-primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  margin-bottom: 3px;
  transition: color .19s;
}
footer nav a:hover, footer nav a:focus { color: var(--lux-gold); }
footer .text-section p, footer .text-section a {
  color: var(--lux-grey);
  font-size: 0.97rem;
}
footer img {
  width: 38px;
  margin-bottom: 18px;
}
footer .text-section img {
  width: 18px;
  vertical-align: middle;
  margin-right: 6px;
}
@media (max-width: 900px) {
  footer .content-wrapper { flex-direction: column; gap: 20px; align-items: center; }
}

/* =============================================================
   UTILITY SPACING
   ============================================================= */
.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 4px; }
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 16px; }
.mt-4 { margin-top: 24px; }
.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 6px; }
.mb-2 { margin-bottom: 12px; }
.mb-3 { margin-bottom: 20px; }
.mb-4 { margin-bottom: 32px; }
.pt-0 { padding-top: 0 !important; }
.pt-2 { padding-top: 12px; }
.pt-3 { padding-top: 20px; }
.pt-4 { padding-top: 30px; }
.pb-2 { padding-bottom: 12px; }
.pb-3 { padding-bottom: 20px; }
.pb-4 { padding-bottom: 32px; }

/* =============================================================
   FORMS (for accessibility even though there is no form)
   ============================================================= */
input, textarea {
  font-size: 1rem;
  border-radius: 6px;
  padding: 9px 14px;
  border: 1px solid #d1dbe5;
  transition: border .2s;
  outline: none;
}
input:focus, textarea:focus { border: 1.5px solid var(--lux-gold); }
label { display: block; font-weight: 500; margin-bottom: 6px; color: var(--lux-primary) }

/* =============================================================
   SECTION-BY-SECTION STYLES
   ============================================================= */
section {
  background: transparent;
}
section .container > h1, section .container > h2,
section .container > h3 {
  text-align: left;
  margin-bottom: 18px;
}

/* FAQ and Q&A */
.text-section h3 {
  color: var(--lux-secondary);
  font-size: 1.14rem;
  margin-bottom: 8px;
  font-weight: 700;
}
.text-section h3::after {
  content: ''; display: none;
}
.text-section p { margin-bottom: 16px; }

/* Gold accent for icons/strong in content */
.content-wrapper strong, .text-section strong {
  color: var(--lux-gold);
}
.content-wrapper img, .text-section img {
  filter: brightness(1) saturate(.93) drop-shadow(0 1px 1px rgba(32,65,74,0.13));
}

.content-wrapper ul li strong, .text-section ul li strong {
  color: var(--lux-primary);
  font-weight: 700;
  margin-right: 2px;
}
.content-wrapper ul li::before, .text-section ul li::before {
  display: none;
}
@media (max-width: 768px) {
  .content-wrapper ul, .content-wrapper ol { gap: 10px; }
}

.contact-teaser {
  display: block;
  color: var(--lux-primary);
  margin-top: 8px;
  font-style: italic;
  font-size: 1rem;
}

/* CTA at section bottoms */
.section .cta-primary { margin-top: 10px; }

/* =============================================================
   RESPONSIVE / MOBILE FIRST STYLES
   ============================================================= */
@media (max-width: 600px) {
  .container {
    padding-left: 6px;
    padding-right: 6px;
  }
  h1 { font-size: 1.33rem; }
  h2 { font-size: 1.14rem; }
  .section { padding: 16px 2px; margin-bottom: 22px; }
  .card, .testimonial-card, .feature-item {
    padding: 12px 8px;
    font-size: 0.97rem;
  }
}

/* =============================================================
   MICRO-INTERACTIONS / ANIMATION CLASSES
   ============================================================= */
.cta-primary, .card, .testimonial-card,
header nav a, .mobile-menu-toggle, .mobile-menu-close, .mobile-nav a {
  transition: background .19s, color .17s, box-shadow 0.28s, transform 0.18s;
}

/* Fade in for modal, banner, menu */
.fade-in { animation: fadeInA 0.35s ease-out both; }
@keyframes fadeInA { 0% { opacity: 0; } 100% { opacity: 1; } }

/* =============================================================
   COOKIE CONSENT BANNER + MODAL
   ============================================================= */
.cookie-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  position: fixed;
  bottom: 0; left: 0; width: 100vw;
  background: var(--lux-card);
  color: var(--lux-primary);
  z-index: 9999;
  box-shadow: 0 -2px 18px 0 rgba(32,65,92,0.08);
  padding: 18px 22px;
  border-top: 2px solid var(--lux-gold-light);
  font-size: 1rem;
  animation: fadeInA 0.45s;
}
.cookie-banner .cookie-message {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-width: 430px;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 14px;
  align-items: center;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  background: var(--lux-gold);
  color: #232323;
  border: none;
  border-radius: 7px;
  font-size: 1rem;
  padding: 9px 19px;
  cursor: pointer;
  font-weight: 600;
  box-shadow: 0 1px 6px 0 rgba(187,160,74,0.08);
  transition: background .18s, color .13s;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #e8d79a;
  color: var(--lux-primary);
}
.cookie-banner .cookie-settings-btn {
  background: var(--lux-secondary);
  color: #fff;
}
.cookie-banner .cookie-settings-btn:hover,
.cookie-banner .cookie-settings-btn:focus {
  background: var(--lux-primary);
  color: #fff;
}
/* Hide banner by default, show via .show */
.cookie-banner { display: none; }
.cookie-banner.show { display: flex; }

/* Cookie Modal */
.cookie-modal-overlay {
  display: none;
  align-items: center;
  justify-content: center;
  position: fixed; left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(32,65,92,0.55);
  z-index: 10001;
}
.cookie-modal-overlay.open { display: flex; }
.cookie-modal {
  background: #fff;
  border-radius: 19px;
  box-shadow: 0 4px 44px 0 rgba(32,65,92,0.13);
  padding: 34px 26px 26px 26px;
  min-width: 340px;
  max-width: 94vw;
  color: var(--lux-black);
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: fadeInA 0.38s;
  position: relative;
}
.cookie-modal-close {
  position: absolute;
  top: 18px; right: 18px;
  background: none;
  font-size: 1.66rem;
  color: var(--lux-gold);
  border: none;
  cursor: pointer;
  transition: color .2s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus { color: var(--lux-error); }

.cookie-modal h2 { color: var(--lux-primary); margin-bottom: 4px; font-size: 1.23rem; font-weight: 700; }
.cookie-modal .cookie-category-list { display: flex; flex-direction: column; gap: 14px; }
.cookie-modal .cookie-cat-row {
  display: flex; align-items: center; gap: 12px;
}
.cookie-modal .cookie-cat-label {
  font-size: 1.07rem;
}
.cookie-modal .cookie-toggle {
  appearance: none;
  width: 36px; height: 20px;
  background: #e8ebeb;
  border-radius: 10px;
  outline: none;
  position: relative;
  box-shadow: 0 1px 2px 0 rgba(32,65,92,0.05);
  transition: background .15s;
  cursor: pointer;
}
.cookie-modal .cookie-toggle:checked {
  background: var(--lux-secondary);
}
.cookie-modal .cookie-toggle::before {
  content: '';
  width: 16px; height: 16px;
  position: absolute;
  left: 2px; top: 2px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 6px rgba(32,65,92,0.07);
  transition: left .17s;
}
.cookie-modal .cookie-toggle:checked::before {
  left: 18px;
}
.cookie-modal .cookie-toggle[disabled], .cookie-modal .cookie-toggle:disabled {
  background: #f6f7eb;
  opacity: 0.56;
  cursor: not-allowed;
}
.cookie-modal .cookie-cat-note {
  color: var(--lux-grey);
  font-size: 0.95rem;
  margin-left: 12px;
}
.cookie-modal .cookie-modal-actions {
  display: flex; gap: 14px;
  align-items: center; margin-top: 12px;
}
.cookie-modal .cookie-modal-actions button {
  padding: 9px 20px;
}
@media (max-width: 520px) {
  .cookie-modal { min-width: 0; padding: 20px 7px 16px 7px; }
}

/* =============================================================
   PRINT & ACCESSIBILITY
   ============================================================= */
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal-overlay { display: none !important; }
  .container { box-shadow: none; }
}

/* =============================================================
   FINE DETAILS & OVERRIDES
   ============================================================= */
::-webkit-scrollbar { width: 9px; background: var(--lux-accent); }
::-webkit-scrollbar-thumb { background: var(--lux-gold-light); border-radius: 6px; }

/* Decorative gold dot before links in non-nav places */
.text-section a:not(.cta-primary)::before, .content-wrapper a:not(.cta-primary)::before {
  content: '•'; display: inline-block; color: var(--lux-gold); font-size: 1.2em; margin-right: 4px; vertical-align: middle; font-weight: bold; }

/* Selection color */
::selection { background: var(--lux-gold-light); color: var(--lux-primary); }

/* =============================================================
   END OF CSS
   ============================================================= */
