/*
Theme Name: Shofar Property
Theme URI: https://shofarproperty.ng
Author: Shofar Property Technology
Author URI: https://shofarproperty.ng
Description: Premium Real Estate & PropTech WordPress Theme designed specifically for Lagos, Nigeria. Features immersive 3D virtual walkthroughs, parallax luxury scrolling, real estate agent paid listing upload portal, advertisement slots manager, and direct WhatsApp buyer leads.
Version: 1.1.0
Requires at least: 5.8
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: shofar-property
Tags: real-estate, proptech, lagos-nigeria, paid-listings, virtual-tours, matterport, custom-post-types, ad-manager
*/

/* -------------------------------------------------------------
 * LUXURY DESIGN SYSTEM, PARALLAX & FLUID TRANSITIONS
 * Inspired by Sotheby's, Compass & Architectural Digest
 * ----------------------------------------------------------- */
:root {
  --shofar-primary: #0a2540;        /* Deep Atlantic Navy */
  --shofar-primary-hover: #07192b;
  --shofar-accent: #059669;         /* Lagos Emerald Green - Verified & Growth */
  --shofar-accent-hover: #047857;
  --shofar-accent-light: #ecfdf5;
  --shofar-gold: #d97706;           /* Nigerian Luxury Gold */
  --shofar-gold-light: #fffbeb;
  --shofar-gold-champagne: #fef3c7;
  --shofar-dark: #0f172a;           /* Dark Slate */
  --shofar-gray-900: #1e293b;
  --shofar-gray-700: #334155;
  --shofar-gray-500: #64748b;
  --shofar-gray-300: #cbd5e1;
  --shofar-gray-200: #e2e8f0;
  --shofar-gray-100: #f1f5f9;
  --shofar-gray-50: #f8fafc;
  --shofar-white: #ffffff;
  
  --shofar-whatsapp: #25d366;
  --shofar-whatsapp-hover: #20ba5a;
  
  --shofar-danger: #ef4444;
  --shofar-info: #0284c7;

  --shofar-gold-gradient: linear-gradient(135deg, #f59e0b 0%, #d97706 50%, #b45309 100%);
  --shofar-emerald-gradient: linear-gradient(135deg, #10b981 0%, #059669 100%);
  --shofar-navy-gradient: linear-gradient(135deg, #07192b 0%, #0a2540 50%, #0f172a 100%);
  --shofar-glass-bg: rgba(255, 255, 255, 0.88);
  --shofar-glass-border: rgba(255, 255, 255, 0.4);

  --shofar-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shofar-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shofar-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shofar-shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shofar-shadow-luxury: 0 20px 40px -15px rgba(10, 37, 64, 0.15), 0 0 25px rgba(5, 150, 105, 0.08);

  --shofar-radius-sm: 6px;
  --shofar-radius-md: 10px;
  --shofar-radius-lg: 16px;
  --shofar-radius-full: 9999px;

  --shofar-ease-luxury: cubic-bezier(0.16, 1, 0.3, 1);
  --shofar-font-main: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --shofar-container: 1240px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--shofar-font-main);
  background-color: var(--shofar-gray-50);
  color: var(--shofar-gray-900);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.25s var(--shofar-ease-luxury);
}

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

.container {
  width: 100%;
  max-width: var(--shofar-container);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* Keyframe Animations */
@keyframes floatSlow {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

@keyframes pulseDot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 9px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

@keyframes goldShine {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

/* Reveal on Scroll */
.shofar-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s var(--shofar-ease-luxury), transform 0.75s var(--shofar-ease-luxury);
  will-change: opacity, transform;
}
.shofar-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  color: var(--shofar-primary);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.text-accent { color: var(--shofar-accent); }
.text-gold { color: var(--shofar-gold); }
.text-muted { color: var(--shofar-gray-500); }
.text-white { color: var(--shofar-white); }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.text-center { text-align: center; }

/* Buttons with Smooth Luxury Micro-Interactions */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 24px;
  border-radius: var(--shofar-radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.3s var(--shofar-ease-luxury);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120%;
  height: 120%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
  transition: transform 0.4s ease, opacity 0.3s ease;
  pointer-events: none;
}
.btn:hover::after {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}

.btn-primary {
  background: var(--shofar-navy-gradient);
  color: var(--shofar-white);
  box-shadow: 0 4px 14px rgba(10, 37, 64, 0.25);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(10, 37, 64, 0.35);
}

.btn-accent {
  background: var(--shofar-emerald-gradient);
  color: var(--shofar-white);
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.3);
}
.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(5, 150, 105, 0.45);
}

.btn-gold {
  background: var(--shofar-gold-gradient);
  color: var(--shofar-white);
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.3);
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(217, 119, 6, 0.45);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--shofar-gray-300);
  color: var(--shofar-gray-700);
}
.btn-outline:hover {
  background-color: var(--shofar-gray-100);
  border-color: var(--shofar-gray-400);
  transform: translateY(-2px);
}

.btn-outline-white {
  background-color: transparent;
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--shofar-white);
  backdrop-filter: blur(8px);
}
.btn-outline-white:hover {
  background-color: rgba(255, 255, 255, 0.18);
  border-color: var(--shofar-white);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background-color: var(--shofar-whatsapp);
  color: var(--shofar-white);
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}
.btn-whatsapp:hover {
  background-color: var(--shofar-whatsapp-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.5);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
  border-radius: var(--shofar-radius-sm);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1.05rem;
  border-radius: var(--shofar-radius-lg);
}

/* Luxury Badges with Shimmer Effects */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 5px 12px;
  border-radius: var(--shofar-radius-sm);
}

.badge-sale {
  background-color: var(--shofar-primary);
  color: var(--shofar-white);
}

.badge-rent {
  background-color: var(--shofar-accent);
  color: var(--shofar-white);
}

.badge-walkthrough {
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  color: var(--shofar-white);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.35);
}

.badge-verified {
  background-color: var(--shofar-accent-light);
  color: var(--shofar-accent);
  border: 1px solid rgba(5, 150, 105, 0.3);
}

.badge-title {
  background-color: var(--shofar-gold-light);
  color: var(--shofar-gold);
  border: 1px solid rgba(217, 119, 6, 0.3);
}

/* Header & Glassmorphism Navigation */
.shofar-topbar {
  background: #07192b;
  color: #94a3b8;
  font-size: 0.8rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.shofar-topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.topbar-left, .topbar-right {
  display: flex;
  align-items: center;
  gap: 20px;
}
.currency-switcher {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.1);
  padding: 3px 8px;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s;
}
.currency-switcher:hover {
  background: rgba(255, 255, 255, 0.18);
}
.currency-switcher select {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  outline: none;
}
.currency-switcher select option {
  background: #0f172a;
  color: #fff;
}

/* Header Leaderboard Ad Slot */
.ad-slot-header {
  background: #f1f5f9;
  border-bottom: 1px solid #e2e8f0;
  padding: 8px 0;
  text-align: center;
}
.ad-slot-header .ad-container {
  max-width: 728px;
  margin: 0 auto;
  min-height: 90px;
  background: #fff;
  border: 1px dashed #cbd5e1;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}
.ad-slot-header .ad-container:hover {
  border-color: var(--shofar-accent);
  box-shadow: 0 4px 16px rgba(10, 37, 64, 0.08);
}
.ad-tag {
  position: absolute;
  top: 4px;
  right: 6px;
  font-size: 0.65rem;
  text-transform: uppercase;
  background: rgba(0,0,0,0.4);
  color: #fff;
  padding: 1px 5px;
  border-radius: 3px;
  letter-spacing: 0.5px;
}

/* Glassmorphism Sticky Header */
.shofar-header {
  background: #ffffff;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid #e2e8f0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
  transition: all 0.35s var(--shofar-ease-luxury);
}
.shofar-header.scrolled {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 10px 30px rgba(10, 37, 64, 0.08);
  border-bottom-color: rgba(226, 232, 240, 0.8);
}
.shofar-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  transition: height 0.35s var(--shofar-ease-luxury);
}
.shofar-header.scrolled .container {
  height: 70px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--shofar-primary);
  text-decoration: none;
}
.brand-logo .logo-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--shofar-primary) 0%, var(--shofar-accent) 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.25rem;
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.25);
  transition: transform 0.3s ease;
}
.brand-logo:hover .logo-icon {
  transform: rotate(-4deg) scale(1.05);
}
.brand-logo .brand-text {
  display: flex;
  flex-direction: column;
}
.brand-logo .brand-name {
  line-height: 1.1;
  letter-spacing: -0.5px;
}
.brand-logo .brand-tagline {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--shofar-accent);
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.main-navigation ul {
  display: flex;
  list-style: none;
  gap: 28px;
  align-items: center;
}
.main-navigation a {
  color: var(--shofar-gray-700);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 6px 0;
  position: relative;
}
.main-navigation a:hover,
.main-navigation a.active {
  color: var(--shofar-accent);
}
.main-navigation a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--shofar-accent);
  border-radius: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.header-actions .btn-list {
  background: var(--shofar-emerald-gradient);
  color: #fff;
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.3);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--shofar-dark);
  cursor: pointer;
}

/* -------------------------------------------------------------
 * HERO SECTION WITH PARALLAX LAYER & GLASS SEARCH
 * ----------------------------------------------------------- */
.hero-section {
  position: relative;
  min-height: 680px;
  padding: 100px 0 120px;
  color: #fff;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.hero-parallax-bg {
  position: absolute;
  top: -15%;
  left: 0;
  right: 0;
  bottom: -15%;
  background: linear-gradient(135deg, rgba(7, 25, 43, 0.92) 0%, rgba(10, 37, 64, 0.88) 50%, rgba(15, 23, 42, 0.94) 100%),
              url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
  will-change: transform;
  transform: translate3d(0, 0, 0) scale(1.08);
  pointer-events: none;
}

.hero-content {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 6px 18px;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #6ee7b7;
  border: 1px solid rgba(110, 231, 183, 0.25);
  margin-bottom: 22px;
  animation: floatSlow 4s ease-in-out infinite;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}
.hero-badge .pulsing-dot {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulseDot 2s infinite;
}

.hero-title {
  font-size: 3.4rem;
  line-height: 1.15;
  font-weight: 800;
  color: #fff;
  margin-bottom: 22px;
  letter-spacing: -1.2px;
}
.hero-title span {
  background: linear-gradient(135deg, #34d399 0%, #60a5fa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-subtitle {
  font-size: 1.2rem;
  color: #cbd5e1;
  margin-bottom: 42px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* Glassmorphic Search Box Card */
.search-box-card {
  background: #ffffff;
  border-radius: var(--shofar-radius-lg);
  padding: 26px 30px;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.35), 0 0 40px rgba(5, 150, 105, 0.15);
  text-align: left;
  color: var(--shofar-gray-900);
  border: 1px solid rgba(255, 255, 255, 0.6);
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.search-box-card:hover {
  box-shadow: 0 30px 70px -15px rgba(0, 0, 0, 0.4), 0 0 50px rgba(5, 150, 105, 0.2);
}

.search-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--shofar-gray-200);
  padding-bottom: 14px;
}
.search-tab-btn {
  background: transparent;
  border: none;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--shofar-gray-500);
  padding: 10px 22px;
  border-radius: var(--shofar-radius-md);
  cursor: pointer;
  transition: all 0.25s var(--shofar-ease-luxury);
  position: relative;
}
.search-tab-btn.active {
  background: var(--shofar-primary);
  color: #fff;
  box-shadow: 0 4px 14px rgba(10, 37, 64, 0.25);
}
.search-tab-btn:hover:not(.active) {
  background: var(--shofar-gray-100);
  color: var(--shofar-dark);
}

.search-fields-grid {
  display: grid;
  grid-template-columns: 2fr 1.5fr 1.5fr auto;
  gap: 16px;
  align-items: center;
}
.search-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.search-field label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--shofar-gray-500);
  letter-spacing: 0.6px;
}
.search-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}
.search-input-wrapper svg {
  position: absolute;
  left: 14px;
  color: var(--shofar-gray-500);
  width: 18px;
  height: 18px;
  pointer-events: none;
  transition: color 0.2s;
}
.search-input-wrapper select,
.search-input-wrapper input {
  width: 100%;
  padding: 14px 14px 14px 42px;
  border: 1px solid var(--shofar-gray-200);
  border-radius: var(--shofar-radius-md);
  font-size: 0.95rem;
  font-family: inherit;
  font-weight: 500;
  color: var(--shofar-dark);
  background-color: var(--shofar-gray-50);
  transition: all 0.25s var(--shofar-ease-luxury);
  outline: none;
}
.search-input-wrapper select:focus,
.search-input-wrapper input:focus {
  border-color: var(--shofar-accent);
  background-color: #fff;
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.15);
}
.search-input-wrapper:focus-within svg {
  color: var(--shofar-accent);
}

.search-options-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--shofar-gray-100);
  font-size: 0.85rem;
}
.walkthrough-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
}
.walkthrough-toggle input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--shofar-accent);
  cursor: pointer;
}
.walkthrough-toggle span {
  font-weight: 600;
  color: var(--shofar-gray-700);
  display: flex;
  align-items: center;
  gap: 6px;
}
.walkthrough-toggle .badge-tag {
  background: #ede9fe;
  color: #7c3aed;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
}
.quick-locations {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.quick-locations span {
  color: var(--shofar-gray-500);
  font-size: 0.8rem;
}
.quick-pill {
  background: var(--shofar-gray-100);
  color: var(--shofar-gray-700);
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 600;
  transition: all 0.2s ease;
  cursor: pointer;
  border: 1px solid transparent;
}
.quick-pill:hover {
  background: var(--shofar-accent-light);
  color: var(--shofar-accent);
  border-color: rgba(5, 150, 105, 0.25);
  transform: translateY(-1px);
}

/* Stats Counter Row */
.stats-bar {
  background: #ffffff;
  border-bottom: 1px solid var(--shofar-gray-200);
  padding: 30px 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}
.stat-item {
  border-right: 1px solid var(--shofar-gray-200);
  padding: 0 16px;
  transition: transform 0.3s ease;
}
.stat-item:last-child {
  border-right: none;
}
.stat-item:hover {
  transform: translateY(-2px);
}
.stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--shofar-primary);
  line-height: 1.1;
  letter-spacing: -0.5px;
}
.stat-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--shofar-gray-500);
  margin-top: 6px;
}

/* -------------------------------------------------------------
 * SECTION COMMONS
 * ----------------------------------------------------------- */
.section {
  padding: 80px 0;
}
.section-header {
  margin-bottom: 44px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}
.section-title-wrap {
  max-width: 660px;
}
.section-subtitle {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--shofar-accent);
  text-transform: uppercase;
  letter-spacing: 1.8px;
  margin-bottom: 8px;
}
.section-title {
  font-size: 2.2rem;
  color: var(--shofar-primary);
  line-height: 1.2;
}
.section-desc {
  font-size: 1.05rem;
  color: var(--shofar-gray-500);
  margin-top: 10px;
}

/* -------------------------------------------------------------
 * PROPERTY CARD WITH 3D TILT & GLOSS FINISH
 * ----------------------------------------------------------- */
.properties-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.property-card {
  background: #ffffff;
  border-radius: var(--shofar-radius-lg);
  border: 1px solid var(--shofar-gray-200);
  overflow: hidden;
  transition: transform 0.4s var(--shofar-ease-luxury), box-shadow 0.4s var(--shofar-ease-luxury), border-color 0.3s ease;
  display: flex;
  flex-direction: column;
  position: relative;
  will-change: transform;
}
.property-card:hover {
  box-shadow: var(--shofar-shadow-luxury);
  border-color: rgba(217, 119, 6, 0.3);
}

.property-thumb-wrap {
  position: relative;
  width: 100%;
  height: 250px;
  overflow: hidden;
  background-color: #1e293b;
}
.property-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--shofar-ease-luxury);
}
.property-card:hover .property-thumb-img {
  transform: scale(1.08);
}

.card-badges-top {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  pointer-events: none;
  z-index: 2;
}
.badge-group-left {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
}
.badge-walkthrough-btn {
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  pointer-events: auto;
  transition: all 0.3s var(--shofar-ease-luxury);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
.badge-walkthrough-btn:hover {
  background: var(--shofar-accent);
  border-color: var(--shofar-accent);
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 18px rgba(5, 150, 105, 0.45);
}
.badge-walkthrough-btn svg {
  width: 14px;
  height: 14px;
  color: #34d399;
}

.card-price-overlay {
  position: absolute;
  bottom: 12px;
  left: 14px;
  background: rgba(10, 37, 64, 0.92);
  backdrop-filter: blur(8px);
  color: #fff;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.3px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
.card-price-overlay .price-cycle {
  font-size: 0.75rem;
  font-weight: 500;
  color: #94a3b8;
}

.property-card-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.property-location-tag {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.82rem;
  color: var(--shofar-gray-500);
  margin-bottom: 6px;
}
.property-location-tag svg {
  width: 14px;
  height: 14px;
  color: var(--shofar-accent);
}
.property-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--shofar-primary);
  line-height: 1.35;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 48px;
  transition: color 0.2s;
}
.property-title a:hover {
  color: var(--shofar-accent);
}

.property-specs {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-top: 1px solid var(--shofar-gray-100);
  border-bottom: 1px solid var(--shofar-gray-100);
  margin-bottom: 16px;
  font-size: 0.85rem;
  color: var(--shofar-gray-700);
}
.spec-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}

.property-card-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.agent-info-mini {
  display: flex;
  align-items: center;
  gap: 10px;
}
.agent-avatar-mini {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--shofar-gray-200);
}
.agent-name-wrap {
  display: flex;
  flex-direction: column;
}
.agent-name-mini {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--shofar-dark);
}
.agent-badge-verified {
  font-size: 0.7rem;
  color: var(--shofar-accent);
  display: flex;
  align-items: center;
  gap: 3px;
  font-weight: 600;
}

.property-card-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.btn-whatsapp-icon {
  width: 38px;
  height: 38px;
  background: var(--shofar-whatsapp);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s var(--shofar-ease-luxury);
  box-shadow: 0 3px 8px rgba(37, 211, 102, 0.25);
  border: none;
  cursor: pointer;
}
.btn-whatsapp-icon:hover {
  transform: scale(1.12);
  background: var(--shofar-whatsapp-hover);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4);
}
.btn-whatsapp-icon svg {
  width: 20px;
  height: 20px;
}

/* -------------------------------------------------------------
 * IN-FEED ADVERTISEMENT BANNER
 * ----------------------------------------------------------- */
.infeed-ad-banner {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, #07192b 0%, #0a2540 50%, #1e293b 100%);
  border-radius: var(--shofar-radius-lg);
  padding: 36px 44px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shofar-shadow-xl);
}
.infeed-ad-banner::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(5, 150, 105, 0.35) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.infeed-ad-content {
  max-width: 680px;
  position: relative;
  z-index: 1;
}
.infeed-ad-badge {
  font-size: 0.7rem;
  background: rgba(255, 255, 255, 0.15);
  padding: 4px 10px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  display: inline-block;
  margin-bottom: 12px;
  backdrop-filter: blur(8px);
}
.infeed-ad-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}
.infeed-ad-desc {
  font-size: 0.95rem;
  color: #cbd5e1;
  line-height: 1.6;
}
.infeed-ad-cta {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

/* -------------------------------------------------------------
 * LAGOS PRIME NEIGHBORHOODS SECTION
 * ----------------------------------------------------------- */
.locations-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.location-card {
  position: relative;
  height: 280px;
  border-radius: var(--shofar-radius-lg);
  overflow: hidden;
  box-shadow: var(--shofar-shadow-md);
  transition: all 0.4s var(--shofar-ease-luxury);
  display: block;
  perspective: 1000px;
}
.location-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shofar-shadow-xl);
}
.location-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--shofar-ease-luxury);
}
.location-card:hover .location-card-img {
  transform: scale(1.1);
}
.location-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(10,37,64,0.88) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  color: #fff;
  transition: background 0.3s ease;
}
.location-card:hover .location-card-overlay {
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(7,25,43,0.92) 100%);
}
.location-card-name {
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
}
.location-card-count {
  font-size: 0.85rem;
  color: #6ee7b7;
  font-weight: 600;
}

/* -------------------------------------------------------------
 * PROPTECH VIRTUAL WALKTHROUGH SPOTLIGHT
 * ----------------------------------------------------------- */
.walkthrough-spotlight-section {
  background: #0a2540;
  color: #fff;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}
.walkthrough-spotlight-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 80% 50%, rgba(5, 150, 105, 0.22) 0%, transparent 60%);
  pointer-events: none;
}

.spotlight-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.spotlight-info h2 {
  color: #fff;
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 22px;
}
.spotlight-info p {
  color: #94a3b8;
  font-size: 1.05rem;
  margin-bottom: 30px;
  line-height: 1.6;
}
.spotlight-features {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 36px;
}
.spotlight-feature-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.feature-icon-badge {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(5, 150, 105, 0.25);
  color: #34d399;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.2);
}
.spotlight-feature-item h4 {
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: 4px;
}
.spotlight-feature-item p {
  font-size: 0.88rem;
  color: #94a3b8;
  margin-bottom: 0;
}

.walkthrough-window {
  position: relative;
  border-radius: var(--shofar-radius-lg);
  overflow: hidden;
  box-shadow: 0 25px 60px -10px rgba(0, 0, 0, 0.7), 0 0 50px rgba(5, 150, 105, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.18);
  aspect-ratio: 16/10;
  background: #000;
  transition: transform 0.4s var(--shofar-ease-luxury);
}
.walkthrough-window:hover {
  transform: translateY(-4px) scale(1.01);
}
.walkthrough-preview-cover {
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?auto=format&fit=crop&w=1200&q=80') center/cover;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.play-3d-button {
  width: 80px;
  height: 80px;
  background: rgba(5, 150, 105, 0.92);
  backdrop-filter: blur(10px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.8rem;
  box-shadow: 0 0 35px rgba(5, 150, 105, 0.7);
  transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.walkthrough-preview-cover:hover .play-3d-button {
  transform: scale(1.18);
}
.walkthrough-cover-label {
  margin-top: 18px;
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
  background: rgba(15, 23, 42, 0.85);
  padding: 8px 20px;
  border-radius: 9999px;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

/* -------------------------------------------------------------
 * AGENT MONETIZATION & PRICING PACKAGES
 * ----------------------------------------------------------- */
.pricing-section {
  background: var(--shofar-gray-50);
  padding: 100px 0;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 44px;
}
.pricing-card {
  background: #fff;
  border-radius: var(--shofar-radius-lg);
  border: 1px solid var(--shofar-gray-200);
  padding: 38px 32px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s var(--shofar-ease-luxury), box-shadow 0.4s var(--shofar-ease-luxury);
}
.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shofar-shadow-xl);
}
.pricing-card.featured-plan {
  border: 2px solid var(--shofar-accent);
  box-shadow: 0 15px 40px -10px rgba(5, 150, 105, 0.25);
}
.popular-plan-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--shofar-accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  padding: 5px 16px;
  border-radius: 9999px;
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.4);
}
.plan-tier-name {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--shofar-primary);
  margin-bottom: 6px;
}
.plan-tier-desc {
  font-size: 0.88rem;
  color: var(--shofar-gray-500);
  margin-bottom: 24px;
  min-height: 42px;
}
.plan-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 28px;
}
.plan-currency {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--shofar-primary);
}
.plan-amount {
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--shofar-primary);
  line-height: 1;
  letter-spacing: -1px;
}
.plan-period {
  font-size: 0.9rem;
  color: var(--shofar-gray-500);
}
.plan-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 34px;
  flex: 1;
}
.plan-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--shofar-gray-700);
}
.plan-feature-item svg {
  width: 18px;
  height: 18px;
  color: var(--shofar-accent);
  flex-shrink: 0;
}
.plan-feature-item.disabled {
  color: var(--shofar-gray-400);
  text-decoration: line-through;
}
.plan-feature-item.disabled svg {
  color: var(--shofar-gray-300);
}

/* -------------------------------------------------------------
 * SINGLE PROPERTY DETAIL PAGE
 * ----------------------------------------------------------- */
.property-single-header {
  background: #fff;
  border-bottom: 1px solid var(--shofar-gray-200);
  padding: 32px 0 24px;
}
.property-single-header .header-flex {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}
.single-property-title {
  font-size: 2.3rem;
  font-weight: 800;
  color: var(--shofar-primary);
  line-height: 1.2;
  margin-bottom: 10px;
}
.single-property-price {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--shofar-accent);
  text-align: right;
  line-height: 1;
  letter-spacing: -0.5px;
  transition: opacity 0.2s ease;
}
.single-price-sub {
  font-size: 0.85rem;
  color: var(--shofar-gray-500);
  margin-top: 4px;
}

/* Photo Gallery Grid */
.single-gallery-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 250px 250px;
  gap: 14px;
  margin-top: 24px;
  margin-bottom: 44px;
  border-radius: var(--shofar-radius-lg);
  overflow: hidden;
  position: relative;
}
.gallery-item-main {
  grid-row: 1 / 3;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--shofar-ease-luxury);
}
.gallery-item:hover img {
  transform: scale(1.06);
}
.btn-view-walkthrough-float {
  position: absolute;
  bottom: 22px;
  left: 22px;
  background: rgba(10, 37, 64, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  padding: 14px 24px;
  border-radius: var(--shofar-radius-md);
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
  transition: all 0.3s var(--shofar-ease-luxury);
}
.btn-view-walkthrough-float:hover {
  background: var(--shofar-accent);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 30px rgba(5, 150, 105, 0.4);
}

/* Single Layout */
.single-layout-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  padding-bottom: 80px;
}
.specs-banner-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  background: #fff;
  border: 1px solid var(--shofar-gray-200);
  border-radius: var(--shofar-radius-md);
  padding: 20px;
  margin-bottom: 32px;
  text-align: center;
  box-shadow: var(--shofar-shadow-sm);
}
.spec-strip-box {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-right: 1px solid var(--shofar-gray-100);
}
.spec-strip-box:last-child {
  border-right: none;
}
.spec-strip-value {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--shofar-primary);
}
.spec-strip-label {
  font-size: 0.78rem;
  color: var(--shofar-gray-500);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* Walkthrough Embedded Player Box */
.walkthrough-embed-container {
  background: #0f172a;
  border-radius: var(--shofar-radius-lg);
  overflow: hidden;
  margin-bottom: 38px;
  border: 1px solid var(--shofar-gray-300);
  box-shadow: var(--shofar-shadow-lg);
}
.walkthrough-embed-header {
  background: #0a2540;
  padding: 16px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #fff;
}
.walkthrough-embed-header h3 {
  color: #fff;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.walkthrough-player-box {
  width: 100%;
  aspect-ratio: 16/9;
  position: relative;
  background: #000;
}
.walkthrough-player-box iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Amenities Checklist */
.amenities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 18px;
  margin-bottom: 36px;
}
.amenity-chip {
  background: #fff;
  border: 1px solid var(--shofar-gray-200);
  border-radius: var(--shofar-radius-md);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--shofar-gray-700);
  transition: all 0.25s ease;
}
.amenity-chip:hover {
  border-color: var(--shofar-accent);
  background: var(--shofar-accent-light);
  transform: translateY(-2px);
}
.amenity-chip svg {
  width: 20px;
  height: 20px;
  color: var(--shofar-accent);
  flex-shrink: 0;
}

/* Mortgage Calculator */
.mortgage-calc-box {
  background: #fff;
  border: 1px solid var(--shofar-gray-200);
  border-radius: var(--shofar-radius-lg);
  padding: 30px;
  margin-bottom: 36px;
  box-shadow: var(--shofar-shadow-sm);
}
.calc-inputs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 18px;
  margin-top: 20px;
  margin-bottom: 24px;
}
.calc-field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--shofar-gray-500);
  margin-bottom: 6px;
}
.calc-field input, .calc-field select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--shofar-gray-200);
  border-radius: var(--shofar-radius-md);
  font-weight: 600;
  font-family: inherit;
  transition: all 0.2s;
}
.calc-field input:focus {
  border-color: var(--shofar-accent);
  outline: none;
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.15);
}
.calc-result-box {
  background: var(--shofar-accent-light);
  border: 1px solid rgba(5, 150, 105, 0.25);
  border-radius: var(--shofar-radius-md);
  padding: 18px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.calc-monthly-label {
  font-weight: 700;
  color: var(--shofar-accent);
  font-size: 0.95rem;
}
.calc-monthly-val {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--shofar-primary);
  letter-spacing: -0.5px;
}

/* Agent Sidebar Card */
.agent-contact-card {
  background: #fff;
  border: 1px solid var(--shofar-gray-200);
  border-radius: var(--shofar-radius-lg);
  padding: 28px;
  box-shadow: var(--shofar-shadow-md);
  position: sticky;
  top: 100px;
  margin-bottom: 28px;
  transition: box-shadow 0.3s;
}
.agent-contact-card:hover {
  box-shadow: var(--shofar-shadow-xl);
}
.agent-card-header {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 22px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--shofar-gray-100);
}
.agent-card-avatar {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--shofar-accent);
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.2);
}
.agent-card-meta h4 {
  font-size: 1.15rem;
  color: var(--shofar-primary);
  margin-bottom: 2px;
}
.agent-card-company {
  font-size: 0.85rem;
  color: var(--shofar-gray-500);
  margin-bottom: 4px;
}

.agent-action-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}
.agent-action-buttons .btn {
  width: 100%;
}

.inspection-form-wrap h5 {
  font-size: 0.95rem;
  color: var(--shofar-primary);
  margin-bottom: 12px;
}
.inspection-form-wrap input,
.inspection-form-wrap select,
.inspection-form-wrap textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--shofar-gray-200);
  border-radius: var(--shofar-radius-md);
  font-family: inherit;
  font-size: 0.88rem;
  margin-bottom: 10px;
  transition: all 0.2s;
}
.inspection-form-wrap input:focus,
.inspection-form-wrap select:focus {
  border-color: var(--shofar-accent);
  outline: none;
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.15);
}

/* Sidebar Ad Slot */
.sidebar-ad-slot {
  background: #f8fafc;
  border: 1px dashed var(--shofar-gray-300);
  border-radius: var(--shofar-radius-lg);
  padding: 18px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}
.sidebar-ad-slot:hover {
  border-color: var(--shofar-accent);
  box-shadow: var(--shofar-shadow-md);
}
.sidebar-ad-slot img {
  border-radius: 8px;
  width: 100%;
}

/* -------------------------------------------------------------
 * VIRTUAL WALKTHROUGH MODAL OVERLAY (LUXURY ZOOM)
 * ----------------------------------------------------------- */
.walkthrough-modal {
  position: fixed;
  inset: 0;
  background: rgba(10, 37, 64, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--shofar-ease-luxury);
}
.walkthrough-modal.active {
  opacity: 1;
  pointer-events: auto;
}
.modal-container {
  width: 100%;
  max-width: 1100px;
  background: #0f172a;
  border-radius: var(--shofar-radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0,0,0,0.85);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  flex-direction: column;
  transform: scale(0.92) translateY(24px);
  transition: transform 0.35s var(--shofar-ease-luxury);
}
.walkthrough-modal.active .modal-container {
  transform: scale(1) translateY(0);
}
.modal-header {
  padding: 18px 26px;
  background: #0a2540;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.modal-header h3 {
  color: #fff;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.btn-close-modal {
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 1.6rem;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
}
.btn-close-modal:hover {
  color: #fff;
}
.modal-viewport {
  width: 100%;
  aspect-ratio: 16/9;
  background: #000;
  position: relative;
}
.modal-viewport iframe {
  width: 100%;
  height: 100%;
  border: none;
}
.modal-footer {
  padding: 14px 26px;
  background: #0a2540;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #cbd5e1;
  font-size: 0.85rem;
}

/* -------------------------------------------------------------
 * FLOATING CONCIERGE & BACK TO TOP BUTTON
 * ----------------------------------------------------------- */
.floating-concierge {
  position: fixed;
  bottom: 28px;
  right: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 990;
  opacity: 0;
  pointer-events: none;
  transform: translateY(24px);
  transition: all 0.35s var(--shofar-ease-luxury);
}
.floating-concierge.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.btn-floating-wa {
  background: var(--shofar-whatsapp);
  color: #fff;
  padding: 12px 22px;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  transition: all 0.3s var(--shofar-ease-luxury);
  text-decoration: none;
}
.btn-floating-wa:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
  color: #fff;
}
.btn-back-to-top {
  width: 48px;
  height: 48px;
  background: var(--shofar-primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 20px rgba(10, 37, 64, 0.3);
  transition: all 0.3s var(--shofar-ease-luxury);
}
.btn-back-to-top:hover {
  background: var(--shofar-accent);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(5, 150, 105, 0.4);
}

/* -------------------------------------------------------------
 * AGENT SUBMISSION WIZARD & DASHBOARD
 * ----------------------------------------------------------- */
.form-step-card {
  background: #fff;
  border: 1px solid var(--shofar-gray-200);
  border-radius: var(--shofar-radius-lg);
  padding: 34px;
  margin-bottom: 30px;
  box-shadow: var(--shofar-shadow-sm);
}
.form-step-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 26px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--shofar-gray-100);
}
.step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--shofar-primary);
  color: #fff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--shofar-gray-700);
  margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--shofar-gray-200);
  border-radius: var(--shofar-radius-md);
  font-family: inherit;
  font-size: 0.95rem;
  background: #fff;
  transition: all 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--shofar-accent);
  outline: none;
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.15);
}

.dropzone-upload {
  border: 2px dashed var(--shofar-gray-300);
  border-radius: var(--shofar-radius-lg);
  padding: 44px 20px;
  text-align: center;
  background: var(--shofar-gray-50);
  cursor: pointer;
  transition: all 0.25s ease;
}
.dropzone-upload:hover {
  border-color: var(--shofar-accent);
  background: var(--shofar-accent-light);
  transform: translateY(-2px);
}

/* Package Selection Grid */
.listing-fee-selection {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 20px;
}
.package-radio-label {
  border: 2px solid var(--shofar-gray-200);
  border-radius: var(--shofar-radius-md);
  padding: 22px;
  cursor: pointer;
  display: block;
  transition: all 0.25s var(--shofar-ease-luxury);
  background: #fff;
}
.package-radio-label:hover {
  border-color: var(--shofar-accent);
  transform: translateY(-3px);
  box-shadow: var(--shofar-shadow-md);
}
.package-radio-label:has(input[type="radio"]:checked) {
  border-color: var(--shofar-accent);
  background: var(--shofar-accent-light);
  box-shadow: 0 8px 20px rgba(5, 150, 105, 0.15);
}
.package-radio-content h4 {
  font-size: 1.15rem;
  margin-bottom: 4px;
}
.package-radio-price {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--shofar-accent);
  margin-bottom: 8px;
}

/* -------------------------------------------------------------
 * FOOTER
 * ----------------------------------------------------------- */
.shofar-footer {
  background: #07192b;
  color: #94a3b8;
  padding: 80px 0 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 44px;
  margin-bottom: 50px;
}
.footer-brand p {
  color: #94a3b8;
  font-size: 0.92rem;
  margin-top: 16px;
  line-height: 1.6;
  max-width: 330px;
}
.footer-col h4 {
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: 20px;
  letter-spacing: -0.2px;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-links a {
  color: #94a3b8;
  font-size: 0.9rem;
  transition: all 0.2s;
}
.footer-links a:hover {
  color: #34d399;
  padding-left: 4px;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

/* -------------------------------------------------------------
 * WORDPRESS CORE ALIGNMENTS & UTILITIES
 * ----------------------------------------------------------- */
.alignleft {
  float: left;
  margin: 0.5em 1.5em 1.5em 0;
}
.alignright {
  float: right;
  margin: 0.5em 0 1.5em 1.5em;
}
.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.alignwide {
  width: 100vw;
  max-width: 1380px;
  margin-left: auto;
  margin-right: auto;
}
.alignfull {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}
.wp-caption {
  margin-bottom: 1.5em;
  max-width: 100%;
}
.wp-caption img[class*="wp-image-"] {
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.wp-caption-text {
  font-size: 0.85rem;
  color: var(--shofar-gray-500);
  margin-top: 6px;
  text-align: center;
}
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

/* Pagination */
.pagination, .nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 40px;
  grid-column: 1 / -1;
}
.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 14px;
  border-radius: var(--shofar-radius-md);
  border: 1px solid var(--shofar-gray-200);
  background: var(--shofar-white);
  color: var(--shofar-gray-700);
  font-weight: 700;
  font-size: 0.9rem;
  transition: all 0.2s;
}
.page-numbers:hover {
  background: var(--shofar-gray-100);
  border-color: var(--shofar-gray-300);
  color: var(--shofar-primary);
  transform: translateY(-1px);
}
.page-numbers.current {
  background: var(--shofar-primary);
  border-color: var(--shofar-primary);
  color: var(--shofar-white);
}

/* -------------------------------------------------------------
 * RESPONSIVENESS
 * ----------------------------------------------------------- */
@media (max-width: 1024px) {
  .search-fields-grid {
    grid-template-columns: 1fr 1fr;
  }
  .properties-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .locations-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }
  .single-layout-grid {
    grid-template-columns: 1fr;
  }
  .agent-contact-card {
    position: static;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.3rem;
  }
  .search-fields-grid {
    grid-template-columns: 1fr;
  }
  .properties-grid {
    grid-template-columns: 1fr;
  }
  .locations-grid {
    grid-template-columns: 1fr;
  }
  .spotlight-grid {
    grid-template-columns: 1fr;
  }
  .single-gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .gallery-item-main {
    grid-row: auto;
    height: 260px;
  }
  .gallery-item:not(.gallery-item-main) {
    display: none;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 20px;
  }
  .stat-item {
    border-right: none;
  }
  .main-navigation {
    display: none;
  }
  .main-navigation.mobile-active {
    display: block;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: #fff;
    padding: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
  }
  .mobile-menu-toggle {
    display: block;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  .infeed-ad-banner {
    flex-direction: column;
    text-align: center;
    gap: 20px;
    padding: 26px;
  }
  .form-grid-2 {
    grid-template-columns: 1fr;
  }
  .listing-fee-selection {
    grid-template-columns: 1fr;
  }
  .floating-concierge {
    bottom: 16px;
    right: 16px;
  }
}
