/* ==========================================================================
   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-family: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body, html {
  min-height: 100%;
  background: #F4F4F7;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #23222E;
  line-height: 1.7;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
ul, ol {
  list-style: none;
}
a {
  color: #23222E;
  text-decoration: none;
  transition: color 0.2s;
}
button, .cta-btn {
  font-family: inherit;
  border: none;
  outline: none;
  cursor: pointer;
  background: none;
}

/* ==========================================================================
   BRAND VARIABLES (with fallbacks for older browsers)
   ========================================================================== */
:root {
  --color-primary: #23222E;
  --color-secondary: #D6A13A;
  --color-accent: #F4F4F7;
  --color-gray-100: #f4f4f7;
  --color-gray-200: #e6e8ed;
  --color-gray-300: #cfd3dc;
  --color-gray-700: #23222E;
  --color-blue-100: #e7ecf4;
  --color-blue-700: #33405c;
  --header-bg: #fff;
  --shadow-medium: 0 2px 16px rgba(35,34,46,0.07);
  --shadow-card: 0 2px 8px rgba(35,34,46,0.11);
  --radius-l: 16px;
  --radius-s: 8px;
}

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */
@import url('https://fonts.googleapis.com/css?family=Montserrat:400,500,700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Playfair+Display:700&display=swap');

body {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 400;
  font-size: 16px;
  background: var(--color-accent, #F4F4F7);
  color: var(--color-primary, #23222E);
}
h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: var(--color-primary, #23222E);
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  line-height: 1.2;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}
p, ul, ol {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  margin-bottom: 18px;
  color: #23222E;
}
small {
  font-size: 13px;
  color: #6e7780;
}
strong {
  font-weight: 700;
}
em {
  font-style: italic;
}
blockquote {
  font-style: italic;
  background: var(--color-blue-100);
  color: var(--color-blue-700);
  border-left: 4px solid var(--color-secondary, #D6A13A);
  padding: 18px 24px 18px 18px;
  margin: 0 0 10px 0;
  font-size: 1.125rem; 
}
cite {
  display: block;
  margin-top: 6px;
  font-style: normal;
  color: #495063;
  font-size: 1rem;
}
.privacy-notice {
  background: var(--color-blue-100);
  border-radius: var(--radius-s,8px);
  padding: 10px 16px;
  margin-bottom: 24px;
}

/* ==========================================================================
   HEADER AND NAVIGATION
   ========================================================================== */
header {
  width: 100%;
  background: var(--header-bg, #fff);
  box-shadow: var(--shadow-medium);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 2vw;
  justify-content: flex-start;
  padding: 12px 24px 12px 6vw;
  background: transparent;
}
.main-nav img {
  max-height: 34px;
  margin-right: 36px;
  display: block;
}
.main-nav a {
  font-size: 1rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: var(--color-primary);
  font-weight: 500;
  padding: 2px 8px;
  position: relative;
  transition: color 0.18s;
}
.main-nav a:after {
  content: '';
  display: block;
  position: absolute;
  left: 0; right: 0; bottom: -3px;
  height: 2px;
  background: var(--color-secondary);
  opacity: 0;
  transform: scaleX(0.8);
  transition: opacity 0.2s, transform 0.2s;
}
.main-nav a:hover,
.main-nav a:focus {
  color: var(--color-secondary);
}
.main-nav a:hover:after,
.main-nav a:focus:after {
  opacity: 1;
  transform: scaleX(1);
}
.main-nav .cta-btn {
  background: var(--color-secondary,#D6A13A);
  color: #23222E;
  border-radius: var(--radius-s,8px);
  padding: 9px 26px;
  margin-left: 36px;
  font-size: 1rem;
  font-weight: 700;
  box-shadow: 0 1px 4px rgba(35,34,46,0.08);
  transition: background 0.2s, color 0.2s;
  border: none;
}
.main-nav .cta-btn:hover,
.main-nav .cta-btn:focus {
  background: #23222E;
  color: #fff;
}
.mobile-menu-toggle {
  display: none;
  background: var(--color-secondary);
  color: #23222E;
  position: absolute;
  top: 18px;
  right: 19px;
  z-index: 1200;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 2rem;
  border: none;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: #23222E;
  color: #fff;
}

/* ==========================================================================
   COOKIE CONSENT BANNER & MODAL
   ========================================================================== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #fff;
  color: #23222E;
  box-shadow: 0 -2px 20px rgba(35,34,46,0.13);
  padding: 26px 24px 22px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  z-index: 2500;
  gap: 20px;
  font-size: 1rem;
  border-top-left-radius: 14px;
  border-top-right-radius: 14px;
  animation: cookieBannerIn 0.6s cubic-bezier(0.47,0,0.75,0.72);
}
@keyframes cookieBannerIn {
  from { transform: translateY(120%); opacity: 0; }
  to { transform: none; opacity: 1; }
}
.cookie-banner-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.cookie-btn {
  padding: 8px 20px;
  border-radius: var(--radius-s,8px);
  font-size: 1rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  box-shadow: 0 1px 3px rgba(35,34,46,0.08);
  border: none;
  color: #23222E;
  background: var(--color-gray-200);
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
}
.cookie-btn.accept {
  background: var(--color-secondary);
  color: #23222E;
}
.cookie-btn.accept:hover,
.cookie-btn.accept:focus {
  background: #23222E;
  color: #fff;
}
.cookie-btn.reject {
  background: var(--color-gray-200);
  color: #23222E;
}
.cookie-btn.reject:hover,
.cookie-btn.reject:focus {
  background: #cfd3dc; color: #23222E;
}
.cookie-btn.settings {
  background: transparent;
  color: #33405c;
  border: 1px solid #cfd3dc;
}
.cookie-btn.settings:hover,
.cookie-btn.settings:focus {
  background: #e7ecf4;
  color: #23222E;
}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%) scale(0.98);
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 40px rgba(35,34,46,0.17);
  width: 90%;
  max-width: 400px;
  padding: 34px 24px 26px 24px;
  z-index: 3000;
  animation: cookieModalIn 0.38s cubic-bezier(0.47,0,0.75,0.72);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
@keyframes cookieModalIn {
  from { opacity: 0; transform: translate(-50%,-40%) scale(0.85); }
  to   { opacity: 1; transform: translate(-50%,-50%) scale(1); }
}
.cookie-modal-header {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  margin-bottom: 6px;
}
.cookie-modal-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.cookie-modal-category .switch {
  position: relative;
  display: inline-block;
  width: 38px; height: 22px;
}
.cookie-modal-category input[type=checkbox] {
  opacity: 0;
  width: 0; height: 0;
}
.switch-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #e6e8ed;
  border-radius: 22px;
  transition: background 0.2s;
}
.switch-slider:before {
  position: absolute;
  content: '';
  height: 16px; width: 16px;
  left: 3px; top: 3px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.22s;
  box-shadow: 0 1px 2px rgba(50,50,60,0.13);
}
input[type=checkbox]:checked + .switch-slider {
  background: var(--color-secondary);
}
input[type=checkbox]:checked + .switch-slider:before {
  transform: translateX(16px);
}
.cookie-modal .cookie-btn {
  width: 100%;
  margin-top: 6px;
}
.cookie-modal .cookie-btn:last-child {
  background: #cfd3dc;
  color: #23222E;
}
.cookie-modal .cookie-btn:last-child:hover {
  background: #e6e8ed;
}
.cookie-modal-close {
  position: absolute;
  top: 16px; right: 16px;
  background: none;
  font-size: 1.4rem;
  border: none;
  color: #23222E;
  cursor: pointer;
  padding: 0;
  z-index: 3200;
}
.cookie-modal-close:hover, .cookie-modal-close:focus { color: #D6A13A; }

/* ==========================================================================
   MOBILE NAVIGATION
   ========================================================================== */
.mobile-menu {
  position: fixed;
  left: 0;
  top: 0; 
  width: 100vw;
  height: 100vh;
  background: rgba(35,34,46, 0.97);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  z-index: 2500;
  transform: translateX(-100vw);
  transition: transform 0.39s cubic-bezier(0.60,0,0.49,1);
}
.mobile-menu.open {
  transform: none;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  position: absolute;
  top: 22px;
  right: 28px;
  z-index: 2600;
  cursor: pointer;
  line-height: 1;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: var(--color-secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding: 90px 34px 0 34px;
  width: 100%;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.25rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  padding: 6px 2px;
  border-radius: 7px;
  transition: background 0.18s, color 0.18s;
  font-weight: 500;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: var(--color-secondary);
  color: #23222E;
}

/* ==========================================================================
   PAGE LAYOUT: .container and spacing patterns
   ========================================================================== */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding-left: 4vw;
  padding-right: 4vw;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
.content-wrapper {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 28px;
}
.card {
  background: #fff;
  box-shadow: var(--shadow-card);
  border-radius: var(--radius-l,16px);
  padding: 24px 24px 22px 24px;
  margin-bottom: 20px;
  min-width: 260px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: box-shadow 0.2s, transform 0.17s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 3px 20px rgba(35,34,46, 0.17);
  transform: translateY(-2px) scale(1.012);
}
.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: #e7ecf4;
  color: #23222E;
  border-radius: var(--radius-l,16px);
  box-shadow: 0 1px 9px rgba(35,34,46,0.09);
  padding: 20px;
  margin-bottom: 20px;
  flex-direction: column;
  max-width: 640px;
}
.testimonial-card blockquote {
  color: #1a1c24;
  background: transparent;
  padding: 0;
  border-left: 4px solid var(--color-secondary);
  font-size: 1.16rem;
  font-style: italic;
  margin-bottom: 6px;
}
.testimonial-card cite {
  color: #33405c;
  font-size: 1rem;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: var(--radius-s,8px);
  box-shadow: var(--shadow-card);
  padding: 20px 18px;
  margin-bottom: 20px;
}

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 28px 0;
}
.faq-item {
  background: #f4f4f7;
  border-radius: 10px;
  box-shadow: 0 1px 4px rgba(35,34,46,0.06);
  padding: 20px 18px 16px 18px;
  transition: box-shadow 0.18s;
}
.faq-item:hover, .faq-item:focus-within {
  box-shadow: 0 3px 16px rgba(35,34,46,0.12);
}

/* ==========================================================================
   BUTTONS & CTAS
   ========================================================================== */
.cta-btn {
  display: inline-block;
  background: var(--color-secondary,#D6A13A);
  color: #23222E;
  padding: 11px 32px;
  margin-top: 12px;
  border-radius: var(--radius-s,8px);
  font-size: 1.08rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  letter-spacing: 0.3px;
  box-shadow: 0 2px 9px rgba(35,34,46,0.09);
  transition: background 0.18s, color 0.18s, box-shadow 0.13s, transform 0.13s;
  border: none;
}
.cta-btn:hover,
.cta-btn:focus {
  background: #23222E;
  color: #fff;
  box-shadow: 0 5px 20px rgba(35,34,46,.18);
  transform: translateY(-1px) scale(1.01);
}
.cta-btn.secondary {
  background: #23222E;
  color: #fff;
}
.cta-btn.secondary:hover,
.cta-btn.secondary:focus {
  background: var(--color-secondary,#D6A13A);
  color: #23222E;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
footer {
  background: var(--color-primary,#23222E);
  color: #fff;
  padding: 40px 0 24px 0;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}
.footer-nav a {
  color: var(--color-secondary, #D6A13A);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 0.98rem;
  font-weight: 500;
  transition: color 0.17s;
}
.footer-nav a:hover,
.footer-nav a:focus {
  color: #fff;
  text-decoration: underline;
}
.footer-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
  font-size: 0.96rem;
  opacity: 0.89;
}

/* ==========================================================================
   UTILITY & HELPER CLASSES
   ========================================================================== */
.hide { display: none !important; }
.text-center { text-align: center !important; }
.text-left { text-align: left !important; }
.text-right { text-align: right !important; }

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1140px) {
  .container { max-width: 99vw; }
}
@media (max-width: 991px) {
  h1 { font-size: 2.05rem; }
  h2 { font-size: 1.34rem; }
}
@media (max-width: 768px) {
  .main-nav a { font-size: 1.02rem; }
  .main-nav { gap: 11px; padding: 12px 7vw 12px 7vw; }
  .main-nav img { margin-right: 18px; }
  .container { padding-left: 2vw; padding-right: 2vw; }
  .section {
    margin-bottom: 40px;
    padding: 22px 7px;
  }
}
@media (max-width: 700px) {
  header { position: fixed; top: 0; left: 0; right: 0; }
  main { margin-top: 62px; }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (max-width: 600px) {
  h1 { font-size: 1.4rem; }
  h2 { font-size: 1.1rem; }
  .container { padding-left: 2vw; padding-right: 2vw; }
  .content-wrapper { gap: 13px; }
  .testimonial-card { padding: 14px; }
  .faq-item { padding: 14px 10px 12px 10px; }
}
@media (max-width: 768px) {
  .card-container,
  .content-grid,
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
}

@media (max-width: 400px) {
  .cta-btn, .cookie-btn {
    font-size: 0.98rem;  
    padding: 10px 12px;
  }
}

/* ==========================================================================
   ACCESSIBILITY & ANIMATIONS
   ========================================================================== */
.cta-btn, .cookie-btn, .main-nav a, .mobile-nav a {
  outline: none;
  transition: background 0.22s, color 0.22s, box-shadow 0.19s;
}
.cta-btn:focus-visible, .cookie-btn:focus-visible, .main-nav a:focus-visible, .mobile-nav a:focus-visible {
  outline: 2px solid var(--color-secondary, #D6A13A);
  outline-offset: 2px;
}


/* ==========================================================================
   MICRO-INTERACTIONS: BUTTONS
   ========================================================================== */
.cta-btn:active, .cookie-btn:active {
  filter: brightness(0.96);
  box-shadow: 0 2px 7px rgba(35,34,46,0.05);
  transform: scale(0.98);
}

/* ==========================================================================
   ADDITIONAL: SHADOWS & ELEVATION
   ========================================================================== */
.card, .feature-item {
  transition: box-shadow 0.18s, transform 0.15s;
}
.feature-item:hover,
.feature-item:focus-within {
  box-shadow: 0 4px 20px rgba(35,34,46,0.13);
  transform: translateY(-2px) scale(1.01);
}

/* ==========================================================================
   END OF CORPORATE PROFESSIONAL STYLESHEET FOR XANTHE GLANCE
   ========================================================================== */
