/* ==== CSS RESET & NORMALIZE ==== */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote,
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 {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0;
  vertical-align: baseline;
  font: inherit;
}
html { line-height: 1.15; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { min-height: 100vh; background-color: #f5f7fa; }
ol, ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { background: none; border: none; cursor: pointer; padding: 0; font: inherit; }
:focus { outline: 2px solid #BCA247; outline-offset: 2px; }

/* ==== LUXURY PREMIUM THEME VARIABLES & FONTS ==== */
:root {
  --primary: #1B4662;
  --secondary: #3AC173;
  --accent: #f5f7fa;
  --lux-gold: #BCA247;
  --lux-dark: #11161e;
  --lux-grey: #D3D4DB;
  --lux-white: #FFFFFF;
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Open Sans', Arial, Helvetica, sans-serif;
  --radius-lg: 20px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --shadow-lg: 0px 10px 40px 0px rgba(27,70,98,0.13);
  --shadow-md: 0 4px 18px 0 rgba(27,70,98,0.09);
  --shadow-card: 0 2px 14px rgba(188,162,71,0.10);
  --transition: all 0.25s cubic-bezier(.39,.58,.57,1);
}

/* ==== TYPOGRAPHY ==== */
body {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--lux-dark);
  background-color: var(--accent);
  letter-spacing: 0.01em;
  line-height: 1.65;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display), sans-serif;
  color: var(--primary);
  margin-bottom: 16px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
h1 { font-size: 2.5rem; line-height: 1.1; }
h2 { font-size: 2rem; line-height: 1.13; }
h3 { font-size: 1.3rem; line-height: 1.15; }
h4 { font-size: 1.15rem; font-weight: 600; }
p, li, a { font-size: 1rem; }
strong { color: var(--primary); font-weight: 700; }

/* Typography – Premium refinement */
h1, .hero h1 { color: var(--lux-dark); font-weight: 700; }
h2 { border-left: 4px solid var(--lux-gold); padding-left: 14px; }

@media (max-width: 768px){
h1 { font-size: 1.7rem; }
h2 { font-size: 1.35rem; }
h3 { font-size: 1.1rem; }
}

/* ==== COMMON LAYOUT & FLEXBOX ==== */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--lux-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.section:last-child { margin-bottom: 0; }

/* ==== HEADER / NAVIGATION ==== */
header {
  background: var(--lux-white);
  box-shadow: var(--shadow-md);
  padding: 0;
  z-index: 100;
  position: sticky;
  top: 0;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-top: 12px;
  padding-bottom: 12px;
}
.logo-link img { max-height: 44px; }

.main-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 28px;
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-left: 20px;
}
.main-nav a {
  color: var(--lux-dark);
  position: relative;
  padding: 6px 0;
  transition: var(--transition);
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--lux-gold);
}
.main-nav a.active {
  color: var(--secondary);
}

/* Call to action */
.cta-btn {
  background: var(--lux-gold);
  color: var(--lux-white);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 0.01em;
  border-radius: var(--radius-md);
  padding: 12px 36px;
  margin-left: 20px;
  box-shadow: 0 2px 12px 0 rgba(188,162,71,0.12);
  border: none;
  transition: var(--transition);
  display: inline-block;
  text-align: center;
  outline: none;
}
.cta-btn:hover, .cta-btn:focus {
  color: var(--lux-dark);
  background: #fbe9aa;
  box-shadow: 0 6px 18px 0 rgba(188,162,71,0.21);
}

/* ==== HERO SECTION ==== */
.hero {
  background: linear-gradient(97deg, #1b4662 82%, #bca247 100%);
  color: var(--lux-white);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  margin-bottom: 56px;
  box-shadow: var(--shadow-md);
}
.hero .container {
  min-height: 340px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: start;
}
.hero .content-wrapper {
  color: var(--lux-white);
  max-width: 600px;
  gap: 26px;
  margin-left: 0;
}
.hero h1 { color: var(--lux-white); }
.hero .cta-btn {
  margin-left: 0;
  background: var(--lux-gold);
  color: var(--lux-dark);
}
.hero .cta-btn:hover { background: #f9e29d; color: var(--lux-dark); }

/* ==== FEATURE GRID, CARDS, FLEX PATTERNS ==== */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
  justify-content: flex-start;
  margin-top: 14px;
  margin-bottom: 14px;
}
.feature-grid > div {
  flex: 1 1 260px;
  min-width: 260px;
  background: var(--lux-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 24px 18px 22px 18px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  border: 1.5px solid var(--lux-grey);
  transition: var(--transition);
  position: relative;
}
.feature-grid > div img {
  height: 44px;
  width: 44px;
  margin-bottom: 10px;
}
.feature-grid > div h3 {
  color: var(--lux-dark);
  font-weight: 600;
  margin-bottom: 6px;
}
.feature-grid > div:hover, .feature-grid > div:focus-within {
  box-shadow: 0 6px 22px 0 rgba(188,162,71,0.22), var(--shadow-card);
  border-color: var(--lux-gold);
  transform: translateY(-3px) scale(1.015);
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.card {
  background: var(--lux-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  margin-bottom: 20px;
  padding: 26px 18px;
  min-width: 250px;
  max-width: 420px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  border: 1.5px solid var(--lux-grey);
  transition: var(--transition);
}
.card:hover {
  box-shadow: 0 8px 28px 0 rgba(188,162,71,0.14);
  border-color: var(--lux-gold);
}
.card .card-title { font-weight: 700; color: var(--lux-dark); }
.card .card-desc { color: var(--primary); font-size: 1.05rem; }

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: space-between;
}
.text-image-section > * { flex: 1 1 320px; }

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

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

/* ==== TESTIMONIALS ==== */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 24px 22px;
  border-radius: var(--radius-md);
  background: var(--lux-white);
  margin-bottom: 20px;
  box-shadow: 0 4px 22px 0 rgba(27,70,98,0.09);
  border-left: 8px solid var(--lux-gold);
}
.testimonial-card p {
  color: var(--lux-dark);
  font-size: 1.05rem;
  margin-bottom: 2px;
  font-style: italic;
}
.testimonial-card span {
  color: var(--primary);
  font-weight: 600;
  letter-spacing: 0.01em;
}


/* ==== FOOTER ==== */
footer {
  background: var(--primary);
  color: var(--lux-white);
  padding-top: 38px;
  padding-bottom: 38px;
  margin-top: 60px;
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  gap: 44px;
  justify-content: space-between;
}
footer .footer-nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 1rem;
  margin-top: 8px;
}
footer .footer-nav a {
  color: var(--lux-grey);
  opacity: 0.94;
  transition: color 0.18s;
}
footer .footer-nav a:hover, footer .footer-nav a:focus {
  color: var(--lux-gold);
}
footer img {
  max-height: 34px;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 11px;
  font-size: 0.98rem;
  margin-top: 6px;
  color: var(--lux-grey);
}
.footer-contact img { height: 19px; width: 19px; margin-right: 8px; vertical-align: middle; }

/* ==== BUTTON STYLES ==== */
button, .cta-btn {
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 600;
  transition: var(--transition);
}

/* ==== RESPONSIVE DESIGN ==== */
@media (max-width: 1020px) {
  .container { max-width: 100%; }
  footer .container { flex-direction: column; gap: 26px; align-items: flex-start; }
}

@media (max-width: 768px) {
  header .container {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0;
    padding: 10px 7px;
  }
  .main-nav {
    display: none;
  }
  .cta-btn { margin-left: 0; }
  .hero .container { min-height: 220px; }
  .feature-grid {
    flex-direction: column;
    gap: 20px;
  }
  .content-grid {
    flex-direction: column;
    gap: 14px;
  }
  .card-container {
    flex-direction: column;
    gap: 20px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  footer .container { flex-direction: column; gap: 32px; align-items: flex-start; }
  .footer-nav { margin-top: 18px; }
}
@media (max-width: 520px) {
  .section, .hero .container { padding: 22px 6px; }
  .feature-grid > div, .card, .testimonial-card { padding: 15px 8px; }
  .hero { border-radius: 0; }
  footer { padding: 24px 4px; }
}

/* ==== MOBILE BURGER MENU ==== */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 18px;
  right: 20px;
  z-index: 250;
  width: 46px;
  height: 46px;
  font-size: 2rem;
  background: var(--lux-gold);
  color: var(--lux-white);
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  box-shadow: 0 3px 10px rgba(188,162,71,0.12);
  border: none;
  transition: var(--transition);
}
@media (max-width: 1020px) {
  .mobile-menu-toggle {
    display: flex;
  }
}

/* --- Mobile nav overlay --- */
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  z-index: 300;
  background: rgba(27, 70, 98, 0.97);
  transform: translateX(100vw);
  transition: transform 0.36s cubic-bezier(.39,.58,.57,1);
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
}
.mobile-menu-close {
  font-size: 2.3rem;
  color: var(--lux-gold);
  background: transparent;
  align-self: flex-end;
  margin: 30px 32px 18px 0;
  transition: color 0.19s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #f9e29d;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-top: 48px;
  padding-left: 32px;
}
.mobile-nav a {
  color: var(--lux-white);
  font-size: 1.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 8px 0;
  transition: color 0.22s;
  border-left: 5px solid transparent;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--lux-gold);
  border-left: 5px solid var(--lux-gold);
}

/* Support for accessibility when open */
.mobile-menu.open { pointer-events: all; }
.mobile-menu:not(.open) { pointer-events: none; }

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

/* ==== COOKIE CONSENT BANNER ==== */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9000;
  background: var(--lux-white);
  color: var(--lux-dark);
  box-shadow: 0 -3px 18px 0px rgba(27,70,98,0.16);
  padding: 24px 16px 20px 16px;
  display: flex;
  align-items: center;
  flex-direction: row;
  gap: 18px;
  border-top: 3.5px solid var(--lux-gold);
  animation: slideUp 0.66s cubic-bezier(.41,.56,.57,1);
}
@keyframes slideUp { from { transform: translateY(120%); opacity: 0; } to { transform: translateY(0); opacity: 1; }}

.cookie-banner p {
  flex: 1 1 0;
  font-size: 1rem;
  color: var(--lux-dark);
  margin-bottom: 0;
}
.cookie-banner .cookie-btn {
  font-family: var(--font-display);
  font-weight: 600;
  border-radius: var(--radius-sm);
  font-size: 1.08rem;
  margin-right: 8px;
  min-width: 112px;
  padding: 9px 18px;
  border: none;
  transition: background 0.2s, color 0.2s;
}
.cookie-banner .cookie-btn.accept {
  background: var(--lux-gold);
  color: var(--lux-white);
  box-shadow: 0 2px 10px 0 rgba(188,162,71,0.10);
}
.cookie-banner .cookie-btn.accept:hover, .cookie-banner .cookie-btn.accept:focus {
  background: #fbe9aa;
  color: var(--lux-dark);
}
.cookie-banner .cookie-btn.reject {
  background: var(--lux-grey);
  color: var(--lux-dark);
}
.cookie-banner .cookie-btn.reject:hover, .cookie-banner .cookie-btn.reject:focus {
  background: #e5dcb9;
  color: var(--lux-dark);
}
.cookie-banner .cookie-btn.settings {
  background: none;
  color: var(--lux-gold);
  text-decoration: underline;
}
.cookie-banner .cookie-btn.settings:hover, .cookie-banner .cookie-btn.settings:focus {
  color: var(--primary);
}

@media (max-width: 600px) {
  .cookie-banner { flex-direction: column; gap: 11px; align-items: flex-start; }
}

/* ==== COOKIE PREFERENCES MODAL ==== */
.cookie-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(27,70,98,0.55);
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.32s cubic-bezier(.4,.62,.64,1);
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal-content {
  background: var(--lux-white);
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 44px rgba(27,70,98,0.14);
  max-width: 420px;
  width: 92vw;
  min-width: 275px;
  padding: 28px 22px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  animation: modalFadeIn 0.6s cubic-bezier(.4,.65,.62,1);
}
@keyframes modalFadeIn { from { transform: scale(0.88); opacity: 0; } to { transform: scale(1); opacity: 1;} }
.cookie-modal-content h2 {
  color: var(--lux-dark);
  font-size: 1.34rem;
  margin-bottom: 10px;
}
.cookie-modal-content ul {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.cookie-toggle {
  display: flex;
  align-items: center;
  gap: 13px;
  font-weight: 500;
}
.cookie-toggle input[type='checkbox'] {
  accent-color: var(--lux-gold);
  width: 18px; height: 18px;
}
.cookie-toggle label {
  font-size: 1.05rem;
  color: var(--lux-dark);
}
.cookie-modal-content .category-desc {
  color: var(--primary);
  font-size: 0.97rem;
}
.cookie-modal-content .modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 8px;
}
.cookie-modal-close {
  position: absolute;
  top: 18px; right: 20px;
  font-size: 1.6rem;
  color: var(--lux-gold);
  background: transparent;
  border: none;
  transition: color 0.17s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: var(--primary);
}

@media (max-width: 480px) {
  .cookie-modal-content { padding: 15px 7px 10px 7px; gap: 14px; min-width: 200px; }
  .cookie-modal-content h2 { font-size: 1.05rem; }
}

/* ==== ANIMATIONS & MICRO-INTERACTIONS ==== */
a, button, .cta-btn {
  transition: color 0.2s, background 0.22s, box-shadow 0.26s, border-color 0.2s;
}

input, textarea, select {
  font: inherit;
  border: 1.3px solid var(--lux-grey);
  border-radius: var(--radius-sm);
  padding: 7px 13px;
  background: var(--lux-white);
  margin-bottom: 12px;
  transition: border 0.2s, box-shadow 0.23s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--lux-gold);
  box-shadow: 0 1px 8px 0 rgba(188,162,71,0.13);
}

/* ==== MISC ==== */
::-webkit-scrollbar { width: 10px; background: var(--accent); }
::-webkit-scrollbar-thumb { background: var(--lux-grey); border-radius: 6px; }

hr { border: 0; border-top: 1.5px solid var(--lux-grey); margin: 28px 0; }

/* Utility classes */
.mb-0 { margin-bottom: 0!important; }
.mb-4 { margin-bottom: 4px!important; }
.mb-20 { margin-bottom: 20px!important; }

/* Accessibility Links/Highlights */
a:focus-visible, button:focus-visible, .cta-btn:focus-visible {
  outline: 2.5px solid var(--lux-gold);
  outline-offset: 2px;
}
