/* ==========================================================================
   MSR PROPERTIES INFRA DEVELOPERS
   Ultra-Professional, Lightweight & Modern Real Estate Portal
   Managing Director: K. RANGARAJU Garu, MD
   Pragathi Nagar, Hyderabad
   ========================================================================== */

:root {
  /* Crisp, Light & Clean Backgrounds */
  --bg-body: #F8FAFC;
  --bg-white: #FFFFFF;
  --bg-surface: #F1F5F9;
  --bg-card: #FFFFFF;
  --bg-card-hover: #FFFFFF;
  --bg-dark-accent: #0F172A;

  /* Sophisticated Architectural Palette */
  --text-main: #0F172A;
  --text-secondary: #475569;
  --text-muted: #64748B;
  --text-light: #94A3B8;

  /* Refined Gold & Accent Tokens */
  --gold-primary: #C59B27;
  --gold-dark: #9A7513;
  --gold-light: #FDF8ED;
  --gold-border: #E8D9B5;
  --gold-gradient: linear-gradient(135deg, #D4AF37 0%, #B48608 100%);
  
  /* WhatsApp & Status */
  --whatsapp: #16A34A;
  --whatsapp-hover: #15803D;
  --whatsapp-light: #F0FDF4;
  --whatsapp-border: #BBF7D0;
  --blue-brand: #1E40AF;
  --danger: #DC2626;

  /* Borders & Dividers */
  --border-subtle: #E2E8F0;
  --border-card: #E5E7EB;

  /* Shadows - Crisp & Lightweight (Not Heavy) */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 4px 12px -1px rgba(15, 23, 42, 0.07), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 12px 28px -4px rgba(15, 23, 42, 0.09), 0 4px 10px -2px rgba(15, 23, 42, 0.04);

  /* Radius */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  /* Transitions */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Admin Restricted Elements */
.admin-only {
  display: none !important;
}

body.is-admin .admin-only {
  display: inline-flex !important;
}

body.is-admin .non-admin-only {
  display: none !important;
}

.admin-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #FEF3C7;
  border: 1px solid #FCD34D;
  color: #92400E;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.76rem;
  font-weight: 700;
}

.admin-dot {
  width: 7px;
  height: 7px;
  background: #16A34A;
  border-radius: 50%;
  animation: pulse-dot 1.5s infinite;
}

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

.post-delete-btn {
  background: #FEE2E2;
  border: 1px solid #FECACA;
  color: #DC2626;
  padding: 4px 8px;
  border-radius: var(--radius-xs);
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
}

.post-delete-btn:hover {
  background: #FCA5A5;
}

/* Video Player Lightbox & Video Badges */
.wa-post-video-banner {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(15, 23, 42, 0.9);
  color: #FDE68A;
  border: 1px solid rgba(212, 175, 55, 0.5);
  font-size: 0.74rem;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: var(--radius-xs);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  transition: all var(--transition);
  z-index: 5;
}

.wa-post-video-banner:hover {
  background: #000000;
  color: #FFFFFF;
  transform: scale(1.05);
}

.btn-video-tour {
  background: #0F172A;
  color: #FFFFFF;
  border: 1px solid rgba(15, 23, 42, 0.2);
}

.btn-video-tour:hover {
  background: #1E293B;
  color: #F8FAFC;
}

.video-modal-content {
  max-width: 820px;
  width: 100%;
  background: #0F172A;
  color: #FFFFFF;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
}

.video-modal-header {
  padding: 14px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #080C14;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.video-modal-header h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #F8FAFC;
  display: flex;
  align-items: center;
  gap: 8px;
}

.video-modal-body {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 Aspect Ratio */
  background: #000000;
}

.video-modal-body video,
.video-modal-body iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-modal-footer {
  padding: 16px 20px;
  background: #080C14;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

/* Video Attachment Box in Importer */
.video-attachment-box {
  background: #F8FAFC;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 14px;
  margin-bottom: 16px;
}

.attachment-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.tab-btn {
  padding: 6px 14px;
  border-radius: var(--radius-xs);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid var(--border-subtle);
  background: #FFFFFF;
  color: var(--text-secondary);
  transition: all var(--transition);
}

.tab-btn.active {
  background: var(--text-main);
  color: #FFFFFF;
  border-color: var(--text-main);
}


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

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

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

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

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

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-padding {
  padding: 65px 0;
}

.text-center {
  text-align: center;
}

/* Section Header - Clean & Crisp */
.section-header {
  margin-bottom: 40px;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  background: var(--gold-light);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gold-dark);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.section-badge i {
  width: 14px;
  height: 14px;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto;
}

/* ==========================================================================
   Top Header Bar - Clean & Direct
   ========================================================================== */
.top-bar {
  background: var(--bg-dark-accent);
  color: #E2E8F0;
  font-size: 0.82rem;
  padding: 7px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.badge-live {
  background: #DC2626;
  color: #FFFFFF;
  padding: 2px 7px;
  border-radius: var(--radius-xs);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.top-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #E2E8F0;
  font-weight: 600;
}

.top-link:hover {
  color: #FFFFFF;
}

.top-link i {
  width: 13px;
  height: 13px;
  color: var(--gold-primary);
}

.top-link.whatsapp-link {
  color: #4ADE80;
}

.top-link.whatsapp-link i {
  color: #22C55E;
}

/* ==========================================================================
   Header Navigation
   ========================================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 10px;
  padding-bottom: 10px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-image-box {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: #0F172A;
  border: 1px solid var(--gold-border);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.logo-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.01em;
  line-height: 1.15;
}

.logo-title strong {
  color: var(--gold-dark);
}

.logo-subtitle {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 6px 0;
  position: relative;
}

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

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gold-primary);
  border-radius: 2px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   Buttons - Clean & Lightweight
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: var(--text-main);
  color: #FFFFFF;
}

.btn-primary:hover {
  background: #1E293B;
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.btn-gold {
  background: var(--gold-gradient);
  color: #FFFFFF;
}

.btn-gold:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.btn-secondary {
  background: #FFFFFF;
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
}

.btn-secondary:hover {
  background: var(--bg-surface);
  border-color: #CBD5E1;
}

.btn-whatsapp {
  background: var(--whatsapp);
  color: #FFFFFF;
}

.btn-whatsapp:hover {
  background: var(--whatsapp-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.25);
}

.btn-whatsapp-outline {
  background: var(--whatsapp-light);
  color: var(--whatsapp);
  border: 1px solid var(--whatsapp-border);
}

.btn-whatsapp-outline:hover {
  background: #DCFCE7;
  color: var(--whatsapp-hover);
}

.btn-sm {
  padding: 7px 14px;
  font-size: 0.82rem;
}

.btn-lg {
  padding: 13px 26px;
  font-size: 0.95rem;
}

.btn-block {
  width: 100%;
}

/* ==========================================================================
   Hero Section - Clean, Airy & High-Trust
   ========================================================================== */
.hero-section {
  padding: 60px 0 50px;
  background: #FFFFFF;
  border-bottom: 1px solid var(--border-subtle);
}

.hero-container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--gold-light);
  border: 1px solid var(--gold-border);
  padding: 5px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gold-dark);
  margin-bottom: 18px;
}

.hero-tag i {
  width: 14px;
  height: 14px;
  color: var(--gold-primary);
}

.hero-title {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--text-main);
  margin-bottom: 16px;
}

.hero-title .gold-accent {
  color: var(--gold-dark);
}

.hero-description {
  font-size: 1.08rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 26px;
  max-width: 580px;
}

.hero-cta-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.hero-trust-badges {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.trust-item i {
  width: 16px;
  height: 16px;
  color: var(--whatsapp);
  flex-shrink: 0;
}

/* Managing Director Spotlight Card - Light & Dignified */
.hero-md-card {
  background: #FFFFFF;
  border: 1px solid var(--border-card);
  border-top: 4px solid var(--gold-primary);
  border-radius: var(--radius-md);
  padding: 26px;
  box-shadow: var(--shadow-md);
}

.md-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-subtle);
}

.md-avatar-box {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-sm);
  background: #0F172A;
  border: 1.5px solid var(--gold-border);
  overflow: hidden;
  flex-shrink: 0;
}

.md-avatar-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.md-details h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.2;
}

.md-details h3 em {
  font-style: italic;
  color: var(--gold-dark);
}

.md-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold-dark);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.md-quick-contacts {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.contact-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
}

.contact-pill:hover {
  background: #E2E8F0;
}

.contact-pill-label {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-secondary);
}

.contact-pill-label i {
  width: 14px;
  height: 14px;
  color: var(--gold-dark);
}

.contact-pill-val {
  font-weight: 700;
  color: var(--text-main);
}

.md-location-snippet {
  background: #F8FAFC;
  border: 1px solid var(--border-subtle);
  border-left: 3px solid var(--gold-primary);
  padding: 10px 12px;
  border-radius: 0 var(--radius-xs) var(--radius-xs) 0;
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.md-location-snippet strong {
  color: var(--text-main);
  display: block;
}

.whatsapp-group-callout {
  background: var(--whatsapp-light);
  border: 1px solid var(--whatsapp-border);
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.whatsapp-group-callout-text h4 {
  font-size: 0.88rem;
  font-weight: 700;
  color: #166534;
}

.whatsapp-group-callout-text p {
  font-size: 0.76rem;
  color: #15803D;
}

/* ==========================================================================
   Live WhatsApp Broadcast Feed (Primary User Requirement)
   ========================================================================== */
.whatsapp-feed-section {
  background: var(--bg-surface);
  padding: 55px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.feed-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  background: #FFFFFF;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 18px 24px;
  margin-bottom: 30px;
  box-shadow: var(--shadow-sm);
}

.feed-channel-info {
  display: flex;
  align-items: center;
  gap: 14px;
}

.feed-wa-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: var(--whatsapp);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.feed-channel-text h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
}

.feed-channel-text p {
  font-size: 0.84rem;
  color: var(--text-secondary);
}

.feed-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* WhatsApp Property Broadcast Grid */
.wa-feed-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 24px;
}

.wa-post-card {
  background: #FFFFFF;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition);
}

.wa-post-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: #CBD5E1;
}

.wa-post-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: #FAFBFD;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.8rem;
}

.wa-post-source {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--whatsapp);
  font-weight: 700;
}

.wa-post-source i {
  width: 14px;
  height: 14px;
}

.wa-post-time {
  color: var(--text-muted);
  font-size: 0.76rem;
}

.wa-post-image {
  position: relative;
  height: 200px;
  background: #E2E8F0;
  overflow: hidden;
}

.wa-post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wa-post-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(15, 23, 42, 0.85);
  color: #FFFFFF;
  padding: 3px 8px;
  border-radius: var(--radius-xs);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.wa-post-price {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: #0F172A;
  color: #F8FAFC;
  font-weight: 800;
  font-size: 1.05rem;
  padding: 4px 12px;
  border-radius: var(--radius-xs);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.wa-post-content {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.wa-post-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 6px;
  line-height: 1.35;
}

.wa-post-location {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.wa-post-location i {
  width: 14px;
  height: 14px;
  color: var(--gold-dark);
}

/* WhatsApp Message Bubble Style */
.wa-bubble-preview {
  background: #F0FDF4;
  border: 1px solid var(--whatsapp-border);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  font-size: 0.82rem;
  color: #14532D;
  line-height: 1.5;
  margin-bottom: 14px;
  font-family: monospace, system-ui;
  white-space: pre-line;
}

.wa-post-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.spec-pill {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  padding: 3px 8px;
  border-radius: var(--radius-xs);
  font-size: 0.78rem;
  color: var(--text-secondary);
  font-weight: 600;
}

.wa-post-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.wa-post-actions .btn {
  flex: 1 1 calc(50% - 8px);
  min-width: 130px;
}

/* ==========================================================================
   Office Location & Direct Maps Hub
   ========================================================================== */
.location-section {
  background: #FFFFFF;
  border-bottom: 1px solid var(--border-subtle);
}

.location-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 32px;
  align-items: stretch;
}

.office-card {
  background: #FFFFFF;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.office-header {
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-subtle);
}

.office-header h3 {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-main);
}

.office-header p {
  font-size: 0.88rem;
  color: var(--gold-dark);
  font-weight: 600;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
  flex-grow: 1;
}

.info-item {
  display: flex;
  gap: 12px;
}

.info-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: var(--gold-light);
  border: 1px solid var(--gold-border);
  color: var(--gold-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-icon i {
  width: 18px;
  height: 18px;
}

.info-text strong {
  display: block;
  font-size: 0.88rem;
  color: var(--text-main);
  margin-bottom: 2px;
}

.info-text p, .info-text a {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.office-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.map-container {
  background: #FFFFFF;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.map-responsive {
  position: relative;
  flex-grow: 1;
  min-height: 340px;
}

.map-responsive iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.map-caption {
  padding: 12px 16px;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  font-size: 0.82rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.map-caption i {
  width: 14px;
  height: 14px;
  color: var(--gold-dark);
}

/* ==========================================================================
   Lead Capture Section - Lightweight & Direct
   ========================================================================== */
.lead-section {
  background: var(--bg-body);
}

.lead-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: center;
}

.lead-intro .lead-title {
  font-size: 2.1rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--text-main);
  margin-bottom: 12px;
}

.lead-intro .lead-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.lead-benefits {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.benefit-item {
  display: flex;
  gap: 12px;
}

.benefit-icon {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-full);
  background: var(--whatsapp-light);
  border: 1px solid var(--whatsapp-border);
  color: var(--whatsapp);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.benefit-icon i {
  width: 14px;
  height: 14px;
}

.benefit-item strong {
  display: block;
  font-size: 0.9rem;
  color: var(--text-main);
}

.benefit-item p {
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.lead-form-card {
  background: #FFFFFF;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 30px;
  box-shadow: var(--shadow-md);
  position: relative;
}

.form-card-header {
  margin-bottom: 20px;
}

.form-card-header h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
}

.form-card-header p {
  font-size: 0.84rem;
  color: var(--text-secondary);
}

.form-group {
  margin-bottom: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 6px;
}

.input-icon-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon-wrapper .input-icon {
  position: absolute;
  left: 12px;
  width: 16px;
  height: 16px;
  color: var(--text-muted);
  pointer-events: none;
}

.input-icon-wrapper input,
.input-icon-wrapper select,
.lead-form-card textarea {
  width: 100%;
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 10px 12px 10px 38px;
  color: var(--text-main);
  font-size: 0.88rem;
  transition: border-color var(--transition);
}

.lead-form-card textarea {
  padding-left: 12px;
  resize: vertical;
}

.input-icon-wrapper input:focus,
.input-icon-wrapper select:focus,
.lead-form-card textarea:focus {
  outline: none;
  border-color: var(--gold-dark);
  box-shadow: 0 0 0 3px rgba(197, 155, 39, 0.15);
}

.field-error {
  font-size: 0.74rem;
  color: var(--danger);
  margin-top: 3px;
  display: block;
}

.form-privacy-note {
  font-size: 0.74rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 12px;
}

/* Success Overlay */
.form-success-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.98);
  border-radius: var(--radius-md);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 10;
}

.form-success-overlay.show {
  display: flex;
}

.success-box {
  text-align: center;
  max-width: 380px;
}

.success-icon {
  width: 56px;
  height: 56px;
  background: var(--whatsapp-light);
  border: 1.5px solid var(--whatsapp);
  color: var(--whatsapp);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.success-icon i {
  width: 28px;
  height: 28px;
}

.success-box h3 {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 6px;
}

.success-box p {
  color: var(--text-secondary);
  font-size: 0.88rem;
  margin-bottom: 20px;
}

.whatsapp-instant-box {
  background: var(--whatsapp-light);
  border: 1px solid var(--whatsapp-border);
  padding: 14px;
  border-radius: var(--radius-sm);
  margin-bottom: 18px;
}

.whatsapp-instant-box p {
  font-size: 0.82rem;
  color: #14532D;
  margin-bottom: 8px;
  font-weight: 600;
}

/* ==========================================================================
   WhatsApp Importer & Leads Modals
   ========================================================================== */
.leads-modal, .importer-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.leads-modal.show, .importer-modal.show {
  display: flex;
}

.leads-modal-content, .importer-modal-content {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  width: 100%;
  max-width: 780px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-card);
}

.leads-modal-header, .importer-modal-header {
  padding: 18px 24px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.leads-modal-header h3, .importer-modal-header h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
}

.close-modal {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.6rem;
  cursor: pointer;
  line-height: 1;
}

.close-modal:hover {
  color: var(--text-main);
}

.leads-modal-body, .importer-modal-body {
  padding: 24px;
  overflow-y: auto;
}

.importer-textarea {
  width: 100%;
  min-height: 130px;
  background: #F8FAFC;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 12px;
  color: var(--text-main);
  font-size: 0.88rem;
  font-family: inherit;
  margin-bottom: 14px;
}

.importer-textarea:focus {
  outline: none;
  border-color: var(--gold-dark);
  background: #FFFFFF;
}

.parsed-preview-card {
  background: #F8FAFC;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 14px;
  margin-bottom: 16px;
  display: none;
}

.parsed-preview-card.show {
  display: block;
}

.preview-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  font-size: 0.82rem;
}

.preview-grid-item strong {
  color: var(--text-secondary);
}

.preview-grid-item span {
  color: var(--text-main);
  font-weight: 700;
}

/* Leads Table */
.leads-actions-bar {
  display: flex;
  justify-content: space-between;
  margin-bottom: 16px;
}

.table-responsive {
  overflow-x: auto;
}

.leads-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.84rem;
}

.leads-table th {
  background: var(--bg-surface);
  color: var(--text-main);
  font-weight: 700;
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--border-subtle);
}

.leads-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-secondary);
}

/* ==========================================================================
   Footer - Lightweight, Clean & Professional
   ========================================================================== */
.footer {
  background: #FFFFFF;
  border-top: 1px solid var(--border-subtle);
  padding: 50px 0 24px;
}

.footer-content {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 36px;
  margin-bottom: 36px;
}

.footer-about {
  color: var(--text-secondary);
  font-size: 0.85rem;
  margin-top: 12px;
  line-height: 1.6;
}

.footer-col h4 {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 16px;
}

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

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.85rem;
}

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

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--text-secondary);
  font-size: 0.84rem;
  margin-bottom: 10px;
}

.footer-contact-item i {
  width: 15px;
  height: 15px;
  color: var(--gold-dark);
  margin-top: 2px;
}

.owner-access {
  margin-top: 18px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.btn-owner {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 0.76rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: var(--radius-xs);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.btn-owner:hover {
  background: #E2E8F0;
  color: var(--text-main);
}

.footer-bottom {
  padding-top: 20px;
  border-top: 1px solid var(--border-subtle);
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Floating Contact Bar */
.floating-contact-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #FFFFFF;
  border-top: 1px solid var(--border-subtle);
  padding: 8px 14px;
  z-index: 1000;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 8px;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
}

.floating-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 9px;
  border-radius: var(--radius-xs);
  font-size: 0.8rem;
  font-weight: 700;
}

.call-btn {
  background: var(--bg-surface);
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
}

.whatsapp-btn {
  background: var(--whatsapp);
  color: #FFFFFF;
}

.visit-btn {
  background: var(--text-main);
  color: #FFFFFF;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-container,
  .location-layout,
  .lead-wrapper {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-content {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.1rem;
  }

  .top-bar-right {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 65px;
    left: 0;
    width: 100%;
    background: #FFFFFF;
    border-bottom: 1px solid var(--border-subtle);
    flex-direction: column;
    padding: 20px;
    gap: 16px;
    display: none;
    box-shadow: var(--shadow-md);
  }

  .nav-menu.mobile-open {
    display: flex;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .wa-feed-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  .floating-contact-bar {
    display: grid;
  }

  body {
    padding-bottom: 55px;
  }
}

/* ==========================================================================
   YouTube Property Videos Section
   ========================================================================== */

.yt-videos-section {
  background: var(--bg-body);
}

/* Loading state */
.yt-loading-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  color: var(--text-muted);
  gap: 16px;
  font-size: 0.9rem;
}

.yt-spinner {
  width: 44px;
  height: 44px;
  border: 3px solid var(--border-subtle);
  border-top-color: #FF0000;
  border-radius: 50%;
  animation: yt-spin 0.75s linear infinite;
}

@keyframes yt-spin {
  to { transform: rotate(360deg); }
}

/* Error state */
.yt-error-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  color: var(--text-muted);
  text-align: center;
  gap: 8px;
}

/* Video Grid */
.yt-video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

/* Video Card */
.yt-video-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  cursor: pointer;
}

.yt-video-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* Thumbnail */
.yt-thumb-wrap {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 */
  background: #0F172A;
  overflow: hidden;
}

.yt-thumb-wrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.yt-video-card:hover .yt-thumb-wrap img {
  transform: scale(1.04);
  opacity: 0.75;
}

/* Play overlay */
.yt-play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.1);
  transition: background 0.2s ease;
}

.yt-video-card:hover .yt-play-overlay {
  background: rgba(0,0,0,0.35);
}

.yt-play-btn {
  width: 56px;
  height: 56px;
  background: rgba(255, 0, 0, 0.92);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(255,0,0,0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.yt-video-card:hover .yt-play-btn {
  transform: scale(1.12);
  box-shadow: 0 6px 28px rgba(255,0,0,0.6);
}

.yt-play-btn svg {
  width: 24px;
  height: 24px;
  color: #fff;
  fill: #fff;
  margin-left: 3px; /* optical centering for play triangle */
}

/* Views badge */
.yt-views-badge {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0,0,0,0.72);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Card body */
.yt-card-body {
  padding: 16px;
}

.yt-card-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.45;
  margin: 0 0 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.yt-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.yt-card-date {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
}

.yt-card-date svg {
  width: 12px;
  height: 12px;
}

.yt-card-watch {
  font-size: 0.75rem;
  font-weight: 700;
  color: #CC0000;
  display: flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  transition: color 0.15s;
}

.yt-card-watch:hover {
  color: #FF0000;
}

/* YouTube red button */
.btn-yt {
  background: #CC0000;
  color: #fff;
  border-color: #CC0000;
  transition: background 0.15s ease, transform 0.15s ease;
}

.btn-yt:hover {
  background: #FF0000;
  border-color: #FF0000;
  transform: translateY(-1px);
}

/* Channel CTA bar */
.yt-channel-cta {
  background: linear-gradient(135deg, #1a0000 0%, #2d0000 100%);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  margin-top: 8px;
  border: 1px solid rgba(255,0,0,0.15);
}

.yt-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.yt-cta-inner h4 {
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 4px;
}

.yt-cta-inner p {
  font-size: 0.84rem;
  color: rgba(255,255,255,0.65);
  margin: 0;
}

/* ==== YouTube Lightbox Modal ==== */
.yt-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.88);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: yt-modal-fade 0.2s ease;
}

.yt-modal.show {
  display: flex;
}

@keyframes yt-modal-fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.yt-modal-inner {
  background: #0F172A;
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 860px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,0.7);
  position: relative;
  animation: yt-modal-slide 0.25s cubic-bezier(.22,1,.36,1);
}

@keyframes yt-modal-slide {
  from { transform: translateY(24px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

.yt-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(255,255,255,0.12);
  border: none;
  color: #fff;
  font-size: 1.4rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: background 0.15s;
}

.yt-modal-close:hover {
  background: rgba(255,255,255,0.25);
}

.yt-modal-player {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  background: #000;
}

.yt-modal-player iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.yt-modal-footer {
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.yt-modal-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.yt-modal-title-text {
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.yt-modal-date-text {
  font-size: 0.74rem;
  color: rgba(255,255,255,0.45);
}

@media (max-width: 600px) {
  .yt-video-grid {
    grid-template-columns: 1fr;
  }
  .yt-channel-cta {
    padding: 20px;
  }
  .yt-cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
