/* RESET & BASELINE 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;
}
article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  background: #F7F7F9;
  color: #23263a;
  font-size: 16px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
ul, ol {
  padding-left: 32px;
  margin-bottom: 16px;
}
a {
  color: #3F88C5;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #d4af37;
  outline: none;
}
button {
  font-family: inherit;
  font-size: inherit;
  background: none;
  border: none;
  cursor: pointer;
  transition: all 0.15s;
}

/* LUXURY PREMIUM COLORS */
:root {
  --brand-primary: #1B213C;
  --brand-secondary: #3F88C5;
  --brand-accent: #F7F7F9;
  --lux-gold: #d4af37;
  --lux-gold-rgb: 212,175,55;
  --lux-dark: #181824;
  --lux-grey: #e0e3e7;
}

/* FONTS */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700&family=Open+Sans:wght@400;600&display=swap');
h1, h2, h3, h4, .cta-btn {
  font-family: 'Montserrat', "Open Sans", Arial, sans-serif;
  letter-spacing: 0.03em;
  color: #313b68;
  font-weight: 700;
}
h1 { font-size: 2.5rem; line-height: 1.15; margin-bottom: 20px; }
h2 { font-size: 1.75rem; line-height: 1.2; margin-bottom: 18px;}
h3 { font-size: 1.25rem; font-weight: 600; margin-bottom: 12px;}
.subheadline {font-size: 1.25rem; color: var(--brand-secondary); margin-bottom: 16px;}

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.35rem; }
  h3 { font-size: 1rem; }
  .subheadline { font-size: 1rem; }
}

/* CONTAINER & LAYOUT */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: flex-start;
}

/* SECTION STYLES, SPACING & FLEX PATTERNS */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (max-width: 768px) {
  section, .section {
    padding: 32px 8px;
    margin-bottom: 36px;
  }
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 6px 40px 0 rgba(27,33,60,0.11);
  position: relative;
  padding: 32px 28px;
  min-width: 260px;
  flex: 1 1 320px;
  border: 1px solid var(--lux-grey);
  transition: box-shadow 0.2s, border-color 0.2s;
}
.card:hover {
  box-shadow: 0 8px 48px 0 rgba(27,33,60,0.16);
  border-color: var(--lux-gold);
  z-index: 2;
}
.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;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 28px;
  margin-bottom: 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 32px 0 rgba(27,33,60,0.09);
  border-left: 6px solid var(--lux-gold);
  color: #23263a;
  font-size: 1.13rem;
}
.testimonial-card p { color: #23263a; }
.testimonial-card strong { font-weight: 700; color: var(--brand-primary); }

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* FEATURE GRID */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 8px;
}
.feature {
  background: #fff;
  border-radius: 18px;
  padding: 32px 22px 22px 22px;
  flex: 1 1 230px;
  min-width: 220px;
  box-shadow: 0 4px 24px 0 rgba(27,33,60,0.08);
  border: 1px solid #ecedf2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.18s, border-color 0.2s, transform 0.18s;
  margin-bottom: 16px;
}
.feature img {
  width: 38px; height: 38px; margin-bottom: 16px;
  filter: drop-shadow(0 1px 2px rgba(27,33,60,0.07));
}
.feature:hover {
  border-color: var(--lux-gold);
  box-shadow: 0 8px 40px 0 rgba(27,33,60,0.14);
  transform: translateY(-2px) scale(1.025);
  z-index: 2;
}

@media (max-width: 950px) {
  .feature-grid {
    flex-direction: column;
    gap: 18px;
  }
  .feature {
    min-width: 0;
  }
}
@media (max-width: 600px) {
  .feature {
    padding: 24px 10px;
  }
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 1.08rem;
  color: #525885;
}

.timeline-overview {
  margin-top: 26px;
  padding-left: 10px;
  border-left: 3px solid var(--lux-gold);
}
.timeline-overview ul {
  margin-bottom: 0 !important;
}

/* HERO SECTION */
.hero {
  background: #fff;
  border-radius: 36px;
  box-shadow: 0 8px 56px 0 rgba(27,33,60,0.21);
  border: 1px solid var(--lux-grey);
  margin-bottom: 72px;
  padding: 56px 0;
  display: flex;
  justify-content: center;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 12px;
}
@media (max-width:900px){
  .hero { padding: 34px 0; margin-bottom: 40px; border-radius: 24px; }
  .hero .content-wrapper { gap: 10px; }
}


/* BUTTONS & CTA */
.cta-btn {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-weight: bold;
  font-size: 1.13rem;
  background: var(--brand-primary);
  color: #fff;
  padding: 14px 36px;
  border-radius: 26px;
  border: none;
  box-shadow: 0 6px 24px rgba(var(--lux-gold-rgb), 0.10);
  margin-top: 5px;
  margin-bottom: 12px;
  outline: none;
  letter-spacing: 0.05em;
  position: relative;
  transition: background 0.23s, color 0.18s, transform 0.18s, box-shadow 0.15s;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--lux-gold);
  color: var(--brand-primary);
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 10px 36px rgba(var(--lux-gold-rgb), 0.13);
}

/* NAVIGATION HEADER */
header {
  background: #fff;
  box-shadow: 0 6px 36px rgba(27,33,60,0.085);
  border-bottom: 1px solid #e7e9f1;
  padding: 0;
  position: relative;
  z-index: 80;
}
header .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 30px;
  padding-top: 9px;
  padding-bottom: 9px;
  min-height: 80px;
}
.main-nav {
  display: flex;
  flex-direction: row;
  gap: 28px;
  margin-left: 22px;
  flex: 1 1 auto;
}
.main-nav a {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  color: var(--brand-primary);
  opacity: 0.89;
  padding: 7px 6px;
  border-radius: 7px;
  font-size: 1.02rem;
  transition: color 0.18s, background 0.16s;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--lux-gold);
  background: rgba(var(--lux-gold-rgb),0.08);
  outline: none;
}
header img {
  height: 48px; width: auto; margin-right: 16px;
  user-select: none;
}
@media (max-width: 1000px) {
  .main-nav {
    gap: 18px;
    font-size: 0.94rem;
    margin-left: 8px;
  }
  header .container { gap: 12px; }
}
@media (max-width: 820px) {
  header .container {
    flex-direction: row;
    flex-wrap: wrap;
    min-height: 56px;
    gap: 8px;
  }
  header img {
    height: 40px;
  }
}

/* MOBILE MENU */
.mobile-menu-toggle {
  font-size: 2.2rem;
  display: none;
  background: none;
  color: var(--brand-primary);
  border-radius: 8px;
  z-index: 200;
  margin-left: auto;
  margin-right: 15px;
  padding: 2px 12px;
  transition: background 0.18s, color 0.16s;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: #e7e9f1;
  color: var(--lux-gold);
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #23263ad8;
  z-index: 400;
  transform: translateX(100%);
  transition: transform 0.33s cubic-bezier(0.80,0.01,0.28,1);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 0;
  pointer-events: none;
  opacity: 0.95;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
  box-shadow: -2px 0 40px rgba(20,10,0,0.20);
}
.mobile-menu-close {
  margin: 28px 30px 8px 0;
  background: none;
  font-size: 2.4rem;
  color: #fff;
  border-radius: 6px;
  padding: 0 10px;
  align-self: flex-end;
  transition: background 0.15s, color 0.15s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: rgba(var(--lux-gold-rgb),0.18);
  color: var(--lux-gold);
  outline: none;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  background: #fff;
  padding: 32px 38px 32px 34px;
  border-top-left-radius: 30px;
  border-bottom-left-radius: 30px;
  margin-top: 0;
  min-width: 80vw;
  min-height: 100vh;
  box-shadow: -6px 0 32px rgba(27,33,60,0.11);
  align-items: flex-start;
}
.mobile-nav a {
  color: var(--brand-primary);
  font-family: 'Montserrat', sans-serif;
  font-size: 1.18rem;
  font-weight: 700;
  padding: 8px 0;
  border-radius: 8px;
  transition: background 0.15s, color 0.15s;
  margin: 0 -8px;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  color: var(--lux-gold);
  background-color: rgba(var(--lux-gold-rgb),0.08);
  outline: none;
}
@media (max-width: 1000px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (max-width: 650px) {
  .mobile-nav {
    min-width: 100vw;
    padding: 22px 12px 22px 18px;
    border-radius: 0;
  }
  .mobile-menu-close {
    margin: 18px 16px 8px 0;
    font-size: 2rem;
  }
}

/* FOOTER */
footer {
  background: #1B213C;
  color: #fff;
  padding: 48px 0 20px 0;
  border-top: 2px solid var(--lux-gold);
  font-size: 1.13rem;
}
footer .container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 36px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  gap: 28px;
  margin-bottom: 12px;
}
.footer-nav a {
  color: #fff;
  opacity: 0.93;
  text-decoration: none;
  font-family: 'Montserrat',sans-serif;
  font-weight: 700;
  transition: color 0.18s;
  border-bottom: 2px solid transparent;
  font-size: 1.04rem;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--lux-gold);
  border-bottom: 2px solid var(--lux-gold);
  outline: none;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
  color: #f6f0da;
  font-size: 1rem;
  line-height: 1.6;
  margin-top: 10px;
}
.footer-contact img {
  height: 38px; width: auto; margin-bottom: 10px;
  filter: brightness(110%) drop-shadow(0 1px 2px #0001);
}
.footer-contact strong { color: var(--lux-gold); }
@media (max-width: 768px) {
  footer .container {
    flex-direction: column;
    gap: 18px;
  }
  .footer-nav {
    flex-wrap: wrap;
    gap: 14px;
  }
}

/* NEWSLETTER, SOCIAL & ICONS */
.newsletter-signup {
  background: #fffbed;
  border-radius: 20px;
  border-left: 5px solid var(--lux-gold);
  padding: 20px 18px;
  margin-top: 8px;
  box-shadow: 0 2px 16px rgba(212,175,55,0.07);
}
.social-links {
  display: flex;
  flex-direction: row;
  gap: 12px;
  margin-top: 12px;
}
.social-links a img {
  filter: grayscale(0.25) brightness(0.92);
  transition: filter 0.16s, transform 0.11s;
  width: 28px;
  height: 28px;
}
.social-links a:hover img,
.social-links a:focus img {
  filter: brightness(1.2) drop-shadow(0 2px 2px var(--lux-gold));
  transform: scale(1.12);
}

/* TYPOGRAPHY & CONTENT */
p, li, ul, ol {
  font-size: 1.06rem;
}
p:not(:last-child) { margin-bottom: 10px; }
.thank-you-message {
  margin: 12px 0 20px;
  font-size: 1.15rem;
}
strong { color: #293156; font-weight: 700; }
em, i { color: var(--brand-secondary); }

/* CONTACT INFO ICONS */
.text-section ul li img {
  width: 20px;
  height: 20px;
  margin-right: 9px;
  vertical-align: middle;
  display: inline-block;
  filter: grayscale(0.15) brightness(0.85);
}
.text-section ul li {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

/* CONFIRMATION SECTION */
.confirmation {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #fff;
  border-radius: 36px;
  box-shadow: 0 8px 56px 0 rgba(27,33,60,0.18);
  border: 1px solid var(--lux-grey);
  margin-bottom: 48px;
  padding: 64px 0;
}
.confirmation .content-wrapper {
  align-items: center;
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 990;
  background: #fffbe5;
  color: #23263a;
  box-shadow: 0 -2px 30px rgba(27,33,60,0.05);
  border-top: 3px solid var(--lux-gold);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 34px;
  padding: 18px 16px 18px 16px;
  font-size: 1rem;
  animation: cookieBannerIn 0.5s ease;
}
@keyframes cookieBannerIn { 0% { transform: translateY(100%); } 100% { transform: translateY(0); } }
.cookie-banner-message {
  flex: 1 1 400px;
  max-width: 650px;
}
.cookie-banner .cookie-btn {
  margin-left: 12px;
  margin-right: 8px;
  font-family: 'Montserrat',sans-serif;
  font-weight: bold;
  font-size: 1em;
  border-radius: 18px;
  padding: 10px 20px;
  background: var(--lux-gold);
  color: var(--brand-primary);
  border: none;
  cursor: pointer;
  transition: background 0.17s, color 0.17s, box-shadow 0.14s;
  box-shadow: 0 3px 12px rgba(212,175,55,0.09);
}
.cookie-banner .cookie-btn:hover, .cookie-banner .cookie-btn:focus {
  background: var(--brand-primary);
  color: var(--lux-gold);
  outline: none;
}
.cookie-banner .cookie-btn.secondary {
  background: #ede9da;
  color: var(--brand-primary);
}
.cookie-banner .cookie-btn.secondary:hover, .cookie-banner .cookie-btn.secondary:focus {
  background: var(--lux-gold);
  color: var(--brand-primary);
}
@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.98em;
    padding: 14px 7px 14px 7px;
  }
}

/* COOKIE MODAL POPUP */
.cookie-modal-backdrop {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(27,33,60,0.42);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  animation: cookieBackdropIn 0.45s;
}
@keyframes cookieBackdropIn { 0% { opacity: 0;} 100% { opacity: 1;} }
.cookie-modal {
  background: #fff;
  border-radius: 28px;
  box-shadow: 0 10px 56px 0 rgba(27,33,60,0.20);
  padding: 36px 36px 26px 36px;
  max-width: 440px;
  min-width: 0;
  margin: 16px;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: cookieModalIn 0.33s;
}
@keyframes cookieModalIn { 0% { transform: scale(0.92); opacity:0; } 100% { transform: scale(1); opacity:1; } }
.cookie-modal h2 {
  font-size: 1.38rem;
  color: var(--brand-primary);
  margin-bottom: 8px;
}
.cookie-toggle-group {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cookie-toggle {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 1.08rem;
}
.cookie-toggle.disable { opacity: 0.7; cursor: default; pointer-events: none; }
.cookie-switch {
  appearance: none;
  width: 42px;
  height: 22px;
  background: #ede9da;
  border-radius: 20px;
  position: relative;
  outline: none;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(27,33,60,0.05);
  transition: background 0.21s;
}
.cookie-switch:checked {
  background: var(--lux-gold);
}
.cookie-switch::before {
  content: '';
  display: block;
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  left: 2px; top: 2px;
  transition: left 0.21s;
  box-shadow: 0 1px 3px rgba(27,33,60,0.07);
}
.cookie-switch:checked::before {
  left: 22px;
  background: #f9e2a6;
}
.cookie-modal-close {
  background: none;
  color: var(--brand-primary);
  font-size: 1.39rem;
  border-radius: 6px;
  position: absolute;
  right: 24px; top: 22px;
  cursor: pointer;
  border: none;
}
.cookie-modal-footer {
  display: flex;
  flex-direction: row;
  gap: 18px;
  align-items: center;
  justify-content: flex-end;
  margin-top: 18px;
}
@media (max-width: 600px) {
  .cookie-modal {
    padding: 18px 6px 18px 10px;
    max-width: 97vw;
  }
  .cookie-modal-close { right: 10px; top: 8px; }
}

/* UTILITIES & MICROINTERACTIONS */
[tabindex]:focus-visible, button:focus-visible, a:focus-visible {
  outline: 2px solid var(--lux-gold);
  outline-offset: 2px;
  box-shadow: 0 0 0 2px #fff, 0 0 0 6px var(--lux-gold);
}
::-webkit-scrollbar { width: 12px; background: #F7F7F9; }
::-webkit-scrollbar-thumb { background: #dcdcdc; border-radius: 8px; }

/* DARK LIGHT / ACCESSIBILITY (Optional toggle) */
@media (prefers-color-scheme: dark) {
  body { background: #181824; color: #e5e6ec; }
  .card, .feature, .hero, .confirmation, .newsletter-signup { background: #22243a; color: #e5e6ec; }
  .testimonial-card { background: #181824; border-left: 6px solid var(--lux-gold); color: #fdf6e2; }
  .footer-contact, .footer-contact p, .footer-nav a { color: #e5e6ec; }
}

/* RESPONSIVE & FLEX ADJUSTMENTS */
@media (max-width: 1200px) {
  .container {
    max-width: 100vw;
  }
}
@media (max-width: 640px) {
  .container {
    padding: 0 5px;
  }
  .card, .feature {
    padding: 18px 5px;
    border-radius: 13px;
  }
}
/* Prevent overlapping with adequate margins */
.card:not(:last-child), .feature:not(:last-child), .testimonial-card:not(:last-child) {
  margin-right: 0;
  margin-bottom: 20px;
}
.section, section, .card, .feature, .testimonial-card {
  margin-bottom: 24px;
}

/* Hide non-active mobile menu by default */
.mobile-menu {
  display: flex;
  pointer-events: none;
  opacity: 0;
  transition: transform 0.3s, opacity 0.25s;
}
.mobile-menu.open {
  display: flex;
  pointer-events: auto;
  opacity: 1;
  transition: transform 0.3s, opacity 0.25s;
}

/* FORMS (Newsletter/Contact) */
input, textarea, select {
  font-family: inherit;
  font-size: 1em;
  border-radius: 8px;
  border: 1px solid #e3e3e3;
  padding: 10px 13px;
  background: #fff;
  color: var(--brand-primary);
  margin-bottom: 12px;
  width: 100%;
  transition: border-color 0.15s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--lux-gold);
  outline: none;
}

/* Z-INDEX STACKING FOR MENUS & COOKIE */
.mobile-menu, .mobile-menu.open { z-index: 400; }
.cookie-banner { z-index: 990; }
.cookie-modal-backdrop { z-index: 9999; }
header { z-index: 80; }

/* ANIMATION/MICROINTERACTIONS */
.card, .feature, .cta-btn {
  transition: box-shadow 0.18s, border-color 0.12s, transform 0.18s, background 0.18s, color 0.18s;
}
.testimonial-card { transition: box-shadow 0.20s, border-color 0.17s; }

/* VISUAL GOLD LINES FOR LUXURY FEEL */
h2, h3 {
  position: relative;
  padding-left: 2px;
}
h2:after, h3:after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: var(--lux-gold);
  border-radius: 3px;
  margin: 11px 0 0 0;
}
@media (max-width: 768px) {
  h2:after, h3:after { width: 32px; }
}

/* HIDE OUT OF FLOW ON MOBILE */
@media (max-width: 650px) {
  .feature-grid, .content-grid, .card-container {
    flex-direction: column !important;
    gap: 14px;
  }
}

/* --- END OF STYLES --- */
