/* =========================================
   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;
}
html {
  height: 100%;
  scroll-behavior: smooth;
}
body {
  line-height: 1.5;
  font-family: 'Roboto', Arial, sans-serif;
  min-height: 100vh;
  background-color: #F5F7FA;
  color: #242729;
  -webkit-font-smoothing: antialiased;
}
*, *::before, *::after {
  box-sizing: inherit;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
ul, ol {
  list-style: disc inside;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  line-height: 1.2;
}
input[type="email"]:focus, input[type="text"]:focus, textarea:focus, select:focus {
  outline: 2px solid #d4af37;
  outline-offset: 2px;
}

/* =========================================
   LUXURY PREMIUM THEME COLORS / VARIABLES
   ========================================= */
:root {
  --brand-primary: #20426D;
  --brand-secondary: #24A28A;
  --neutral-bg: #F5F7FA;
  --gold: #d4af37;
  --gold-dark: #af8c23;
  --on-dark: #ffffff;
  --section-bg: #fff;
  --section-border: #eaeaea;
  --shadow: 0 3px 16px 0 rgba(32, 66, 109, 0.06), 0 1.5px 6px 0 rgba(0,0,0,0.03);
  --border-radius: 18px;
  --border-radius-sm: 12px;
}

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

body {
  font-size: 16px;
  color: #1d2233;
  background: var(--neutral-bg);
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: #193353;
}
h1 {
  font-size: 2.75rem;
  line-height: 1.15;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  line-height: 1.15;
  margin-bottom: 22px;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}
p, li {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.05rem;
  color: #283042;
  margin-bottom: 10px;
}
strong, b {
  font-weight: 700;
  color: var(--brand-primary);
}
ul {
  margin-bottom: 18px;
  padding-left: 20px;
}
.text-section ul {
  margin-bottom: 0;
}

/* =========================================
   GLOBAL CONTAINER LAYOUTS
   ========================================= */
.container {
  width: 100%;
  max-width: 1170px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--section-bg);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}
.text-section {
  max-width: 750px;
  margin: 0 auto;
  padding: 0 10px;
}

/* =========================================
   HEADER & NAVIGATION
   ========================================= */
header {
  background: var(--section-bg);
  box-shadow: 0 2px 8px 0 rgba(32, 66, 109, 0.04);
  position: sticky;
  top: 0;
  z-index: 90;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 20px 20px 20px;
}
.logo img {
  height: 44px;
  vertical-align: middle;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: 20px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.01rem;
  color: var(--brand-primary);
  letter-spacing: 0.3px;
  padding: 5px 8px;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}
.main-nav a:hover,
.main-nav a:focus {
  background: var(--gold);
  color: #fff;
}
.cta-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(90deg, #d4af37 60%, #af8c23 100%);
  padding: 12px 32px;
  border: none;
  border-radius: 24px;
  box-shadow: 0 2px 16px 0 rgba(32, 66, 109, 0.11);
  font-size: 1.13rem;
  cursor: pointer;
  position: relative;
  transition: box-shadow 0.2s, background 0.25s, color 0.2s;
  outline: none;
  text-shadow: 0px 1px 6px rgba(32,66,109,0.13);
  letter-spacing: 0.6px;
}
.cta-btn:hover,
.cta-btn:focus {
  background: linear-gradient(90deg, #af8c23 90%, #d4af37 100%);
  color: #fff;
  box-shadow: 0 4px 20px 0 rgba(32,66,109,0.16);
}

/* =========================================
   MOBILE NAVIGATION
   ========================================= */
.mobile-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  font-size: 2.2rem;
  color: var(--brand-primary);
  cursor: pointer;
  padding: 6px 16px;
  border-radius: 40px;
  z-index: 150;
  opacity: 0.93;
  transition: background 0.17s, color 0.17s, box-shadow 0.18s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--gold);
  color: #fff;
  box-shadow: 0 2px 12px 0 rgba(32,66,109,.11);
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(108deg, #fff 80%, #f5f7fa 100%);
  z-index: 200;
  padding: 32px 24px;
  transform: translateX(-100%);
  transition: transform 0.38s cubic-bezier(.68,-0.55,.27,1.55);
  box-shadow: 2px 0 40px 0 rgba(32, 66, 109, 0.16);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: var(--gold);
  border: none;
  font-size: 2rem;
  color: #fff;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 26px;
  cursor: pointer;
  transition: background 0.18s, box-shadow 0.17s;
  box-shadow: 0 2px 12px 0 rgba(32,66,109,.11);
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--gold-dark);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}
.mobile-nav a {
  padding: 14px 0;
  color: var(--brand-primary);
  font-size: 1.18rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 0.27px;
  border-bottom: 1px solid #e5e5e7;
  transition: color 0.19s, background 0.18s;
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--gold-dark);
  background: #f9f5e6;
  border-radius: 6px;
}

@media (max-width: 1020px) {
  .main-nav {
    gap: 16px;
  }
}
@media (max-width: 870px) {
  header .container {
    gap: 14px;
    padding: 18px 10px 16px 10px;
  }
  .logo img { height: 37px; }
}
@media (max-width: 768px) {
  .main-nav { display: none !important; }
  .cta-btn { display: none; }
  .mobile-menu-toggle { display: flex; }
}

/* =========================================
   FLEXBOX COMMON PATTERNS (CARDS, GRIDS)
   ========================================= */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  box-shadow: var(--shadow);
  border-radius: var(--border-radius);
  padding: 28px 22px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.2s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 6px 32px 0 rgba(32,66,109,0.16);
  z-index: 5;
}
.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;
  padding: 20px;
  background: #fff;
  border-radius: var(--border-radius-sm);
  box-shadow: 0 3px 10px 0 rgba(32,66,109,0.09);
  margin-bottom: 24px;
  color: #273048;
  border-left: 5px solid var(--gold);
  position: relative;
  min-width: 0;
}
.testimonial-card p {
  font-style: italic;
  color: #273048;
}
.testimonial-card strong {
  font-size: 1.08rem;
  color: var(--brand-secondary);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: var(--border-radius-sm);
  padding: 22px 18px 20px 18px;
  box-shadow: var(--shadow);
  min-width: 240px;
  flex: 1 1 250px;
  max-width: 340px;
  margin-bottom: 20px;
  border: 1.5px solid #f1e7cf;
  transition: box-shadow 0.18s, transform 0.19s, border 0.14s;
  position: relative;
}
.feature-item:hover {
  box-shadow: 0 6px 28px 0 rgba(32, 66, 109, 0.13);
  border: 1.5px solid var(--gold);
  transform: translateY(-5px) scale(1.02);
  z-index: 4;
}
.feature-item img {
  height: 44px;
  width: 44px;
  object-fit: contain;
  margin-bottom: 10px;
}
.price {
  color: var(--gold-dark);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 0.03em;
  font-size: 1.03rem;
  margin-top: 2px;
  border-radius: 8px;
  padding: 1px 8px;
  background: #fff7e2;
  border: 1.1px solid #f7e4bb;
}

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-bottom: 16px;
}

@media (max-width: 1020px) {
  .feature-item {
    min-width: 210px;
    max-width: 100%;
    flex: 1 1 220px;
  }
}
@media (max-width: 900px) {
  .feature-grid {gap: 16px;}
  .feature-item {padding: 16px 10px;}
}
@media (max-width: 768px) {
  .feature-grid, .card-container, .content-grid {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }
  .section {
    padding: 28px 8px;
    margin-bottom: 40px;
  }
  .card {padding: 18px 8px;}
  .testimonial-card {flex-direction: column; gap: 14px; padding: 12px;}
}

/* =========================================
   HERO & SECTION PATTERNS
   ========================================= */
section {
  margin-bottom: 60px;
  padding: 0;
  background: none;
  box-shadow: none;
  border-radius: 0;
}
section > .container > .content-wrapper {
  padding: 0;
}
section > .container {
  padding-top: 32px;
  padding-bottom: 32px;
}
section:last-child {margin-bottom: 0;}

/* =========================================
   TESTIMONIAL SLIDER AND LOGOS
   ========================================= */
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
  align-items: stretch;
}
.client-logos {
  display: flex;
  gap: 28px;
  align-items: center;
  margin-top: 10px;
}
.client-logos img {
  height: 48px;
  width: auto;
  opacity: 0.75;
}

@media (max-width: 768px) {
  .testimonial-slider {
    flex-direction: column;
    gap: 14px;
  }
  .client-logos {
    gap: 16px;
    justify-content: center;
    margin-top: 0;
  }
}

/* =========================================
   FILTER BUTTONS / CATEGORIES (BLOG)
   ========================================= */
.category-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-bottom: 18px;
}
.filter {
  background: #f5f2e6;
  color: #875c08;
  border: 1.2px solid #efd9a2;
  border-radius: 24px;
  padding: 7px 18px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.03rem;
  cursor: pointer;
  transition: background 0.18s, color 0.19s, border 0.13s;
  box-shadow: 0 1px 4px 0 rgba(32,66,109,0.07);
}
.filter:hover, .filter:focus, .filter.active {
  background: var(--gold);
  color: #fff;
  border: 1.3px solid var(--gold-dark);
}

/* =========================================
   FORMS AND INPUTS
   ========================================= */
form {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: 10px;
}
input[type="email"], input[type="text"], textarea {
  padding: 10px 16px;
  border-radius: 9px;
  border: 1.1px solid #e2dece;
  font-size: 1rem;
  background: #fff;
  color: #293044;
  transition: border 0.19s, box-shadow 0.15s;
  min-width: 210px;
  margin-bottom: 7px;
}
input:focus, textarea:focus {
  border-color: var(--gold-dark);
  box-shadow: 0 2px 8px 0 rgba(212,175,55,.12);
}
button[type="submit"].cta-btn {
  margin-left: 6px;
  margin-top: 0;
}
label {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.06rem;
  color: #193353;
  margin-bottom: 6px;
}
@media (max-width: 600px) {
  form {
    flex-direction: column;
    gap: 10px;
    align-items: stretch;
  }
  input[type="email"] {
    min-width: 0;
    width: 100%;
  }
  button[type="submit"] {
    width: 100%;
    margin-left: 0;
  }
}

/* =========================================
   FOOTER
   ========================================= */
footer {
  background: var(--brand-primary);
  color: #fff;
  padding: 42px 0 0 0;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
  padding-bottom: 36px;
}
.footer-branding {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}
.footer-branding img {
  height: 40px;
  filter: brightness(220%);
  margin-bottom: 3px;
}
.footer-branding span {
  font-size: 0.96rem;
  color: #f6e1b6;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav a {
  color: #fff7da;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  opacity: 0.92;
  transition: color 0.17s, opacity 0.2s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--gold);
  text-decoration: underline;
  opacity: 1;
}
.footer-contact {
  color: #fff7da;
  font-size: 1rem;
  line-height: 1.7;
}
.footer-contact a {
  color: #fff;
  text-decoration: underline dotted;
  transition: color 0.17s;
}
.footer-contact a:hover, .footer-contact a:focus {
  color: var(--gold-dark);
}

@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
    text-align: left;
  }
  .footer-branding { align-items: flex-start;}
}
@media (max-width: 600px) {
  footer {
    padding: 26px 0 0 0;
  }
  .footer-branding img { height: 32px; }
}

/* =========================================
   COOKIE CONSENT BANNER & MODAL
   ========================================= */
#cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #fffbea;
  border-top: 3px solid var(--gold);
  box-shadow: 0 -3px 19px 0 rgba(32,66,109,0.11);
  z-index: 900;
  padding: 20px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  transition: transform 0.33s cubic-bezier(.68,-0.55,.27,1.55);
  transform: translateY(0);
}
#cookie-banner.hide {
  transform: translateY(100%);
}
#cookie-banner .cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  padding: 10px 18px;
  margin-left: 8px;
  margin-top: 0;
  border: none;
  border-radius: 20px;
  font-size: 1rem;
  background: var(--gold);
  color: #fff;
  transition: background 0.2s, color 0.18s;
  cursor: pointer;
}
#cookie-banner .cookie-btn.reject {
  background: #e2dece;
  color: #735f20;
}
#cookie-banner .cookie-btn.settings {
  background: #fff7e2;
  color: var(--brand-primary);
  border: 1px solid var(--gold-dark);
}
#cookie-banner .cookie-btn:hover, #cookie-banner .cookie-btn:focus {
  filter: brightness(0.96);
}

/* Cookie consent modal */
#cookie-modal {
  display: none;
  position: fixed;
  z-index: 1200;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(32,66,109,0.22);
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.24s;
}
#cookie-modal.open {
  display: flex;
}
#cookie-modal .modal-content {
  background: #fff6e1;
  border-radius: 18px;
  box-shadow: 0 6px 36px 0 rgba(32,66,109,0.23);
  min-width: 320px;
  max-width: 97vw;
  padding: 28px 22px 24px 24px;
  font-family: 'Roboto', Arial, sans-serif;
  color: #254;
  position: relative;
  animation: slideUp 0.3s cubic-bezier(.68,-0.3,.27,1.30);
}
#cookie-modal h2 {
  font-size: 1.34rem;
  margin-bottom: 20px;
  color: var(--gold-dark);
}
#cookie-modal ul {
  list-style-type: none;
  padding-left: 0;
  margin-bottom: 18px;
}
#cookie-modal li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 1.05rem;
}
#cookie-modal label {
  font-family: inherit;
  font-weight: 600;
  margin-bottom: 0;
}
#cookie-modal .toggle-switch {
  display: inline-flex;
  align-items: center;
  position: relative;
}
#cookie-modal .toggle-switch input[type="checkbox"] {
  display: none;
}
#cookie-modal .toggle-switch span {
  width:40px; height:22px;
  display: inline-block;
  border-radius:11px;
  border:1.3px solid #e8d28b;
  background: #f8eaca;
  position:relative;
  margin-left: 2px;
  transition: background 0.18s, border 0.17s;
}
#cookie-modal .toggle-switch span::after {
  content: '';
  width:18px; height:18px;
  background: #daa520;
  border-radius:50%;
  position:absolute;
  left:1.5px; top:1.6px;
  transition: left 0.19s, background 0.14s;
}
#cookie-modal .toggle-switch input[type="checkbox"]:checked + span {
  background: var(--gold);
  border-color: var(--gold-dark);
}
#cookie-modal .toggle-switch input[type="checkbox"]:checked + span::after {
  left: 19px; background: var(--brand-primary);
}
#cookie-modal .modal-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 10px;
}
#cookie-modal .modal-actions .cookie-btn {
  padding: 9px 18px;
  font-size: 1rem;
}
#cookie-modal .modal-close {
  position: absolute;
  top: 13px; right: 17px;
  background: none;
  border: none;
  font-size: 1.48rem;
  color: var(--gold-dark);
  cursor: pointer;
}

@media (max-width: 700px) {
  #cookie-banner {flex-direction: column; padding: 15px 10px; font-size: 0.98rem;}
  #cookie-modal .modal-content {padding: 18px 6px 15px 12px; min-width: 0;}
}
@keyframes fadeIn {
  from{opacity:0;} to{opacity:1;}
}
@keyframes slideUp {
  from{transform:translateY(90px);} to{transform:translateY(0);}
}

/* =========================================
   MISC UTILITY CLASSES
   ========================================= */
.bg-gold {
  background: var(--gold) !important;
}
.gold-text { color: var(--gold-dark) !important; }
.text-center { text-align:center; }
.text-right { text-align:right; }
.text-left { text-align:left; }
.mt-0 { margin-top:0 !important; }
.mx-auto { margin-left:auto; margin-right:auto; }

/* =========================================
   SECTIONS: SPACING & VISUAL HIERARCHY
   ========================================= */
.section, .content-wrapper, .card-container, .feature-grid,
.content-grid, .testimonial-slider {
  margin-bottom: 0 !important;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--section-bg);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}
.card-container, .content-grid, .feature-grid, .testimonial-slider {
  gap: 20px;
}
.card, .feature-item, .testimonial-card {
  margin-bottom: 20px;
}

/* Ensure no card overlaps and all flex layouts use the correct gap */
.card:not(:last-child), .feature-item:not(:last-child), .testimonial-card:not(:last-child) {
  margin-bottom: 24px;
}
@media (max-width: 600px) {
  .section {padding: 20px 2px;}
}

/* =========================================
   ADDITIONAL MICRO-INTERACTIONS
   ========================================= */
a:not(.cta-btn):hover, a:not(.cta-btn):focus {
  color: var(--gold-dark);
  text-decoration: underline;
  outline: none;
}
.card:active, .feature-item:active {
  transform: scale(0.98) translateY(2px);
  box-shadow: 0 1px 8px 0 rgba(32,66,109,0.09);
}
.testimonial-card:active {
  box-shadow: 0 2px 16px 0 rgba(32,66,109,0.10);
  transform: scale(0.99);
}
button:active {
  filter: brightness(0.93);
}

/* =========================================
   RESPONSIVE BREAKPOINTS
   ========================================= */
@media (max-width: 1100px) {
  .container {padding-left:10px;padding-right:10px;}
}
@media (max-width:900px) {
  h1 {font-size:2rem;}
  h2 {font-size:1.41rem;}
  .feature-item {min-width:160px;}
}
@media (max-width:600px) {
  h1, .hero h1 {font-size:1.22rem;}
  h2 {font-size:1.1rem;}
  .container {padding-left:2vw;padding-right:2vw;}
  .feature-item {padding:10px 2px;}
}

/* =========================================
   ACCESSIBILITY
   ========================================= */
:focus-visible,
button:focus-visible,
a:focus-visible {
  outline: 2.5px solid var(--gold-dark);
  outline-offset: 3px;
  box-shadow: 0 0 0 3px rgba(212,175,55,.17);
}
::-webkit-input-placeholder { color: #a7acb6; }
::-moz-placeholder { color: #a7acb6; }
:-ms-input-placeholder { color: #a7acb6; }
::placeholder { color: #a7acb6; }

/* =========================================
   PRINT OPTIMIZATION
   ========================================= */
@media print {
  header, footer, .mobile-menu, #cookie-banner, #cookie-modal {display:none!important;}
}
