/* =========================================================
   CSS RESET & BASE 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;
  vertical-align: baseline;
  box-sizing: border-box;
  font: inherit;
}
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *:before, *:after { box-sizing: inherit; }
body {
  background: #F4F5F7;
  color: #20293A;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; border: 0; }
a { color: #24497A; text-decoration: none; transition: color 0.3s; }
a:hover, a:focus { color: #EFCB73; outline: none; }

/* =========================================================
   BRAND FONTS & COLORS (Luxury Premium)
========================================================= */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,600,400|Open+Sans:400,600,700&display=swap');
:root {
  --color-primary: #24497A;
  --color-secondary: #F4F5F7;
  --color-accent: #FFB14E;
  --color-premium-gold: #C9A044;
  --color-premium-dark: #1A2330;
  --color-white: #fff;
  --font-display: 'Montserrat', Arial, sans-serif;
  --font-body: 'Open Sans', Arial, sans-serif;
  --radius-md: 16px;
  --radius-lg: 28px;
  --shadow-elevate: 0 8px 28px rgba(36,73,122,0.13);
  --shadow-card: 0 3px 14px rgba(36,73,122,0.13);
  --transition-base: 0.24s cubic-bezier(.61,.01,.47,1.44);
}

/* =========================================================
   LUXURY PREMIUM THEME OVERRIDES
========================================================= */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--color-primary);
  font-weight: 700;
  margin-bottom: 14px;
  letter-spacing: 0.02em;
}
h1 { font-size: 2.5rem; line-height: 1.18; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.3rem; margin-bottom: 10px; }
h4, h5 { font-size: 1rem; font-weight: 600; color: var(--color-premium-gold); }
p, li, span { font-family: var(--font-body); color: #3B4155; font-size: 1rem; }
strong { font-weight: 700; }

.section, main > section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

/* Hero Sections */
.hero {
  background: linear-gradient(120deg, var(--color-white) 60%, var(--color-secondary) 100%);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  box-shadow: 0 15px 48px rgba(36,73,122,0.09);
  margin-bottom: 40px;
  padding: 48px 0;
}
.hero h1 {
  color: var(--color-premium-dark);
  font-size: 2.8rem;
  margin-bottom: 20px;
}
.hero p {
  font-size: 1.25rem;
  margin-bottom: 24px;
  color: #434A5E;
}

/* =========================================================
   NAVIGATION & HEADER
========================================================= */
header {
  background: var(--color-white);
  box-shadow: 0 2px 10px rgba(36,73,122,0.09);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 103;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  gap: 24px;
}
header img { height: 54px; min-width: 48px; }
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.main-nav a {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--color-primary);
  background: none;
  padding: 8px 10px;
  border-radius: var(--radius-md);
  transition: background var(--transition-base), color var(--transition-base);
  font-size: 1rem;
  position: relative;
}
.main-nav a.cta {
  background: var(--color-premium-gold);
  color: var(--color-premium-dark);
  padding: 10px 26px;
  margin-left: 16px;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(201,160,68,0.08);
  border-radius: var(--radius-lg);
  transition: box-shadow 0.2s, background 0.24s;
}
.main-nav a.cta:hover, .main-nav a.cta:focus {
  background: var(--color-accent);
  color: var(--color-white);
  box-shadow: 0 4px 18px rgba(255,177,78,0.15);
}
.main-nav a:hover, .main-nav a:focus:not(.cta) {
  background: var(--color-secondary);
  color: var(--color-premium-gold);
}
.mobile-menu-toggle {
  background: var(--color-accent);
  color: var(--color-premium-dark);
  border: none;
  border-radius: 50%;
  font-size: 2rem;
  width: 44px;
  height: 44px;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition-base);
  z-index: 106;
  margin-left: 8px;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus { background: var(--color-premium-gold); }

/* Mobile Menu Overlay */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(36,73,122,0.95);
  z-index: 1050;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-end;
  transform: translateX(100%);
  pointer-events: none;
  opacity: 0;
  transition: transform 0.34s cubic-bezier(.61,.01,.47,1.44), opacity 0.22s;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  margin: 32px 32px 0 0;
  background: none;
  color: var(--color-premium-gold);
  border: none;
  font-size: 2.2rem;
  cursor: pointer;
  align-self: flex-end;
  transition: color 0.18s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus { color: var(--color-accent); }
.mobile-nav {
  width: 100%;
  display: flex;
  flex-direction: column;
  padding: 32px 48px 0 44px;
  gap: 22px;
}
.mobile-nav a {
  color: var(--color-premium-gold);
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: color var(--transition-base);
}
.mobile-nav a:hover, .mobile-nav a:focus { color: var(--color-accent); }

/* Hide desktop nav, show burger on mobile */
@media (max-width: 1024px) {
  .main-nav  { display: none; }
  .mobile-menu-toggle { display: flex; }
}
@media (min-width: 1025px) {
  .mobile-menu { display: none !important; }
}

/* =========================================================
   FLEX CARD & CONTENT LAYOUTS
========================================================= */
.feature-grid,
.card-container,
.content-grid,
.features .feature-grid,
.team .feature-grid,
.blog-post-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 12px;
  margin-bottom: 8px;
  justify-content: flex-start;
}
.feature-item,
.card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 30px 28px 28px 28px;
  margin-bottom: 20px;
  flex: 1 1 260px;
  min-width: 250px;
  max-width: 361px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  border: 1px solid rgba(201,160,68,0.08);
  position: relative;
  transition: box-shadow 0.18s, transform 0.20s;
}
.feature-item img { width: 44px; height: 44px; margin-bottom: 6px; }
.feature-item h3 { color: var(--color-premium-dark); font-size: 1.1rem; margin-bottom: 2px; }
.feature-item p { font-size: 1rem; color: #435172; }
.feature-item:hover, .card:hover {
  box-shadow: 0 6px 18px 0 rgba(36,73,122,0.13),0 0 0 2px var(--color-premium-gold);
  transform: translateY(-3px) scale(1.015);
}

/* Testimonials */
.testimonials {
  background: var(--color-secondary);
  border-radius: var(--radius-lg);
  padding: 40px 0;
}
.testimonial-slider, .testimonial-stories {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
  justify-content: flex-start;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: 0 2px 10px rgba(68,56,9,0.07);
  padding: 20px 24px 18px;
  min-width: 250px;
  max-width: 360px;
  margin-bottom: 20px;
  border-left: 4px solid var(--color-premium-gold);
  transition: box-shadow 0.2s, border-left 0.2s;
  color: #1F2634;
}
.testimonial-card:hover { box-shadow: 0 8px 22px rgba(68,56,9,0.15); border-left-color: var(--color-accent); }
.testimonial-card p {
  font-family: var(--font-body);
  color: var(--color-premium-dark);
  font-size: 1.08rem;
  margin-bottom: 10px;
}
.testimonial-card h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--color-premium-gold);
  font-weight: 700;
  margin-bottom: 0;
}

/* CTA Banner/Section */
.cta {
  background: var(--color-premium-dark);
  color: var(--color-premium-gold);
  border-radius: var(--radius-lg);
  text-align: center;
  min-height: 56px;
  padding: 44px 24px;
  box-shadow: 0 8px 32px rgba(36,73,122,0.11);
}
.cta h2 {
  color: var(--color-premium-gold);
  margin-bottom: 18px;
  font-size: 2rem;
}
.cta p {
  color: #f6efd7;
  font-size: 1.18rem;
  margin-bottom: 20px;
}
.cta a.cta {
  background: var(--color-premium-gold);
  color: var(--color-premium-dark);
  box-shadow: 0 2px 14px rgba(201,160,68,0.12);
  font-weight: 700;
  border-radius: var(--radius-lg);
  padding: 13px 34px;
  font-size: 1.19rem;
  transition: background 0.21s, color 0.24s, box-shadow 0.18s, transform 0.18s;
  margin: 0 auto;
  display: inline-block;
}
.cta a.cta:hover, .cta a.cta:focus {
  background: var(--color-white);
  color: var(--color-premium-gold);
  box-shadow: 0 4px 28px rgba(201,160,68,0.22);
  transform: scale(1.04);
}

/* =========================================================
   LISTS, MAP BLOCKS, ETC.
========================================================= */
ul, ol { margin-bottom: 16px; margin-left: 18px; }
ul li, ol li { font-size: 1rem; margin-bottom: 8px; list-style: disc inside; }
.map-placeholder {
  background: var(--color-secondary);
  border: 1.5px dashed var(--color-premium-gold);
  border-radius: var(--radius-md);
  padding: 22px 18px;
  color: #838589;
  font-size: 1rem;
  font-style: italic;
  margin-top: 18px;
}

/* ==========================
   FOOTER
========================== */
footer {
  background: var(--color-primary);
  color: #f5ecdb;
  padding: 40px 0 0 0;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  box-shadow: 0 -5px 25px rgba(36,73,122,0.07);
  margin-top: 52px;
}
footer .container {
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
  padding: 0 12px 12px 12px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.footer-nav a {
  color: var(--color-premium-gold);
  font-size: 1rem;
  font-family: var(--font-display);
  transition: color 0.18s;
  margin-bottom: 4px;
}
.footer-nav a:hover, .footer-nav a:focus { color: var(--color-accent); }
.footer-contact {
  font-size: 0.98rem;
  font-family: var(--font-body);
  color: #e2cea5;
  margin-bottom: 16px;
}
.footer-contact a { color: var(--color-accent); font-weight: 600; }
.footer-contact a:hover { color: var(--color-premium-gold); }
.footer-social {
  display: flex;
  gap: 18px;
}
.footer-social a {
  background: rgba(255,255,255,0.06);
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.14s, transform 0.19s;
}
.footer-social a:hover, .footer-social a:focus {
  background: var(--color-premium-gold);
  transform: scale(1.09);
}
footer img { width: 22px; height: 22px; }

/* =============================
   BUTTONS, LINKS, MICRO INT.
============================= */
button, input[type="button"], input[type="submit"] {
  font-family: var(--font-display);
  font-weight: 600;
  background: var(--color-premium-gold);
  color: var(--color-premium-dark);
  border: none;
  border-radius: var(--radius-md);
  padding: 12px 30px;
  font-size: 1rem;
  box-shadow: 0 2px 7px rgba(201,160,68,.13);
  transition: background 0.2s, color 0.2s, box-shadow 0.16s, transform 0.18s;
  cursor: pointer;
}
button:hover, button:focus {
  background: var(--color-accent);
  color: var(--color-primary);
  box-shadow: 0 6px 16px 0 rgba(201,160,68,0.28);
  transform: translateY(-1px) scale(1.01);
}

a.cta {
  background: var(--color-premium-gold);
  color: var(--color-premium-dark);
  padding: 10px 26px;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: .02em;
  font-size: 1.11rem;
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 20px rgba(201,160,68,0.19);
  display: inline-block;
  transition: background 0.17s, color 0.22s, box-shadow 0.18s, transform 0.18s;
}
a.cta:hover, a.cta:focus {
  background: var(--color-accent);
  color: var(--color-white);
  box-shadow: 0 6px 24px rgba(255,177,78,0.19);
  transform: scale(1.03);
}

/* =========================================================
   COOKIE CONSENT BANNER
========================================================= */
.cookie-consent-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--color-white);
  box-shadow: 0 -7px 24px rgba(36,73,122,0.11);
  border-top: 2px solid var(--color-premium-gold);
  z-index: 1200;
  padding: 24px 18px 18px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: 60px;
  animation: cookieSlideIn 0.66s cubic-bezier(.42,0,.56,1.37);
}
@keyframes cookieSlideIn {
  from {transform: translateY(120%); opacity: 0; }
  to {transform: translateY(0); opacity: 1; }
}
.cookie-consent-banner p { color: var(--color-primary); margin: 0; font-size: 1rem; }
.cookie-consent-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.cookie-consent-banner button {
  font-family: var(--font-display);
  font-weight: 700;
  padding: 7px 22px;
  font-size: 1rem;
  border-radius: var(--radius-md);
  border: none;
  margin: 0 0 0 2px;
  background: var(--color-premium-gold);
  color: var(--color-premium-dark);
  transition: background .22s, color .17s, box-shadow .18s;
}
.cookie-consent-banner button.accept {
  background: var(--color-premium-gold);
  color: var(--color-premium-dark);
}
.cookie-consent-banner button.reject {
  background: #ECECEC;
  color: #B88D2D;
}
.cookie-consent-banner button.settings {
  background: var(--color-accent);
  color: var(--color-primary);
}
.cookie-consent-banner button:hover, .cookie-consent-banner button:focus {
  background: var(--color-accent);
  color: var(--color-white);
}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  z-index: 1300;
  background: rgba(36,73,122,0.27);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  opacity: 1;
  animation: fadeInCookieModal 0.34s cubic-bezier(.51,.01,.71,1.34);
}
@keyframes fadeInCookieModal {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal-content {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 38px 36px 32px;
  min-width: 320px;
  max-width: 420px;
  box-shadow: 0 8px 34px 0 rgba(36,73,122,0.19);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 18px;
  position: relative;
  animation: cookieContentPop 0.44s cubic-bezier(.42,0,.67,1.41);
}
@keyframes cookieContentPop {
  from { transform: scale(0.95); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.cookie-modal-content h2 {
  font-size: 1.2rem;
  color: var(--color-primary);
}
.cookie-modal-content .cookie-cat {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1rem;
  margin: 11px 0;
}
.cookie-modal-content label {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-primary);
}
.cookie-modal-content .toggle-switch {
  appearance: none;
  width: 38px;
  height: 20px;
  background: #e7e7e7;
  border-radius: 12px;
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background .17s;
}
.cookie-modal-content .toggle-switch:checked {
  background: var(--color-premium-gold);
}
.cookie-modal-content .toggle-switch:before {
  content: '';
  position: absolute;
  left: 3px; top: 3px;
  width: 14px; height: 14px;
  background: var(--color-white);
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(68,56,9,0.07);
  transition: transform .19s;
}
.cookie-modal-content .toggle-switch:checked:before {
  transform: translateX(18px);
}
.cookie-modal-close {
  position: absolute;
  top: 10px; right: 15px;
  background: none;
  color: var(--color-premium-gold);
  font-size: 1.6rem;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 11;
}
.cookie-modal-close:focus, .cookie-modal-close:hover { color: var(--color-accent); }
.cookie-modal-footer {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 10px;
}
.cookie-modal-footer button {
  padding: 8px 16px;
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  font-weight: 700;
  border: 0;
  background: var(--color-premium-gold);
  color: var(--color-premium-dark);
  transition: background .22s;
}
.cookie-modal-footer button:hover, .cookie-modal-footer button:focus {
  background: var(--color-accent);
  color: var(--color-white);
}

/* =====================
   RESPONSIVE DESIGN
===================== */
@media (max-width: 1024px) {
  .container {
    max-width: 950px;
    padding: 0 7px;
  }
}
@media (max-width: 768px) {
  html { font-size: 96%; }
  .section, main > section {
    padding: 28px 6px 28px 6px;
    margin-bottom: 40px;
  }
  .container {
    max-width: 98vw;
    padding: 0 2vw;
  }
  header .container { height: 58px; }
  .hero { padding: 32px 0; margin-bottom: 24px; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.34rem; margin-bottom: 10px;}
  h3, .feature-item h3 { font-size: 1.05rem; }
  .feature-grid, .card-container, .testimonial-slider, .testimonial-stories, .content-grid, .blog-post-grid {
    gap: 18px;
    flex-direction: column;
    align-items: stretch;
  }
  .feature-item, .card, .testimonial-card {
    min-width: 0;
    max-width: 100%;
    padding: 16px 13px 14px 16px;
  }
  .cta { padding: 26px 8px; }
  footer {
    padding: 27px 0 0 0;
    margin-top: 30px;
  }
  footer .container {
    padding: 0 2vw 10px 2vw;
    flex-direction: column;
    align-items: stretch;
    gap: 22px;
  }
  .footer-social { gap: 11px; }
  .footer-nav { flex-direction: row; flex-wrap: wrap; gap: 14px; }
  .testimonial-card { padding: 16px 7px 11px 12px; }
  .cookie-consent-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
    padding: 18px 7px 12px 10px;
  }
  .cookie-modal-content {
    padding: 18px 10px 14px;
    min-width: 90vw;
    max-width: 98vw;
  }
}
@media (max-width: 500px) {
  h1 { font-size: 1.34rem; }
  .hero h1 { font-size: 1.5rem; }
  .cta h2 { font-size: 1.1rem; }
}

/* =====================
   PAGE-SPECIFIC OVERRIDES
===================== */
.confirmation {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 30px rgba(36,73,122,0.07);
  padding: 40px 20px 36px 20px;
  margin-bottom: 36px;
}
.confirmation ul { padding-left: 18px; }
.map-placeholder {
  margin-bottom: 18px;
}
.team .feature-grid {
  margin-bottom: 15px;
}

/* =====================
   HIGH-CONTRAST UTILITIES
===================== */
.bg-premium-dark { background: var(--color-premium-dark) !important; color: var(--color-premium-gold) !important; }
.bg-premium-gold { background: var(--color-premium-gold) !important; color: var(--color-premium-dark) !important; }
.text-premium-gold { color: var(--color-premium-gold) !important; }
.text-premium-dark { color: var(--color-premium-dark) !important; }
.border-premium-gold { border-color: var(--color-premium-gold) !important; }

/* Hide outline if not focused with keyboard */
:focus:not(:focus-visible) { outline: none; }

/* Hide scrollbars for overlay */
.mobile-menu.open, .cookie-modal { scrollbar-width: thin; }

/* =====================
   FIXED: FLEXBOX ONLY
===================== */
/* All layout containers use display: flex, NOT grid/columns */
/* (see above for .feature-grid, .card-container, etc.) */
