/* ==========================================================================
   Expasiat - Country-Centric Independent Hubs Design System
   Pure CSS3, Responsive, Clean Glassmorphism & Full RTL (Arabic) Support
   ========================================================================== */

:root {
  color-scheme: dark;
  --font-primary: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-arabic: 'Cairo', 'Noto Sans Arabic', 'Tajawal', sans-serif;
  --font-cjk: 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  
  /* Color Palette - Midnight Slate & Neon Accents */
  --bg-primary: #080d1a;
  --bg-secondary: #0f172a;
  --bg-card: rgba(19, 30, 58, 0.75);
  --bg-card-hover: rgba(28, 43, 80, 0.95);
  --bg-input: #131d36;
  --bg-glass: rgba(11, 18, 38, 0.92);
  
  --border-subtle: rgba(255, 255, 255, 0.1);
  --border-accent: rgba(56, 189, 248, 0.35);
  --border-focus: #38bdf8;

  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-accent: #38bdf8;

  --brand-gradient: linear-gradient(135deg, #0ea5e9 0%, #3b82f6 50%, #6366f1 100%);
  --accent-cyan: #06b6d4;
  --accent-emerald: #10b981;
  --accent-amber: #f59e0b;
  --accent-rose: #f43f5e;
  
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.55);
  --shadow-glow: 0 0 35px rgba(14, 165, 233, 0.25);
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

/* RTL (Arabic) mode */
[dir="rtl"] {
  font-family: var(--font-arabic), var(--font-primary);
  text-align: right;
}

[lang="zh"] {
  font-family: var(--font-cjk), var(--font-primary);
}

/* Base Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-primary);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

button, input, select, textarea {
  font-family: inherit;
  font-size: 1rem;
}

select {
  font-family: inherit;
  font-size: 0.92rem;
  background-color: var(--bg-input);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.65rem 1rem;
  outline: none;
  cursor: pointer;
  transition: var(--transition);
  color-scheme: dark;
}

select:focus {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2);
}

/* Universal high-contrast option and optgroup styling across all operating systems & browsers */
select option,
select optgroup,
option,
optgroup {
  background-color: #0f172a !important;
  color: #f8fafc !important;
  padding: 0.65rem 0.85rem;
  font-size: 0.92rem;
}

select option:checked,
select option:hover,
select option:focus,
option:checked,
option:hover,
option:focus {
  background-color: #1e293b !important;
  color: #38bdf8 !important;
}

select option:disabled,
option:disabled {
  color: var(--text-muted) !important;
  background-color: #0b1120 !important;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Ambient glow */
.ambient-glow {
  position: fixed;
  top: -180px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 600px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.18) 0%, rgba(99, 102, 241, 0.1) 45%, transparent 70%);
  z-index: 0;
  pointer-events: none;
  filter: blur(80px);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: 68px;
  box-sizing: border-box;
  background: rgba(10, 17, 34, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(56, 189, 248, 0.25);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.7), 0 0 25px rgba(14, 165, 233, 0.12);
  display: flex;
  align-items: center;
  padding: 0;
}


.section-focus-bar {
  position: sticky;
  top: 68px;
  z-index: 900;
  background: rgba(15, 23, 42, 0.96);
  border-bottom: 1px solid rgba(56, 189, 248, 0.2);
  padding: 0.65rem 0;
}
.section-focus-bar-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.btn-section-back {
  background: transparent;
  border: 1px solid rgba(56, 189, 248, 0.45);
  color: var(--text-accent);
  border-radius: var(--radius-md);
  padding: 0.4rem 0.85rem;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
}
.btn-section-back:hover { background: rgba(14, 165, 233, 0.12); }
.section-focus-label { font-weight: 800; color: var(--text-primary); font-size: 0.95rem; }
.section-see-all-wrap {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
  grid-column: 1 / -1;
  width: 100%;
}
.btn-see-all {
  appearance: none;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.2), rgba(37, 99, 235, 0.28));
  border: 1px solid rgba(56, 189, 248, 0.5);
  color: #e0f2fe;
  font-weight: 800;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  padding: 0.7rem 1.6rem;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(14, 165, 233, 0.18);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn-see-all:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(14, 165, 233, 0.28);
}
body.section-focus-mode #hero,
body.section-focus-mode .stats-section { display: none !important; }

/* Homepage: hide full Classifieds chrome — 3 wide cards (3/3 layout) */
body:not(.section-focus-mode) #marketplace-section .market-page-only {
  display: none !important;
}
body:not(.section-focus-mode) #marketplace-section .market-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
body:not(.section-focus-mode) #marketplace-section .market-img-wrap {
  height: 200px;
}
body:not(.section-focus-mode) #marketplace-section .market-title {
  font-size: 1.05rem;
}

@media (max-width: 960px) {
  body:not(.section-focus-mode) #marketplace-section .market-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
  body:not(.section-focus-mode) #marketplace-section .market-img-wrap {
    height: 180px;
  }
}
@media (max-width: 640px) {
  body:not(.section-focus-mode) #marketplace-section .market-grid {
    grid-template-columns: 1fr;
    gap: 1.15rem;
  }
  body:not(.section-focus-mode) #marketplace-section .market-img-wrap {
    height: 190px;
  }
}

@media (max-width: 640px) {
  body:not(.section-focus-mode) #marketplace-section .market-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}
body.section-focus-mode #marketplace-section .market-home-header {
  display: none !important;
}
body.section-focus-mode #marketplace-section {
  padding-top: 1.25rem;
}
body.section-focus-mode #section-focus-bar {
  border-bottom: 1px solid var(--border-subtle);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.nav-wrap {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 800;
  font-size: 1.45rem;
  letter-spacing: -0.5px;
  text-decoration: none;
}

.brand-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #0284c7 0%, #38bdf8 50%, #2563eb 100%);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 900;
  font-size: 1.3rem;
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.brand-text {
  font-weight: 800;
  background: linear-gradient(135deg, #ffffff 40%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 1.5rem;
}

.nav-links {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  list-style: none;
  background: rgba(15, 23, 42, 0.85);
  border: 1.5px solid rgba(251, 191, 36, 0.45);
  padding: 0.3rem 0.55rem;
  border-radius: var(--radius-full);
  box-shadow: 0 0 18px rgba(251, 191, 36, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.nav-links > li:not(.nav-indicator) {
  position: relative;
  z-index: 1;
}

/* Sliding active pill — moves between menu items */
.nav-indicator {
  position: absolute;
  top: 0.28rem;
  bottom: 0.28rem;
  left: 0;
  width: 0;
  z-index: 0;
  pointer-events: none;
  border-radius: var(--radius-full);
  background: transparent;
  border: 1px solid rgba(250, 204, 21, 0.75);
  box-shadow: none;
  opacity: 0;
  transform: translateX(0);
  transition:
    transform 0.42s cubic-bezier(0.22, 1, 0.36, 1),
    width 0.42s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.25s ease;
}

.nav-indicator.is-ready {
  opacity: 1;
}

.nav-indicator::after {
  content: "";
  position: absolute;
  left: 18%;
  right: 18%;
  bottom: 3px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, #fde68a, #fbbf24, #fde68a, transparent);
  box-shadow: 0 0 8px rgba(251, 191, 36, 0.9);
  animation: nav-underline-pulse 2.4s ease-in-out infinite;
}

@keyframes nav-underline-pulse {
  0%, 100% { opacity: 0.55; transform: scaleX(0.92); }
  50% { opacity: 1; transform: scaleX(1); }
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 800;
  color: #facc15;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
  padding: 0.45rem 0.95rem;
  border-radius: var(--radius-full);
  transition: color 0.22s ease, transform 0.22s ease;
  display: inline-block;
  text-decoration: none;
  letter-spacing: 0.2px;
  border: 1px solid transparent;
  background: transparent;
}

.nav-link:hover {
  color: #ffffff;
  transform: translateY(-1px);
}

.nav-link.active {
  color: #ffffff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.55);
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .nav-indicator {
    transition: none;
  }
  .nav-indicator::after {
    animation: none;
  }
}

.nav-actions {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.nav-actions .btn-post-ad {
  white-space: nowrap;
}

.btn-list-company,
.hero-cta-company {
  background: #22c55e;
  border: 1px solid #16a34a;
  color: #052e16;
  font-weight: 800;
  padding: 0.5rem 1.15rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  box-shadow: 0 0 14px rgba(34, 197, 94, 0.35);
  white-space: nowrap;
}

.hero-cta-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.45rem;
  margin: 0.85rem 0 0.35rem;
}

.post-ad-step {
  margin-bottom: 1rem;
}
.post-intent-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-top: 0.4rem;
}
.post-intent-card {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.55rem 0.7rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  background: rgba(15, 23, 42, 0.6);
  cursor: pointer;
}
.post-intent-card strong {
  font-size: 0.82rem;
  color: #fff;
}
.post-intent-card span {
  font-size: 0.7rem;
  color: var(--text-muted);
}
.post-intent-card:has(input:checked) {
  border-color: rgba(56, 189, 248, 0.55);
  background: rgba(14, 165, 233, 0.12);
}
.post-ad-check {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.5rem;
  cursor: pointer;
  font-size: 0.84rem;
  color: var(--text-secondary);
}

/* Language Selector Dropdown */
.lang-dropdown-wrapper {
  position: relative;
}

.lang-trigger-btn {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(56, 189, 248, 0.35);
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-full);
  color: #ffffff;
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 700;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
  transition: var(--transition);
}

.lang-trigger-btn:hover {
  border-color: var(--accent-cyan);
  background: rgba(56, 189, 248, 0.15);
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.35);
}

.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--bg-secondary);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 0.5rem;
  min-width: 175px;
  display: none;
  flex-direction: column;
  gap: 0.2rem;
  z-index: 1010;
}

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

.lang-menu.show {
  display: flex;
  animation: fadeInDown 0.18s ease-out;
}

.lang-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  background: transparent;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  font-size: 0.88rem;
  text-align: left;
  transition: var(--transition);
  width: 100%;
}

[dir="rtl"] .lang-option {
  text-align: right;
}

.lang-option:hover, .lang-option.active {
  background: var(--bg-card-hover);
  color: var(--text-primary);
}

.lang-option.active {
  font-weight: 700;
  color: var(--text-accent);
}

.btn-post-ad {
  background: var(--brand-gradient);
  color: #fff;
  border: none;
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(14, 165, 233, 0.35);
  transition: var(--transition);
  white-space: nowrap;
}

.btn-post-ad:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(14, 165, 233, 0.55);
}

/* ==========================================================================
/* ==========================================================================
   Global Sticky Floating Hub Bar (Connected Country + City Selector)
   ========================================================================== */
.section-geo-bar {
  position: sticky;
  top: 68px;
  z-index: 850;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 1.25rem;
  background: rgba(10, 17, 34, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(56, 189, 248, 0.22);
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.5);
  margin-bottom: 0;
  border-radius: 0;
}

.section-connected-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.btn-change-hub {
  flex-shrink: 0;
  background: rgba(14, 165, 233, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.45);
  color: #7dd3fc;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-change-hub:hover {
  background: rgba(14, 165, 233, 0.3);
  color: #fff;
  border-color: #38bdf8;
}

.weather-local-time {
  font-weight: 800;
  color: #7dd3fc;
  margin-right: 0.35rem;
  white-space: nowrap;
}

.section-connected {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
}

.section-connected .connected-country-label {
  color: #38bdf8;
  font-weight: 800;
}

@media (max-width: 900px) {
  .section-geo-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    top: 60px;
  }
  .section-connected-row {
    width: 100%;
    justify-content: space-between;
  }
}

.section-city-refine {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.section-city-refine .refine-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.55px;
  color: var(--text-muted);
  font-weight: 700;
  flex-shrink: 0;
}

.section-city-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
}

.city-other-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.city-other-panel {
  position: absolute;
  top: calc(100% + 0.4rem);
  left: 0;
  z-index: 40;
  min-width: 220px;
  max-width: min(320px, 80vw);
  padding: 0.55rem;
  border-radius: var(--radius-md);
  background: rgba(11, 19, 43, 0.98);
  border: 1px solid rgba(56, 189, 248, 0.35);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
}

.city-other-input {
  width: 100%;
  padding: 0.45rem 0.65rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  background: var(--bg-input);
  color: var(--text-primary);
  font-size: 0.85rem;
  margin-bottom: 0.4rem;
}

.city-other-list {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  max-height: 220px;
  overflow-y: auto;
}

.city-other-item {
  text-align: left;
  background: transparent;
  border: none;
  color: var(--text-secondary);
  padding: 0.4rem 0.5rem;
  border-radius: var(--radius-sm);
  font-size: 0.84rem;
  cursor: pointer;
}

.city-other-item:hover {
  background: rgba(14, 165, 233, 0.15);
  color: #fff;
}

.hero-search-grid--country-only {
  grid-template-columns: 1fr auto;
  align-items: end;
}

@media (max-width: 720px) {
  .hero-search-grid--country-only {
    grid-template-columns: 1fr;
  }
}

.hub-bar-flex {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 1.25rem !important;
  flex-wrap: nowrap !important;
}

.hub-active-badge {
  display: flex !important;
  align-items: center !important;
  gap: 0.65rem !important;
  flex-shrink: 0 !important;
  background: rgba(14, 165, 233, 0.12);
  border: 1px solid rgba(14, 165, 233, 0.35);
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-md);
}

.hub-flag {
  font-size: 1.6rem !important;
  line-height: 1 !important;
}

.hub-text-wrap {
  display: flex !important;
  flex-direction: column !important;
}

.hub-subtitle {
  font-size: 0.62rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.8px !important;
  color: var(--accent-cyan) !important;
  font-weight: 800 !important;
  line-height: 1.1 !important;
  display: block !important;
}

.hub-title {
  font-size: 1.05rem !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  line-height: 1.2 !important;
  margin: 0 !important;
  white-space: nowrap !important;
}

.hub-city-scoper {
  display: flex !important;
  align-items: center !important;
  gap: 0.6rem !important;
  flex: 1 !important;
  overflow-x: auto !important;
  white-space: nowrap !important;
  scrollbar-width: none !important;
}

.hub-city-scoper::-webkit-scrollbar {
  display: none !important;
}

.scoper-label {
  font-size: 0.76rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  color: var(--text-muted) !important;
  white-space: nowrap !important;
}

.hub-city-chips {
  display: flex !important;
  align-items: center !important;
  gap: 0.45rem !important;
  flex-wrap: nowrap !important;
}

.city-chip {
  background: var(--bg-card) !important;
  border: 1px solid var(--border-subtle) !important;
  color: var(--text-secondary) !important;
  padding: 0.35rem 0.85rem !important;
  border-radius: var(--radius-full) !important;
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  white-space: nowrap !important;
  transition: var(--transition) !important;
}

.city-chip:hover {
  border-color: var(--border-accent) !important;
  color: #ffffff !important;
  background: var(--bg-card-hover) !important;
}

.city-chip.active {
  background: var(--brand-gradient) !important;
  border-color: transparent !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  box-shadow: 0 2px 10px rgba(14, 165, 233, 0.4) !important;
}

.btn-switch-country {
  background: var(--bg-input) !important;
  border: 1px solid var(--border-accent) !important;
  color: var(--text-primary) !important;
  padding: 0.45rem 1rem !important;
  border-radius: var(--radius-full) !important;
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  transition: var(--transition) !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
}

.btn-switch-country:hover {
  border-color: var(--border-focus) !important;
  background: var(--bg-card-hover) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 14px rgba(14, 165, 233, 0.3) !important;
}

/* Multi-Language Checkboxes Pill Grid in Admin Forms */
.admin-lang-checkboxes-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(135px, 1fr)) !important;
  gap: 0.5rem !important;
  background: var(--bg-primary) !important;
  border: 1px solid var(--border-subtle) !important;
  border-radius: var(--radius-md) !important;
  padding: 0.85rem !important;
  margin-top: 0.35rem !important;
}

.lang-check-pill {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.45rem !important;
  background: var(--bg-card) !important;
  border: 1px solid var(--border-subtle) !important;
  border-radius: var(--radius-sm) !important;
  padding: 0.4rem 0.65rem !important;
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  color: var(--text-secondary) !important;
  cursor: pointer !important;
  transition: var(--transition) !important;
  user-select: none !important;
}

.lang-check-pill:hover {
  background: var(--bg-card-hover) !important;
  color: #ffffff !important;
  border-color: var(--border-accent) !important;
}

.lang-check-pill input[type="checkbox"] {
  accent-color: var(--accent-cyan) !important;
  width: 15px !important;
  height: 15px !important;
  cursor: pointer !important;
}

.lang-check-pill.checked,
.lang-check-pill:has(input:checked) {
  background: rgba(14, 165, 233, 0.2) !important;
  border-color: var(--accent-cyan) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
}

.badge-scope {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(14, 165, 233, 0.15);
  border: 1px solid rgba(14, 165, 233, 0.4);
  color: var(--text-accent);
  padding: 0.18rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.76rem;
  font-weight: 700;
}

/* ==========================================================================
   Hero Section & Search Autocomplete
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 3.5rem 0 2.5rem;
  z-index: 1;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(14, 165, 233, 0.12);
  border: 1px solid rgba(14, 165, 233, 0.35);
  color: var(--text-accent);
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.hero-title {
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1px;
  max-width: 920px;
  margin: 0 auto 1.1rem;
}

.hero-title span {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.12rem;
  color: var(--text-secondary);
  max-width: 780px;
  margin: 0 auto 2.2rem;
}

.hero-search-container {
  max-width: 980px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-lg);
  padding: 1.35rem;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  backdrop-filter: blur(20px);
}

.hero-search-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.1fr auto;
  gap: 1rem;
  align-items: center;
}

.search-field-group {
  position: relative;
  text-align: left;
}

[dir="rtl"] .search-field-group {
  text-align: right;
}

.search-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-secondary);
  margin-bottom: 0.35rem;
}

.search-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.search-input-icon {
  position: absolute;
  left: 0.9rem;
  color: var(--text-muted);
  pointer-events: none;
  font-size: 1.1rem;
}

[dir="rtl"] .search-input-icon {
  left: auto;
  right: 0.9rem;
}

.hero-search-input {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem 0.85rem 2.6rem;
  font-size: 0.95rem;
  transition: var(--transition);
}

[dir="rtl"] .hero-search-input {
  padding: 0.85rem 2.6rem 0.85rem 1rem;
}

.hero-search-input:focus {
  outline: none;
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25);
}

.hero-search-btn {
  height: 100%;
  min-height: 52px;
  background: var(--brand-gradient);
  color: #fff;
  border: none;
  border-radius: var(--radius-md);
  padding: 0 1.8rem;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 6px 18px rgba(14, 165, 233, 0.4);
  transition: var(--transition);
  white-space: nowrap;
}

.hero-search-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(14, 165, 233, 0.55);
}

/* Autocomplete Dropdown */
.autocomplete-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: var(--bg-secondary);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  max-height: 280px;
  overflow-y: auto;
  display: none;
  flex-direction: column;
  z-index: 1020;
  padding: 0.4rem;
}

.autocomplete-dropdown.active {
  display: flex;
  animation: fadeInDown 0.15s ease-out;
}

.autocomplete-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  cursor: pointer;
  font-size: 0.92rem;
  transition: var(--transition);
}

.autocomplete-item:hover, .autocomplete-item.selected {
  background: var(--bg-card-hover);
  color: var(--text-accent);
}

.autocomplete-item .item-meta {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.quick-hubs {
  margin-top: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  font-size: 0.88rem;
}

.quick-hub-tag {
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition);
}

.quick-hub-tag:hover {
  background: var(--bg-card-hover);
  color: #fff;
  border-color: var(--border-accent);
}

/* ==========================================================================
   Live Weather Widget
   ========================================================================== */
.weather-hub-card {
  margin-top: 1.5rem;
  background: rgba(14, 165, 233, 0.08);
  border: 1px solid rgba(14, 165, 233, 0.3);
  border-radius: var(--radius-md);
  padding: 0.75rem 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 1.25rem;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(12px);
  animation: fadeInDown 0.25s ease-out;
  flex-wrap: wrap;
  justify-content: center;
}

.weather-city-badge {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
}

.weather-pulse {
  width: 8px;
  height: 8px;
  background: var(--accent-emerald);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-emerald);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.weather-temp-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.weather-icon {
  font-size: 1.4rem;
}

.weather-temp {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-accent);
}

.weather-details {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
  border-left: 1px solid var(--border-subtle);
  padding-left: 0.85rem;
}

[dir="rtl"] .weather-details {
  border-left: none;
  border-right: 1px solid var(--border-subtle);
  padding-left: 0;
  padding-right: 0.85rem;
}

.weather-uv-pill {
  background: rgba(245, 158, 11, 0.18);
  color: #fcd34d;
  padding: 0.15rem 0.55rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.75rem;
}

/* ==========================================================================
   Stats Bar
   ========================================================================== */
.stats-section {
  padding: 2rem 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(15, 23, 42, 0.5);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.stat-card h3 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-accent);
  margin-bottom: 0.2rem;
}

.stat-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  font-weight: 600;
}

/* ==========================================================================
   Sections & Common Cards
   ========================================================================== */
.section-wrapper {
  padding: 4rem 0;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 2rem;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.section-header-left {
  max-width: 680px;
}

.section-title {
  font-size: 1.85rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  letter-spacing: -0.5px;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 0.98rem;
}

/* Daily News Wire Grid */
.news-wire-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 1.5rem;
}

.news-wire-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
}

.news-wire-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-accent);
  background: var(--bg-card-hover);
  box-shadow: var(--shadow-md);
}

.news-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  font-size: 0.78rem;
}

.news-category-badge {
  background: rgba(99, 102, 241, 0.18);
  color: #a5b4fc;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
}

.news-source-meta {
  color: var(--text-muted);
}

.news-title {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.news-snippet {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 1rem;
}

.news-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.82rem;
}

.news-link {
  color: var(--text-accent);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.news-link:hover {
  text-decoration: underline;
}

/* ==========================================================================
   Filter Bar & Professional Directory
   ========================================================================== */
.filter-bar {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1rem;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.filter-select {
  background-color: var(--bg-input);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  padding: 0.65rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  cursor: pointer;
  outline: none;
  min-width: 140px;
  color-scheme: dark;
}

.filter-select option,
.filter-select optgroup {
  background-color: #0f172a !important;
  color: #f8fafc !important;
}

.filter-select:focus {
  border-color: var(--border-focus);
}

.filter-search-input {
  flex: 1;
  min-width: 220px;
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  padding: 0.65rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
}

.filter-search-input:focus {
  outline: none;
  border-color: var(--border-focus);
}

.pros-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 1.5rem;
}

.pro-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.pro-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-accent);
  box-shadow: var(--shadow-md);
  background: var(--bg-card-hover);
}

.pro-card-top {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.pro-avatar {
  width: 68px;
  height: 68px;
  border-radius: var(--radius-md);
  object-fit: cover;
  border: 2px solid var(--border-accent);
  flex-shrink: 0;
}

.pro-info {
  flex: 1;
}

.pro-name {
  font-size: 1.15rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.2rem;
}

.badge-verified {
  color: var(--accent-cyan);
  font-size: 0.95rem;
}

.badge-partner {
  color: #fbbf24;
  font-size: 0.78rem;
  font-weight: 700;
  background: none;
  border: none;
  padding: 0;
  margin-left: 0.15rem;
}

.pro-role {
  color: var(--text-accent);
  font-size: 0.86rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.pro-location {
  font-size: 0.82rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.pro-languages {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.6rem;
  flex-wrap: wrap;
}

.lang-pill {
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  font-size: 0.74rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  color: var(--text-secondary);
}

.pro-bio {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
  line-height: 1.55;
}

.pro-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.pro-tag {
  background: rgba(59, 130, 246, 0.12);
  color: #93c5fd;
  font-size: 0.75rem;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
}

.pro-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
}

.pro-rate {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--accent-emerald);
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #25D366;
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.45rem 0.95rem;
  border-radius: var(--radius-full);
  transition: var(--transition);
}

.btn-whatsapp:hover {
  background: #1eb954;
  transform: translateY(-1px);
}

/* ==========================================================================
   Community Feed & Sidebar
   ========================================================================== */
.feed-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
}

.feed-main {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.create-post-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.create-post-input {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.95rem;
  line-height: 1.6;
  resize: vertical;
  min-height: 120px;
}

.create-post-input:focus {
  outline: none;
  border-color: var(--border-focus);
  box-shadow: 0 0 10px rgba(14, 165, 233, 0.2);
}

.feed-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.feed-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.feed-author-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.feed-author-img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
}

.feed-author-name {
  font-weight: 700;
  font-size: 0.98rem;
}

.feed-author-meta {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.feed-badge {
  background: rgba(14, 165, 233, 0.15);
  color: var(--text-accent);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
}

.feed-content {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.feed-image {
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  max-height: 380px;
  width: 100%;
  object-fit: cover;
}

.feed-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.feed-action-btn {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: none;
  border: none;
  color: inherit;
  cursor: pointer;
  transition: var(--transition);
}

.feed-action-btn:hover {
  color: var(--text-accent);
}

/* Sidebar Widgets */
.sidebar-widget {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.widget-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.event-mini-card {
  display: flex;
  gap: 0.85rem;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-subtle);
}

.event-mini-card:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.event-date-box {
  background: var(--bg-input);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-sm);
  padding: 0.5rem;
  text-align: center;
  min-width: 54px;
}

.event-date-box .day {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-accent);
}

.event-date-box .month {
  font-size: 0.7rem;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ==========================================================================
   Marketplace & Classifieds (home teaser + dedicated Classifieds page)
   ========================================================================== */
.market-page-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.35rem;
  padding: 1.5rem 1.6rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(56, 189, 248, 0.28);
  background:
    radial-gradient(ellipse 80% 120% at 0% 0%, rgba(14, 165, 233, 0.22), transparent 55%),
    linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(30, 58, 138, 0.35) 100%);
}
.market-page-kicker {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #38bdf8;
  margin-bottom: 0.35rem;
}
.market-page-title {
  font-size: clamp(1.45rem, 2.4vw, 1.9rem);
  font-weight: 800;
  color: #fff;
  margin: 0 0 0.35rem;
  letter-spacing: -0.02em;
}
.market-page-sub {
  margin: 0;
  max-width: 38rem;
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.45;
}
.market-page-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
}
.btn-market-secondary {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0.95rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(148, 163, 184, 0.35);
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.85rem;
  background: rgba(15, 23, 42, 0.55);
}
.btn-market-secondary:hover {
  border-color: rgba(56, 189, 248, 0.5);
  color: #fff;
}

.market-toolbar {
  display: grid;
  grid-template-columns: 1fr minmax(140px, 180px) minmax(160px, 220px);
  gap: 0.85rem;
  margin-bottom: 1.25rem;
  align-items: end;
}
@media (max-width: 900px) {
  .market-toolbar { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .market-toolbar { grid-template-columns: 1fr; }
}
.market-toolbar-city .search-label,
.market-toolbar-sort .search-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.3rem;
  display: block;
}
.market-toolbar-city .filter-select,
.market-toolbar-sort .filter-select {
  width: 100%;
}
.market-search-input {
  width: 100%;
  font-size: 0.92rem;
  padding: 0.7rem 1rem;
  border-radius: var(--radius-md);
}

.market-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.75rem;
  font-size: 0.82rem;
}
.market-crumb-link {
  background: none;
  border: none;
  color: var(--text-accent);
  cursor: pointer;
  padding: 0;
  font: inherit;
  font-weight: 600;
}
.market-crumb-link:hover { text-decoration: underline; }
.market-crumb-current { color: var(--text-muted); font-weight: 600; }
.market-crumb-sep { color: var(--text-muted); opacity: 0.6; }

.market-active-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.85rem;
  padding: 0.55rem 0.75rem;
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
}
.market-filters-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  font-weight: 700;
}
.market-filter-chip {
  font-size: 0.78rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: var(--text-primary);
}
.market-filter-clear {
  margin-left: auto;
  background: none;
  border: none;
  color: var(--text-accent);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
}

.market-sidebar-partners {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
}
.market-partners-hint {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin: 0 0 0.65rem;
  line-height: 1.4;
}
.market-partners-links {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.market-partner-link {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 0.45rem 0.55rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: rgba(15, 23, 42, 0.4);
}
.market-partner-link:hover {
  border-color: rgba(56, 189, 248, 0.4);
  color: #fff;
}
.market-partners-empty {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.4;
}

body.section-focus-mode #marketplace-section .market-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 1.5rem;
  width: 100%;
}

@media (max-width: 960px) {
  body.section-focus-mode #marketplace-section .market-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.25rem;
  }
}

@media (max-width: 640px) {
  body.section-focus-mode #marketplace-section .market-grid {
    grid-template-columns: 1fr;
    gap: 1.15rem;
  }
}

body.section-focus-mode #marketplace-section .market-img-wrap {
  height: 220px;
}

body.section-focus-mode #marketplace-section .market-title {
  font-size: 1.05rem;
  line-height: 1.4;
  margin-bottom: 0.45rem;
}

.market-categories-horizontal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 0.85rem;
  align-items: center;
}

.market-cat-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.95rem;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.market-cat-chip:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(56, 189, 248, 0.45);
  color: var(--text-primary);
  transform: translateY(-1px);
}

.market-cat-chip.active {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.22) 0%, rgba(37, 99, 235, 0.28) 100%);
  border-color: rgba(56, 189, 248, 0.65);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(14, 165, 233, 0.25);
}

.market-cat-chip .cat-icon {
  font-size: 1.05rem;
}

.market-cat-chip .cat-count {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.12rem 0.45rem;
  border-radius: var(--radius-full);
  background: var(--bg-input);
  color: var(--text-muted);
}

.market-cat-chip.active .cat-count {
  background: rgba(56, 189, 248, 0.35);
  color: #fff;
}

.market-status-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}
.market-results-count {
  font-size: 0.88rem;
  color: var(--text-secondary);
}
.market-status-post {
  font-size: 0.78rem;
  padding: 0.3rem 0.75rem;
}

.tripasia-smart-bar {
  margin-bottom: 1.15rem;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.12) 0%, rgba(37, 99, 235, 0.18) 100%);
  border: 1px solid rgba(56, 189, 248, 0.4);
  border-radius: var(--radius-lg);
  padding: 0.95rem 1.15rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.85rem;
}
.tripasia-smart-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.tripasia-smart-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #0284c7, #2563eb);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.tripasia-smart-title {
  font-weight: 800;
  font-size: 0.98rem;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}
.tripasia-pill {
  font-size: 0.68rem;
  padding: 0.1rem 0.4rem;
  background: rgba(56, 189, 248, 0.25);
  border: 1px solid rgba(56, 189, 248, 0.5);
  border-radius: 999px;
  color: #38bdf8;
  font-weight: 700;
}
.tripasia-smart-desc {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin: 0.15rem 0 0;
}
.tripasia-smart-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.tripasia-smart-links a {
  font-size: 0.76rem;
  padding: 0.32rem 0.6rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(56, 189, 248, 0.35);
  background: rgba(15, 23, 42, 0.75);
  color: #fff;
  text-decoration: none;
  font-weight: 650;
}
.tripasia-smart-links a:hover {
  border-color: rgba(56, 189, 248, 0.7);
}

.mabido-smart-bar {
  margin-bottom: 1.15rem;
  background: linear-gradient(135deg, rgba(163, 230, 53, 0.1) 0%, rgba(234, 88, 12, 0.12) 100%);
  border: 1px solid rgba(163, 230, 53, 0.35);
  border-radius: var(--radius-lg);
  padding: 0.95rem 1.15rem;
  display: none;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.85rem;
}
.mabido-smart-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.mabido-smart-logo {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  object-fit: contain;
  background: #fff;
  padding: 4px;
  flex-shrink: 0;
}
.mabido-smart-title {
  font-weight: 800;
  font-size: 0.98rem;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}
.mabido-pill {
  font-size: 0.68rem;
  padding: 0.1rem 0.4rem;
  background: rgba(163, 230, 53, 0.2);
  border: 1px solid rgba(163, 230, 53, 0.45);
  border-radius: 999px;
  color: #a3e635;
  font-weight: 700;
}
.mabido-smart-desc {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin: 0.15rem 0 0;
}
.mabido-smart-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.mabido-smart-links a {
  font-size: 0.76rem;
  padding: 0.32rem 0.6rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(163, 230, 53, 0.35);
  background: rgba(15, 23, 42, 0.75);
  color: #fff;
  text-decoration: none;
  font-weight: 650;
}
.mabido-smart-links a:hover {
  border-color: rgba(163, 230, 53, 0.7);
}

.badge-featured-partner {
  background: rgba(163, 230, 53, 0.15) !important;
  border-color: rgba(163, 230, 53, 0.45) !important;
  color: #a3e635 !important;
}

.mabido-business-tip {
  margin: 0.65rem 0 0.5rem;
  padding: 0.55rem 0.65rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(163, 230, 53, 0.28);
  background: rgba(163, 230, 53, 0.06);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  font-size: 0.78rem;
  color: var(--text-secondary);
}
.mabido-business-tip--compact {
  padding: 0.45rem 0.55rem;
  font-size: 0.74rem;
}
.mabido-business-tip-icon {
  flex-shrink: 0;
}
.mabido-business-tip-text {
  flex: 1 1 180px;
  line-height: 1.35;
}
.mabido-business-tip-link {
  color: #a3e635;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.mabido-business-tip-link:hover {
  text-decoration: underline;
}

.feed-modal-body {
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text-secondary);
}
.feed-card:hover {
  border-color: rgba(56, 189, 248, 0.35);
}
.feed-read-btn {
  flex-shrink: 0;
}

.feed-comments-section {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
}
.feed-comments-title {
  font-size: 0.95rem;
  margin: 0 0 0.75rem;
  color: var(--text-primary);
}
.feed-comments-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  max-height: 280px;
  overflow-y: auto;
  margin-bottom: 0.85rem;
}
.feed-comment-item {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.65rem 0.75rem;
}
.feed-comment-head {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.78rem;
  margin-bottom: 0.35rem;
}
.feed-comment-time {
  color: var(--text-muted);
  white-space: nowrap;
}
.feed-comment-text {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.45;
  color: var(--text-secondary);
}
.feed-no-comments {
  font-size: 0.84rem;
  color: var(--text-muted);
  margin: 0 0 0.75rem;
}
.feed-comment-form {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.feed-comment-input {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: var(--bg-input);
  color: var(--text-primary);
  font: inherit;
  resize: vertical;
  min-height: 64px;
}
.feed-comment-submit {
  align-self: flex-end;
  font-size: 0.82rem;
  padding: 0.45rem 0.9rem;
}

.market-subcat-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.95rem;
}

.market-subcat-chip {
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background: rgba(15, 23, 42, 0.55);
  color: var(--text-secondary);
  font-size: 0.78rem;
  font-weight: 650;
  cursor: pointer;
}
.market-subcat-chip:hover {
  border-color: rgba(56, 189, 248, 0.45);
  color: #fff;
}
.market-subcat-chip.active {
  background: rgba(14, 165, 233, 0.18);
  border-color: rgba(56, 189, 248, 0.55);
  color: #e0f2fe;
}

.market-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.15rem;
}

.market-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}
.market-card:hover {
  transform: translateY(-3px);
  border-color: rgba(56, 189, 248, 0.4);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
}

.market-img-wrap {
  position: relative;
  height: 160px;
  overflow: hidden;
}
.market-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.market-img--logo {
  object-fit: contain;
  padding: 1.25rem;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(234, 88, 12, 0.12));
  transform: none !important;
}
.market-card:hover .market-img--logo {
  transform: none;
}
.market-card:hover .market-img {
  transform: scale(1.04);
}
.market-tag {
  position: absolute;
  top: 0.65rem;
  left: 0.65rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  background: rgba(15, 23, 42, 0.82);
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: #e0f2fe;
}
[dir="rtl"] .market-tag {
  left: auto;
  right: 0.65rem;
}
.market-body {
  padding: 0.9rem 1rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
}
.market-title {
  font-size: 0.98rem;
  font-weight: 750;
  color: #fff;
  margin: 0;
  line-height: 1.3;
}
.market-location {
  font-size: 0.78rem;
  color: var(--text-muted);
}
.market-specs {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.35;
}
.market-footer {
  margin-top: auto;
  padding-top: 0.65rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
.market-price {
  font-weight: 800;
  color: #5eead4;
  font-size: 0.95rem;
}

/* ==========================================================================
   Guides & Events Grids
   ========================================================================== */
.guides-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.5rem;
}

.guide-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: var(--transition);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.guide-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-accent);
  background: var(--bg-card-hover);
  box-shadow: var(--shadow-md);
}

.guide-icon {
  width: 52px;
  height: 52px;
  background: rgba(14, 165, 233, 0.15);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-accent);
  font-size: 1.6rem;
  margin-bottom: 1.25rem;
}

.guide-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
  transition: var(--transition);
}

.guide-card:hover .guide-title {
  color: var(--text-accent);
}

.guide-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 1rem;
}

.btn-read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-accent);
  margin-top: auto;
  transition: var(--transition);
}

.guide-card:hover .btn-read-more {
  transform: translateX(4px);
}

[dir="rtl"] .guide-card:hover .btn-read-more {
  transform: translateX(-4px);
}

/* ==========================================================================
   Interactive Modals & Reader Overlay
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(5, 10, 24, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.modal-overlay.active {
  display: flex !important;
  opacity: 1;
}

.modal-container {
  background: var(--bg-secondary);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg), 0 0 50px rgba(14, 165, 233, 0.25);
  width: 100%;
  max-width: 900px;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: scale(0.95);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-overlay.active .modal-container {
  transform: scale(1);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.75rem;
  border-bottom: 1px solid var(--border-subtle);
  background: var(--bg-card);
}

.modal-title-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.modal-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
}

.modal-close-btn {
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.modal-close-btn:hover {
  background: var(--accent-rose);
  color: #fff;
  border-color: var(--accent-rose);
}

.modal-body {
  padding: 1.75rem;
  overflow-y: auto;
  color: var(--text-primary);
  line-height: 1.7;
}

.modal-body h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-accent);
  margin: 1.5rem 0 0.5rem;
}

.modal-body h3:first-child {
  margin-top: 0;
}

.modal-body p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.modal-body ul {
  margin: 0.5rem 0 1.25rem 1.5rem;
  color: var(--text-secondary);
  font-size: 0.92rem;
}

[dir="rtl"] .modal-body ul {
  margin: 0.5rem 1.5rem 1.25rem 0;
}

.checklist-box {
  background: var(--bg-card);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin: 1.5rem 0;
}

.checklist-box h4 {
  font-size: 1rem;
  color: var(--accent-emerald);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.checklist-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.5rem;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.checklist-item:last-child {
  margin-bottom: 0;
}

.modal-footer {
  padding: 1.25rem 1.75rem;
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  padding: 4rem 0 2rem;
  margin-top: 4rem;
}

/* Footer Global Hubs Banner */
.footer-global-banner {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.75rem 2rem;
  margin-bottom: 2.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.footer-global-header {
  margin-bottom: 1.25rem;
}

.footer-global-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: #38bdf8;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  margin-bottom: 0.6rem;
}

.footer-global-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.3rem;
}

.footer-global-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  max-width: 700px;
  line-height: 1.5;
}

.footer-hubs-regions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-region-block {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-region-name {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--text-muted);
}

.footer-region-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.footer-hub-tag {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
  font-size: 0.8rem;
  padding: 0.25rem 0.55rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.footer-hub-tag:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
  transform: translateY(-1px);
}

.footer-hub-tag--search {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.2), rgba(37, 99, 235, 0.2));
  border-color: rgba(56, 189, 248, 0.4);
  color: #38bdf8;
  font-weight: 700;
}

.footer-hub-tag--search:hover {
  background: linear-gradient(135deg, #0284c7, #2563eb);
  color: #fff;
}

.footer-trust-box {
  margin-top: 1.25rem;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.footer-trust-box strong {
  color: var(--text-primary);
}

.footer-contact-btn {
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: var(--text-accent);
  font-weight: 700;
  font-size: 0.86rem;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
  font-family: inherit;
  width: fit-content;
}

.footer-contact-btn:hover {
  background: rgba(56, 189, 248, 0.2);
  border-color: rgba(56, 189, 248, 0.5);
  color: #fff;
  transform: translateY(-1px);
}

.footer-whatsapp-pill {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--accent-emerald);
  font-weight: 600;
  font-size: 0.84rem;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: var(--transition);
  width: fit-content;
}

.footer-whatsapp-pill:hover {
  background: rgba(16, 185, 129, 0.2);
  border-color: rgba(16, 185, 129, 0.5);
  color: #fff;
  transform: translateY(-1px);
}

.btn-reveal-email {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.82rem;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
  font-family: inherit;
  transition: var(--transition);
}

.btn-reveal-email:hover {
  color: var(--text-accent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.1fr 1.1fr 1.1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  margin-top: 0.85rem;
  max-width: 360px;
}

.footer-col h4 {
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1.2rem;
  color: var(--text-primary);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-link {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.footer-link:hover {
  color: #fff;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-flags {
  display: flex;
  gap: 0.5rem;
}

.footer-flag-btn {
  background: none;
  border: none;
  font-size: 1.25rem;
  cursor: pointer;
  opacity: 0.75;
  transition: var(--transition);
}

.footer-flag-btn:hover, .footer-flag-btn.active {
  opacity: 1;
  transform: scale(1.15);
}

/* ==========================================================================
   Animations & Responsive Breakpoints
   ========================================================================== */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1024px) {
  .hero-search-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero-search-btn {
    grid-column: span 2;
  }
  .feed-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .hub-bar-flex {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  .hub-city-scoper {
    width: 100%;
  }
  .hero-search-grid {
    grid-template-columns: 1fr;
  }
  .hero-search-btn {
    grid-column: span 1;
  }
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .weather-hub-card {
    flex-direction: column;
    gap: 0.75rem;
  }
  .weather-details {
    border-left: none;
    padding-left: 0;
  }
}

/* ==========================================================================
   ⭐ Featured / Premium Highlights & Badges
   ========================================================================== */
.badge-premium {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.25) 0%, rgba(217, 119, 6, 0.35) 100%);
  border: 1px solid rgba(245, 158, 11, 0.65);
  color: #fbbf24;
  padding: 0.22rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.2);
}

.card-premium-highlight {
  position: relative;
  border-color: rgba(245, 158, 11, 0.45) !important;
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.12), var(--shadow-md) !important;
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.03) 0%, var(--bg-card) 100%) !important;
}

.card-premium-highlight::after {
  content: var(--i18n-badge-featured, "⭐ FEATURED");
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #fbbf24;
  background: rgba(245, 158, 11, 0.18);
  border: 1px solid rgba(245, 158, 11, 0.5);
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-full);
  pointer-events: none;
  z-index: 2;
}

.btn-toggle-premium {
  padding: 0.35rem 0.65rem;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid rgba(245, 158, 11, 0.4);
  background: rgba(245, 158, 11, 0.12);
  color: #fbbf24;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.btn-toggle-premium:hover {
  background: rgba(245, 158, 11, 0.25);
  border-color: rgba(245, 158, 11, 0.8);
}

.btn-toggle-premium.is-premium {
  background: #f59e0b;
  color: #0f172a;
  border-color: #f59e0b;
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.4);
}

/* ==========================================================================
   📸 Client-Side WebP Image Uploader & Compression Dropzone
   ========================================================================== */
.image-upload-wrapper {
  background: rgba(15, 23, 42, 0.6);
  border: 1px dashed var(--border-accent);
  border-radius: var(--radius-md);
  padding: 1rem;
  text-align: center;
  transition: var(--transition);
  margin-top: 0.5rem;
}

.image-upload-wrapper:hover,
.image-upload-wrapper.dragover {
  border-color: var(--accent-cyan);
  background: rgba(14, 165, 233, 0.08);
}

.image-upload-dropzone {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.image-upload-dropzone .upload-icon {
  font-size: 1.8rem;
}

.image-upload-dropzone .upload-text {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
}

.image-upload-dropzone .upload-hint {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.image-preview-container {
  display: none;
  margin-top: 0.85rem;
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-accent);
}

.image-preview-container img {
  width: 100%;
  max-height: 220px;
  object-fit: cover;
  display: block;
}

.image-preview-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(15, 23, 42, 0.9);
  padding: 0.45rem 0.85rem;
  font-size: 0.75rem;
  color: var(--accent-emerald);
  font-weight: 600;
}

.image-preview-remove {
  background: rgba(244, 63, 94, 0.8);
  border: none;
  color: #fff;
  border-radius: var(--radius-full);
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 800;
  transition: var(--transition);
}

.image-preview-remove:hover {
  background: var(--accent-rose);
  transform: scale(1.1);
}

.image-compression-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #34d399;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
}

/* ==========================================================================
   ✈️ Travel & Relocation Desk Section Styles
   ========================================================================== */
.travel-section {
  position: relative;
  overflow: hidden;
}

.travel-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(14, 165, 233, 0.12);
  border: 1px solid rgba(14, 165, 233, 0.3);
  color: #38bdf8;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.5rem;
}

.travel-page-chrome {
  margin-bottom: 1.75rem;
}

.travel-page-hero {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.12), rgba(15, 23, 42, 0.85)),
              radial-gradient(ellipse at top right, rgba(56, 189, 248, 0.15), transparent 70%);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: var(--radius-lg);
  padding: 2rem 2.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.travel-page-kicker {
  font-size: 0.85rem;
  font-weight: 700;
  color: #38bdf8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.35rem;
}

.travel-page-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.travel-page-sub {
  color: var(--text-secondary);
  font-size: 0.95rem;
  max-width: 680px;
  line-height: 1.5;
}

.travel-page-hero-badges {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.travel-hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #e2e8f0;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  backdrop-filter: blur(8px);
}

/* Travel Booking Widget */
.travel-booking-widget {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 2.25rem;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(12px);
}

.travel-booking-tabs {
  display: flex;
  gap: 0.5rem;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 0.85rem;
  margin-bottom: 1.25rem;
  overflow-x: auto;
  scrollbar-width: thin;
}

.travel-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 0.55rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.travel-tab-btn:hover {
  background: rgba(56, 189, 248, 0.1);
  color: #fff;
  border-color: rgba(56, 189, 248, 0.3);
}

.travel-tab-btn.active {
  background: linear-gradient(135deg, #0284c7, #0d9488);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
}

.travel-tab-pane {
  display: none;
}

.travel-tab-pane.active {
  display: block;
  animation: fadeIn 0.25s ease-out;
}

.travel-form-grid {
  display: grid;
  grid-template-columns: 1.5fr 1.5fr 1fr auto;
  gap: 1rem;
  align-items: flex-end;
}

.travel-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.travel-field--wide {
  grid-column: span 2;
}

.travel-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.travel-input, .travel-select {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  border-radius: var(--radius-md);
  padding: 0.65rem 0.95rem;
  font-size: 0.9rem;
  font-family: inherit;
  width: 100%;
  transition: var(--transition);
  color-scheme: dark;
}

.travel-select option,
.travel-select optgroup {
  background-color: #0f172a !important;
  color: #f8fafc !important;
}

.travel-input:focus, .travel-select:focus {
  outline: none;
  border-color: #38bdf8;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2);
}

.travel-submit-btn {
  background: linear-gradient(135deg, #0284c7, #0d9488);
  border: none;
  color: #fff;
  padding: 0.68rem 1.35rem;
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  text-decoration: none;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(2, 132, 199, 0.3);
  white-space: nowrap;
}

.travel-submit-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.45);
  filter: brightness(1.1);
}

.travel-submit-btn--inline {
  align-self: flex-start;
  margin-top: 0.5rem;
}

.travel-corridors {
  margin-top: 1.15rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.corridor-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-right: 0.25rem;
}

.corridor-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  text-decoration: none;
  transition: var(--transition);
}

.corridor-chip:hover {
  background: rgba(56, 189, 248, 0.12);
  border-color: rgba(56, 189, 248, 0.35);
  color: #fff;
}

.travel-feature-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding: 0.5rem 0;
}

.travel-feature-copy h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.35rem;
}

.travel-feature-copy p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  max-width: 680px;
  line-height: 1.5;
}

/* Visa Run Hubs */
.travel-visarun-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem;
}

.visarun-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.15rem;
}

.visarun-icon {
  font-size: 1.8rem;
}

.visarun-header h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.15rem;
}

.visarun-header p {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.visarun-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.visarun-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.visarun-item-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.35rem;
}

.visarun-item-desc {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.4;
  margin-bottom: 0.85rem;
}

.visarun-item-btn {
  align-self: flex-start;
  font-size: 0.78rem;
  font-weight: 700;
  color: #38bdf8;
  text-decoration: none;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.25);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.visarun-item-btn:hover {
  background: #38bdf8;
  color: #0f172a;
}

/* Travel Inventory Header & Chips */
.travel-inventory-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.35rem;
}

.travel-inventory-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.2rem;
}

.travel-inventory-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.travel-filter-chips {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.travel-chip {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.travel-chip:hover {
  background: rgba(56, 189, 248, 0.1);
  border-color: rgba(56, 189, 248, 0.3);
  color: #fff;
}

.travel-chip.active {
  background: #0284c7;
  color: #fff;
  border-color: transparent;
  box-shadow: 0 2px 10px rgba(2, 132, 199, 0.3);
}

/* Travel Interactive Toolbar */
.travel-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.65rem 1rem;
  backdrop-filter: blur(8px);
}

.travel-toolbar-search {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
}

.travel-toolbar-search .travel-search-icon {
  position: absolute;
  left: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  pointer-events: none;
}

.travel-query-input {
  width: 100%;
  padding: 0.55rem 0.85rem 0.55rem 2.3rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: #fff;
  font-size: 0.88rem;
  font-family: inherit;
  transition: var(--transition);
}

.travel-query-input:focus {
  outline: none;
  border-color: #38bdf8;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.15);
}

.travel-toolbar-filters {
  display: flex;
  gap: 0.65rem;
  align-items: center;
}

.travel-select--toolbar {
  padding: 0.5rem 0.85rem;
  font-size: 0.84rem;
  min-width: 150px;
  background-color: #131d36;
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  color-scheme: dark;
}

.travel-select--toolbar option,
.travel-select--toolbar optgroup {
  background-color: #0f172a !important;
  color: #f8fafc !important;
}

/* Travel Perks Strip */
.travel-perks-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-top: 2.5rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.travel-perk-item {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}

.travel-perk-item .perk-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
}

.travel-perk-item h4 {
  font-size: 0.92rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.25rem;
}

.travel-perk-item p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Homepage / Focus mode rules for Travel section */
body:not(.section-focus-mode) #travel-section .travel-page-only {
  display: none !important;
}

body:not(.section-focus-mode) #travel-section .travel-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

body:not(.section-focus-mode) #travel-section .market-img-wrap {
  height: 200px;
}

body:not(.section-focus-mode) #travel-section .market-title {
  font-size: 1.05rem;
}

@media (max-width: 960px) {
  body:not(.section-focus-mode) #travel-section .travel-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
  body:not(.section-focus-mode) #travel-section .market-img-wrap {
    height: 180px;
  }
  .travel-form-grid {
    grid-template-columns: 1fr 1fr;
  }
  .travel-field--wide {
    grid-column: span 2;
  }
  .travel-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }
  .travel-toolbar-filters {
    flex-direction: row;
    width: 100%;
  }
  .travel-select--toolbar {
    flex: 1;
    min-width: 0;
  }
}

@media (max-width: 640px) {
  body:not(.section-focus-mode) #travel-section .travel-grid {
    grid-template-columns: 1fr;
    gap: 1.15rem;
  }
  body:not(.section-focus-mode) #travel-section .market-img-wrap {
    height: 190px;
  }
  .travel-form-grid {
    grid-template-columns: 1fr;
  }
  .travel-field--wide {
    grid-column: span 1;
  }
  .travel-toolbar-filters {
    flex-direction: column;
  }
}

body.section-focus-mode #travel-section .travel-home-header {
  display: none !important;
}

body.section-focus-mode #travel-section {
  padding-top: 1.25rem;
}

body.section-focus-mode #travel-section .travel-grid {
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 1.5rem;
}

/* =========================================================================
   Official Verified Partners & Ecosystem Showcase (SEO, AEO, GEO)
   ========================================================================= */
.partners-ecosystem-section {
  padding: 3.5rem 0 2rem;
  background: linear-gradient(180deg, transparent 0%, rgba(15, 23, 42, 0.6) 100%);
  border-top: 1px solid var(--border-subtle);
}

.partners-ecosystem-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 2.5rem;
}

.partners-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(14, 165, 233, 0.12);
  border: 1px solid rgba(14, 165, 233, 0.3);
  color: #7dd3fc;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.partners-ecosystem-title {
  font-size: 1.9rem;
  font-weight: 800;
  margin: 0 0 0.6rem;
  color: var(--text-primary);
  line-height: 1.25;
}

.partners-ecosystem-desc {
  font-size: 0.98rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin: 0;
}

.partners-ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 980px) {
  .partners-ecosystem-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .partners-ecosystem-grid {
    grid-template-columns: 1fr;
  }
}

.partner-card-ecosystem {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.partner-card-ecosystem:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 12px 30px rgba(0,0,0,0.35);
}

.partner-card-ecosystem--monx {
  border-top: 3px solid #0284c7;
}

.partner-card-ecosystem--mabido {
  border-top: 3px solid #ea580c;
}

.partner-card-ecosystem--buyvilla {
  border-top: 3px solid #d97706;
}

.partner-card-top {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.partner-card-logo {
  width: 58px;
  height: 58px;
  border-radius: 12px;
  object-fit: contain;
  background: #fff;
  padding: 6px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  flex-shrink: 0;
}

.partner-card-meta h3 {
  margin: 0 0 0.25rem;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-primary);
}

.partner-card-tag {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-accent);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.partner-card-body {
  flex: 1;
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 1.25rem;
}

.partner-card-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.partner-card-features li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.partner-card-features li span.check {
  color: #10b981;
  font-weight: bold;
}

.partner-card-actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-top: auto;
}

.btn-partner-action {
  flex: 1;
  min-width: 120px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.6rem 0.85rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: var(--transition);
}

.btn-partner-action--primary {
  background: var(--text-primary);
  color: #0f172a;
}

.btn-partner-action--primary:hover {
  opacity: 0.9;
}

.btn-partner-action--secondary {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
}

.btn-partner-action--secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

/* =========================================================================
   Expat Relocation & Mobility Toolkit Section
   ========================================================================= */
.toolkit-section {
  position: relative;
  padding: 4.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.toolkit-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1.5rem 0 2rem;
  align-items: center;
}

.toolkit-filter-btn {
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.45rem 0.95rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.toolkit-filter-btn:hover {
  background: rgba(56, 189, 248, 0.12);
  border-color: rgba(56, 189, 248, 0.4);
  color: #ffffff;
  transform: translateY(-1px);
}

.toolkit-filter-btn.active {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.25), rgba(59, 130, 246, 0.35));
  border-color: #38bdf8;
  color: #38bdf8;
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.2);
}

.toolkit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.toolkit-card {
  display: flex;
  flex-direction: column;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  overflow: hidden;
}

.toolkit-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #38bdf8, #818cf8, #34d399);
  opacity: 0.6;
  transition: opacity 0.25s ease;
}

.toolkit-card:hover {
  transform: translateY(-4px);
  border-color: rgba(56, 189, 248, 0.4);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45), 0 0 20px rgba(56, 189, 248, 0.15);
}

.toolkit-card:hover::before {
  opacity: 1;
}

.toolkit-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.toolkit-header-left {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.toolkit-card-icon {
  font-size: 1.85rem;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  flex-shrink: 0;
}

.toolkit-card-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  line-height: 1.3;
}

.toolkit-card-title {
  font-size: 0.82rem;
  color: #94a3b8;
  margin: 0.15rem 0 0;
}

.toolkit-badge {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-full);
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: #38bdf8;
  white-space: nowrap;
}

.toolkit-card-desc {
  font-size: 0.88rem;
  line-height: 1.55;
  color: #cbd5e1;
  margin: 0 0 1rem;
}

.toolkit-perk-pill {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: #facc15;
  background: rgba(250, 204, 21, 0.08);
  border: 1px dashed rgba(250, 204, 21, 0.35);
  border-radius: var(--radius-md);
  padding: 0.55rem 0.85rem;
  margin-bottom: 1.15rem;
}

.toolkit-perk-icon {
  font-size: 1rem;
}

.toolkit-features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  flex-grow: 1;
}

.toolkit-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.82rem;
  line-height: 1.45;
  color: #94a3b8;
}

.toolkit-check {
  color: #34d399;
  font-weight: 800;
  font-size: 0.9rem;
  flex-shrink: 0;
  margin-top: -1px;
}

.toolkit-card-footer {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.toolkit-guarantee-box {
  background: rgba(14, 165, 233, 0.06);
  border: 1px solid rgba(56, 189, 248, 0.22);
  border-radius: var(--radius-md);
  padding: 0.75rem 0.85rem;
  margin-bottom: 0.25rem;
}

.toolkit-guarantee-header {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.toolkit-guarantee-icon {
  font-size: 0.95rem;
  line-height: 1;
}

.toolkit-guarantee-title {
  font-size: 0.80rem;
  font-weight: 700;
  color: #38bdf8;
  letter-spacing: 0.2px;
}

.toolkit-guarantee-text {
  font-size: 0.77rem;
  line-height: 1.42;
  color: #94a3b8;
  margin: 0.35rem 0 0.45rem;
}

.toolkit-charter-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #38bdf8;
  text-decoration: none;
  border-bottom: 1px dotted rgba(56, 189, 248, 0.6);
  cursor: pointer;
  transition: all 0.2s ease;
  padding-bottom: 1px;
}

.toolkit-charter-link:hover {
  color: #7dd3fc;
  border-bottom-style: solid;
}

.toolkit-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.75rem 1.25rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(135deg, #0284c7, #2563eb);
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25);
  border: none;
  cursor: pointer;
}

.toolkit-cta-btn:hover {
  background: linear-gradient(135deg, #0369a1, #1d4ed8);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.4);
  color: #ffffff;
}

.toolkit-trust-strip {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
}

.toolkit-trust-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.toolkit-trust-strip h4 {
  font-size: 0.98rem;
  color: #ffffff;
  margin: 0 0 0.25rem;
}

.toolkit-trust-strip p {
  font-size: 0.84rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.45;
}

@media (max-width: 768px) {
  .toolkit-grid {
    grid-template-columns: 1fr;
  }
  .toolkit-trust-strip {
    flex-direction: column;
    text-align: center;
  }
}

/* Homepage / Preview mode rules for Toolkit section */
body:not(.section-focus-mode) #toolkit-section .toolkit-page-only {
  display: none !important;
}

body:not(.section-focus-mode) #toolkit-section .toolkit-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 1024px) {
  body:not(.section-focus-mode) #toolkit-section .toolkit-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  body:not(.section-focus-mode) #toolkit-section .toolkit-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   24/7 AI Concierge & Official WhatsApp Floating Widget (Expasiat)
   Glassmorphism, Pulse Glow & Responsive Floating Card
   ========================================================================== */
.exp-floating-widget {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 99999;
  font-family: var(--font-primary);
}

[dir="rtl"] .exp-floating-widget {
  right: auto;
  left: 1.5rem;
}

/* Trigger Floating Button */
.exp-chat-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: linear-gradient(135deg, #059669 0%, #10b981 50%, #0284c7 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 9999px;
  padding: 0.65rem 1.25rem 0.65rem 0.85rem;
  cursor: pointer;
  box-shadow: 0 8px 28px rgba(16, 185, 129, 0.4), 0 2px 10px rgba(0, 0, 0, 0.3);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  outline: none;
}

.exp-chat-trigger:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 35px rgba(16, 185, 129, 0.55), 0 4px 15px rgba(0, 0, 0, 0.4);
  border-color: rgba(255, 255, 255, 0.45);
}

.exp-chat-trigger.is-active {
  background: linear-gradient(135deg, #0f172a, #1e293b);
  border-color: #38bdf8;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.exp-trigger-icon-chat {
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.exp-trigger-label {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.2;
}

[dir="rtl"] .exp-trigger-label {
  text-align: right;
}

.exp-trigger-main {
  font-weight: 800;
  font-size: 0.88rem;
  letter-spacing: -0.01em;
  color: #ffffff;
}

.exp-trigger-sub {
  font-size: 0.72rem;
  font-weight: 600;
  color: #e0f2fe;
  opacity: 0.95;
}

.exp-trigger-badge {
  position: relative;
  width: 10px;
  height: 10px;
  flex-shrink: 0;
}

.exp-pulse-dot {
  position: absolute;
  top: 0;
  left: 0;
  width: 10px;
  height: 10px;
  background-color: #22c55e;
  border-radius: 50%;
  border: 1.5px solid #ffffff;
}

.exp-pulse-ring {
  position: absolute;
  top: -4px;
  left: -4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: rgba(34, 197, 94, 0.6);
  animation: expPulse 1.8s cubic-bezier(0.24, 0, 0.38, 1) infinite;
}

@keyframes expPulse {
  0% { transform: scale(0.6); opacity: 0.9; }
  100% { transform: scale(1.8); opacity: 0; }
}

/* Chat Floating Window */
.exp-chat-window {
  position: absolute;
  bottom: calc(100% + 0.85rem);
  right: 0;
  width: 380px;
  max-width: calc(100vw - 2rem);
  height: 520px;
  max-height: calc(100vh - 7rem);
  background: rgba(13, 22, 45, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.65), 0 0 40px rgba(14, 165, 233, 0.2);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: expSlideUp 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

[dir="rtl"] .exp-chat-window {
  right: auto;
  left: 0;
}

@keyframes expSlideUp {
  from { opacity: 0; transform: translateY(16px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Chat Header */
.exp-chat-header {
  padding: 0.85rem 1.1rem;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(16, 185, 129, 0.2));
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.exp-chat-header-info {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.exp-chat-avatar-wrap {
  position: relative;
}

.exp-chat-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--brand-gradient);
  color: #fff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: 0 2px 8px rgba(14, 165, 233, 0.4);
}

.exp-chat-status-dot {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 10px;
  height: 10px;
  background-color: #10b981;
  border-radius: 50%;
  border: 2px solid #0d162d;
}

.exp-chat-title {
  font-weight: 800;
  font-size: 0.92rem;
  color: #ffffff;
  line-height: 1.2;
}

.exp-chat-subtitle {
  font-size: 0.72rem;
  color: #38bdf8;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.exp-chat-close-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-secondary);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition);
}

.exp-chat-close-btn:hover {
  background: rgba(244, 63, 94, 0.25);
  color: #f43f5e;
  border-color: rgba(244, 63, 94, 0.4);
}

/* Chat Body */
.exp-chat-body {
  flex: 1;
  padding: 1rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.exp-chat-bubble {
  display: flex;
  gap: 0.6rem;
  max-width: 90%;
  font-size: 0.84rem;
  line-height: 1.45;
}

.exp-bubble-ai {
  align-self: flex-start;
}

.exp-bubble-user {
  align-self: flex-end;
  flex-direction: row-reverse;
}

.exp-bubble-avatar {
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.exp-bubble-content {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.7rem 0.9rem;
  border-radius: 14px;
  color: var(--text-primary);
}

.exp-bubble-user .exp-bubble-content {
  background: linear-gradient(135deg, #0284c7, #2563eb);
  border-color: rgba(56, 189, 248, 0.4);
  color: #ffffff;
  border-bottom-right-radius: 4px;
}

.exp-bubble-ai .exp-bubble-content {
  border-bottom-left-radius: 4px;
}

.exp-bubble-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: linear-gradient(135deg, #0284c7, #2563eb);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.76rem;
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: var(--transition);
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.35);
}

.exp-bubble-action-btn.exp-btn-wa {
  background: linear-gradient(135deg, #059669, #10b981);
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.35);
}

.exp-bubble-action-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.1);
}

/* Starter Prompt Chips */
.exp-quick-prompts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.25rem;
}

.exp-prompt-chip {
  background: rgba(14, 165, 233, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: #38bdf8;
  font-size: 0.74rem;
  font-weight: 600;
  padding: 0.35rem 0.65rem;
  border-radius: 20px;
  cursor: pointer;
  transition: var(--transition);
  text-align: left;
}

.exp-prompt-chip:hover {
  background: rgba(14, 165, 233, 0.25);
  border-color: #38bdf8;
  color: #ffffff;
  transform: translateY(-1px);
}

/* Typing pulse */
.exp-typing-bubble .exp-dot-pulse {
  animation: expBlink 1.4s infinite both;
  color: #38bdf8;
}
.exp-typing-bubble .exp-dot-pulse:nth-child(2) { animation-delay: 0.2s; }
.exp-typing-bubble .exp-dot-pulse:nth-child(3) { animation-delay: 0.4s; }

@keyframes expBlink {
  0%, 80%, 100% { opacity: 0.2; }
  40% { opacity: 1; }
}

/* Chat Footer & Input */
.exp-chat-footer {
  padding: 0.75rem 0.9rem;
  background: rgba(15, 23, 42, 0.98);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.exp-chat-input-row {
  display: flex;
  gap: 0.45rem;
}

.exp-chat-input {
  flex: 1;
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: #ffffff;
  padding: 0.55rem 0.8rem;
  font-size: 0.84rem;
  outline: none;
  transition: var(--transition);
}

.exp-chat-input:focus {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.25);
}

.exp-chat-send-btn {
  background: var(--brand-gradient);
  border: none;
  color: #ffffff;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.95rem;
  flex-shrink: 0;
  transition: var(--transition);
}

.exp-chat-send-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 2px 10px rgba(14, 165, 233, 0.4);
}

.exp-chat-escalate {
  display: flex;
}

.exp-btn-whatsapp-direct {
  width: 100%;
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.78rem;
  padding: 0.55rem 0.85rem;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 2px 10px rgba(16, 185, 129, 0.3);
  transition: var(--transition);
}

.exp-btn-whatsapp-direct:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.5);
  filter: brightness(1.08);
}

.exp-wa-icon {
  font-size: 1rem;
}

@media (max-width: 480px) {
  .exp-floating-widget {
    bottom: 1rem;
    right: 1rem;
  }
  .exp-chat-window {
    width: calc(100vw - 2rem);
    height: 480px;
  }
  .exp-trigger-sub {
    display: none;
  }
  .exp-chat-trigger {
    padding: 0.6rem 1rem 0.6rem 0.75rem;
  }
}
