/* MEB THEME v3.7 - LOCKED GOLD LUXURY (DARK + LIGHT)
   ✅ All 15 Languages support
   ✅ Opera/Safari/IE/Edge compatible
   ✅ Apple-style rounded corners (24px)
   ✅ Locked theme exact colors — dark + light toggle
   ========================================================== */

:root {
  --radius: 24px;
  /* gold accents (same in both modes) */
  --gold: #d4a542;
  --gold-dark: #b8842b;
  --gold-light: #dcb24f;
  --grad-gold-text: linear-gradient(180deg,#f5e3a8,#c69833 55%,#7d5417);
  --grad-gold-btn: linear-gradient(180deg,#f7e8b0,#dcb24f 40%,#b8842b 100%);
}

/* DARK (default) */
html[data-theme="dark"], :root {
  --bg: #070a14;
  --card: #0c1019;
  --card2: #0a0d16;
  --dark: #0a0d16;
  --text: #ffffff;
  --soft: rgba(255,255,255,0.72);
  --muted: rgba(255,255,255,0.5);
  --border: rgba(212,165,66,0.2);
  --border-strong: rgba(212,165,66,0.35);
  --hero: radial-gradient(ellipse 60% 100% at 50% 0%, #141a2e 0%, #070a14 70%);
  --img: radial-gradient(ellipse 85% 90% at 50% 40%, #232a40 0%, #0c1019 78%);
  --sh: none;
}

/* LIGHT */
html[data-theme="light"] {
  --bg: #fdfcfa;
  --card: #ffffff;
  --card2: #faf7f0;
  --dark: #faf7f0;
  --text: #1f1c18;
  --soft: rgba(31,28,24,0.72);
  --muted: rgba(31,28,24,0.5);
  --border: rgba(184,132,43,0.25);
  --border-strong: rgba(184,132,43,0.4);
  --hero: radial-gradient(ellipse 60% 100% at 50% 0%, #fbf6ea 0%, #f3ecdc 75%);
  --img: radial-gradient(ellipse 85% 90% at 50% 40%, #f4efe3 0%, #e7ddc9 80%);
  --sh: 0 8px 24px rgba(184,132,43,0.08);
}



/* RESET */
*, *:before, *:after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { font-size: 16px; }

body {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  background: var(--bg);
  color: var(--text);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.meb-container {
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* ==========================================================
   HEADER - CROSS-BROWSER FLEX
   ========================================================== */
.meb-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--card2);
  background: var(--dark);
  border-bottom: 1px solid rgba(201,165,81,0.1);
}

.meb-header-inner {
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
  height: 80px;
  /* Cross-browser flexbox */
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -moz-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
  -moz-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.meb-header-spacer { height: 80px; }

/* LOGO */
.meb-logo {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -moz-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  color: var(--text);
}

.meb-logo-img {
  height: 45px;
  width: auto;
  margin-right: 12px;
}

.meb-logo-text {
  font-family: 'Cinzel', serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--gold);
  color: var(--gold);
}

/* NAVIGATION */
.meb-nav {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -moz-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.meb-nav-link {
  display: inline-block;
  padding: 10px 18px;
  font-size: 0.9rem;
  color: var(--border);
  -webkit-border-radius: 12px;
  -moz-border-radius: 12px;
  border-radius: 12px;
  -webkit-transition: color 0.3s ease;
  -moz-transition: color 0.3s ease;
  -o-transition: color 0.3s ease;
  transition: color 0.3s ease;
}

.meb-nav-link:hover,
.meb-nav-link.active {
  color: var(--gold);
  color: var(--gold);
}

/* HEADER ACTIONS */
.meb-header-actions {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -moz-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

/* Gap fallback for older browsers */
.meb-header-actions > * {
  margin-left: 16px;
}
.meb-header-actions > *:first-child {
  margin-left: 0;
}

/* LANGUAGE SELECTOR */
.meb-lang-selector {
  position: relative;
}

.meb-lang-btn {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -moz-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  padding: 8px 14px;
  background: var(--card);
  border: none;
  -webkit-border-radius: 12px;
  -moz-border-radius: 12px;
  border-radius: 12px;
  color: var(--text);
  color: var(--text);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
}

.meb-lang-btn span {
  margin-right: 6px;
}

.meb-lang-btn svg {
  margin-left: 6px;
}

.meb-lang-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 8px;
  min-width: 160px;
  max-height: 400px;
  overflow-y: auto;
  background: var(--card);
  border: 1px solid var(--border);
  border: 1px solid var(--border);
  -webkit-border-radius: 16px;
  -moz-border-radius: 16px;
  border-radius: 16px;
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  -webkit-box-shadow: 0 16px 32px rgba(0,0,0,0.15);
  -moz-box-shadow: 0 16px 32px rgba(0,0,0,0.15);
  box-shadow: 0 16px 32px rgba(0,0,0,0.15);
  z-index: 100;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.meb-lang-selector:hover .meb-lang-dropdown {
  opacity: 1;
  visibility: visible;
}

.meb-lang-option {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -moz-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  padding: 10px 14px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
  font-size: 0.85rem;
  color: var(--text);
  color: var(--text);
  -webkit-transition: all 0.2s ease;
  -moz-transition: all 0.2s ease;
  -o-transition: all 0.2s ease;
  transition: all 0.2s ease;
}

.meb-lang-option span {
  margin-right: 8px;
}

.meb-lang-option:hover {
  background: var(--card2);
  background: var(--dark);
  color: var(--text);
}

.meb-lang-option.active {
  background: var(--gold);
  background: var(--gold);
  color: var(--text);
}

/* PHONE BUTTON */
.meb-phone-btn {
  display: -webkit-inline-box;
  display: -webkit-inline-flex;
  display: -moz-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -moz-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  padding: 10px 20px;
  background: -webkit-linear-gradient(315deg, var(--gold-dark), var(--gold), var(--gold-light));
  background: -moz-linear-gradient(315deg, var(--gold-dark), var(--gold), var(--gold-light));
  background: -o-linear-gradient(315deg, var(--gold-dark), var(--gold), var(--gold-light));
  background: linear-gradient(135deg, var(--gold-dark), var(--gold), var(--gold-light));
  border: none;
  -webkit-border-radius: 12px;
  -moz-border-radius: 12px;
  border-radius: 12px;
  color: var(--text);
  font-size: 0.85rem;
  font-weight: 600;
  -webkit-box-shadow: 0 0 20px rgba(201,165,81,0.3);
  -moz-box-shadow: 0 0 20px rgba(201,165,81,0.3);
  box-shadow: 0 0 20px rgba(201,165,81,0.3);
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.meb-phone-btn svg {
  margin-right: 8px;
}

.meb-phone-btn:hover {
  -webkit-transform: translateY(-2px);
  -moz-transform: translateY(-2px);
  -ms-transform: translateY(-2px);
  -o-transform: translateY(-2px);
  transform: translateY(-2px);
  -webkit-box-shadow: 0 8px 25px rgba(201,165,81,0.4);
  -moz-box-shadow: 0 8px 25px rgba(201,165,81,0.4);
  box-shadow: 0 8px 25px rgba(201,165,81,0.4);
}

/* MOBILE TOGGLE */
.meb-mobile-toggle {
  display: none;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -moz-box-orient: vertical;
  -moz-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  padding: 10px;
  background: none;
  border: none;
  cursor: pointer;
}

.meb-mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--card);
  margin: 3px 0;
}

/* MOBILE MENU */
.meb-mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 400px;
  height: 100%;
  background: var(--card2);
  background: var(--dark);
  z-index: 2000;
  overflow-y: auto;
  -webkit-transition: right 0.3s ease;
  -moz-transition: right 0.3s ease;
  -o-transition: right 0.3s ease;
  transition: right 0.3s ease;
}

.meb-mobile-menu.active {
  right: 0;
}

.meb-mobile-menu-header {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
  -moz-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -moz-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.meb-mobile-close {
  width: 40px;
  height: 40px;
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -moz-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -moz-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  background: rgba(255,255,255,0.1);
  border: none;
  -webkit-border-radius: 12px;
  -moz-border-radius: 12px;
  border-radius: 12px;
  color: var(--text);
  font-size: 1.2rem;
  cursor: pointer;
}

.meb-mobile-nav {
  padding: 20px 24px;
}

.meb-mobile-nav-link {
  display: block;
  padding: 16px 0;
  font-size: 1.1rem;
  color: var(--border);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.meb-mobile-actions {
  padding: 20px 24px;
}

.meb-mobile-langs {
  padding: 20px 24px;
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
  -moz-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin: -4px;
}

.meb-mobile-lang {
  display: inline-block;
  padding: 8px 14px;
  margin: 4px;
  background: rgba(255,255,255,0.05);
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
  font-size: 0.85rem;
  color: var(--border);
}

.meb-mobile-lang.active {
  background: var(--gold);
  background: var(--gold);
  color: var(--text);
}

/* ==========================================================
   BUTTONS
   ========================================================== */
.meb-btn {
  display: inline-block;
  padding: 14px 28px;
  border: none;
  -webkit-border-radius: 16px;
  -moz-border-radius: 16px;
  border-radius: 16px;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  text-align: center;
  cursor: pointer;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.meb-btn--primary {
  background: -webkit-linear-gradient(315deg, var(--gold-dark), var(--gold), var(--gold-light));
  background: -moz-linear-gradient(315deg, var(--gold-dark), var(--gold), var(--gold-light));
  background: -o-linear-gradient(315deg, var(--gold-dark), var(--gold), var(--gold-light));
  background: linear-gradient(135deg, var(--gold-dark), var(--gold), var(--gold-light));
  color: var(--text);
  -webkit-box-shadow: 0 0 20px rgba(201,165,81,0.3);
  -moz-box-shadow: 0 0 20px rgba(201,165,81,0.3);
  box-shadow: 0 0 20px rgba(201,165,81,0.3);
}

.meb-btn--primary:hover {
  -webkit-transform: translateY(-2px);
  -moz-transform: translateY(-2px);
  -ms-transform: translateY(-2px);
  -o-transform: translateY(-2px);
  transform: translateY(-2px);
  -webkit-box-shadow: 0 8px 30px rgba(201,165,81,0.5);
  -moz-box-shadow: 0 8px 30px rgba(201,165,81,0.5);
  box-shadow: 0 8px 30px rgba(201,165,81,0.5);
}

.meb-btn--outline {
  background: transparent;
  border: 2px solid var(--gold);
  border: 2px solid var(--gold);
  color: var(--gold);
  color: var(--gold);
}

.meb-btn--outline:hover {
  background: var(--gold);
  background: var(--gold);
  color: var(--text);
}

.meb-btn--whatsapp {
  background: #25D366;
  color: var(--text);
}

.meb-btn--block {
  display: block;
  width: 100%;
  margin-bottom: 12px;
}

.meb-btn--lg {
  padding: 18px 36px;
  font-size: 1rem;
}

.meb-btn--sm {
  padding: 10px 20px;
  font-size: 0.85rem;
}

/* ==========================================================
   MAIN CONTENT
   ========================================================== */
.meb-main {
  min-height: 60vh;
  background: var(--text);
  background: var(--bg);
}

.meb-section {
  padding: 80px 0;
}

/* ==========================================================
   HERO SECTION
   ========================================================== */
.meb-hero {
  position: relative;
  min-height: 100vh;
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -moz-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -moz-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  overflow: hidden;
  background: -webkit-radial-gradient(circle at top, var(--bg), var(--card2) 65%, #241a06);
  background: -moz-radial-gradient(circle at top, var(--bg), var(--card2) 65%, #241a06);
  background: -o-radial-gradient(circle at top, var(--bg), var(--card2) 65%, #241a06);
  background: radial-gradient(circle at top, var(--bg), var(--card2) 65%, #241a06);
}

.meb-hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
}

.meb-hero__video,
.meb-hero__image {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

.meb-hero__image {
  -webkit-animation: kenBurns 20s ease-in-out infinite alternate;
  -moz-animation: kenBurns 20s ease-in-out infinite alternate;
  -o-animation: kenBurns 20s ease-in-out infinite alternate;
  animation: kenBurns 20s ease-in-out infinite alternate;
}

@-webkit-keyframes kenBurns {
  0% { -webkit-transform: scale(1); transform: scale(1); }
  100% { -webkit-transform: scale(1.1); transform: scale(1.1); }
}
@-moz-keyframes kenBurns {
  0% { -moz-transform: scale(1); transform: scale(1); }
  100% { -moz-transform: scale(1.1); transform: scale(1.1); }
}
@-o-keyframes kenBurns {
  0% { -o-transform: scale(1); transform: scale(1); }
  100% { -o-transform: scale(1.1); transform: scale(1.1); }
}
@keyframes kenBurns {
  0% { transform: scale(1); }
  100% { transform: scale(1.1); }
}

.meb-hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  background: -webkit-linear-gradient(top, rgba(3,3,3,0.7), rgba(3,3,3,0.3) 40%, rgba(3,3,3,0.5) 70%, rgba(3,3,3,0.95));
  background: -moz-linear-gradient(top, rgba(3,3,3,0.7), rgba(3,3,3,0.3) 40%, rgba(3,3,3,0.5) 70%, rgba(3,3,3,0.95));
  background: -o-linear-gradient(top, rgba(3,3,3,0.7), rgba(3,3,3,0.3) 40%, rgba(3,3,3,0.5) 70%, rgba(3,3,3,0.95));
  background: linear-gradient(180deg, rgba(3,3,3,0.7), rgba(3,3,3,0.3) 40%, rgba(3,3,3,0.5) 70%, rgba(3,3,3,0.95));
}

.meb-hero__content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 40px;
  max-width: 900px;
}

.meb-hero__badge {
  display: -webkit-inline-box;
  display: -webkit-inline-flex;
  display: -moz-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -moz-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  font-size: 0.75rem;
  color: var(--gold);
  color: var(--gold);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 40px;
  opacity: 0;
  -webkit-animation: fadeInUp 1s ease 0.3s forwards;
  -moz-animation: fadeInUp 1s ease 0.3s forwards;
  -o-animation: fadeInUp 1s ease 0.3s forwards;
  animation: fadeInUp 1s ease 0.3s forwards;
}

.meb-hero__badge span {
  margin: 0 8px;
}

.meb-hero__title {
  margin: 0 0 24px;
  text-align: center;
}

.meb-hero__title-line {
  display: block;
  font-family: 'Cinzel', serif;
  font-size: 3rem;
  font-size: clamp(2rem, 8vw, 5rem);
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text);
  opacity: 0;
  -webkit-animation: fadeInUp 1s ease forwards;
  -moz-animation: fadeInUp 1s ease forwards;
  -o-animation: fadeInUp 1s ease forwards;
  animation: fadeInUp 1s ease forwards;
}

.meb-hero__title-line:nth-child(1) {
  -webkit-animation-delay: 0.5s;
  -moz-animation-delay: 0.5s;
  -o-animation-delay: 0.5s;
  animation-delay: 0.5s;
}

.meb-hero__title-line:nth-child(2) {
  -webkit-animation-delay: 0.7s;
  -moz-animation-delay: 0.7s;
  -o-animation-delay: 0.7s;
  animation-delay: 0.7s;
}

.meb-hero__title-line--gold {
  background: -webkit-linear-gradient(315deg, var(--gold-dark), var(--gold), var(--gold-light));
  background: -moz-linear-gradient(315deg, var(--gold-dark), var(--gold), var(--gold-light));
  background: -o-linear-gradient(315deg, var(--gold-dark), var(--gold), var(--gold-light));
  background: linear-gradient(135deg, var(--gold-dark), var(--gold), var(--gold-light));
  -webkit-background-clip: text;
  -moz-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.meb-hero__divider {
  width: 100px;
  height: 1px;
  margin: 40px auto;
  background: -webkit-linear-gradient(left, transparent, var(--gold), transparent);
  background: -moz-linear-gradient(left, transparent, var(--gold), transparent);
  background: -o-linear-gradient(left, transparent, var(--gold), transparent);
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  -webkit-animation: fadeInUp 1s ease 0.9s forwards;
  -moz-animation: fadeInUp 1s ease 0.9s forwards;
  -o-animation: fadeInUp 1s ease 0.9s forwards;
  animation: fadeInUp 1s ease 0.9s forwards;
}

.meb-hero__subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  font-style: italic;
  color: var(--soft);
  margin-bottom: 48px;
  text-align: center;
  opacity: 0;
  -webkit-animation: fadeInUp 1s ease 1.1s forwards;
  -moz-animation: fadeInUp 1s ease 1.1s forwards;
  -o-animation: fadeInUp 1s ease 1.1s forwards;
  animation: fadeInUp 1s ease 1.1s forwards;
}

.meb-hero__cta-group {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -moz-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-flex-wrap: wrap;
  -moz-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  opacity: 0;
  -webkit-animation: fadeInUp 1s ease 1.3s forwards;
  -moz-animation: fadeInUp 1s ease 1.3s forwards;
  -o-animation: fadeInUp 1s ease 1.3s forwards;
  animation: fadeInUp 1s ease 1.3s forwards;
}

.meb-hero__cta-group > * {
  margin: 8px;
}

.meb-hero__scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  -webkit-transform: translateX(-50%);
  -moz-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  -o-transform: translateX(-50%);
  transform: translateX(-50%);
  z-index: 3;
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -moz-box-orient: vertical;
  -moz-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -moz-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  opacity: 0;
  -webkit-animation: fadeInUp 1s ease 1.5s forwards;
  -moz-animation: fadeInUp 1s ease 1.5s forwards;
  -o-animation: fadeInUp 1s ease 1.5s forwards;
  animation: fadeInUp 1s ease 1.5s forwards;
}

.meb-hero__scroll span {
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.meb-hero__scroll-line {
  width: 1px;
  height: 60px;
  background: -webkit-linear-gradient(top, var(--gold), transparent);
  background: -moz-linear-gradient(top, var(--gold), transparent);
  background: -o-linear-gradient(top, var(--gold), transparent);
  background: linear-gradient(180deg, var(--gold), transparent);
  -webkit-animation: scrollBounce 2s ease-in-out infinite;
  -moz-animation: scrollBounce 2s ease-in-out infinite;
  -o-animation: scrollBounce 2s ease-in-out infinite;
  animation: scrollBounce 2s ease-in-out infinite;
}

@-webkit-keyframes scrollBounce {
  0%, 100% { -webkit-transform: scaleY(1); transform: scaleY(1); opacity: 1; }
  50% { -webkit-transform: scaleY(0.5); transform: scaleY(0.5); opacity: 0.5; }
}
@-moz-keyframes scrollBounce {
  0%, 100% { -moz-transform: scaleY(1); transform: scaleY(1); opacity: 1; }
  50% { -moz-transform: scaleY(0.5); transform: scaleY(0.5); opacity: 0.5; }
}
@-o-keyframes scrollBounce {
  0%, 100% { -o-transform: scaleY(1); transform: scaleY(1); opacity: 1; }
  50% { -o-transform: scaleY(0.5); transform: scaleY(0.5); opacity: 0.5; }
}
@keyframes scrollBounce {
  0%, 100% { transform: scaleY(1); opacity: 1; }
  50% { transform: scaleY(0.5); opacity: 0.5; }
}

@-webkit-keyframes fadeInUp {
  from { opacity: 0; -webkit-transform: translateY(30px); transform: translateY(30px); }
  to { opacity: 1; -webkit-transform: translateY(0); transform: translateY(0); }
}
@-moz-keyframes fadeInUp {
  from { opacity: 0; -moz-transform: translateY(30px); transform: translateY(30px); }
  to { opacity: 1; -moz-transform: translateY(0); transform: translateY(0); }
}
@-o-keyframes fadeInUp {
  from { opacity: 0; -o-transform: translateY(30px); transform: translateY(30px); }
  to { opacity: 1; -o-transform: translateY(0); transform: translateY(0); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* HERO SIMPLE */
.meb-hero-simple {
  padding: 80px 0 40px;
  background: var(--card2);
  background: var(--dark);
  text-align: center;
}

.meb-hero-simple h1 {
  font-family: 'Cinzel', serif;
  font-size: 2.5rem;
  color: var(--gold);
  color: var(--gold);
  margin-bottom: 16px;
}

.meb-hero-simple p {
  color: var(--muted);
  font-size: 1.1rem;
}

/* ==========================================================
   SEARCH SECTION
   ========================================================== */
.meb-search-section {
  padding: 40px 0;
  background: var(--card2);
  border-top: 1px solid rgba(201,162,39,0.1);
  border-bottom: 1px solid rgba(201,162,39,0.1);
}

.meb-search-form {
  max-width: 1000px;
  margin: 0 auto;
}

.meb-search-grid {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
  -moz-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-align: end;
  -webkit-align-items: flex-end;
  -moz-box-align: end;
  -ms-flex-align: end;
  align-items: flex-end;
}

.meb-search-grid > * {
  margin: 10px;
}

.meb-search-field {
  -webkit-box-flex: 1;
  -webkit-flex: 1;
  -moz-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  min-width: 150px;
}

.meb-search-field label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.meb-input,
.meb-select {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  -webkit-border-radius: 12px;
  -moz-border-radius: 12px;
  border-radius: 12px;
  color: var(--text);
  font-size: 0.9rem;
}

/* ==========================================================
   SECTION HEADERS
   ========================================================== */
.meb-section-header {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
  -moz-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -moz-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  margin-bottom: 40px;
}

.meb-section-header h2,
.meb-section-title {
  font-family: 'Cinzel', serif;
  font-size: 2rem;
  color: var(--text);
  color: var(--text);
  text-align: center;
  margin-bottom: 8px;
}

.meb-section-subtitle {
  color: var(--muted);
  color: var(--muted);
  text-align: center;
  font-size: 1.1rem;
}

.meb-link {
  color: var(--gold);
  color: var(--gold);
}

/* ==========================================================
   BRANDS SECTION
   ========================================================== */
.meb-brands-section {
  padding: 100px 0;
  background: var(--bg);
  background: var(--bg);
}

.meb-brands-grid {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: (minmax(180px, 1fr))[auto-fill];
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 24px;
}

.meb-brand-card {
  display: block;
  background: var(--card);
  background: var(--card);
  border: 1px solid var(--border);
  border: 1px solid var(--border);
  -webkit-border-radius: 24px;
  -moz-border-radius: 24px;
  border-radius: 24px;
  overflow: hidden;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
  text-decoration: none;
}

.meb-brand-card:hover {
  -webkit-transform: translateY(-10px);
  -moz-transform: translateY(-10px);
  -ms-transform: translateY(-10px);
  -o-transform: translateY(-10px);
  transform: translateY(-10px);
  border-color: rgba(201,162,39,0.2);
  -webkit-box-shadow: 0 20px 50px rgba(0,0,0,0.1), 0 0 40px rgba(201,162,39,0.1);
  -moz-box-shadow: 0 20px 50px rgba(0,0,0,0.1), 0 0 40px rgba(201,162,39,0.1);
  box-shadow: 0 20px 50px rgba(0,0,0,0.1), 0 0 40px rgba(201,162,39,0.1);
}

.meb-brand-card__inner {
  padding: 40px;
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -moz-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -moz-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  min-height: 150px;
  text-align: center;
}

.meb-brand-card__inner img {
  max-width: 100%;
  max-height: 80px;
  -o-object-fit: contain;
  object-fit: contain;
  -webkit-transition: -webkit-filter 0.3s ease;
  -moz-transition: -moz-filter 0.3s ease;
  -o-transition: -o-filter 0.3s ease;
  transition: filter 0.3s ease;
}

.meb-brand-card__name {
  font-family: 'Cinzel', serif;
  font-size: 1.25rem;
  color: var(--gold);
  color: var(--gold);
  letter-spacing: 0.1em;
  text-align: center;
}

/* ==========================================================
   CARS SECTION
   ========================================================== */
.meb-cars-section {
  padding: 100px 0;
  background: var(--bg);
  background: var(--bg);
}

.meb-cars-grid {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: (minmax(280px, 1fr))[auto-fill];
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.meb-car-card {
  position: relative;
  background: var(--card);
  background: var(--card);
  border: 1px solid var(--border);
  border: 1px solid var(--border);
  -webkit-border-radius: 24px;
  -moz-border-radius: 24px;
  border-radius: 24px;
  overflow: hidden;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.meb-car-card:hover {
  -webkit-transform: translateY(-10px);
  -moz-transform: translateY(-10px);
  -ms-transform: translateY(-10px);
  -o-transform: translateY(-10px);
  transform: translateY(-10px);
  border-color: rgba(201,162,39,0.2);
  -webkit-box-shadow: 0 20px 50px rgba(0,0,0,0.1);
  -moz-box-shadow: 0 20px 50px rgba(0,0,0,0.1);
  box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.meb-car-card__badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--gold);
  background: var(--gold);
  color: #241a06;
  padding: 6px 12px;
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 600;
}

.meb-car-card__image {
  height: 220px;
  overflow: hidden;
}

.meb-car-card__image img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  -webkit-transition: -webkit-transform 0.5s ease;
  -moz-transition: -moz-transform 0.5s ease;
  -o-transition: -o-transform 0.5s ease;
  transition: transform 0.5s ease;
}

.meb-car-card:hover .meb-car-card__image img {
  -webkit-transform: scale(1.1);
  -moz-transform: scale(1.1);
  -ms-transform: scale(1.1);
  -o-transform: scale(1.1);
  transform: scale(1.1);
}

.meb-car-card__content {
  padding: 24px;
  text-align: center;
}

.meb-car-card__brand {
  font-size: 0.75rem;
  color: var(--gold);
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}

.meb-car-card__name {
  font-family: 'Cinzel', serif;
  font-size: 1.25rem;
  margin-bottom: 16px;
  color: var(--text);
  color: var(--text);
}

.meb-car-card__specs {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -moz-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.meb-car-card__specs > * {
  margin: 0 8px;
}

.meb-car-card__spec {
  font-size: 0.8rem;
  color: var(--muted);
  color: var(--muted);
}

.meb-car-card__footer {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
  -moz-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -moz-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.meb-car-card__price-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold);
  color: var(--gold);
}

.meb-car-card__price-period {
  font-size: 0.8rem;
  color: var(--muted);
  color: var(--muted);
}

.meb-car-card__cta {
  display: -webkit-inline-box;
  display: -webkit-inline-flex;
  display: -moz-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -moz-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  padding: 12px 20px;
  background: var(--card2);
  background: var(--dark);
  color: var(--text);
  -webkit-border-radius: 12px;
  -moz-border-radius: 12px;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 600;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.meb-car-card__cta:hover {
  background: var(--gold);
  background: var(--gold);
  color: #241a06;
}

/* ==========================================================
   STATS SECTION
   ========================================================== */
.meb-stats-section {
  padding: 80px 0;
  background: var(--bg);
  background: var(--bg);
  border-top: 1px solid var(--border);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.meb-stats-grid {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 48px 1fr 48px 1fr 48px 1fr;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
  text-align: center;
}

.meb-stat-card {
  text-align: center;
  padding: 24px;
  background: var(--card);
  background: var(--card);
  -webkit-border-radius: 24px;
  -moz-border-radius: 24px;
  border-radius: 24px;
  -webkit-box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  -moz-box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.meb-stat-card__value {
  font-family: 'Cinzel', serif;
  font-size: 3rem;
  font-weight: 700;
  background: -webkit-linear-gradient(315deg, var(--gold-dark), var(--gold), var(--gold-light));
  background: -moz-linear-gradient(315deg, var(--gold-dark), var(--gold), var(--gold-light));
  background: -o-linear-gradient(315deg, var(--gold-dark), var(--gold), var(--gold-light));
  background: linear-gradient(135deg, var(--gold-dark), var(--gold), var(--gold-light));
  -webkit-background-clip: text;
  -moz-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 12px;
}

.meb-stat-card__label {
  font-size: 1rem;
  color: var(--muted);
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ==========================================================
   WHY US SECTION
   ========================================================== */
.meb-why-us {
  padding: 100px 24px;
  background: var(--bg);
  background: var(--bg);
}

.meb-why-us__grid {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 60px 1fr;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -moz-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.meb-why-us__content {
  text-align: center;
}

.meb-why-us h2 {
  font-family: 'Cinzel', serif;
  font-size: 2rem;
  margin-bottom: 40px;
  color: var(--text);
  color: var(--text);
}

.meb-why-us ul {
  list-style: none;
  padding: 0;
  margin-bottom: 40px;
}

.meb-why-us li {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -moz-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  padding: 14px 0;
  color: var(--muted);
  color: var(--muted);
  border-bottom: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.meb-why-us li span {
  color: var(--gold);
  color: var(--gold);
  margin-right: 16px;
}

.meb-why-us__image {
  height: 450px;
  background: var(--card);
  background: var(--card);
  -webkit-border-radius: 24px;
  -moz-border-radius: 24px;
  border-radius: 24px;
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -moz-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -moz-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  -moz-box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}

.meb-why-us__image .placeholder {
  font-size: 6rem;
  opacity: 0.2;
}

/* ==========================================================
   TESTIMONIALS SECTION
   ========================================================== */
.meb-testimonials-section {
  padding: 100px 0;
  background: var(--bg);
  background: var(--bg);
}

.meb-testimonials-slider {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: (minmax(300px, 1fr))[auto-fit];
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.meb-testimonial-card {
  background: var(--card);
  background: var(--card);
  border: 1px solid var(--border);
  border: 1px solid var(--border);
  -webkit-border-radius: 24px;
  -moz-border-radius: 24px;
  border-radius: 24px;
  padding: 32px;
  text-align: center;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.meb-testimonial-card:hover {
  -webkit-transform: translateY(-5px);
  -moz-transform: translateY(-5px);
  -ms-transform: translateY(-5px);
  -o-transform: translateY(-5px);
  transform: translateY(-5px);
  border-color: rgba(201,162,39,0.3);
  -webkit-box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  -moz-box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.meb-testimonial-card__stars {
  margin-bottom: 16px;
}

.meb-testimonial-card__stars .star {
  color: #F59E0B;
  font-size: 1.25rem;
}

.meb-testimonial-card__text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.125rem;
  font-style: italic;
  color: var(--text);
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 24px;
}

.meb-testimonial-card__author {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -moz-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -moz-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.meb-testimonial-card__author > * {
  margin: 0 6px;
}

.meb-testimonial-card__avatar {
  width: 48px;
  height: 48px;
  background: -webkit-linear-gradient(315deg, var(--gold-dark), var(--gold));
  background: -moz-linear-gradient(315deg, var(--gold-dark), var(--gold));
  background: -o-linear-gradient(315deg, var(--gold-dark), var(--gold));
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  border-radius: 50%;
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -moz-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -moz-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  font-weight: 700;
  color: #241a06;
}

.meb-testimonial-card__name {
  font-weight: 600;
  color: var(--gold);
  color: var(--gold);
}

/* ==========================================================
   CTA SECTION
   ========================================================== */
.meb-cta-section {
  padding: 100px 0;
  background: var(--card2);
  background: var(--dark);
  text-align: center;
}

.meb-cta-section h2 {
  font-family: 'Cinzel', serif;
  font-size: 2.5rem;
  color: var(--gold);
  color: var(--gold);
  margin-bottom: 16px;
}

.meb-cta-section p {
  color: var(--muted);
  margin-bottom: 32px;
  font-size: 1.1rem;
}

.meb-cta-btns {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -moz-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-flex-wrap: wrap;
  -moz-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.meb-cta-btns > * {
  margin: 8px;
}

/* ==========================================================
   CONTENT SECTION
   ========================================================== */
.meb-content-section {
  padding: 60px 0;
  background: var(--bg);
  background: var(--bg);
}

.meb-content {
  background: var(--card);
  background: var(--card);
  -webkit-border-radius: 24px;
  -moz-border-radius: 24px;
  border-radius: 24px;
  padding: 40px;
  color: var(--text);
  color: var(--text);
  line-height: 1.8;
  -webkit-box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  -moz-box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}

.meb-content h1,
.meb-content h2,
.meb-content h3 {
  color: var(--text);
  color: var(--text);
  margin-bottom: 16px;
}

.meb-content p {
  margin-bottom: 16px;
  color: var(--muted);
  color: var(--muted);
}

.meb-content a {
  color: var(--gold);
  color: var(--gold);
}

/* ==========================================================
   FOOTER
   ========================================================== */
.meb-footer {
  background: var(--card2);
  color: var(--text);
  padding: 60px 0 30px;
}

.meb-footer-grid {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 2fr 40px 1fr 40px 1fr 40px 1fr;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.meb-footer-brand .meb-logo {
  margin-bottom: 16px;
}

.meb-footer-brand p {
  color: var(--muted);
  font-size: 0.9rem;
}

.meb-footer-col {
  text-align: center;
}

.meb-footer-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--gold);
  color: var(--gold);
}

.meb-footer-links a {
  display: block;
  padding: 8px 0;
  color: var(--muted);
  font-size: 0.9rem;
  -webkit-transition: color 0.2s ease;
  -moz-transition: color 0.2s ease;
  -o-transition: color 0.2s ease;
  transition: color 0.2s ease;
}

.meb-footer-links a:hover {
  color: var(--gold);
  color: var(--gold);
}

.meb-footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
  -moz-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -moz-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-flex-wrap: wrap;
  -moz-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.85rem;
}

.meb-footer-social {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
}

.meb-footer-social > * {
  margin: 0 6px;
}

.meb-footer-social a {
  width: 40px;
  height: 40px;
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -moz-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -moz-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  background: rgba(255,255,255,0.05);
  -webkit-border-radius: 12px;
  -moz-border-radius: 12px;
  border-radius: 12px;
  color: var(--muted);
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.meb-footer-social a:hover {
  background: var(--gold);
  background: var(--gold);
  color: var(--text);
}

/* ==========================================================
   RESPONSIVE
   ========================================================== */
@media screen and (max-width: 1024px) {
  .meb-nav {
    display: none;
  }
  
  .meb-mobile-toggle {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
  }
  
  .meb-stats-grid {
    -ms-grid-columns: 1fr 24px 1fr;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  
  .meb-why-us__grid {
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
  }
  
  .meb-why-us__image {
    height: 300px;
    -webkit-box-ordinal-group: 0;
    -webkit-order: -1;
    -moz-box-ordinal-group: 0;
    -ms-flex-order: -1;
    order: -1;
  }
  
  .meb-footer-grid {
    -ms-grid-columns: 1fr 40px 1fr;
    grid-template-columns: 1fr 1fr;
  }
}

@media screen and (max-width: 768px) {
  .meb-header-inner {
    height: 70px;
  }
  
  .meb-header-spacer {
    height: 70px;
  }
  
  .meb-phone-text {
    display: none;
  }
  
  .meb-hero {
    min-height: 80vh;
  }
  
  .meb-hero__title-line {
    font-size: 1.8rem;
    font-size: clamp(1.5rem, 6vw, 3rem);
  }
  
  .meb-search-field {
    min-width: 100%;
  }
  
  .meb-brands-grid {
    -ms-grid-columns: 1fr 16px 1fr;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  
  .meb-stats-grid {
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
  }
  
  .meb-footer-grid {
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .meb-footer-bottom {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -moz-box-orient: vertical;
    -moz-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    text-align: center;
  }
  
  .meb-footer-social {
    margin-top: 16px;
  }
}

@media screen and (max-width: 480px) {
  .meb-hero__cta-group {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -moz-box-orient: vertical;
    -moz-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }
  
  .meb-hero__cta-group .meb-btn {
    width: 100%;
  }
  
  .meb-cta-btns {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -moz-box-orient: vertical;
    -moz-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }
  
  .meb-cta-btns .meb-btn {
    width: 100%;
  }
}

/* ==========================================================
   RTL SUPPORT - ALL 3 RTL LANGUAGES
   ========================================================== */
[dir="rtl"] body {
  font-family: 'Tajawal', -apple-system, BlinkMacSystemFont, sans-serif;
}

[dir="rtl"] .meb-logo-img {
  margin-right: 0;
  margin-left: 12px;
}

[dir="rtl"] .meb-header-actions > * {
  margin-left: 0;
  margin-right: 16px;
}

[dir="rtl"] .meb-header-actions > *:first-child {
  margin-right: 0;
}

[dir="rtl"] .meb-lang-btn span {
  margin-right: 0;
  margin-left: 6px;
}

[dir="rtl"] .meb-lang-btn svg {
  margin-left: 0;
  margin-right: 6px;
}

[dir="rtl"] .meb-lang-dropdown {
  right: auto;
  left: 0;
}

[dir="rtl"] .meb-lang-option span {
  margin-right: 0;
  margin-left: 8px;
}

[dir="rtl"] .meb-phone-btn svg {
  margin-right: 0;
  margin-left: 8px;
}

[dir="rtl"] .meb-mobile-menu {
  right: auto;
  left: -100%;
}

[dir="rtl"] .meb-mobile-menu.active {
  left: 0;
  right: auto;
}

[dir="rtl"] .meb-why-us li span {
  margin-right: 0;
  margin-left: 16px;
}

[dir="rtl"] .meb-car-card__badge {
  left: auto;
  right: 16px;
}
/* ==========================================================
   THEME TOGGLE BUTTON (locked dark/light) — NEW
   ========================================================== */
.meb-theme-toggle {
  display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex;
  -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; align-items: center;
  gap: 7px;
  height: 40px;
  padding: 0 14px;
  background: var(--card2);
  border: 0.5px solid var(--border-strong);
  -webkit-border-radius: 12px; -moz-border-radius: 12px; border-radius: 12px;
  color: var(--gold);
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  -webkit-transition: all 0.3s ease; transition: all 0.3s ease;
}
.meb-theme-toggle:hover { border-color: var(--gold); }
.meb-theme-toggle svg { display: none; }
/* dark mode shows sun (switch to light), light mode shows moon */
html[data-theme="dark"] .meb-theme-toggle .meb-theme-ico-sun { display: inline-block; }
html[data-theme="light"] .meb-theme-toggle .meb-theme-ico-moon { display: inline-block; }
[dir="rtl"] .meb-theme-toggle { gap: 7px; }

.meb-lang-dropdown.show{opacity:1 !important;visibility:visible !important;}

/* ===== NAV STYLE: dark=Emerald+Gold(5), light=Classic Luxury(1) ===== */
/* DARK MODE — deep green header, ivory links, gold active */
html[data-theme="dark"] .meb-header {
  background: #0f2922 !important;
  border-bottom: 1px solid rgba(212,165,66,0.25);
}
html[data-theme="dark"] .meb-nav-link {
  color: #f5e9c8;
  position: relative;
}
html[data-theme="dark"] .meb-nav-link:hover,
html[data-theme="dark"] .meb-nav-link.active {
  color: #dcb24f;
}
html[data-theme="dark"] .meb-nav-link.active::after {
  content: "";
  position: absolute;
  left: 18px; right: 18px; bottom: 4px;
  height: 2px;
  background: #dcb24f;
}

/* LIGHT MODE — cream header, dark links, gold underline */
html[data-theme="light"] .meb-header {
  background: #fdfcfa;
  border-bottom: 1px solid rgba(184,132,43,0.2);
}
html[data-theme="light"] .meb-nav-link {
  color: #2a2622;
  position: relative;
}
html[data-theme="light"] .meb-nav-link:hover,
html[data-theme="light"] .meb-nav-link.active {
  color: #b8842b;
}
html[data-theme="light"] .meb-nav-link.active::after {
  content: "";
  position: absolute;
  left: 18px; right: 18px; bottom: 4px;
  height: 2px;
  background: #d4a542;
}
