/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

/* CSS Variables */
:root {
  --bg-primary: #0a0a0a;
  --bg-secondary: #121212;
  --bg-tertiary: #1a1a1a;
  --color-gold: #c5a880;
  --color-gold-hover: #e0cca7;
  --color-gold-dark: #8e724d;
  --color-text-primary: #f5f5f5;
  --color-text-secondary: #a0a0a0;
  --color-text-muted: #666666;
  --border-color: rgba(197, 168, 128, 0.15);
  --border-light: rgba(255, 255, 255, 0.05);
  --glass-bg: rgba(18, 18, 18, 0.75);
  --glass-border: rgba(197, 168, 128, 0.2);
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.5);
  --shadow-gold: 0 0 15px rgba(197, 168, 128, 0.2);
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  /* Alias for inline styles referencing --color-primary */
  --color-primary: #c5a880;
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  outline: none;
}

html {
  scroll-behavior: smooth;
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: var(--color-gold-dark);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-gold);
}

/* Typography Selection */
::selection {
  background-color: var(--color-gold-dark);
  color: var(--bg-primary);
}

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

/* Containers & Layouts */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: 8rem 0;
  position: relative;
}

.section-dark {
  background-color: var(--bg-secondary);
}

.section-darker {
  background-color: var(--bg-primary);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 5rem auto;
}

.section-subtitle {
  color: var(--color-gold);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 600;
  display: block;
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 600;
  color: var(--color-text-primary);
  line-height: 1.2;
}

.section-title span {
  font-style: italic;
  font-weight: 400;
  color: var(--color-gold);
}

/* Navigation */
/* Navigation Wrapper */
.header-nav-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: transform var(--transition-normal);
}

/* Header Top Info Bar */
.header-top-bar {
  background-color: #0c0c0c;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  height: 38px;
  display: flex;
  align-items: center;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.7);
  transition: all var(--transition-normal);
}

.top-bar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.top-info-left {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.top-info-left a {
  color: rgba(255, 255, 255, 0.85);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: color var(--transition-fast);
}

.top-info-left a:hover {
  color: var(--color-gold);
}

.top-separator {
  color: rgba(255, 255, 255, 0.2);
  margin: 0 0.5rem;
}

.top-info-right {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.top-info-right a {
  color: rgba(255, 255, 255, 0.65);
  display: flex;
  align-items: center;
  transition: all var(--transition-fast);
}

.top-info-right a:hover {
  color: var(--color-gold);
  transform: translateY(-1px);
}

/* Main Navigation overrides */
.header-nav {
  position: static !important;
  width: 100%;
  height: 90px;
  background-color: #ffffff !important;
  border-bottom: 1px solid rgba(197, 168, 128, 0.15) !important;
  display: flex;
  align-items: center;
  transition: all var(--transition-normal);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.header-nav-wrapper.scrolled {
  transform: translateY(-38px);
}

.header-nav-wrapper.scrolled .header-nav {
  height: 80px;
  background-color: rgba(255, 255, 255, 0.98) !important;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  box-shadow: var(--shadow-md) !important;
  border-bottom-color: rgba(197, 168, 128, 0.2) !important;
}

/* Overriding links inside white navbar */
.header-nav .nav-link {
  color: #222222 !important;
  font-weight: 600;
}

.header-nav .nav-link:hover,
.header-nav .nav-link.active {
  color: var(--color-gold-dark) !important;
}

.header-nav .btn-contact-nav {
  border-color: #121212 !important;
  background: #121212 !important;
  color: #ffffff !important;
}

.header-nav .btn-contact-nav:hover {
  background-color: var(--color-gold) !important;
  border-color: var(--color-gold) !important;
  color: #121212 !important;
}

.header-nav .nav-toggle span {
  background-color: #121212 !important;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-main {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--color-text-primary);
}

.logo-main span {
  color: var(--color-gold);
}

.logo-sub {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.35em;
  color: var(--color-text-secondary);
  margin-top: 0.15rem;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--color-gold);
  transition: width var(--transition-normal);
}

.nav-link:hover, .nav-link.active {
  color: var(--color-text-primary);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.btn-contact-nav {
  padding: 0.75rem 1.75rem;
  border: 1px solid var(--color-gold);
  background: transparent;
  color: var(--color-text-primary);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  cursor: pointer;
  border-radius: 2px;
  transition: all var(--transition-normal);
}

.btn-contact-nav:hover {
  background-color: var(--color-gold);
  color: var(--bg-primary);
  box-shadow: var(--shadow-gold);
  transform: translateY(-2px);
}

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--color-text-primary);
  margin: 5px 0;
  transition: all var(--transition-normal);
}

/* Hero Section */
.hero {
  height: 100vh;
  min-height: 700px;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--bg-primary);
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(rgba(10, 10, 10, 0.7), rgba(10, 10, 10, 0.85)), url('images/hero_dubai.png');
  background-size: cover;
  background-position: center;
  z-index: 1;
  transform: scale(1.05);
  animation: zoomBg 20s infinite alternate;
}

@keyframes zoomBg {
  from { transform: scale(1.05); }
  to { transform: scale(1.15); }
}

.hero .container {
  position: relative;
  z-index: 2;
  margin-top: 4rem;
}

.hero-content {
  max-width: 800px;
}

.hero-tagline {
  color: var(--color-gold);
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hero-tagline::before {
  content: '';
  display: inline-block;
  width: 40px;
  height: 1px;
  background-color: var(--color-gold);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 4.5rem;
  line-height: 1.1;
  font-weight: 700;
  margin-bottom: 2rem;
  letter-spacing: -0.01em;
}

.hero-title span {
  font-style: italic;
  font-weight: 400;
  color: var(--color-gold);
}

.hero-description {
  font-size: 1.15rem;
  color: var(--color-text-secondary);
  margin-bottom: 3.5rem;
  max-width: 600px;
  font-weight: 300;
}

/* Search Filter Bar */
.search-filter-container {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  padding: 2rem;
  border-radius: 4px;
  box-shadow: var(--shadow-lg);
  max-width: 1050px;
  margin-top: 1rem;
}

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

.filter-group {
  display: flex;
  flex-direction: column;
}

.filter-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-gold);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.filter-select {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  color: var(--color-text-primary);
  padding: 0.9rem 1.2rem;
  border-radius: 2px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23c5a880' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: calc(100% - 15px) center;
  padding-right: 35px;
}

.filter-select:focus {
  border-color: var(--color-gold);
  box-shadow: 0 0 8px rgba(197, 168, 128, 0.25);
  background-color: var(--bg-tertiary);
}

.filter-btn-container {
  display: flex;
  align-items: flex-end;
}

.btn-filter-search {
  width: 100%;
  height: 52px;
  background: var(--color-gold);
  border: 1px solid var(--color-gold);
  color: var(--bg-primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all var(--transition-normal);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-filter-search:hover {
  background: var(--color-gold-hover);
  border-color: var(--color-gold-hover);
  box-shadow: var(--shadow-gold);
  transform: translateY(-1px);
}

/* Stats Section */
.stats-section {
  padding: 5rem 0;
  border-bottom: 1px solid var(--border-light);
  background-color: var(--bg-secondary);
}

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

.stat-card {
  padding: 1.5rem;
  position: relative;
}

.stat-card:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 25%;
  height: 50%;
  width: 1px;
  background-color: var(--border-color);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 3.25rem;
  font-weight: 700;
  color: var(--color-gold);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-text-secondary);
  font-weight: 500;
}

/* Listings Section */
.listings-filter-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3.5rem;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 1.5rem;
}

.listings-tabs {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.listings-tab-btn {
  background: none;
  border: none;
  color: var(--color-text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.5rem 1rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  border-radius: 20px;
  border: 1px solid transparent;
}

.listings-tab-btn:hover {
  color: var(--color-text-primary);
}

.listings-tab-btn.active {
  background-color: rgba(197, 168, 128, 0.1);
  color: var(--color-gold);
  border-color: var(--border-color);
}

.listings-count {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  font-weight: 400;
}

.listings-count span {
  font-weight: 600;
  color: var(--color-gold);
}

.listings-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.property-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.property-card:hover {
  transform: translateY(-10px);
  border-color: var(--border-color);
  box-shadow: var(--shadow-lg), var(--shadow-gold);
}

.property-img-wrapper {
  position: relative;
  width: 100%;
  height: 260px;
  overflow: hidden;
}

.property-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.property-card:hover .property-img {
  transform: scale(1.1);
}

.property-status-tag {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  padding: 0.4rem 1rem;
  background-color: var(--glass-bg);
  backdrop-filter: blur(8px);
  border: 1px solid var(--color-gold);
  color: var(--color-gold);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 2px;
}

.property-details-btn-overlay {
  position: absolute;
  bottom: -50px;
  left: 0;
  width: 100%;
  padding: 1rem;
  background: linear-gradient(transparent, rgba(10, 10, 10, 0.95));
  display: flex;
  justify-content: center;
  transition: bottom var(--transition-normal);
}

.property-card:hover .property-details-btn-overlay {
  bottom: 0;
}

.btn-card-view {
  background: var(--color-gold);
  color: var(--bg-primary);
  border: none;
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.6rem 1.2rem;
  border-radius: 2px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-card-view:hover {
  background: var(--color-gold-hover);
  box-shadow: var(--shadow-gold);
}

.property-info {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

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

.property-type {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--color-gold);
  letter-spacing: 0.1em;
  font-weight: 600;
}

.property-price {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  color: var(--color-text-primary);
  font-weight: 600;
}

.property-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--color-text-primary);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.property-location {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-text-secondary);
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
  margin-top: auto;
}

.property-location svg {
  fill: var(--color-gold);
  flex-shrink: 0;
}

.property-specs {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--border-light);
  padding-top: 1.25rem;
  font-size: 0.85rem;
  color: var(--color-text-secondary);
}

.spec-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.spec-item svg {
  fill: var(--color-text-muted);
}

/* Investment & ROI Portal */
.investment-portal {
  background-color: var(--bg-tertiary);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.portal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.portal-info-content {
  max-width: 550px;
}

.visa-badge {
  background-color: rgba(197, 168, 128, 0.12);
  color: var(--color-gold);
  border: 1px solid var(--border-color);
  padding: 0.5rem 1.25rem;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: inline-block;
  margin-bottom: 1.5rem;
}

.portal-text {
  color: var(--color-text-secondary);
  margin-bottom: 2rem;
  font-size: 1rem;
}

.portal-benefits-list {
  list-style: none;
  margin-bottom: 2.5rem;
}

.portal-benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: var(--color-text-secondary);
}

.portal-benefit-item svg {
  fill: var(--color-gold);
  margin-top: 0.2rem;
}

.portal-benefit-item strong {
  color: var(--color-text-primary);
}

/* ROI Calculator Component */
.roi-calculator-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 3rem;
  box-shadow: var(--shadow-lg), var(--shadow-gold);
  position: relative;
  overflow: hidden;
}

.roi-calculator-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--color-gold-dark), var(--color-gold), var(--color-gold-hover));
}

.calculator-title {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  margin-bottom: 2rem;
  text-align: center;
}

.calc-group {
  margin-bottom: 2rem;
}

.calc-row-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.calc-value-display {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--color-gold);
}

.range-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 4px;
  border-radius: 2px;
  background: var(--bg-tertiary);
  outline: none;
  transition: background var(--transition-fast);
}

.range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--color-gold);
  cursor: pointer;
  box-shadow: 0 0 10px rgba(197, 168, 128, 0.4);
  transition: background var(--transition-fast), transform var(--transition-fast);
}

.range-slider::-webkit-slider-thumb:hover {
  background: var(--color-gold-hover);
  transform: scale(1.15);
}

.calc-select {
  width: 100%;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-light);
  color: var(--color-text-primary);
  padding: 0.9rem 1.2rem;
  border-radius: 2px;
  font-size: 0.95rem;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23c5a880' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: calc(100% - 15px) center;
}

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

.calc-results {
  background-color: var(--bg-tertiary);
  border: 1px solid var(--border-light);
  padding: 1.75rem;
  border-radius: 2px;
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.calc-result-box {
  text-align: center;
}

.calc-result-box:first-child {
  border-right: 1px solid var(--border-light);
}

.calc-result-num {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-gold);
  line-height: 1.2;
  margin-bottom: 0.25rem;
}

.calc-result-lbl {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--color-text-secondary);
  letter-spacing: 0.1em;
}

/* About MNS Properties Section */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 6rem;
  align-items: center;
}

.about-narrative h3 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  color: var(--color-gold);
}

.about-narrative p {
  color: var(--color-text-secondary);
  margin-bottom: 1.75rem;
  font-size: 1rem;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

.about-feature-card {
  padding-left: 1.25rem;
  border-left: 2px solid var(--color-gold);
}

.about-feature-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  color: var(--color-text-primary);
}

.about-feature-desc {
  font-size: 0.85rem;
  color: var(--color-text-secondary);
}

/* Brand Values or Team Members */
.team-showcase {
  margin-top: 5rem;
}

.team-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  margin-bottom: 3rem;
  text-align: center;
}

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

.team-card {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-light);
  border-radius: 4px;
  overflow: hidden;
  text-align: center;
  padding: 2.5rem 1.5rem;
  transition: all var(--transition-normal);
}

.team-card:hover {
  border-color: var(--border-color);
  transform: translateY(-5px);
  box-shadow: var(--shadow-md), var(--shadow-gold);
}

.team-avatar-wrapper {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  margin: 0 auto 1.5rem auto;
  border: 2px solid var(--color-gold);
  padding: 4px;
  background-color: var(--bg-secondary);
}

.team-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: var(--bg-tertiary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold);
  font-size: 2.5rem;
  font-family: var(--font-heading);
  font-weight: 600;
}

.team-name {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.team-role {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-gold);
  font-weight: 600;
  margin-bottom: 1rem;
}

.team-contact {
  font-size: 0.85rem;
  color: var(--color-text-secondary);
}

/* Instagram Feed simulated showcase */
.insta-section {
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  background-color: var(--bg-secondary);
}

.insta-section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3.5rem;
}

.insta-handle-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--color-gold);
  font-size: 1rem;
  font-weight: 600;
  border: 1px solid var(--color-gold);
  padding: 0.75rem 1.5rem;
  border-radius: 30px;
  transition: all var(--transition-normal);
}

.insta-handle-link:hover {
  background-color: var(--color-gold);
  color: var(--bg-primary);
  box-shadow: var(--shadow-gold);
  transform: translateY(-2px);
}

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

.insta-card {
  position: relative;
  height: 280px;
  overflow: hidden;
  border-radius: 4px;
  border: 1px solid var(--border-light);
  cursor: pointer;
}

.insta-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.insta-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 10, 10, 0.85);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.insta-card:hover .insta-img {
  transform: scale(1.08);
}

.insta-card:hover .insta-overlay {
  opacity: 1;
}

.insta-icon {
  margin-bottom: 1rem;
  fill: var(--color-gold);
}

.insta-caption {
  font-size: 0.85rem;
  color: var(--color-text-primary);
  text-align: center;
  line-height: 1.4;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.insta-metrics {
  display: flex;
  gap: 1.5rem;
  font-size: 0.85rem;
  color: var(--color-gold);
  font-weight: 600;
}

.insta-metric-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* Contact Us Section */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 6rem;
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-intro {
  color: var(--color-text-secondary);
  font-size: 1.05rem;
  margin-bottom: 3rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
  margin-bottom: 3.5rem;
}

.contact-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.contact-icon-box {
  width: 50px;
  height: 50px;
  background: rgba(197, 168, 128, 0.08);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon-box svg {
  fill: var(--color-gold);
}

.contact-text-box h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-gold);
  margin-bottom: 0.25rem;
}

.contact-text-box p {
  color: var(--color-text-primary);
  font-size: 1rem;
}

.contact-socials {
  display: flex;
  gap: 1rem;
}

.social-circle {
  width: 42px;
  height: 42px;
  border: 1px solid var(--border-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  color: var(--color-text-secondary);
}

.social-circle svg {
  fill: currentColor;
}

.social-circle:hover {
  border-color: var(--border-color);
  color: var(--color-gold);
  transform: translateY(-3px);
  box-shadow: var(--shadow-gold);
}

/* Contact Form Card */
.contact-form-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  padding: 3.5rem;
  border-radius: 4px;
  box-shadow: var(--shadow-md);
  position: relative;
}

.contact-form-card:hover {
  border-color: var(--border-color);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group-full {
  grid-column: span 2;
}

.form-label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-secondary);
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-input, .form-textarea {
  width: 100%;
  background-color: var(--bg-primary);
  border: 1px solid var(--border-light);
  color: var(--color-text-primary);
  padding: 0.9rem 1.2rem;
  border-radius: 2px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.form-input:focus, .form-textarea:focus {
  border-color: var(--color-gold);
  background-color: var(--bg-tertiary);
}

.form-textarea {
  height: 120px;
  resize: none;
}

.btn-form-submit {
  width: 100%;
  padding: 1.1rem;
  background-color: var(--color-gold);
  border: 1px solid var(--color-gold);
  color: var(--bg-primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.9rem;
  cursor: pointer;
  border-radius: 2px;
  transition: all var(--transition-normal);
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-form-submit:hover {
  background-color: var(--color-gold-hover);
  border-color: var(--color-gold-hover);
  box-shadow: var(--shadow-gold);
}

/* Form Alert/Success message styling */
.form-success-state {
  display: none;
  text-align: center;
  padding: 2rem 0;
}

.success-icon-box {
  width: 70px;
  height: 70px;
  background-color: rgba(197, 168, 128, 0.1);
  border: 1px solid var(--color-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem auto;
}

.success-icon-box svg {
  fill: var(--color-gold);
}

.success-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  margin-bottom: 0.75rem;
  color: var(--color-gold);
}

.success-message {
  color: var(--color-text-secondary);
  font-size: 0.95rem;
}

/* Footer Section */
.footer {
  background-color: #050505;
  border-top: 1px solid var(--border-light);
  padding: 5rem 0 3rem 0;
  color: rgba(255, 255, 255, 0.7);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 5rem;
  margin-bottom: 4rem;
}

.footer-logo-panel p {
  font-size: 0.9rem;
  margin-top: 1.5rem;
  line-height: 1.7;
}

.footer-links-title {
  font-family: var(--font-heading);
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 1.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

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

.footer-link-item a {
  font-size: 0.9rem;
}

.footer-link-item a:hover {
  color: var(--color-gold);
  padding-left: 5px;
}

.footer-office-details {
  font-size: 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-office-details strong {
  color: #ffffff;
}

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

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a:hover {
  color: var(--color-text-secondary);
}

/* Property Details Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-normal);
  padding: 2rem;
}

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

.modal-container {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  width: 100%;
  max-width: 1000px;
  max-height: 90vh;
  border-radius: 4px;
  overflow-y: auto;
  position: relative;
  box-shadow: var(--shadow-lg), var(--shadow-gold);
  transform: translateY(30px);
  transition: transform var(--transition-normal);
}

.modal-overlay.active .modal-container {
  transform: translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 40px;
  height: 40px;
  background: var(--glass-bg);
  border: 1px solid var(--border-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  color: var(--color-text-primary);
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
  transform: rotate(90deg);
}

.modal-hero {
  position: relative;
  width: 100%;
  height: 380px;
}

.modal-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(transparent, rgba(18, 18, 18, 0.95));
}

.modal-hero-content {
  position: absolute;
  bottom: 2rem;
  left: 2.5rem;
  right: 2.5rem;
}

.modal-badge {
  background-color: rgba(197, 168, 128, 0.15);
  color: var(--color-gold);
  border: 1px solid var(--color-gold);
  padding: 0.35rem 0.85rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: inline-block;
  margin-bottom: 0.75rem;
  border-radius: 2px;
}

.modal-title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
}

.modal-location {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-text-secondary);
  font-size: 0.9rem;
}

.modal-location svg {
  fill: var(--color-gold);
}

.modal-body {
  padding: 3rem 2.5rem;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3.5rem;
}

.modal-description-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
  color: var(--color-gold);
}

.modal-description-text {
  color: var(--color-text-secondary);
  margin-bottom: 2rem;
  font-size: 0.95rem;
  line-height: 1.7;
}

.modal-specs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  background-color: var(--bg-tertiary);
  border: 1px solid var(--border-light);
  padding: 1.5rem;
  border-radius: 4px;
  margin-bottom: 2.5rem;
}

.modal-spec-card {
  text-align: center;
}

.modal-spec-icon {
  margin: 0 auto 0.5rem auto;
  display: flex;
  justify-content: center;
}

.modal-spec-icon svg {
  fill: var(--color-gold);
}

.modal-spec-value {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.15rem;
}

.modal-spec-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  color: var(--color-text-secondary);
  letter-spacing: 0.05em;
}

.modal-gallery-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.modal-gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.modal-gallery-img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 2px;
  border: 1px solid var(--border-light);
}

/* Modal Sidebar Contact Card */
.modal-contact-card {
  background-color: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
  align-self: flex-start;
  position: sticky;
  top: 2rem;
}

.modal-price-box {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-light);
}

.modal-price-lbl {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--color-text-secondary);
  letter-spacing: 0.1em;
  margin-bottom: 0.25rem;
}

.modal-price-val {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--color-gold);
  font-weight: 700;
}

.modal-contact-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.modal-contact-desc {
  font-size: 0.85rem;
  color: var(--color-text-secondary);
  margin-bottom: 1.5rem;
}

.modal-form-group {
  margin-bottom: 1rem;
}

.modal-form-input {
  width: 100%;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-light);
  color: var(--color-text-primary);
  padding: 0.75rem 1rem;
  border-radius: 2px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: border-color var(--transition-fast);
}

.modal-form-input:focus {
  border-color: var(--color-gold);
}

.btn-modal-submit {
  width: 100%;
  padding: 0.9rem;
  background-color: var(--color-gold);
  border: 1px solid var(--color-gold);
  color: var(--bg-primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.8rem;
  cursor: pointer;
  border-radius: 2px;
  transition: all var(--transition-normal);
  margin-top: 1rem;
}

.btn-modal-submit:hover {
  background-color: var(--color-gold-hover);
  border-color: var(--color-gold-hover);
  box-shadow: var(--shadow-gold);
}

.modal-whatsapp-btn {
  width: 100%;
  padding: 0.9rem;
  background-color: transparent;
  border: 1px solid #25d366;
  color: #25d366;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.8rem;
  cursor: pointer;
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
  transition: all var(--transition-normal);
}

.modal-whatsapp-btn:hover {
  background-color: #25d366;
  color: #fff;
  box-shadow: 0 0 10px rgba(37, 211, 102, 0.3);
}

.modal-whatsapp-btn svg {
  fill: currentColor;
}

/* Modal Form Success message styling */
.modal-form-success {
  display: none;
  text-align: center;
  padding: 2rem 0;
}

.modal-form-success svg {
  fill: var(--color-gold);
  margin-bottom: 1rem;
}

.modal-form-success-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--color-gold);
  margin-bottom: 0.5rem;
}

/* Floating WhatsApp Button */
.whatsapp-floating {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4), 0 0 10px rgba(37, 211, 102, 0.2);
  color: white;
  z-index: 999;
  transition: all var(--transition-normal);
  cursor: pointer;
}

.whatsapp-floating:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5), 0 0 15px rgba(37, 211, 102, 0.4);
}

.whatsapp-floating svg {
  fill: currentColor;
  width: 32px;
  height: 32px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 3.5rem;
  }
  .filter-grid {
    grid-template-columns: 1fr 1fr;
  }
  .listings-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .portal-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  .insta-grid {
    grid-template-columns: 1fr 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  section {
    padding: 5rem 0;
  }
  .header-nav {
    height: 80px;
  }
  .nav-toggle {
    display: block;
  }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    border-bottom: 1.5px solid rgba(197, 168, 128, 0.2);
    flex-direction: column;
    gap: 0;
    padding: 1rem 2rem;
    display: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  }
  .nav-links.active {
    display: flex;
  }
  .nav-link {
    padding: 0.9rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    width: 100%;
  }
  .nav-link::after {
    display: none;
  }
  .btn-contact-nav {
    display: none;
  }
  /* The hero was vertically centered within 100vh, which on short mobile
     viewports could push the title up underneath the ~118px fixed header
     (top bar + nav). Anchoring it to the top with fixed clearance instead
     guarantees the title always starts below the header. */
  .hero {
    align-items: flex-start;
    padding-top: 140px;
  }
  .hero .container {
    margin-top: 0;
  }
  .hero-title {
    font-size: 2.75rem;
  }
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
  .stat-card:nth-child(2)::after {
    display: none;
  }
  .listings-filter-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }
  .listings-tabs {
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  .listings-tab-btn {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
  }
  .listings-grid {
    grid-template-columns: 1fr;
  }
  .roi-calculator-card {
    padding: 2rem 1.5rem;
  }
  .calc-results {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .calc-result-box:first-child {
    border-right: none;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 1.5rem;
  }
  .team-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .modal-body {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 2rem 1.5rem;
  }
  .modal-hero-content {
    left: 1.5rem;
    right: 1.5rem;
  }
  .modal-title {
    font-size: 1.8rem;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-group-full {
    grid-column: span 1;
  }
  .contact-form-card {
    padding: 2rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.25rem;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .stat-card::after {
    display: none !important;
  }
  .filter-grid {
    grid-template-columns: 1fr;
  }
  .insta-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Partner Marquee & Secondary Filter Styles
   ========================================================================== */

/* Partner Marquee Animation */
.partners-slider-wrapper {
  position: relative;
  overflow: hidden;
  padding: 2.5rem 0;
  width: 100%;
}

.partners-slider {
  display: flex;
  gap: 3.5rem;
  animation: scrollPartners 25s linear infinite;
  width: max-content;
  align-items: center;
}

.partners-slider:hover {
  animation-play-state: paused;
}

@keyframes scrollPartners {
  0% {
    transform: translate3d(-50%, 0, 0);
  }
  100% {
    transform: translate3d(0, 0, 0);
  }
}

.partner-card {
  background-color: #ffffff;
  border: 1px solid rgba(197, 168, 128, 0.2);
  border-radius: 8px;
  padding: 1.5rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  height: 95px;
  transition: all var(--transition-normal);
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  flex-shrink: 0;
}

.partner-card:hover {
  border-color: var(--color-gold);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5), var(--shadow-gold);
  transform: translateY(-4px);
}

.partner-card img {
  max-width: 130px;
  max-height: 55px;
  object-fit: contain;
  filter: grayscale(20%) opacity(0.9);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.partner-card:hover img {
  filter: grayscale(0%) opacity(1);
}

/* Secondary Refined Filters in Listings Section */
.listings-refined-filters {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  padding: 1.75rem 2.25rem;
  border-radius: 4px;
  box-shadow: var(--shadow-sm);
  margin-top: -1.5rem;
  margin-bottom: 3.5rem;
  transition: all var(--transition-normal);
}

.listings-refined-filters:hover {
  border-color: rgba(197, 168, 128, 0.25);
}

.refined-filter-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  align-items: flex-end;
}

@media (max-width: 1024px) {
  .refined-filter-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .refined-filter-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
  .listings-refined-filters {
    padding: 1.5rem;
    margin-top: 0;
  }
}

/* ==========================================================================
   Mobile Header Fix
   The top info bar was overflowing its fixed 38px height on small screens
   (two phone numbers + email + social icons don't fit on one line at
   desktop sizing), which wrapped onto a second line. Since the scroll
   effect shifts the whole header up by exactly 38px to hide this bar, the
   overflow was left peeking out above the white nav as an empty/broken
   strip while scrolling. Rather than hiding content, this shrinks the
   spacing/font/icon sizes and lets the row scroll horizontally as a
   fallback, so everything from the desktop version stays visible on one
   line and the 38px scroll-hide works cleanly again.
   ========================================================================== */
@media (max-width: 768px) {
  .header-top-bar {
    font-size: 0.62rem;
  }

  .top-bar-container {
    padding: 0 0.85rem;
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
  }

  .top-bar-container::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
  }

  .top-info-left,
  .top-info-right {
    white-space: nowrap;
    flex-shrink: 0;
  }

  .top-info-left {
    gap: 0.3rem;
  }

  .top-info-right {
    gap: 0.55rem;
    margin-left: 0.6rem;
  }

  .top-info-left a svg,
  .top-info-right a svg {
    width: 10px;
    height: 10px;
  }
}
